Skip to Content
0
Former Member
Feb 25, 2009 at 09:53 AM

Problem mapping a same field to a field in duplicated segment

44 Views

Hello,

I have a problem with my mapping. I'm trying to map a MATMAS.MATMA05 to another MATMAS.MATMAS05 iDoc. The mapping for the other fields is ok except for the LTKZA.

The idea is to duplicate the E1MLGNM segment in the target IDOC. Then I would like to have the LTKZA field for each segment mapped to the STOFF field(wich only appears once in the origin segment), with a small function that checks the value of the STOFF.

My problem is that the LTKZA in the first E1MLGNM segment is populated with the right value, but the one in the second segment is not populated.

Could anyone help with this issue? Do u think I can save the value of STOFF in variable, so that I can use it later?

Thank you all for your help.