Ansicht
Dokumentation

ABAPEXPORT_INTERNAL - EXPORT INTERNAL

ABAPEXPORT_INTERNAL - EXPORT INTERNAL

rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

EXPORT, Internal Additions

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


Additions

1. ... CODE PAGE HINT cp

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

Addition 1

... CODE PAGE HINT cp

Effect

In cp, a code page from database table TCP00 can be specified that overwrites the automatically stored ID.

Addition 2

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

Effect

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 addition FROM wa is not allowed. The data is not exported to the database table. Instead, the subroutine subr is called for each row that would be written to the database without this addition. In the subroutine, the data can be accessed that would otherwise be written to the database table in the table work area dbtab.

The subroutine must either be defined in the same program or in a program, prog, specified explicitly. Its name must be prefixed with the name of the database table ("dbtab"). The subroutine must have a USING parameter of type any, but this is currently not supplied.

Notes

  • For external use, TO INTERNAL TABLE is provided instead of TO DATABASE ... USING.
  • Specifying an external program prog is the same as the obsolete variant of PERFORM.
  • The tables used as the export/import tables must have structures for data clusters in multiple rows, since TABLES cannot be used for deep structures.

Example

See IMPORT - Internal Additions






BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2936 Date: 20240426 Time: 033547     sap01-206 ( 49 ms )