Ansicht
Dokumentation

/AIF/ACTIONS - Define Actions

/AIF/ACTIONS - Define Actions

General Material Data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you define the steps for message processing in the SAP Application Interface Framework.

An action is an interface building block that contains the business logic of an SAP Application Interface Framework interface. It consists of at least one action function module that can, for example, call BAPIs or function modules to process data.

An action is defined by its name and the namespace it is assigned to. The action's main component type defines which data type the action handles. An action can be assigned to an interface and be used across namespaces.

Since actions in the SAP Application Interface Framework have a well-defined input (a data structure with the type defined as the action's main component type), they remain independent of the context in which they are called. As a result, actions can be easily reused by several interfaces in the SAP Application Interface Framework.

You have defined a namespace using the Customizing activity Define Namespace. Every value action has to be assigned to a namespace.

You have the authorization to display and / or maintain Customizing for a given namespace.

There are no actions in the delivery of the SAP Application Interface Framework. This list of actions is empty by default.

  1. Choose an existing namespace.
  2. To define a new action, choose New Entries.
To edit an existing action, double-click on the action name.
  1. Assign a name that identifies the action (together with its namespace) and optionally enter a description.
  2. [Optional] Define an init function before processing, which is executed before the function modules of the action.
  3. Define a commit mode and commit level.
  4. Specify the main component type. This is the type of the DDIC structure the action is working with. The action will only have access to the data contained in this structure. When assigning the action in the Customizing activity Define Structure Mappings, you can also assign a table as the Record Type in the Assign Actionview. Then, the action will be called with for each dataset in the table.
  5. Choose Define Functionsin the menu on the left-hand side. Choose New Entries to assign function modules that should be executed.
  6. [Optional] Select a function module and choose Assign Checksin the menu on the left-hand side if you want to explicitly specify conditions under which the selected function is executed.
  7. [Optional] Select a function module and choose Define Fields to Restorein the menu on the left-hand side if you want to specify fields whose value will be restored in a situation where the data message is restarted.

Note: In order for the action to get called, it has to be assigned in the Customizing activity Define Structure Mappings.






CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3743 Date: 20240425 Time: 224627     sap01-206 ( 57 ms )