SAP/ABAP: Delete dupliacates from grid (alv, lv)
ABAP/SQ02
1. Data code section
Declare alv as '%G00[]'
data: alv_t type char100 value '%G00[]'.
field-symbols: <table> type any table.
field-symbols: <table> type any table.
2. End of selection code section
- assign alv to any table
- sort table
- delete duplicates
assign (alv_t) to <table>.
if <table> is assigned.
sort <table>.
delete adjacent duplicates from <table>.
endif.
if <table> is assigned.
sort <table>.
delete adjacent duplicates from <table>.
endif.
No comments:
Post a Comment