Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Inbound Processing : BOM-Position deleted

former_member611006
Active Participant
0 Likes
832

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

4 REPLIES 4
Read only

former_member611006
Active Participant
0 Likes
690

I think I have to modify function "convert_update_logic" called into IDOC_INPUT_BOMMAT.

Regards,

David

Read only

former_member611006
Active Participant
0 Likes
690

Any idea ? Nobody ?

PS : I have the same problem with L-Position, not only Text-Postion...

Regards,

David

Read only

0 Likes
690

David,

use an own ZIDoc_INPUT_ Fuction.

1. check textobject id for BOM

2. move changed data to Fm IDOC_INPUT_BOMMAT.

Edited by: Gordon Breuer on Oct 8, 2008 2:41 PM

Read only

0 Likes
690

Hi Gordon,

I've decided to copy Function idoc_input_bommat and to make some modifications and now it works fine !

I think the standard function isn't ok.

Regards,

David