on 08-03-2015 9:51 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
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
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.