Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Processing External Data →  Data cluster →  EXPORT 

EXPORT - Internal Additions

Other versions: 7.31 | 7.40 | 7.54

Internal Additions

Other versions: 7.31 | 7.40 | 7.54

These additions are for internal use only. Do not use them in application programs.


1. ... CODE PAGE HINT cp

2. ... USING subr[(prog)]

Addition 1



In cp, you can specify a codepage from database table TCP00, which overwrites the automatically stored ID.

Addition 2

... USING subr[(prog)]


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.


  • 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.


Refer to IMPORT - Internal Additions