on 08-13-2013 9:54 AM
Hello,
Hello,
We are getting HTTP Status code 404 while accessing Fiori Shopping Cart Approval application. After looking into logs further, it looks
System is returning error message while processing following OData service.
http://<hostname>:port/sap/opu/odata/GBSRM/CARTAPPROVAL;mo/Workfl
owTaskCollection?$filter=(SAP__Origin%20eq%20'LOCAL'%20and%20(TaskType%
20eq%20'TS40007953'))
When we checked CARTAPPROVAL OData service, it doesn't have entity set WorkflowTaskCollection.
Any thoughts on this would be helpful.
THanks,
Balaram Naidu
I think system alias assignment is wrong. It should point SRM backend but your URI says LOCAL.
CARTAPPROVAL shoud have SRM backend system alias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you get metadata?
Go to transaction /IWFND/GW_CLIENT.
Execute /sap/opu/odata/GBSRM/CARTAPPROVAL/$metadata by GET method.
or
http://<hostname>:port/sap/opu/odata/GBSRM/CARTAPPROVAL/$metadata
Hello Masayuki,
I am gettnig metadata with above url,but it doesn't show entity set workflowTaskCollection which caused the issue.
OData call from browser:
http://<hostname>:port/sap/opu/odata/GBSRM/CARTAPPROVAL;mo/Workfl
owTaskCollection?$filter=(SAP__Origin%20eq%20'LOCAL'%20and%20(TaskType%
20eq%20'TS40007953'))
Entity sets in cartapproval service
Line|Entity Set |
----------------------------------------
| 1 |SubscriptionCollection |
| 2 |NotificationCollection |
| 3 |SrmapprovalheaderCollection |
| 4 |SrmapprovaloverviewCollection |
| 5 |SrmapprovalproductsCollection |
| 6 |SrmapprovalemployeeCollection |
| 7 |SrmapprovaldecisionsCollection |
| 8 |SrmitemapprovaloverviewCollection|
| 9 |SrmapprovalaccountsCollection |
| 10 |SrmapprovalitemapprovalCollection|
Thanks,
Balaram Naidu Bankuru
Please check the program code in the transaction SE24.
If the code is available, delete the GW cache by execution following transactions.
/IWFND/CACHE_CLEANUP in Gateway.
/IWBEP/CACHE_CLEANUP in SRM.
Model Provider Class: /GBSRM/CL_APV_SC_MDP, Methof DEFINE
...
* Define Entities
define_entity_workflowtask( ).
...
Data Provider Class: /GBSRM/CL_APV_SC_RDP, Method GET_ENTITYSET
...
CASE iv_entity_name.
WHEN 'WorkflowTask'.
...
Hello Masayuki,
Thanks for your response.After followed about steps,we have observed http 500 response code in the browser.when I checked http logs,it looks like browser is requesting following resource and there is no such resource exists on server.
However,if we remove "/" after CARTAPPROVAL in above url(http://dl3803.ltisap.com:8040/sap/opu/odata/GBSRM/CARTAPPROVAL;v=2;mo/WorkflowTaskCollection?$filter...
),we are not getting any error..We also observed that system is appending "/" during forming url in gateway service.
Any thoughts on this?
Thanks,
Balaram Naidu
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.