cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration required for Open Task in Fiori My Inbox?

saurabh_vakil
Active Contributor
0 Kudos

Hello experts,

We have configured the standard Fiori My Inbox for integrating a custom workflow into Fiori. The app is able to show the work item details and we are also able to approve/reject the work items.

The standard app has a Open Task button that shows up in desktop system. When we click on this button we get the below error message. There is no error in the browser console and also in the gateway error log /IWFND/ERROR_LOG.

The My Inbox app version is 1.6.2 and UI5 version is 1.28.9.

Is there come configuration required additionally to make the Open Task button work? I searched on SCN but did not find any specific information on any such configuration.

Regards,

Saurabh

Accepted Solutions (1)

Accepted Solutions (1)

rkaouass
Explorer
0 Kudos

Hi,

I had the same issues and I've installed all SAP Notes for Application Area: OPU-BSE-WFM

After implementation, the URL encoding is correct and the URL is validated.

I've also upgraded the My Inbox Application with the last version 1.6.6.

You can find it by searching SAP Notes in Application Area: CA-INB-FIO

Regards,
Rachid

saurabh_vakil
Active Contributor
0 Kudos

Thanks for the update Rachid!

Since the open task button is visible only on desktops and in our case the usage is going to be from mobile devices, we have decided to hide the open task button for now.

Thanks a lot for your inputs Masa as always!

Regards,

Saurabh

Answers (2)

Answers (2)

rkaouass
Explorer
0 Kudos

Hi,

could you please, use Gateway client, in order to call the service:

/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/TaskCollection

In the response list, try to find the Task which can't be opened, you will see a link to the collection "UIExecutionLink" and retrieve the data of this collection.

Example:

/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/TaskCollection('000000002019')/UIExecutionLink

In the response, you should see, what the application is trying to open.

<entry xml:base="xxxxxxxxxxxxxxxxxxxx/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/" xmlns:d="http://schem...<id>hxxxxxxxxxxxxxxx/sap/opu/odata/IWPGW/TASKPROCESSING;v=2/UIExecutionCollection('000000002019')</id><title type="text">UIExecutionCollection('000000002019')</title><updated>2015-08-04T09:24:52Z</updated><category scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" term="TASKPROCESSING.UIExecution"/><link title="UIExecution" rel="self" href="UIExecutionCollection('000000002019')"/><content type="application/xml"><m:properties><d:InstanceID>000000002019</d:InstanceID><d:GUI_Link>http://<server>:<port>/sap/bc/gui/sap/its/webgui/?sap-language=EN&~transaction=*/iwfnd/wf_webgui P_WI=000000002019;P_TASK=TS00007989;P_SYS=SRS100;DYNP_OKCODE=OKCODE</d:GUI_Link></m:properties></content></entry>

You will be able to understand what the system is trying to open and maybe you will be able to understand if it is a generation of this link who cause the error.

Regards,

Rachid

saurabh_vakil
Active Contributor
0 Kudos

Thanks Masa and Rachid for your clarification!

I tried calling the service by passing the collection UIExecutionLink in the below format:

/sap/opu/odata/IWPGW/TASKPROCESSING;mo;v=2/TaskCollection(SAP__Origin='<SYSTEM_ALIAS>',InstanceID='000001130749')/UIExecutionLink

In the response I could see the result where I could see the property GUI_Link with the below value:

http://<host>:<port>/sap/bc/gui/sap/its/webgui/?sap-language=EN&~transaction=*/iwfnd/wf_webgui%20P_WI=000001130749;P_TASK=TS90000020;P_SYS=<SYSTEM_ALIAS>;DYNP_OKCODE=OKCODE

When I open this link in the browser it opens up the SAPGUI for HTML page in the browser, but instead of opening the approve screen I see the below screen.

Regards,

Saurabh

rkaouass
Explorer
0 Kudos

Hi,

I've the same issue with the standard "All Items" configuration.

I was able to to see the SAP GUI Link as well, and I've had the same.

Maybe there is a problem in this release, they fixed in previous release, and now this issue is back or we have a missing configuration?

Regards,

Rachid

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

What is object and method of the task TS90000020?

Regards,

Masa / SAP Technology RIG

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

