Task Actions
Details:
- 1.1 Action ID
- 1.2 Action Text
- 1.3 Icon
- 1.4 Button Type
- 1.5 Behaviour
- 1.6 Outcomes
- 2 Standards / conventions / best practice guide
Action ID
This is a unique ID of the action that is passed into the ABAP user exits. When the status of the form changes, ABAP code can be used to interrogate the last performed action and perform the necessary operations.
Action Text
This is the text that appears on the button.
Icon
This is the SAP UI5 icon that is displayed on the button.
Button Type
This is the styling that the button will use. You can see some examples of button types here.
Behaviour
This button opens up additional configuration options for the button.
|
|
Outcomes
This button opens an editor to configure the Outcomes when this action is performed. An Outcome is another task that can be in any level within the application. Each Outcome can also be configured with so that different outcomes can be configured depending on different requirements.
Example
The Outcome of an Approve action may be the Completed Task whereas the Reject action may take the Form back to the original Creation or a specific Review task.
Standards / conventions / best practice guide
Action ID's should be defined in UPPER CASE and contain no spaces by convention. If necessary, combine more than one word into an ID using an underscore. These are used in ABAP code, and as such should be similar to the Function Code values we define in a GUI Status.
Action Text should be a verb or a (very short!) sentence fragment containing one or more verbs. This is the actual text that will appear on the button. For example:
Please adhere to the Fiori guidelines for buttons where possible.
Try to ensure that the 'main' button (used most often) is defined first, as the buttons will appear in the Process Flow toolbar (left to right) as they are defined in the designer (top to bottom).