SAP DELETE ITAB LINES ABAP Statements



Get Example source ABAP code based on a different SAP table
  


• USING KEY DELETE itab
• TO idx DELETE itab
• FROM idx DELETE itab
• STEP DELETE itab
• WHERE DELETE itab

DELETE itab, itab_lines
Short Reference

ABAP_SYNTAX
... itab $[USING KEY keyname$] $[FROM idx1$] $[TO idx2$]
$[STEP n$]$|$[WHERE log_exp $|(cond_syntax)$] ...

ABAP Addition
1 ... USING KEY keyname
2 ... $[FROM idx1$] $[TO idx2$]
3 ... STEP n
4 ... WHERE log_exp
5 ... WHERE (cond_syntax)

What does it do?
To delete multiple lines, at least one of the additions FROM, TO, STEP, or WHERE must be specified. USING KEY keyname is used to determine the table key to which the additions refer.
If multiple additions are specified, the lines that result from the intersection of the individual additions are deleted.

ABAP Addition