2, 原因分析 首先查看了 bapi BAPI_PRODORD_CHANGE 的文档,SE37 看了之后发现 ‘ you mustnotexecute aCOMMIT WORKagain.’ 就是说这个bapi 已经在bapi内commit过了,不能再次commit,排除多次commit的情况(可以设置一个statement的断点,在所有commit work 和 commit work and wait的语句停),只有从master data和cus...
调用bapi BAPI_PRODORD_CHANGE 更新生产订单排产日期,单独更新生产订单没有问题,但是有时批量更新多个生产订单时会dump。 相关代码: lwa_order-basic_start_date = lwa_item-start_date. lwa_order-basic_start_time = l_begin_time_leading_order. lwa_order-basic_end_date = lwa_item-start_date. lwa_order...
0 Kudos 1,689 SAP Managed Tags: ABAP Development Hi Experts, Could you please let me know how to proceed with BAPI_PRODORD_CHANGE. Also, let me know the features and achivement of BAPI_PRODORD_CHANGE. Thanks in advance..Reply
I tried to set the bapi "BAPI_TRANSACTION_COMMIT" bevor and after the update-bapi, but nothing could help: pseudocode: 1. try loop at itab. BAPI_PRODORD_CHANGE BAPI_TRANSACTION_COMMIT endloop. 2. try loop at itab. BAPI_TRANSACTION_COMMIT BAPI_PRODORD_CHANGE endloop. 3. try loop ...