EXPORT - Internal Additions
ABAP_ADDITIONS:
1 ... CODE PAGE HINT cp
2 ... USING subr[(prog)]
ABAP_ADDITION_1 ... CODE PAGE HINT cp
What does it do? In cp , you can specify a
codepage from database table TCP00
, which overwrites the automatically stored ID.
ABAP_ADDITION_2 ... USING subr[(prog)]
What does it do? This addition can be specified for
EXPORT TO DATABASE if a table
work area dbtab is declared for the relevant database table using
TABLES . The FROM wa addition is not allowed.
The data is not exported to the database table. Instead, the subroutine
subr is called for each line that would be written to the
database without this addition. In the subroutine, you can access the
data in the table work area dbtab that would otherwise be written
to the database table.
The subroutine must either be defined in the same program or in an
explicitly specified program prog . Its name must contain the name
of the database table as a prefix "dbtab_" . The subroutine must
have a USING parameter of the type any , which is currently
not supplied.
Latest notes: For external use, instead of TO DATABASE ... USING ,
the specification of TO INTERNAL TABLE is designed.
The specification of an external program prog corresponds to
the obsolete variant of PERFORM .
Example ABAP Coding Refer to IMPORT - Internal
Additions
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved