!--a11y-->
Registering Your Own Programs, Function
Modules, and BAPIs 
For certain object types, SAP already provides registered standard programs in the Data Transfer Workbench.
For tasks, such as extracting data from non-SAP systems or cleaning data, you can also develop your own programs and function modules. Before you can use these for a task, you have to register them with the relevant object type.
If you want to enhance the SAP-registered BAPIs for loading data into SAP systems, you have to create and register your own BAPIs.
· You have identified SAP business object types appropriate for your legacy data.
· You have created the programs, function modules, or BAPIs required for your data transfer project (see Developing Your Own Programs, Function Modules, and BAPIs).
In the Data Transfer Workbench, choose Goto ® DX Program Library to get to the Data Transfer Programs Library screen.
Proceed as follows:
Choose Create registration
In the dialog box Create registration, use the F4 input help to make your selection.
· Object type
Select one of the object types.
· Task type and program type
Several program types are assigned to each task type. Only programs of the following program types can be registered:
Task Type |
Program Type |
Description |
EXT |
FUNC |
Extracts the data from the non-SAP system using a function module. |
REPO |
Extracts the data from the non-SAP system using a report. |
|
PUR |
FUNC |
Cleans the data using a function module. |
REPO |
Cleans the data using a report. |
|
MAP |
FUNC |
Maps the data using a function module. |
REPO |
Maps the data using a report. |
|
CHK |
FUNC |
Checks the data using a function module. |
REPO |
Checks the data using a report. |
|
LOA |
BAPI |
Loads the data into the SAP system using a BAPI. |
FUNC |
Loads the data into the SAP system using a function module. |
|
REPO |
Loads the data into the SAP system using a report. |
|
IDOC |
Loads the data into the SAP system using an inbound ALE function module. |
|
AUD |
FUNC |
Checks the data in the SAP system using a function module. |
REPO |
Checks the data in the SAP system using a report. |
|
MSC |
FUNC |
Miscellaneous functions using a function module. |
REPO |
Miscellaneous functions using a report. |
Enter your program or function module in the Program field.
You can deregister programs that you have registered.
If it is a BAPI (only in the case of task type LOA), use the input help to choose Object type and Method in the dialog box. If available, enter the name of a program that generates test data in the Program field.
If it is an IDoc, use the input help to choose Object type and Function module in the dialog box. If available, enter the name of a program that generates test data in the Program field.
You can delete registrations. You can also assign a different method or program to a registered object type.
Your programs, function module and BAPIs are now registered.