Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Illogical subject title

Former Member
0 Kudos
89

Hi Experts,

Plc tell code(logic)

I have to capture GRN Acc to Movement type, as per PO changes or not changes or as per Its mine item changes or not changes(I hanve to capture underlined record )

PO Num Line Item GRN No Mvt Type Material No

(ebeln ) (ebelp) (mblnr) (bwart) (Matnr)

00100000 0010 500031313 103 6000109

00100000 0010 500031846 105 6000109

00100000 0010 501056154 6000109

00100000 0020 500031313 103 6000110

00100000 0020 500031846 105 6000110

00100001 0020 501056122 103 6000111

Savita

Edited by: Julius Bussche on Jul 16, 2008 10:14 AM

1 REPLY 1

Former Member
0 Kudos
51

Hi,

sort your internal table with this sequence:

PO Num Line Item GRN No Mvt Type Material No

then loop at this table and use the following.

loop at itab.

at end of line item.

append itab to some table.

endat.

This will surely work, i have used it.

Regards,

Nishant Gupta