This post has been contributed by Sapna a reader of Siebel Unleashed. Explaining the procedure to create a sequence on Master BC.
I was going through the Bookshelf for Creating Sequence Fields. Generally we create sequence field in the Child BC where a Master –Detail relationship already exists for example: Service Request -> Activities(child BC)
What if you want to sequence the Parent (Master) BC itself (Service Request)?
Here is what I tried. Following the Same stepsas in bookshelf with slight change.
Scenario : Sequencing Service Request.
- Verify that the class of the BC is CSSBCBase or a sub-class of CSSBCBase.
- Add a Field in the Service Request Bc
- Name: Line Number
- Type : DTYPE_NUMBER
- Column : ATTRIB_14
- Join: S_SRV_REQ_X
- Add a Business Component User property to Service Request BC
- Name: Sequence Field
- Value : Line Number
- Create a new Business Component
- Name: Service Request.Line Number (Sequence)
- Class : CSSSequence
- Sort Spec: Sequence (DESCENDING)
- Table: S_SRV_REQ
- Add a field in BC created step 4
- Name : Sequence
- Join : S_SRV_REQ_X
- Column : ATTRIB_14
- Add the Business Object Component under Business Object à Service Request
- Bus Comp : Service Request.Line Number (Sequence)
- Link : < blank> do not specify anything.
- Expose the Field “Line Number” in the Applet.
- Compile and you are set to go.
Every time you create a New Service Request the “Line Number” will be incremented by 1
Please do provide your feedback through comments and ratings if you like the article. Your encouragement is really important in keeping this community going. Looking forward to your contribution.


(7 votes, average: 4.57 out of 5)