cancel
Showing results for 
Search instead for 
Did you mean: 

How to retrieve only changed items in WEB UI when order save?

0 Kudos

Hello All,

I have a question, please help me. I have a sales order and there are too many line items. Users make changes only one item in Web UI. I want to check the value before save but only on changed item.

I tried the following ( cl_crm_isu_order_info=>is_item_changed( iv_guid = lv_item_guid ) ). But the method returns the correct value for each item.

How can I do it?

Thanks...

Regards,

Accepted Solutions (0)

Answers (1)

Answers (1)

spencer_liang
Active Contributor
0 Kudos

It is not possible in order_save badi.

It can be done in the badi for the object that the field belongs to.

Say, if you would like to check shipping condition, whose object is shipping, can be checked in crm_shipping_badi.

It also means, you may have to check it during business logic processing rather than before saving.

0 Kudos

Thanks for reply.

I don't try in order_save badi. I check it on component method.

Component: IUCONH/OVViewSet

Method: EH_ONSAVE