Skip to Content

My Inbox Fiori app: Open Task configuration

Hi,

I'm implementing My Inbox Fiori app with ECC, SRM and MDG as backends. The app is working fine and I can see the workitems of each backend. But the Open Task button is not working. I saw in this document

http://scn.sap.com/docs/DOC-70645

that I need to configure the open task button using transaction SWFVISU. I wonder if someone has any documentation on how to do it for SRM workitems.

Thank you!

Leonardo.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Mar 18, 2016 at 08:19 PM

    Hi all,

    Here are more details about my issue.

    When I log in to SRM Portal and go to the UWL I can click on a workitem and the system opens a web dynpro application assigned for that task. The requirement is to do the same but from My Inbox Fiori app.

    The web dynpro application launched within UWL is:

    Application: /SAPSRM/WDA_L_FPM_OIF

    Application Configuration: /SAPSRM/WDAC_I_FPM_OIF_SC_PROF

    Application Component: SRM-EBP-CA-UI

    The url that I see is:

    http://<server>:<port>/irj/portal?NavigationTarget=OBN://BOTechnicalName=sc/Operation=detailprof/BOSystemAlias=SAP_SRM&DynamicParameter=Operation=detailprof&sapsrm_mode=APPROVAL&sapsrm_wiid=000000029609&BOTechnicalName=sc&sapsrm_botype=BUS2121&a=b&sapsrm_pcdlocation=<IView.ID>&sapsrm_portalbaseurl=<Portal.BaseURL>&BOSystemAlias=SAP_SRM&System=SAP_SRM&sapsrm_boid=3CD92BF073381ED5B9C0A19DF54A3EC5&PrevNavTarget=navurl://f99a95ab5b119d3d12fa057ab82d1c1b&sap-obn-url=OBN://BOTechnicalName=sc/Operation=detailprof/BOSystemAlias=SAP_SRM&NavMode=3&CurrentWindowId=WID1457982123036

    It's not using transaction SWFVISU for this match, it's in an XML configuration in UWL. The action configured in this XML is:


    Out of the Box, My inbox app opens just an empty screen when I hit the Open Task button. The url in this case is:

    http://<server>:<port>/sap/bc/gui/sap/its/webgui/?sap-client=100&sap-language=EN&~transaction=SWNWIEX&P_WI_ID=000000029609&P_APPL=NOTIF&P_ACTION=EXECUTE&~OKCODE=ONLI&sap-ui-theme=sap_bluecrystal

    And if I run this transaction SWNWIEX via SAP GUI I get an empty dynpro too.

    In SRM, transaction SWFVISU is empty. I ran a test adding a row with the task id configured to launch a web dynpro application. I used these parameters:

    APPLICATION /SAPSRM/WDA_L_FPM_OIF CONFIGURATION /SAPSRM/WDAC_I_FPM_OIF_SC_PROF NAMESPACE sap SYSTEM_ALIAS SAP_SRM

    Now, when I hit the Open Task button in My Inbox I see a different thing but still not the web dynpro. I get error APB_FPM_CORE 110 that reads that the applications was started without a configuration.

    This time the url is:

    http://<server>:<url>/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif?WI_ID=000000029609&sap-accessibility=&sap-client=100&sap-language=ES&sap-ui-theme=sap_bluecrystal#

    The url looks like is trying to open the correct web dynpro application. Maybe the problem is that I need to have NWBC enabled. Is it right? any workarounds?

    Thank you!

    Regards,

    Leonardo.


    xml action.PNG (27.2 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 16, 2016 at 07:52 AM

    Hi Leonardo,

    I am just guessing it. You need to configure the task id of the workitem and select abap webdynpro from the drop down.

    Make sure you are using the latest version of my inbox.

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0dac669-d427-2e10-d0be-c92cc192fb05?QuickLink=index&…

    Task Launch Customization - Business Task Management - SAP Library

    Regards,
    Tejas

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Tejas,

      Unfortunately that seems not to be enough because I configured the task id with webdynpro and I see an error inside My Inbox, for only that task-id. The error comes when trying to display the workitem detail.

      I will guess that I need to add some parameters in SWFVISU but I don't know which are they?

      Thanks for your message!

      Regards,

      Leonardo.

  • Posted on Mar 30, 2016 at 11:00 PM

    Hi Leonardo,

    As per our conversation I believe the WebDynpro application responsible for the approval of Change Requests in MDG it is not considering the Work Item ID as being passed by TASKPROCESSING service - it only works if the app is being called with the Change Request Number (CREQUEST).

    Back in the old Portal days, UWL was only able to "see" the Work Item attributes from the container. And when you had to work with additional attributes from a BOR object like BUS2250 (MDG) you had to enter that information on SWFVISU so that UWL would be able to look inside the BOR object and retrieve the Change Request Number to be sent to the application for approval.

    POWL work in a different way to setup the Webdynpro Dynamic Parameters. And that's the reason why POWL is able to open the Work Item. Therefore, I believe that SWFVISU will have no impact on POWL. I also suspect that if you had configured UWL with this backend system it would show you the same error.

    The following link shows you how POWL works to determine the application to be opened.

    How to enable the existing Webdynpro based workflow inboxes to execute ALL tasks without config!


    However, Fiori works with TASKPROCESING and this service will look into it the configuration options entered under SWFVISU. Thus, this is the only way for you while working with MyInbox.


    With that in mind you need to make sure that the WebDynpro App is capable of candling the Work Item ID via the parameter ${item.externalid} and open the corresponding CREQUEST. The parameter for app USMD_CREQUEST_PROCESS should be CREQUEST_WORKITEM=${item.externalid}. Since you have already tested this directly on the browser and the app doesn't show you the Change Request, I suspect this is a programming error.


    I would start by checking if the following notes applies to your system. All of them deal in some way with this application:

    http://service.sap.com/sap/support/notes/1761433

    http://service.sap.com/sap/support/notes/2012229

    http://service.sap.com/sap/support/notes/1938716

    http://service.sap.com/sap/support/notes/1996913

    http://service.sap.com/sap/support/notes/2122551

    If after applying relevant notes to your system the problem persists, please open an Incident/Ticket on SAP's Support System for further investigation by the team responsible for MDG .

    Regards,

    Ivan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Leonardo Gomez

      Hi Leonardo,

      According to the note:

      2283580 - FAQ note for SAP SRM workflow related to inbox

      Following are few examples of scenarios that do not work when My Inbox is used with SAP SRM

      1. Open task action present in my Fiori Inbox does not work with SRM.
      2. In Fiori Launchpad, when My Inbox tile is configured to collect the work items from different systems ,does not work with SRM system.
      3. There is no API/mechanism available to bring the SRM documents notes and attachments into the unified Inbox instead of workitem at present. Notes and attachments added to SRM Business objects such purchase order or contract during creation cannot be displayed using My Inbox.

      Regards,

      Moon

  • Posted on Mar 16, 2016 at 04:34 AM

    Hi Leonardo,

    Please share the details for "not working". Do you get any error or no window is opened?

    Regards,

    Masa / SAP Technology RIG

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Masa,

      When I click the Open Task button I see an empty webgui screen. It's transaction SWNWIEX.

      The url generated is http://<server>:<port>/sap/bc/gui/sap/its/webgui/?sap-client=100&sap-language=ES&~transaction=SWNWIEX&P_WI_ID=000000029609&P_APPL=NOTIF&P_ACTION=EXECUTE&~OKCODE=ONLI&sap-ui-theme=sap_bluecrystal.

      I guess I need to configure transaction SWFVISU, enter the task number and choose Webdynpro ABAP. But I need to specify parameters which I don't know how to get.

      Thanks for your message!

      Regards,

      Leonardo.

  • Posted on Mar 16, 2016 at 06:17 PM

    Hi,

    I'm trying to make it work with SRM. My intention is to link the open task button in My inbox to the webdynpro application that SRM uses to execute the workitem. I guess I need to find out which parameters i need to configure in transaction SWFVISU.

    Thanks!

    Regards,

    Leonardo.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.