Skip to Content
0
May 09, 2013 at 12:59 PM

UDF-Queue handling for IDOC Segment

39 Views

HI PI guys,

I have an requirement in ORDERS IDOC,

The Segment E1EDK1 is repeating for 2 times from ECC and this Segment has 4 fields as shown below.

<E1EDK17 SEGMENT="">

<QUALF>001</QUALF>

<LKOND>Text1</LKOND>

<LKTEXT/>

</E1EDK17>

<E1EDK17 SEGMENT="">

<QUALF>002</QUALF>

<LKOND/>

<LKTEXT>Text2</LKTEXT>

</E1EDK17>

Requirement : I need to check If QUALF = 001 for the first time and for

Second Time Qual = 002 then I need to Concatenate LKOND + LKTEXT to Target Field.

I tried with Graphical mapping doesnt worked. I thought of using UDF with Queue handling, Please help me out how to handle this.

Is there any other way for achieving the above requirement ?

Thanks in Advance

rgds,

Kumar