2009 Jun 03 3:28 PM
Hey All,
I am looking for a RFC/BAPI which creates/updates/deletes multiple planned orders in the same call. We have a non SAP planning tool which does the planning and based on the planning run creates planned orders in ECC. The existing planned order BAPI does only one planned order at a time.
Developing a custom wrapper is our last option if we dont find any standard solution.
Any input is highly appreciated.
Thanks
2009 Jun 03 3:44 PM
Hey All,
I am looking for a RFC/BAPI which creates/updates/deletes multiple planned orders in the same call. We have a non SAP planning tool which does the planning and based on the planning run creates planned orders in ECC. The existing planned order BAPI does only one planned order at a time.
Developing a custom wrapper is our last option if we dont find any standard solution.
Any input is highly appreciated.
Thanks
2009 Jun 03 3:44 PM
2009 Jun 03 5:07 PM
Raymond,
Thank you for your input. The Planned order object doesnt have any SaveReplicaMultiple Method. We are currently using RFC CLOI_CHANGES_UPL_45 from the POIL interface, but this RFC is pretty old, poorly documented and doesnt support some of our scenarios. Wanted to know if there is any newer RFC on these lines.
2009 Jun 04 7:24 AM
I dont know your RFC module, used to call (Business Object BUS2004) BAPI_PLANNEDORDER_CREATE, _CHANGE and DELETE, there is a flag in header for collective update.(USECOLL_UPD) - look also at [Note 484823 - BAPI planned order generates deadlocks in table MDVM/DBVM|https://service.sap.com/sap/support/notes/484823] to avoid deadlock in collective mode
For your FM i only found [Note 545860 - FAQ: CLOI_CHANGES_UPL_31 and COMMIT control (COMMITFLG)|https://service.sap.com/sap/support/notes/545860] which stipulate that no collective mode is available. (31 and 45 are similar)
Regards,
Raymond
2009 Jun 04 5:41 PM
Thank you again for your input. The collective update feature you are talking about still needs me to call the Bapi in a loop for which i need to develop a custom RFC.
About the CLOI_CHANGES_UPL_45 RFC I am using currently, this takes multiple planned orders as input in table form, so there is no looping required. The Non-SAP system send all the plannedd order it needs to create/change/update in one call with no customization needed. But since this interface is old and not may references are available, it is difficult to exploit it.
It looks like a custom RFC is the only alternate solution I have. Will wait for other inputs if any before closing the thread.
Thanks
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |