SAP Transaction Builder

 

 

In this topic ...

How do I...

Specifying Inputs

This Builder allows you to calls multiple SAP functions within the context of a single SAP connection or transaction. You might need to do this if the BAPI you are working with, or if the transaction you are performing, requires this approach to calling functions.

For example, this situation might arise when calling BAPI_PERSDATA_CHANGE to update employee data. In this case call the following three BAPI's on the same SAP connection:

BAPI_EMPLOYEE_ENQUEUE BAPI_PERSDATA_CHANGE BAPI_EMPLOYEE_DEQUEUE

 

How do I....

 

Call multiple functions within the context of a single SAP transaction?

Place an SAP Transaction Builder call in a model that contains multiple SAP Function Call Builders. The SAP Transaction Builder will detect all SAP Function Calls in the model.

Use the widgets in the SAP Function Call input table to display a list of all function calls. Using successive rows in the table, select the SAP Function Calls you want to include in the transaction in the order in which you want the function calls to run.

Click OK to add the Builder to the model.

To invoke the transaction call the method created by this Builder. The method will have the same name as the name you assigned to the Builder.

 

Specifying Inputs

This Builder takes the inputs described in the table below. For help on inputs common to many or all Builders such as those in the Properties group, see Using the Builder Call Editor.

Input Name Description
Name Enter a name for this Builder call. The Designer displays this name in the Builder Call List.
List of Functions Select the SAP Function Calls that you want to chain together into a single connection or  transaction.

Use the drop-down lists in the SAP Function Call table to display the SAP Functions calls in the model. Select one function call per row for inclusion in the transaction.

Note that Function Calls are made in the order in which the appear in the table.

 

Objects this Builder Creates

 

Methods

  • <builder_name> - This Builder creates a single method whose name is the "Name" input of the Builder.  You must to call this method to invoke the transaction.