cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue in FIle to IDoc

Former Member
0 Kudos

Hello friends,

In file to IDoc scenario,

Source structure is

1: header

n: itemdetails

For Item details, IDoc structure has got 2 sub segments under E1EDP01 segment. as below.

E1EDP01

--E1EDP02

--E1EDP26

When I try to post message with multiple line items, I am getting as below

E1EDP01

--E1EDP02

--E1EDP02

--E1EDP26

--E1EDP26

E1EDP01(no sub sement).

But the expected result is as below.

E1EDP01

--E1EDP02

--E1EDP26

E1EDP01

--E1EDP02

--E1EDP26

Please help me in this regard.

Many thanks

Sam

Edited by: Guest on Mar 18, 2008 7:41 PM

Edited by: Guest on Mar 18, 2008 7:43 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

just put a split by value in the mappings for E1EDP02 and E1EDP26:

field1>Split By Value\[Each Value\]>E1EDP02

field2>Split By Value\[Each Value\]>E1EDP26

Reward points if helpful.

Sankar Choudhury

Answers (3)

Answers (3)

Former Member
0 Kudos

Hai ,did you work it out with the NODE FUNCTION split by value.....

Former Member
0 Kudos

Hi,

You did not handle context properly.

for the node E1EDP02 or E1EDP26

When you map to those nodes, you need to have function to insert context:


SplitByValue[each value]

Regards !

Liang

Former Member
0 Kudos

Hi Guest,

can you explain more on the mapping? what node functions you used ?

Thanks,

Srini