Hierarchy

⤷

⤷

Basic Data
Data Element | DXFUNCTION |
Short Description | Function module |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | FUNCNAME | |
Data Type | CHAR | Character String |
Length | 30 | |
Decimal Places | 0 | |
Output Length | 30 | |
Value Table | TFDIR |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | Function |
Medium | 15 | Function module |
Long | 25 | Function module |
Heading | 0 |
Documentation
Definition
Function module that can be used to execute a task in the Data Transfer Workbench.
The function module should have the following interface:
Import parameters
PROJECT LIKE DXFIELDS-PROJECT
SUBPROJ LIKE DXFIELDS-SUBPROJECT
RUNDEF LIKE DXFIELDS-RUNDEF
TASK LIKE DXFIELDS-TASK
RUNID LIKE DXFIELDS-RUNID
Table parameters (import)
FILESIN LIKE DXFILEN,
FILESOUT LIKE DXFILEN
Export parameter
RETURN LIKE DXRETURN
If this function module starts a task when the data transfer is run, the above import and table parameters are filled with values.
The status of the task is transferred in the export parameter RETURN. For this reason the field STATUS must be filled with one of the following values:
- 1: Task completed without errors. The next task is started.
- 2: Task completed with errors. The run stops. Once the error has been removed, the task is executed again when the run is continued.
- 3: Task completed with errors. No restart and run stops. Once the error has been removed, the next task is executed when the run is continued.
Using fields MSGTY, MSGID, MSGNO, MSGV1, MSGV2, MSGV3, MSGV4, you can return an appropriate message that is stored in the log. If your function module itself stores messages in the application log, you can return this message ID in the field LOG_HANDLE.
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in |