cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a custom attribute and assign it to the org strcutre

Former Member
0 Kudos

Hi Gurus,

My requirement is to create a custom attribute for the Unloading point field in the shopping cart item. Whenever the user is creating a shopping cart, the default value maintained in the custom attribute created should appear in the shopping cart item.

Correct answers will be rewarded with points...

Regards,

Arunkumar B.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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