cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Outbound IDOC

Former Member
0 Kudos

Hi All,

I have a program which generates an outbound idoc. My basic type is PRICAT. My problem is i cannot make the child segments. The segments created are all parent segments.

How will i make the child segments? what fields do i have to fill up to it child segment?

Any response will be gladly appreciated!

Thanks in advance!

jim

Accepted Solutions (0)

Answers (1)

Answers (1)

ivan_stojcevic
Explorer
0 Kudos

Hi Jim,

for correct child segments you have to provide some fields of structure EDIDD.

Important for the hierarchy relationship are the

following fields:

PSGNUM -> Number of parent segment

HLEVEL -> Hierarchy level

Example:

Definition of MATMAS01

Parent segment E1MARAM

--> Child Segment E1MAKTM(Child of E1MARAM)

--> Child segment E1MARCM(Child of E1MARAM)

-


> Child Segment E1MARDM(Child of E1MARCM)

....... and so on

==> In EDIDD structure:

DOCNUM | SEGNUM | SEGNAM | PSGNUM | HLEVEL

000001 | 000001 | E1MARAM | 000000 | 02

000001 | 000002 | E1MAKTM | 000001 | 03

000001 | 000003 | E1MARCM | 000001 | 03

000001 | 000004 | E1MARDM | 000003 | 04

....... and so on

When you are creating the segments,you are responsible

for the correct sequence of segments.

With best regards

Ivan