cancel
Showing results for 
Search instead for 
Did you mean: 

BADI for defaulting the ITEM data

Former Member
0 Kudos

Hi,

I have to default a field in Item level for shopping cart but the default value should be editable to the user. I tried using the BADI BBP_DOC_CHANGE_BADI but does not helps because it is gets triggered when even any item is changed.

The requirement is when the item is created for the first time the the BADI should be triggered.

Regards,

Prabhu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Well, by using the DOC_CHANGE I would expect this to run through the loop every time, thereby overwriting the data that the user enters into the field. What I would suggest is that you enter the default value as an attribute in PPOMA, thereby ensuring that this field is defaulted for the user - the user will then be able to change this field after seeing the default value. As far as I am aware of, any value in the PPOMA attributes are default, but can be overwritten...

former_member183819
Active Contributor
0 Kudos

The answer is simple

while creating ship to address . copy as default

or you can take this address into shipt to attributes addr_shipt = 12233 12333 is an address number

so it will inherit all the users.

br

muthu