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

Hierarchy problem when creating IDoc with multiple headers

Former Member
0 Likes
978

Hi,

In general, When you create an inbound IDoc for the IDoc Type FIDCCP02, you have all the data records arranged in hierarchical order (while viewing it in the we02 transaction).

Our requirement is to have m number of headers(E1FIKPF) and in turn it has n number of items(E1FISEG) inside a same IDoc. We have a problem in viewing the hierarchy of them in the data records tab. It comes down in a flat order without hierarchical division.

If we have only one header, we get the hierarchy sorted by default. If we have multiple headers we see the same problem again.

We guess some make-ups in the EDIDD structure which contains segnum, hlevel etc needs to be done.

Let us know the correct method to get this fixed.

Points will be rewarded.Thanks in advance.

Regards,

Reni

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
606

Every Idoc segment has a place to put in the parent segment for that Idoc. When you "fill" the Idoc , this tsep might not be executing for some reason.

Is this some customer development?

in EDID4 ,see these fields

PSGNUM-Number of the hierarchically higher SAP segment

HLEVEL Hierarchy level.

Regards

1 REPLY 1
Read only

Former Member
0 Likes
607

Every Idoc segment has a place to put in the parent segment for that Idoc. When you "fill" the Idoc , this tsep might not be executing for some reason.

Is this some customer development?

in EDID4 ,see these fields

PSGNUM-Number of the hierarchically higher SAP segment

HLEVEL Hierarchy level.

Regards