Ansicht
Dokumentation

/AIN/VC_ACTIVITIES - Define Activities

/AIN/VC_ACTIVITIES - Define Activities

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You use the information below only if you want to define your own activities, activity parameters, and allowed parameter values. Activities are used in rules and contain the logic of the application. We deliver predefined activities such as DEVICE_PRINT_TAG (Write Tag and Print Label) and DEVICE_REGISTER_40 (Create/update observation).

Activities perform a variety of functions when executed by the rule processor in response to an incoming message. These functions may include the following:

  • Read or write to the SAP Auto-ID Infrastructure (SAP AII) database
  • Send an XML message to a device controller
  • Send a message to a backend system via SAP Exchange Infrastructure (SAP XI)
  • Write to the trace file or error log
  • Get or set the activity context (memory available to other activities that process the message)

Two types of activities can be maintained: activities and exception activities. Exception activities are activities that react to exceptions during activity processing.

An activity can have several parameters to control the processing. You can specify allowed values for each parameter. If no parameter values are maintained, for example for a numeric parameter, it means that you can assign all values to the activity parameter in Rule customizing.

An ABAP class must exist for the activity and it must implement activity interface /AIN/IF_ACTIVITY with method EXECUTE.

  1. Enter an activity name and use the matchcode to choose an ABAP class that implements activity interface /AIN/IF_ACTIVITY . If you want to use the activity as an exception activity, select the Exception indicator.
  2. Enter a description for the activity.

Activity Parameters

Enter a parameter name and description.

Activity Parameter - Allowed Values

Enter allowed values for your activity parameter.

Activity DEVICE_VALIDATE_40 (Validate Device Message and create Activity Context) has parameter CHECK_IN_STOCK which has values INFORMATION, WARNING and ERROR.






rdisp/max_wprun_time - Maximum work process run time   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2541 Date: 20240420 Time: 013129     sap01-206 ( 43 ms )