I´m analysing the ATC report and have a Check mesage : "DELETE statement for result of SELECT statement found"
The code is:
" SELECT <column1>FROM <table>
INTO TABLE <t1> WHERE Zvar_ID = <l_id> AND Ztbl_ID = "zzzz".
IF SY-SUBRC = 0
SORT <t1> BY ZSEQUENCE_NUM ASCENDING.
DELETE ADJACENT DUPLICATES FROM <t1> COMPARING ZSEQUENCE_NUM
ASSERT 0 = 0.
Whats the problem with code above? Why ATC marks it as a problem?