Skip to Content
author's profile photo Former Member
Former Member

My Inbox - /IWPGW/TaskProcessing (v2) - TaskCollection is Blank

Experts,

I need your help in getting to bottom of this and finding the root cause. I am facing challenges in loading tasks in My Inbox app. My aim is to show all workitems from the SAP Inbox.


I have 10 workitems in my SAP inbox (SBWP). I can see them as part of my PO and PR approval apps, but they don't show up in My Inbox App. What am I missing?

LaunchPad -

Service Configuration -

System Aliases -

Scenario Definition -

Service Document -

TaskDefinitionCollection Set -

Scenario Collection -

But TaskCollection is Blank -

What did I do wrong? Please help!

Thanks,

Rohan

Image 133.png (23.4 kB)
Image 134.png (105.7 kB)
Image 135.png (17.6 kB)
Image 136.png (17.6 kB)
Image 137.png (112.8 kB)
Image 138.png (112.4 kB)
Image 139.png (104.5 kB)
Image 140.png (56.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 04, 2015 at 07:12 PM

    Found the solution -

    Root Cause - Apparently Enable Task Filter was active in ECC and Gateway, which was eliminating workitems from the TaskList. I am not sure how it was active, but as per the help guide, by default it is supposed to be inactive.

    I realized this problem when I was debugging the class and came across the subroutine "filter_item_by_config"

    /IWWRK/CL_TGW_GEN_INBOX->GET_INBOX
    Line 182 -
    *     Filter the items accoding to the requested task type and filter configuration
    filter_item_by_config( EXPORTING iv_task = lv_task_id
    iv_wf_id = lv_workflow_id
    iv_wf_step_id = lv_step_id
    IMPORTING ev_item_deleted = lv_item_deleted
    ev_return_code = lv_return_code ).

    which contains subroutine /iwwrk/cl_wf_step_config >> check_in_filter

    * Check if WF step is in new IMG configuration.
    SELECT SINGLE *
    INTO ls_wf_step
    FROM /iwwrk/c_wfstep
    WHERE workflow_id = iv_wf_id
    AND step_id = iv_wf_step_id.

    IF sy-subrc EQ 0.
    rv_in_filter = abap_true.
    RETURN.
    ENDIF.

    This was eliminating each workitems from the TaskList. It got me thinking something is related to Task Filter is acting smart, spent a few more hours on going through help document and came across this -

    Workflow Settings - SAP NetWeaver Gateway - SAP Library

    I deactivated Task Filter and it solved the problem.

    Hope this helps everyone.

    @Tejas, Barin, Sahir, Prashanth - Thank you for your valuable time and expert knowledge.


    Image 158.png (11.0 kB)
    Image 159.png (18.3 kB)
    Image 160.png (80.8 kB)
    Add a comment
    10|10000 characters needed characters exceeded

    • According to the following guide:

      Workflow Settings - SAP NetWeaver Gateway - SAP Library

      The Task Filter is supposed to be turned off by default. I also had to disable it on the back-end system for Work Items to start showing up My Inbox.

      If you read the guides carefully you will see that:

      1) It is mandatory to be used when dealing with push notifications

      2) When enabled, the TASKPROCESSING (v2) will retrieve only the items that you maintain task names and decisions (which will limit to DECISION WI types). In this case, if you have an activity task, the OData service will not retrieve any items unless you either disable the task filter altogether or configure it properly to support the task types.

      If you still want to keep using the Task Filter, then you should enable it by default and configure it according to this guide:

      How to Enable Business Workflow for SAP NetWeaver Gateway

      --> Session 4.4 contains the information on how to maintain the task IDs for the task filter and the two reports you need to schedule periodically in order to populate the FULL and DELTA tables that TASKPROCESSING will consider while retrieving the WI for users.

      Hope this helps!

      Ivan

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2015 at 06:25 PM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 30, 2015 at 06:50 PM

    Hi Rohan,

    In tile configuration make sure you have added : allItems=true

    Also check for this note :

    2151346My Inbox upgrade to version 1.5.17

    There are some fixes done.

    Regards,

    Tejas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 01, 2015 at 04:30 AM

    There is some problem with my launchpad admin.

    Well I guess there is some issue with the status of the workitem : Go to FLP admin page. Select myinbox tile configuration.

    Change the URL to : /sap/opu/odata/IWPGW/TASKPROCESSING;v=2;mo/TaskCollection/$count

    ie. Remove the filter conditions. This will show your entire workitems present in the inbox.

    But this will only show you the count in the tile as "10" (your workitem count)

    Now figure out the same logic somewhere else as well. As my admin access has some issue.

    Thanks

    Tejas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 04, 2015 at 07:50 AM

    hi rohan

    you are not getting any error on screen hence next action is to check the log.

    can you please provide snipshot of the logs from gateway.

    Also please check if you have all required authorization assigned. I recommend SAP All as an immediate check and then we can identify if it has anything to do with authorization if sap all works.

    thanks

    barin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 09, 2016 at 07:18 AM

    Experts,

    Even I am not able to see any data in the My Inbox application.

    All the necessary components are installed and upgraded.

    However when i checked with the function module /IWWRK/WF_TGW_QUERY_TASKS, it is not returning any workitems but my inbox has around 10 items.

    Also in the tile configuration i replaced my dynamic content url with

    " /sap/opu/odata/IWPGW/TASKPROCESSING;v=2;mo/TaskCollection/$count " but count is still zero.

    However when i checked the odata call in the network tab it was showing as " 10 " in the respone.


    Please advise.

    Thanks.


    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.