‎2005 Nov 29 2:45 AM
Hi,
currently I'm using the BAPI_SALESORDER_CREATEFROMDAT2 to create sales order via .NET, it works beautifully when the materials used are not BOM. However, when I test the BAPI out with BOM materials, it does not get exploded.
Please help. Thanks.
Regards,
Norman
‎2005 Nov 29 2:56 AM
Hi!
With BAPI_SALESORDER_CREATEFROMDAT2 in case of BOM explosion you have to manually fill corresponding structures for items, schedules and configuration for all target materials.
Please refer to SAP Note 774346 - composite SAP note for configuration.
And welcome here on SDN!
Regards,
Maxim.
‎2005 Nov 29 2:56 AM
Hi!
With BAPI_SALESORDER_CREATEFROMDAT2 in case of BOM explosion you have to manually fill corresponding structures for items, schedules and configuration for all target materials.
Please refer to SAP Note 774346 - composite SAP note for configuration.
And welcome here on SDN!
Regards,
Maxim.
‎2005 Nov 30 8:05 AM
Hi Maxim,
thanks for the replay. But was looking through the notes, still don't understand what I need to do. I tested the BAPI via ABAP program, it works fine. The BOM get exploded as expected. However, when I try it via .NET program, it did not work.
BTW, what's configuration? Any idea what are the data I need to put in to make the BAPI work with BOM?
Regards,
Norman
‎2020 Feb 05 3:30 PM
Hello
i have a same problem in sap s4 hana.
with the bapi "BAPI_SALESORDER_CREATEFROMDAT2" i create a sales order
and in item of sales order authomaticaly created new item from BOM, but when this function run with another user , the sales order is create without BOM item , and the bapi return successful without any error.
after thaet you mus be call SU53 tcode for show more error in authorization object and grant them to user .
thanks
‎2025 Jun 23 6:46 AM
Hello, could you please share the ABAP code? I'm having trouble with the BAPI to create the "BOM" explosion of the materials.