FIORI: Scenario Definition For Leave Request Approval
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 |
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
- 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.
excellent information ,
Thank u ,
Jwala.
FYI.
This is setting for apps which were release in 2013. Updated apps in 2014 do not use scenario definition setting. Only Fiori Approve Requests app uses this setting.
Hi Masa,
How do we take care of custom task IDs for Approve Leave request application ?
currently customer has defined custom task IDs which is not allowing to approve/reject leaves through the FIORI app, though the same works through PTARQ.
Like you mention updated apps do not have the option maintain scenario definition.
Best Regards,
Jay
Selecting workitems does not rely on the task ID anymore. Workitems are selected from the table PTREQ_HEADER. If you have runtime issue, please create new discussion. Start a discussion.
Hi Masayuki Sekihara
thanks a lot for the clarification. Was following the tutorial and wondered why I couldn't find the right elements in the tree.
What is the correct way to use workflows (simple line manager approval) for the new Leave Request Fiori app?
Kind regards, Vanessa
Just use the Approve Leave requests.
https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F1315')
Hi Masayuki Sekihara, thanks for your answer. This is the way we are doing it right now. But I am missing the possibility to have representative (in case of line manager's vacation, ...). Or am I missing there something?
Regards, Vanessa
Please create a new discussion for a new question.
I fully agree. Sorry.
New discussion is: Leave request workflow customizing
Masayuki Sekihara could you answer the question from Jaya?
I need the same functionality.
Thanks!