cancel
Showing results for 
Search instead for 
Did you mean: 

Approve Requests -> Filter OData-Service

cmetz
Participant
0 Kudos

Hey guys,

I configured the Approve Requests App sucessfully. All items for a Task-ID are shown in the App. But I have the requirement to shown only items with a special status. How is it possible to implement a filter?

Thanks and regards

Chris

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182874
Active Contributor
0 Kudos

Hi Christoph,

Are you referring to this URL ?

/sap/opu/odata/IWPGW/TASKPROCESSING;v=1;mo/TaskCollection/$count/?$filter=Status eq 'READY' or Status eq 'RESERVED' or Status eq 'IN_PROGRESS' or Status eq 'EXECUTED'

You can also execute the app and find the odata service triggered in your developer tool in browser(F12 in chrome). Find an /sap/opu/odata URL.

Best regards,

Tejas

cmetz
Participant
0 Kudos

Thanks for your reply.

@Masa:

Its a custom attribut in the TASKPROCESSING OData-Service. But for testing purpose I could for example use the Attribute STATUS.

@Tejas:

I could figure out that this service is called. To add a filter to this URL would help. But where in Backend or Launchpad can I customize that?

Thanks & regards

Chris

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Chris,

Please share which status you want to filter out.

Approve Requests app is old. Please use new app My Inbox.

Regards,

Masa / SAP Technology RIG

cmetz
Participant
0 Kudos

I have been searching for an appropriate BADI already, that is implemented in the GET ENTITYSET method... without success.  The only BADI which is called before all items  are shown in the app is /IWPGW/ES_TGW_TASK_QUERY , but with this I can only change the task title for all items.

Other idea would be to implement a filter option. But when configuring the app i can only ScenarioCollection filter in Launchpad Designer /sap/opu/odata/IWPGW/TASKPROCESSING;mo/ScenarioCollection?$filter=key eq '<your scenario id>. 

Isnt there any filter option for WorkflowTaskCollection?