Arun,
Use the following steps to create custom attribute if you want to create one:
1. SM30 -> T77OMATTR
2. Click on new entries and update the attribute name and description
3. Table Name HRT1222,
Field Name ATTRIB
4. Attributes/Scenarios -> BBP
5. Inherit. type -> Normal inheritance
6. Search Help -> FM and check module are blank
7. Select the new attribute and make sure that Object type O and S have been maintained this is to ensure you can maintain the attribute at the department and user.
After this, use DOC_CHANGE_BADI to populate the value when a SC is created and to read the attribute value use the BBP_READ_ATTRIBUTES FM.
Br.
Raghu