Dear Guru's
I have Extending SRM PO Approval Odata Service SRM_PURCHASEORDER to add custom Entity gives the following error message when calling from FIORI app:
The request URL or the metadata definition is incorrect. Error Code: /IWFND/MED167
Exception of type /IWFND/CX_SODATA_EDM_PROVIDER has occurred. See details for more information Error Code: /IWFND/CM_LOGGING006
Exception of type /IWCOR/CX_DS_URI_NOT_MATCHING has occurred. See details for more information Error Code: /IWFND/CM_LOGGING006
details behind Exception /IWFND/CX_SODATA_EDM_PROVIDER=
Resource WorkflowTasks not defined in Metadata
details behind exception /IWCOR/CX_DS_URI_NOT_MATCHING=
Resource not found for the segment
"WorkflowTasks(WorkItemId="000011586596" ,PONumber="2000088304")".
Same app call to Odata Service SRM_PURCHASEORDER yields correct results and all that was done was redefine and activate in SICF and Gateway maintenance.
to make matters worse Test transaction /IWFND/GW_CLIENT cannot be used to call WorkflowTasks using custom Odata service as GET_ENTITY purposely throws out exception message.
here is the error message from Launchpad
{"error":{"code":"005056A509B11EE1B9A8FEC11C21D78E","message":{"lang":"en","value":"Resource not found for the segment 'WorkflowTasks(WorkItemId='000011586596',PONumber='2000088304')'."},"innererror":{"transactionid":"55EF9B7259ED0A70E10080000A6E0AB1","timestamp":"20150918145104.3335210","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"}}}}
Any help will be greatly appreciated.