cancel
Showing results for 
Search instead for 
Did you mean: 

Relating Parent and Child Segments

Former Member
0 Kudos

I have a tricky situation in filtering IDOC(DEBMAS06) Classification data.

I need to get Data from Sales Area 0002. The condition is VKORG='0002', VTWEG = '01 and SPART = '01'. But the data is available in the child segment. The IDOC Structure looks like this:

E1KNVVM

VKORG

VTWEG

SPART

E1KNVPM

PARVW

KUNN2

I would like to get the KUNN2 data for the above mentioned condition. I am using Messaging Mapping. Any help is appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

As Moorthy said, you could use container variables or you ould make use of the function "removeContext".

Guess, the structure you have posted is not very clear.

So cannot help you better.

Are all the segments under E1KNVVM, or is there further nesting?

Regards,

Smitha.

Message was edited by: Smitha Rao

moorthy
Active Contributor
0 Kudos

Hi Michael,

Use Global Container concept in the Mapping.

For more-

http://help.sap.com/saphelp_nw2004s/helpdata/en/22/e127f28b572243b4324879c6bf05a0/frameset.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/d9/cea942ad920c31e10000000a1550b0/frameset.htm

/people/michal.krawczyk2/blog/2005/03/04/globalcontainer--in-graphical-mapping-xi

Hope this helps,

regards,

Moorthy