Ansicht
Dokumentation
ABAPDELETE_ITAB_SHORTREF - DELETE ITAB SHORTREF
Fill RESBD Structure from EBP Component Structure Vendor Master (General Section)This 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.
Fill RESBD Structure from EBP Component Structure General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 4097 Date: 20240420 Time: 035742 sap01-206 ( 50 ms )