cancel
Showing results for 
Search instead for 
Did you mean: 

No Sales BOM explosion via BAPIs

Former Member
0 Kudos

Hi all,

We use BAPI_INQUIRY_CREATEFROMDATA to create inquiries; however this does not explode sales BOM; rather it creates just one line for the main material.

Are there any specific input parameters that need to be modified to trigger BOM explosion in the background.

Alternatively, are there any BAPIs or FMs at least to simulate BOM explosion and return the results so that we can pass them explicitly to the inquiry create BAPI.

Or is there any other way to create sales documents with sales BOM explosion. (we can't change the BAPI as its part of the source code of a 3rd party application; but we have user exits before and after this BAPI call).

Thanks,

KC

SAP SD

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved. Sales BOM does get exploded even in BAPIs. Checked with a different user ID and it worked. The RFC user seemed to have an authorization problem.

Former Member
0 Kudos

Hi,

Check the "Sub-item increment" in sales document definition in IMG. Probably you have no sub-item increment and the sub-items generate by BOM was deleted when the BAPI insert a new item because the item number is the same.

If you have an increment of 10 in Item number, try an increment of 5 in sub-item.

Edited by: José Augusto dos Santos Pinheiro on Jun 17, 2008 2:11 PM

Former Member
0 Kudos

Hi,

Item increment is 10 and sub item increment is 1.

When inquiries are created manually, BOM items are copied into the document with sub item incremented by 1 as given in configuration. But not when the document gets generated via BAPI.

Cheers,

KC