on 07-05-2016 2:54 PM
Hi All,
We are trying to integrate Approve Leave Requests in My Inbox application. We have followed the SAP Note 2305401 and the attached document in this note. But we are not able to get the results.
It seems that the note/document is missing some steps. Has anyone been able to achieve this? If yes, Can you please share the details how?
Regards,
Karan
Hello Experts,
Any input on this; This has been pending for a while now.
Regards,
Karan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
I will be doing this and also I don't see the document very complete.
Did you got any response?
BTW, this article is very good.
Regards.
Hi all,
Has anyone got this approach working?
Regards,
Karan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update:
I implemented SAP Note 2322131 so that I could utilize the embedIntoDetails option and get the data on the detail screen; but this seems incomplete as I am getting the following screen on click of Submit, Observe the Cancel button, Also observe the console as Detail Screen is blank:
Also when I click on Submit, The task gets approved but the list on the left side doesn’t get refreshed. It is appearing as blurred as shown in the below screenshot:
Any idea anyone?
Regards,
Karan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello All,
Any idea on this issue?
Regards,
Karan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karan,
Semantic object is LeaveRequest.
https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F1315')
Regards,
Masa / SAP Technology RIG
Hi Masa,
I have extended the Leave Request Application to include the code for component.js as mentioned in App to App Navigation Cookbook document given in SAP Note SAP Note 2305401. Hence, I have to mention the semantic object created for this extended app.
On the Open Task Button, I am able to get the extended leave approval application working in new tab; but the issue is it is not loading the selected task by default but the as is leave approval list as in the normal leave approval app.
The other option which I ideally want to work is to get the details view for leave in My Inbox itself which is the first option in the cookbook.
Basically, The Master Page is from My Inbox and the detail should contain Leave Request details as present in the Approve Leave Request Details screen. Hope the requirement is clear.
Please let me know if you need more details.
Regards,
Karan
Hi Karan,
Please share which note was missing in your system?
The app behavior is correct because you did not pass any parameter.
What parameters are available in your extended app?
Example for Supplier Invoice
Type | Parameter | Mandatory | Example |
---|---|---|---|
Intent-Based | SEMANTIC_OBJECT | X | SupplierInvoice |
Intent-Based | ACTION | X | displayAdvanced |
Intent-Based | QUERY_PARAM00 | SupplierInvoice={&_WI_OBJECT_ID.####&} | |
Intent-Based | QUERY_PARAM01 | FiscalYear={&_WI_OBJECT_ID.####&} | |
Intent-Based | QUERY_PARAM## | Max number of parameter is 09 |
Regards,
Masa / SAP Technology RIG
Hi Masa,
I have followed App to App Navigation Cookbook document given in SAP Note SAP Note 2305401.
As Indicated in the Screenshot for SWFVISU Configuration, The parameters mentioned in it are SEMANTIC_OBJECT and ACTION.
Do we need to pass these parameters somewhere in the extended application as well? If yes, where and how?
Because it is no where mentioned in the SAP Note.
Also, What are the parameters which are required in addition to the 2 in SWFVISU for Leave Request Approval?
Please let me know if you need more details.
Regards,
Karan
Message was edited by: Karan Bahl
Just to add what I am trying to achieve:
The standard My Inbox shows tasks as For example PR:
Now what I ideally want the end result as:
Basically the My Inbox Detail screen has been replaced by the Standard Detail screen of the Approve Requisitions App.
This I want to replicate for Leave Approval, Approve Requisitions, Approve Timesheets etc.so that user can see all details in My Inbox app.
Regards,
Karan
Hi Masa,
Following is the url:
https://host:port/fiori#zhcm_lrq_apv-approve?openMode=external&/detail/LeaveRequestSet(RequestId='005056AB24071ED5A7FE8939EB0C00CF',RequesterName='ABC%2520%2528DE%2529%2520Liu',RequesterNumber='00000543',StartDate=datetime'2015-12-17T00%253A00%253A00',EndDate=datetime'2015-12-17T00%253A00%253A00')
I understand the Semantic Object and Action which are:
Semantic Object: zhcm_lrq_apv
Action:approve
I can observe the other parameters as well, but I am not sure about their value to be passed in the SWFVISU parameters.
Regards,
Karan
Hi Masa,
Here is the required URL:
Regards,
Karan
Hi Masa,
The app opened the oldest leave in the list i.e. first leave selected by default and not the current/specific leave. I have tried various options in SWFVISU but none seem to be working for openMode=external. These are the parameters I have tried.
QUERY_PARAM00 | ||
RequestId={&_WI_OBJECT_ID.INSTID&} | ||
RequestId={WORKITEM} |
Also, for other options; embedIntoDetail, replaceDetails; there should be some notes released as I am getting an error in console and they are not loading the detail screen.
Regards,
Karan
Hi Karan,
Please share the SWFVISU config and the target mapping?
Regards,
Masa / SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.