Skip to Content
0
Former Member
Mar 10, 2010 at 10:03 AM

Help on message mapping.

17 Views

Hi,

I am working on EDI to IDOC scenario.

In my input side i have PO1 record with occurence 1..1 and

REF record with occurence 0 to unbound

In my output side E1EDPT2 record with occurence 1 to unbound.

E1EDPT2 RECORD HAVE FIELD TDLNR.

My input file as

PO10016

REFSU12345

REFSU2345

REFSU3456

REFCR789

PO10026

REFSU54321

REFSU235

REFSU3465

REFCR7896

Here my Question is

if PO1 1st field = 001 and REF 1st field = SU then i need to map REF 2nd field to TDLNR.

if REF 1st field = CR then ignore that record in output.

same thing for PO1 1st field = 002.

How can i map for above conditions.

Thanks,

SIngh.