Skip to Content
0

BADI or FM after Order_Save in CRM

Dec 08, 2017 at 08:22 AM

67

avatar image

Hi All

To maintain a relationship between 2 order types in CRM , we need to read the relationship from CRM_BENREL table. At present the details are filled in BENREL table after the order is saved. We implemented a method to get the details from BENREL and attached it to action on "To be distributed" of the first order, but unfortunately the action is not triggering as schedule condition its taking status as released. Can anyone help me how can i call this method or class after the Order is saved or at the time of to be distributed. Can we call our method from a standard FM or BADI which triggers after Order is saved.

Thanks,

Pranav

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Spencer Liang
Dec 12, 2017 at 06:13 AM
0

Hi,

You may find information about action in

https://wiki.scn.sap.com/wiki/x/xIXuDg

Action can only be executed when action determination is triggered, specifically after an operation on WebUI in dialog mode, saving a document or by action report.

//

Your code can be called in order_save badi too, when saving the document in dialog or batch mode.

//

"

after the Order is saved or at the time of to be distributed.

"

"after order is saved" means order is already saved? In this case, you may use action report. "at the time of to be distributed", this happens when saving the order and technically it is not possible to execute an action when I1054 is set to the order as it is done in batch and action determination is not triggered.

Spencer

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi

Thanks a lot for your response, you are right we couldn't trigger it on To be distributed status. I have called the action on system status released and it served the purpose.

Thanks Again,

Pranav

0