Scenario Definition for Leave Request Approval :-
Scenario definition to be performed on the Netweaver Gateway server.
- Go to Transaction Code ‘SPRO’.
Click on SAP Reference IMG to open the structure.
- Click on SAP Netweaver to further navigate.
- Click on Gateway Service Enablement.
- Click on Content.
- Click on Task Gateway Service.
- Click on Scenario Definition..
- Click on New Entries to create scenario definition.
Field | Approve Leave Request |
| |
| |
| |
| |
| /GBHCM/CL_APPROVAL_ITEM_COUNT |
|
| Select the Quick Act checkbox to enable quick approval of workflow items (iPad only). |
|
- Save the Entries and select the row containing your approval scenario.
- In Dialog Structure, choose Assign Role to Consumer Type and Scenario.
- Choose new entries, either Desktop, Tablet or Mobile from F4 search help.
Save the entries.
- Select Desktop, In Dialog Structure : choose Assign Role to Consumer Type and Scenario.
- Click New Entries. Choose the appropriate Role with the F4 help i.e. for leave request approval is ‘SAP_HCM003_HCM_LVRQ_APR’.
- Select the Role, choose Task Definition for Scenario.
- Select New Entries, define task type and SAP system alias.
- Give Task ID which has been used to trigger the Workflow for Leave Request Approval and give System Alias maintained for example DEV_BWF.
- Save the Entries.