Hi Experts,
Please check the following screenshot:
There are 100 records, for every invoice no., I want only the last record. How can I get it?
I have tried with on change of, but it removes 241 invoice.
LOOP AT gt_final INTO gs_final.
ON CHANGE OF gs_final-belnr.
clear gs_final-belnr.
ENDON.
MODIFY gt_final FROM gs_final INDEX sy-tabix.
ENDLOOP.
The output comes as:
Please suggest the ways.
Regards
Mani