Ansicht
Dokumentation

ABAPCOLLECT_ITAB_RESULT - COLLECT ITAB RESULT

ABAPCOLLECT_ITAB_RESULT - COLLECT ITAB RESULT

General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

COLLECT, result

Short Reference



... ${ ASSIGNING <fs> $[CASTING$] $}
  $| ${ REFERENCE INTO dref $}.

Effect

The addition ASSIGNING is used to assign the inserted or existing line to a field symbol <fs> and the addition REFERENCE INTO is used to set a reference to the line in a reference variable.

The syntax and meaning are the same as when specifying the output behavior in the statement READ TABLE and the same restrictions apply regarding the modification of key fields for primary and secondary table keys. In particular, inline declarations using the declaration operators DATA, FINAL and FIELD-SYMBOL are possible.

Example

The statement COLLECT is executed until the column num reaches the value 100 for one of the three possible key values.






TXBHW - Original Tax Base Amount in Local Currency   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1688 Date: 20240329 Time: 152120     sap01-206 ( 29 ms )