Hierarchy

⤷

⤷

IMG Activity
ID | /AIN/VC_ACTIVITIES | Define Activities |
Transaction Code | /AIN/38000008 | (empty) |
Created on | 20040518 | |
Customizing Attributes | /AIN/VC_ACTIVITIES | Define Activities |
Customizing Activity | /AIN/VC_ACTIVITIES | Define Activities |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /AIN/VC_ACTIVITIES |
Use
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 BTD_CREATE (Create Business Transaction Document) and DEVICE_PRINT_TAG (Commission Tag and Print Label).
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.
Requirements
An ABAP class must exist for the activity and it must implement activity interface /AIN/IF_ACTIVITY with method EXECUTE.
Standard settings
Activities
- Enter an activity name and use input help to choose an ABAP class that implements the activity interface /AIN/IF_ACTIVITY . If you want to use the activity as an exception activity, select the Exception indicator.
- Select AII 5.1 from the Activity Release dropdown box.
- If you want to assign you activity to an activity category, select the category from the input help of the Activity Category field. You can define your own activity categories in the Customizing activityDefine Activity Categories.
- Enter a description for the activity.
- If an existing activity should be marked as obsolete, set the Obsolete Indicator. You must mark an activity from an older release if it is not fully compatible with activities in later releases. Some activities in SAP AII 2.1 or 4.0 are marked as obsolete in SAP AII 5.1.
Activity Parameters
Enter a parameter name and description.
Activity Parameter - Allowed Values
Enter allowed values for your activity parameter.
Additional Activity Context
If you want to exchange additional data that cannot be contained in the standard activity context for your activity, here you can assign an activity to a dictionary structure to create an additional activity context that can contain this data. Set the Input Flag indicator if you want to create an input context.
Example
The activity ACTTYPE_BY_PARAM_DETERM (Determine action type by activity parameter) has the parameter ACTION_TYPE that can have the values of the action types that you define in Customizing.
Business Attributes
ASAP Roadmap ID | 105 | Define functions and processes |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 1 | Critical |
Country-Dependency | A | Valid for all countries |
Assigned Application Components
Documentation Object Class | Documentation Object Name | Current line number | Application Component | Application Component Name |
---|---|---|---|---|
SIMG | /AIN/VC_ACTIVITIES | 0 | /AIN/R1D0000002 | Infrastructure |
Maintenance Objects
Maintenance object type | C | Customizing Object |
Assigned objects | ||||||
---|---|---|---|---|---|---|
Customizing Object | Object Type | Transaction Code | Sub-object | Do not Summarize | Skip Subset Dialog Box | Description for multiple selections |
/AIN/VC_ACTIVITIES | C - View cluster | SM34 |
History
Last changed by/on | SAP | 20050309 |
SAP Release Created in | 200 |