cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI for defaulting the ITEM data

Former Member
0 Likes
160

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

View Entire Topic
Former Member
0 Likes

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...