Please check 2172906 - Task Gateway: UIExecutionLink might not be filled within $expand for SAP Business Workflow provider - IW_BEP. It has been available since May.

Regards,

Masa / SAP Technology RIG

saurabh_vakil
Active Contributor
0 Kudos

Thanks for the update Masa!

I will check the note you have mentioned and update this thread with the result.

Regards,

Saurabh

rkaouass
Explorer
0 Kudos

Hi Masa,

I've applied the SAP note but nothing changed.

Regards,

Rachid

saurabh_vakil
Active Contributor
0 Kudos

Hi Masa,

The task TS90000020 is using business object DECISION and the approval method is PROCESS.

Regards,

Saurabh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

It is called user decision task. Those task can be easily set action buttons.

Regards,

Masa / SAP Technology RIG

saurabh_vakil
Active Contributor
0 Kudos

Hi Masa,

Do you mean that like Approve and Reject actions we need to explicitly set the action for the Open Task button to work? We thought that without configuring anything this was supposed to work by default.

Regards,

Saurabh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

I mean that users will use action buttons instead of opening another task window.

Regards,

Masa / SAP Technology RIG

agentry_src
Active Contributor
0 Kudos

Hi Saurabh,

Take a look at My Inbox Fiori App : Open Task button issue | SCN.  There are also a number of other SCN threads on this topic.  Please remember to search before posting.

Regards, Mike (Moderator)

SAP Technology RIG

saurabh_vakil
Active Contributor
0 Kudos

Hi Michael,

I have already gone through the link you have mentioned. It talks about an SAP Note which upgrades the My Inbox app to version 1.5.17. As I already mentioned in my original post, we are already on version 1.6.2 for My Inbox so this note is not applicable for us.

Also I have searched through various SCN posts but nowhere did I find any mention of specific steps to be followed to make the Open Task button working. The app documentation on help.sap.com also does not specify anything regarding this.

Therefore as a final resort I have posted a new discussion.

Regards,

Saurabh

former_member182874
Active Contributor
0 Kudos

Hi Saurabh,

What is the scenario you are working for this task to work ? Like PO approval, absence approval or any custom approvals.


Regards,

Tejas

saurabh_vakil
Active Contributor
0 Kudos

Hi Tejas,

The scenario we have configured is not PO/PR/absence approval but a custom Finance journal entry approval process. Is any additional configuration necessary for a custom workflow scenario to be able to use the Open Task button from My Inbox?

Regards,

Saurabh

former_member182874
Active Contributor
0 Kudos

Hi Saurabh,

If this is a custom workflow, please make sure that the workitem is coming in Inbox. It should take you to some transaction, when you click on approve. If the same is happening from backend, this means configuration is SWFVISU is well set.

The same can then reflect in Fiori app. This is what I understand. Please validate the same from your end.


Regards,

Tejas

saurabh_vakil
Active Contributor
0 Kudos

Hi Tejas,

Yes, this is a custom workflow. The work items are present in the SAP Inbox. When we click on Approve from the backend, it opens a popup with a Complete button and when clicked on Complete the item gets processed.

We were expecting that the open task option would open up the same SAPGUI for HTML screen from back end as mentioned in and section Execute a workitem in .

Regards,

Saurabh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

Please share the URL.

Probably the SICF service is not active or authorization is missing.

Regards,

Masa / SAP Technology RIG

former_member182874
Active Contributor
0 Kudos

Hi Saurabh

Using open task the approver screen transaction opens as far as i know . Like for approve absence: tcode SWXf , for approve po: me29n

Not sure on if it is program error but also ensure if the config is maintained in swfvisu

Regards

Tejas

saurabh_vakil
Active Contributor
0 Kudos

Thanks for your response Masa!

Can you please let me know which URL do you mean? Is it the one which should open up on clicking the Open Task button?

Regards,

Saurabh

saurabh_vakil
Active Contributor
0 Kudos

Hi Tejas,

If any SWFVISU configuration is required then that is exactly what I am looking for some guidance on. Since any such config is not mentioned in the My Inbox documentation at help.sap.com.

I would much appreciate if you could share some links that would explain what SWFVISU configs are required to be done.

Regards,

Saurabh

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

Yes. The link for opening a task in SAP GUI for HTML.

Regards,

Masa / SAP Technology RIG