Skip to Content
0
Former Member
Jan 23, 2012 at 03:20 PM

Mapping Issue

27 Views

Hi Frnds,

Need help pls...

I have source structure like this...

Header

Detail

Control Records.

Here detail records r repeating 2 or 3 times.in that detail records i am getting a field WRBTR(Currency)...

and based on posting key i am sending WRBTR to E1ACK3 segment if posting key =31

and 2nd value sending it to WRBTR to E1ACA3 segment if posting key=40.

But there is no any condition for E1ACT3 segment.but 3rd WRBTR sud be populated in that segment.

sample file is here

0HNZ AP IDS 600HNZ_BATCH 16072011Y/

1FB0112072011KR007 15072011/ AUD /

2ZBSEG2 310000000000799.19/

2ZBSEG2 400000000000799.19/

31 and 40 is posting key...after that value is WRBTR.

if 2 detail records coming means there is no tax since values r same.we need subtract from 1 st value to 2 nd value.

if 3 detail records coming means there is tax since values r diff.that 3rd value sud be tax value.that need to pass to 3rd segment level.

pls advice...

Regards,

Suri