Entering content frameProcedure documentation Registering Your Own Programs, Function Modules, and BAPIs Locate the document in its SAP Library structure

Use

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 R/3 Systems, you have to create and register your own BAPIs.

Prerequisites

Procedure

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.

Select one of the object types.

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 R/3 using a BAPI.

FUNC

Loads the data into R/3 using a function module.

REPO

Loads the data into R/3 using a report.

IDOC

Loads the data into R/3 using an ALE inbound function module.

AUD

FUNC

Checks the data in R/3 using a function module.

REPO

Checks the data in R/3 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.

Result

Your programs, function module and BAPIs are now registered.

Leaving content frame