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: 

Creating sub-segments of IDoc and having multiple occurrences

Former Member
0 Kudos

HI All

I have created one IDOC <b><i>Z1IDOC01</i></b> and its one sub segment Z1IDOC02.

My requirement is to have parent matnr id in Z1IDOC01-MATNR and BOM materials in Z1IDOC02-MATNR.

one parent can have multiple child materails.

e.g. MAT1 can have MAT1.1, MAT1.2 and MAT1.3 as its child material.

So Z1IDOC01 can have MAT1 and Multiple occurrences of Sub segment Z1IDOC02.

I think the above IDOC should fulfill my requirement. But I am not sure .

If you guyz have done this before let me know feasibility of this IDOC structure.

Thanks and Regards

Amit.

please reply asap. points will be awarded to apprpriate answer

Message was edited by:

Amit Kumar

1 REPLY 1

Former Member
0 Kudos

Hi Amit,

you're right! I don't see any problem in your structure.

Some months ago, we create an IDoc based on BOM material. With that inbound IDoc, we could create, modify or delete the BOM. The requirements were one material and its componenents and I show you more or less the structure we got:

IDoc: ZZ2B_BOMMAT03 Material BOM (from 4.6B)

ZE1MASTM Master BOM Header (1:1) (materials)

ZE1STPOM Master BOM Item (1:n) (components)

You're in a good way.

Regards.