2008 Jul 16 10:51 AM
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
2008 Jul 16 11:00 AM
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