ARTIClE
Creating Structured Data Objects
This example demonstrates how structured data objects are created.
ABAP_SOURCE_CODE
ABAP_EXEC
ABAP_DESCRIPTION
Creates a work area that matches any database table and reads the first
rows ( rows ) of the database table into this work area using a
SELECT loop. Since the data reference
dref is typed dynamically, the work area can only be read using the
field symbol wa .
The method CHECK_TABLE_NAME_STR of the class
CL_ABAP_DYN_PRG checks whether the
database table specified exists and can be used.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved