‎2020 Mar 31 10:11 AM
Hi,
I am having a requirement to create multiple internal orders in KO01 transaction. I found that BAPI_INTERNALORDER_CREATE can be used to create single order at a time.
Could you please suggest a BAPI that could allow to pass internal table as input so that, creation of multiple internal order is possible. It would help us to increase the performance to a greater extent.
Thanks,
Hariharan Ravichandran
‎2020 Mar 31 10:12 AM
Thank you for visiting SAP Community to get answers to your questions. Please add more details to your question so that you can reach a broader range of experts to get your question answered. I also recommend to do this tutorial https://developers.sap.com/tutorials/community-qa.html
The more details you provide, the more likely it is that members will be able to assist you.
Regards, Svea
SAP Community moderator
‎2020 Mar 31 4:02 PM
Hello hariharan_93
I don't think you are going to find an function release for customers to mass create internal orders. As you noticed BAPI_INTERNALORDER_CREATE creates single internal order only.
The BAPI uses internally KAUF_ORDER_CREATE function that also create a single internal order only.
I guess you'll have to stick to individual creation.
Best regards
Dominik Tylczynski
‎2020 Mar 31 4:37 PM
hariharan_93 As there is only a BAPI to create one order at a time, as your requirement is "It would help us to increase the performance to a greater extent", you can:
‎2020 Mar 31 5:01 PM
‎2020 Mar 31 5:57 PM
The OP's main concern is the performance. Based on the fact that there's only a BAPI to create one order at a time, the workaround is then to either solve the performance issue by analyzing the cause (e.g. database missing index, etc.) or create the internal orders in parallel threads.
NB: I initially misunderstood "sound", it's why I seem repeating myself, but it's fine now 😉