cancel
Showing results for 
Search instead for 
Did you mean: 

Issues in Integration of SAPUI5 Fiori Applications into My Inbox 2.0

karanbahl
Active Participant
0 Kudos

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

Accepted Solutions (0)

Answers (5)

Answers (5)

karanbahl
Active Participant
0 Kudos

Hello Experts,

Any input on this; This has been pending for a while now.

Regards,

Karan

vijaybhaskarraju_vegesana
Active Participant
0 Kudos

Hello Karan,

Were u able to achieve this ?

Thanks,

Vijay

karanbahl
Active Participant
0 Kudos

Hi Vijay,

No. Even raising an OSS didn't help as it is still pending with SAP.

Regards,

Karan

vijaybhaskarraju_vegesana
Active Participant
0 Kudos

Thanks Karan for the update, even am waiting for SAP response.

Regards,

Vijay

former_member204169
Participant
0 Kudos

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.

vijaybhaskarraju_vegesana
Active Participant
0 Kudos

No, I could not achieve it.

Still looking for other available options

Regards,

Vijay

karanbahl
Active Participant
0 Kudos

Hi all,

Has anyone got this approach working?

Regards,

Karan

karanbahl
Active Participant
0 Kudos

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

karanbahl
Active Participant
0 Kudos

Any one with any idea?

Regards,

Karan

karanbahl
Active Participant
0 Kudos

Hello All,

Any idea on this issue?

Regards,

Karan

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

Some notes are listed in .

Semantic object is LeaveRequest.

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F1315')

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

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

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

TypeParameterMandatoryExample
Intent-BasedSEMANTIC_OBJECTXSupplierInvoice
Intent-BasedACTIONXdisplayAdvanced
Intent-BasedQUERY_PARAM00SupplierInvoice={&_WI_OBJECT_ID.####&}
Intent-BasedQUERY_PARAM01FiscalYear={&_WI_OBJECT_ID.####&}
Intent-BasedQUERY_PARAM##Max number of parameter is 09

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

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

karanbahl
Active Participant
0 Kudos

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

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

Please paste the URL for the above Approve Leave Request.

You can find the intent and parameters.

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

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


masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

Please paste the URL when you select a leave request in the Approve Leave Request app without My Inbox.

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

What was your test result by specifying the parameter RequestId?

Did it open the specific leave?

First, test the app opening the selected leave.

Second, test the open mode (external, replaceDetails, embedIntoDetails).

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

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.####&}

RequestId={&_WI_OBJECT_ID.INSTID&}

RequestId={WORKITEM}
RequestId={OBJKEY}

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

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

Forget about open mode at this moment. We can look at the open mode after fixing the dynamic value parameter.

Look at the workflow technical log in the ERP. You can find workflow container value.

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

Hi Masa,

What exactly are you referring to here?

Regards,

Karan

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

You need to find the workflow container element name which stores RequestId value, right?

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

I am able to get the Request ID value; but I am not sure which values will work.

I have tried these:

RequestId={&_WI_OBJECT_ID.####&}

RequestId={&_WI_OBJECT_ID.INSTID&}

RequestId={WORKITEM}
RequestId={OBJKEY}

Will the workflow container help me in any way there?

Regards,

Karan

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karan,

Please share the SWFVISU config and the target mapping?

Regards,

Masa / SAP Technology RIG

karanbahl
Active Participant
0 Kudos

Hi Masa,

Please refer to the below screenshots:

Please note that when I chose Mandatory Parameter the app doesn't work at all.

Regards,

Karan