Get Example source ABAP code based on a different SAP table
AB_SQL in ABAP Release 3.0 ITOC
ABAP_MODIFICATION_NN Partly or Fully Specified WHERE> Condition at Runtime in SELECT>>
The WHERE> condition can be located partly or fully in an internal table. This means that WHERE> conditions can be constructed dynamically at runtime. Unlike a RANGES>> table, an internal table contains a WHERE> condition as text. The internal table can then be accessed using SELECT ... WHERE (itab)> or SELECT ... WHERE sql_cond AND (itab)>. Here, itab> stands for the name of the internal table and sql_cond> for the statically specified part of the WHERE> condition. Examples and further information can be found in the documentation for the WHERE> clause>.
ABAP_MODIFICATION_NN Specification of the Name of the Database Table or of the View at Runtime in ABAP SQL>
When using SELECT>>, INSERT>>, UPDATE> >, MODIFY>> and DELETE>>: The name of a database table or a view can be specified dynamically as the content of a field. Instead of specifying the table name statically in the source code, a field name in brackets is given. The content of this field is then interpreted as the table name. Examples and further information can be found in the documentation for the FROM> clause>.