Settings
This section contains an overview and description of all available Function module / BAPI settings.
The Function module / BAPI settings consist of the following subsections:
- Control Buttons to close, save or delete the service .
- Function Module displays the name and description of the selected Function Module / BAPI .
- Advanced Settings define how data is committed to and from SAP .
- Function Module Interface Parameters define what data is committed to and from SAP .
Control Buttons
[Delete]
Deletes the service.
[Cancel]
Closes the service and dismisses any changes.
[Run]
Opens the Run Menu to testrun the service directly in yunIO.
[Save]
Saves changes in the service.
Function Module
The Function Module section displays the name and description of the selected function module or BAPI. To select a different source file, click Select in the upper right corner of the section.
Advanced Settings
Commits Transaction
If this option is active, the function module "BAPI_TRANSACTION_COMMIT" is called after processing the selected Function Module / BAPI. Some SAP Function Modules (e.g., BAPI_PO_CREATE) require this commit function to successfully update data in the database.
Function Module Interface Parameters
In the Function Module Interface Parameters section all parameters of the selected Function Module / BAPI are displayed. Function Modules / BAPIs can have up to four parameter types:
Import Parameters
Import parameters represent the input values sent from the client to SAP. In the tab Import you can define import parameters.
Select import parameters using the drop-down list next to the parameter:
Input | Description |
---|---|
Supplied by Caller | The item becomes available as a parameter in the request body of the service and can be set at runtime. |
Default (defined in SAP) | The item uses the default values from SAP. This is the default setting. |
Constant | The item uses the value that is entered in the Value field. |
Tip
To use tables as input parameters, see Table Parameters.
Export Parameters
Export parameters represent the output values sent from SAP back to the client after the execution of a Function Module. In the tab Export you can select the items you want to add to the output of the Function Module / BAPI and change their name:
Tip
To use tables as output parameters, see Table Parameters.
Changing Parameters
Changing parameters represent parameters that can be used for input and output. In the tab Changing you can define the changing parameters.
Table Parameters
Table parameters are parameters presented in a table structure consisting of multiple rows. Tables can be used for input and output. In the tab Tables you can define table parameters for importing and exporting data into and from an SAP Function Module or BAPI.
Tables as Input Parameters
Select tables fields as input parameters for the service using the drop-down list next to the table field:
Input | Description |
---|---|
Supplied by Caller | The item becomes available as a parameter in the request body of the service and can be set at runtime. |
Default (defined in SAP) | The item uses the default values from SAP. This is the default setting. |
Constant | The item uses the value that is entered in the Value field. |
Tables as Output Parameters
- Select the table fields you want to add to the output of the service.
- Optional: change the name of the output parameter. Table parameters use the following naming format:
[Table name].[column name]
.