Ansicht
Dokumentation
ABAPDELETE_ITAB_SHORTREF - DELETE ITAB SHORTREF
ABAP Short Reference PERFORM Short ReferenceThis documentation is copyright by SAP AG.
DELETE itab
Syntax
DELETE { { {TABLE itab
{{FROM wa [USING KEY key_name|(name)]}
|{WITH TABLE KEY [key_name|(name) COMPONENTS]
{comp_name1|(name1)} = dobj1
{comp_name2|(name2)} = dobj2
... }}}
| {itab INDEX idx [USING KEY key_name|(name)]}
| {itab [USING KEY loop_key]} }
| {itab [USING KEY key_name|(name)]
[FROM idx1] [TO idx2] [WHERE log_exp]|(cond_syntax)}
| {ADJACENT DUPLICATES FROM itab
[USING KEY key_name|(name)]
[COMPARING comp1 comp2 ...|{ALL FIELDS}]} }.
Effect
Deletes lines from an internal table itab. A restricted
variant works with mesh paths.
Additions
- TABLE itab FROM wa
Specifies a line to be deleted. The line matches the key values of a work area wa.
- TABLE itab WITH TABLE KEY ${comp_name1$|(name1)$} = dobj1 ${comp_name2$|(name2)$} = dobj2 ...
Specifies a line to be deleted by specifying components of the primary table key statically of dynamically.
- itab INDEX idx
Specifies a line to be deleted by specifying the line number of a table index idx.
- itab $[USING KEY loop_key$]
Defines the lines to be deleted in a loop across the current line.
- itab $[FROM idx1$] $[TO idx2$] $[STEP n$]$|$[WHERE log_exp$|(cond_syntax)$]
Specifies multiple lines to be deleted by specifying a lower and upper line number in a table index idx1 and idx2 and a step size n. These can be restricted by specifying a static condition log_exp or a dynamic condition in cond_syntax.
- ADJACENT DUPLICATES FROM itab $[COMPARING comp1 comp2 ...$|${ALL FIELDS$}$]
Specifies adjacent identical lines. Using COMPARING, the relevant comparison components can be specified.
- KEY key_name$|(name)
Specifies, statically or dynamically, a (secondary) table key that is used to search for the lines to be deleted.
PERFORM Short Reference TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 4097 Date: 20240425 Time: 144137 sap01-206 ( 38 ms )