Application Development 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: 

Change BOM via IDOC

Former Member
0 Kudos

Dear guru,

We would greatly appreciate some guidance because we are not expert in IDOC transfer. Basically we would like to change BOM using IDOC technique.

We already create BOM with IDOC BOMMAT03 using the FM IDOC_INBOUND_SYNCHRONOUS; below is an IDOC sample. We have tried to edit one IDOC in WE19 and change MSGFN from 009 to 004 but when we execute the FM IDOC_INPUT_BOMMAT the system is adding a BOM item while we just want to change the quantity of an existing BOM item (for instance we have change the quantity in E1STPOM).

Is it feasible to change Existing BOM via IDOC and BOMMAT03 ie. change BOM item qty, add BOM item, delete BOM item?

What should be the structure of the IDOC for a change (I hope we do not have to perform a delete first and then recreate)? I have seen that BOMMAT05 exists for 4.7 would that make a difference?

Thank you in advance for any tips or documentation.

Regards, Francois Paquet

IDOC sample BOM creation:

EDIDC 3000000000000040037620 53 2SAPQAS LSPRD300

E1STZUM 009M 2

E1MASTM 00900000000000017223410002

E1STKOM 0090120101102 EA 000000000000001X

E1STASM 009 0000000120101102 00000001

E1STPOM 00900000001L 000000000000048448

3 REPLIES 3

Former Member
0 Kudos

hi ,

i am facing the same problem. if you have any solution kindly tell me pls.

sandeepgoud0217
Discoverer
0 Kudos

USE MESSAGE FUNCTION 005 to CREATE AND CHANGE. HOPE THIS HELPS

0 Kudos

Hello, sadly this did not help, using MSGFN 005 (and 009 both) just ignored the idoc entirely without changing the quantities. 004 adds new entries to STPO instead of updating. Do you have some more information on this, should only specific segments be set to a different MSGFN?
Best Regards