cancel
Showing results for 
Search instead for 
Did you mean: 

DOC_CHANGE_BADI

Former Member
0 Kudos

Hello,

In the BADI DOC_CHANGE, I only have access to items updated or added.

I would like to have to all created items.

I can use BBP_PD_SC_GETDETAIL to retrieve all items and update the table e_item.

But how can I post the modifications to the shopping cart and really update the shopping cart?

Can someone help me?

Thanks

Claudine

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can try something like this in the Change BADI for modifying the value for a particular field:

e.g.

loop at et_item into ls_item.

move 'XXXXX' to ls_item-category.

modify et_item from ls_item transporting category.

endloop.

BR,

Disha.

DO reward points for useful answers.

Answers (1)

Answers (1)

Former Member
0 Kudos

For that only..try to make modifications to the specific field/value by using e_item..it will automatically send modified values to that specific fields using DOC_CHANGE_BADI..

Let me know any thing else u required..

Venu..

Former Member
0 Kudos

Thanks for your help.

I try to modify et_item but it doesn't work.

The modification is not displayed on the shopping cart.

Does somebody has a solution?

Claudine