Get Example source ABAP code based on a different SAP table
ABAP_ITABEXP > - Write Positions Table expressions and their chainings> can be specified as writable expressions > in result positions>. The result of a table expression in these positions is always a temporary field symbol.
If a single table expression is specified, or a chaining> whose last position is a table expression, the entire line found is modified in the write position.
If a chaining> is specified whose last position is a structure component after a structure component selector, this component is modified in the write position. In the case of writes performed on the temporary field symbol, the same rules apply as to a field symbol assigned a table line using READ TABLE ASSIGNING>>. More specifically, the read-only character of key fields must be respected. Table expressions that return a line of a sorted table or hashed table to write positions such as the left side of an assignment or as actual parameters for output parameters always raise an exception.
Latest notes: The constructor operators VALUE> and REF> used to control the result> of the table expression cannot be used in write positions. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 An internal table is prefilled with initial lines, which are overwritten with a value in the DO>> loop. ABEXA 01339 ABAP_EXAMPLE_END
ABAP_EXAMPLE_ABEXA Table Expressions, Write Position > ABAP_EXAMPLE_END