Set field value action
- Updated: 2022/11/08
Set field value action
The Set field value action in the SAP BAPI package enables you to set data into a function, table, or structure using the function alias.
Settings
- In the BAPI function alias field, enter the alias you have provided for SAB BAPI function using the Create function action.
- Select one of the following options to specify whether you
want to set data in a function, table, or structure:
- Function: Enables you to set data in a function.
-
Table: Enables you to set
data in a table in a SAP application.
You must use the Get table action before you use the Get field action to obtain the value of a field from a table in a SAP BAPI function. You must specify the Table alias in which you want to set data. You can also select the Create new row option if you want to create a new row in the table and set value in that row.
-
Structure: Enables you to
set data in a structure in a SAP application.
You must use the Get structure action before you use the Get field action to obtain the value of a field from a structure in a SAP BAPI function. You must also specify the Structure alias from which you want to get data.
- In the Field name field, enter the name of the field in which you want to set data.
- In the Field Value field, enter the value that you want to set.
- In the SAP BAPI Session field, enter the session name you used to connect to the SAP application in the Connect action.