Skip to Content
Jul 26, 2018 at 10:11 AM

SAP CRM : Change order status through RFC.


I am trying to change order status from item ordered to item inducted through RFC.

Passing order id and line item as input parameter of RFC and using CRM_ORDER_MAINTAIN for changing status.

CRM_ORDER_SAVE and BAPI_TRANSACTION_COMMIT to save and commit the changes.

RFC is working fine and changing status if passing only one order at a time but getting error if passing multiple order in Loop.