cancel
Showing results for 
Search instead for 
Did you mean: 

PO/PR approval App issue

0 Kudos

Hi Experts,

We have activated PO/PR approval app.


Here we have implemented custom workflow and we can see workitems for task Custom Workflow in SAP inbox(tcode - SBWP).


Workflow task for PR/PO approval app is configured as desribed in note 2139418. Cache memory is also remove with tcode /IWFND/CACHE_CLEANUP in front end and /IWBEP/CACHE_CLEANUP in backend. Browser cache memory is also removed.

When we test the odata URI through /IWFND/GW_CLIENT tcode, status is set to 200.

/sap/opu/odata/sap/GBAPP_PRAPPROVAL/WorkflowTaskCollection?$filter=TaskType eq'Custom Workflow'

Screenshot for testing oData URI with /IWFND/GW_CLIENT is attached herewith.

But when we execute the app thourgh launchpad, an error message 'Workflow Task Type is not passed as filter criteria' is appeared.

Following oData URI under network tab of browser is getting failed.

http://"Server Address"/sap/opu/odata/sap/gbapp_prapproval;mo/LaunchPageCollection


After removal of ';mo' from above URI, it is working fine.

Please find attached screenshot 'failed_oData URI.jpg' and 'Corrected_oData_URI.jpg' for the same.

http://"Server Address"/sap/opu/odata/sap/GBAPP_PRAPPROVAL;mo/WorkflowTaskCollection?$skip=0&$top=100&$orderby=WiCreatedAt%20desc&$inlinecount=allpages


Same issue is occuring with below URI.

When i remove ";mo" text from oData URI, it is working fine.

Following notes and support package is imported in front end as well as backend system.

Front end details

Software component

UIX01EAP 100 009 SAPK-10009INUIX01EAP

Notes

Purchase Requisition

0002279706

Purchase Order

0002222429

Backend

Software component

GBAPP002 600 010 SAPK-60010INGBAPP002


Regards,

Vishal Solanki

Accepted Solutions (1)

Accepted Solutions (1)

former_member185875
Contributor
0 Kudos

Hi Solanki,

"mo" represents Muli Origin. below blog and hep.sap.com link will give you more details to get clear understanding!

Multiple Origin Composition - SAP Gateway Foundation (SAP_GWFND) - SAP Library

In your case your using a custom workflow. I am not sure but try this.

Open your "Fiori Launchpad Designer"

https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-client=100

select your tile from catlog and under "Dynamic Data" --> "Service URL" you will find the OData service url remove mo and try.

But SAP recommends to use "myInbox" fiori app for custom workflow scenario.

Thanks,

Lakshman Balanagu.

Answers (2)

Answers (2)

0 Kudos

Issue has been resolved.

oData service was implemented  for two different backend service hence system is checking for both backend system.

We have removed unused backend system and now it is working fine.

Regards,

Vishal Solanki

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Solanki,

Hove you configured the task ID? It is mentioned in the note.

Please upload the screenshot.

/spro 

--> SAP Reference IMG

--> SAP Customizing Implementation Guide

--> Materials Management

--> Purchasing

--> Purchase Requisition/Purchase Order/ Contract

--> Approve Requisitions App/ Approve Purchase Orders App/ Approve Purchase contracts App

--> Specify Workflow Task IDs for Approve Requisitions/Purchase Orders/Contracts App

Regards,

Masa / SAP Technology RIG