SAP MODIFY ITAB RESULT ABAP Statements

Get Example source ABAP code based on a different SAP table
  



MODIFY itab - result

Short Reference
• CASTING MODIFY itab
• ASSIGNING MODIFY itab
• REFERENCE INTO MODIFY itab


ABAP Syntax ABAP_KEY ... { ASSIGNING <(><<)>fs> [CASTING] }

| { REFERENCE INTO dref }.

What does it do? These additions are possible only when modifying single rows. If modified successfully, the addition ASSIGNING is used to assign the row to a field symbol and the addition REFERENCE INTO is used to set a reference to the modified row 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 and FIELD-SYMBOL are possible.

...More SAP MODIFY Examples

Return to menu