Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Inbound Processing : BOM-Position deleted

Hi Experts,

I'm using a self-made program to distribute Material-BOMs and Changes.

To explain the problem, here is an example:

I have the following BOM in the Source system:

BOM 1234.567.890 ( at Day 0 )

-- Pos. 0100 - TEXT - Text-ID

-- Pos. 0110 - STOCK ITEM - 9999.888.888

-- Pos. 0120 - STOCK ITEM - 9898.999.999

I made a Change into this BOM, by adding a new position:

BOM 1234.567.890 ( at Day + 1 )

-- Pos. 0100 - TEXT - Text-ID

-- Pos. 0110 - STOCK ITEM - 9999.888.888

-- Pos. 0120 - STOCK ITEM - 9898.999.999

-- Pos. 0130 - STOCK ITEM - 8888.888.999

Now I want to distribute it.

I send the first version ( Day 0 ) by using 'MASTER_IDOC_CREATE_BOMMAT' with MESCOD = 'CRE' and DATUV / ALE_DATUV = STKO-DATE.

Then I send the "Change" version ( Day + 1) with MESCOD = 'CNG' and DATUV / ALE_DATUV = AENR-DATUV.

In the Target system, the BOM is OK at Day 0. At Day + 1, I see the new position with his change number, but the Text-Position has been deleted ?!?!?!?!?

We are using Text-Objects (ID) into Text-Positions. But in the Target system, we don't have these Objects.

Is it possible that the Inbound Processing for BOMMAT IDoc check if the Text-Object exist, and if not, delete the position ?

Rewards for support. Thanks.

Regards,

David

Former Member
Not what you were looking for? View more on this topic or Ask a question