cancel
Showing results for 
Search instead for 
Did you mean: 

Context handling

Former Member
0 Kudos

Hi,

I have a scenario where I am sending an XML file and I have to map it to standard matmas IDoc and post it to ECC.

In the target IDoc structure, we have one segment E1MLGNM for warehouse number and it has one child E1MLGTM for storage type for that warehouse with multiple instances.

But In the source structure, It is NOT coming as parent and child, They are in the same level with multiple instances. The warehouse number will be the key in both the segment to create a parent child relationship.

I can use SplitByValue to create target warehouse segments E1MLGNM for Each value of the source warehouse structure.

Now to map StorageType, I need to create it at the child level of the E1MLGNM instance with the same wharehouse number which is there in the source storagetype segment.

Do you have any idea how that can be acheived without using ABAP/Java mapping?

<b>Source</b>

<Warehouse Segment> -


n instance

<Warehouse Number>

<Other Fields>

</Warehouse Segment>

<Storage segment> -


n instance

<Warehouse Number>

<Storage Type>

<Other Fields>

</Storage segment>

<b>Target</b>

<Warehouse Segment> -


n instance

<Warehouse Number>

<Other Fields>

<Storage segment> -


n instance

<Storage Type>

<Other Fields>

</Storage segment>

</Warehouse Segment>

Thanks,

Vijay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Guys,

Any idea on this?

null