cancel
Showing results for 
Search instead for 
Did you mean: 

Check if items changed in DOC_CHECK badi after cart is ordered and changed

Former Member
0 Kudos

Hi all,

I have a scenario where a shopping cart is ordered and later I go to check status and click "Change" and then change the quantity of the line item of the cart. I need to know if there is any change in the item details of the cart. Is there any flag or so to identify this? I can use IV_MODE of the DOC_CHECK badi, but even if the user enters in change mode and not change any data this flag is set. I need a flag which really indicates that the item is changed.

If anyone has any idea on this please let me know.

Thanks and Regards,

Asha

Accepted Solutions (0)

Answers (2)

Answers (2)

imthiaz_ahmed
Active Contributor
0 Kudos

Not a direct way. You need to use two FM's :

BBP_PROCDOC_GETDETAIL - Runtime data

BBP_PD_SC_GETDETAIL - DB data

Compare the data.

Regards, IA

Former Member
0 Kudos

Hello Asha,

You can check this BADI "BBP_ITEM_CHECK_BADI" and this badi is called when

u2022 a new item has been created,

u2022 an item has been changed or the document is to be checked

Regards

Sameer