cancel
Showing results for 
Search instead for 
Did you mean: 

Getting internal server error 500 when using POST Query in purchase order

rajapriyar1908
Explorer
0 Kudos

How to clear the internal server 500 error when using POST QUERY in Purchase Order in HCI and the message it is showing "The requested service is not supported by the entity "

former_member185414
Active Contributor
0 Kudos

Please post more details - Which service/app, OData url and networks tab screenshot

rajapriyar1908
Explorer
0 Kudos

Below is the error log I am getting


<?xml version="1.0" encoding="utf-8"?><error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"><code>SY/530</code><message xml:lang="en">The requested service is not supported by entity ~A_PURCHASEORDER</message><innererror><application><component_id>MM-PUR-PO</component_id><service_namespace>/SAP/</service_namespace><service_id>API_PURCHASEORDER_PROCESS_SRV</service_id><service_version>0001</service_version></application><transactionid>AD55363547FE0260E005B39DBCF70F74</transactionid><timestamp>20180705113953.7950700</timestamp>
<Error_Resolution><SAP_Transaction>For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction><SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note></Error_Resolution><errordetails><errordetail><code>CX_SADL_ENTITY_SRVICE_NOT_SUPP</code><message>The requested service is not supported by entity ~A_PURCHASEORDER</message><propertyref/><severity>error</severity><target/></errordetail><errordetail><code>/IWBEP/CX_MGW_MED_EXCEPTION</code><message>An exception was raised</message><propertyref/><severity>error</severity><target/></errordetail></errordetails></innererror></error>

0 Kudos

Can you solve this problem? Can you help me?

rajamahapatra
Discoverer
0 Kudos

Hi everyone, was this problem solved? I am still facing this issue..

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member185414
Active Contributor

Can you open the OData service project - API_PURCHASEORDER_PROCESS and check the entity A_PURCHASEORDER. Then open the associated ...DPC_EXT class in se24 and then check if the .....CREATE_ENTITY method is implemented. Update us here.

rajapriyar1908
Explorer
0 Kudos

https://api.sap.com/api/API_PURCHASEORDER_PROCESS_SRV

I configured environment in this api link and tried out get entity its working(response code-200) ,but select entity

(response code-403) is not working (I don't why you are asking me to check this)

former_member185414
Active Contributor
0 Kudos

Sorry, but I am not sure about configuration in the API link. Do you have access to the backend system ? Is it possible to put breakpoint in the backend system ?

rajapriyar1908
Explorer
0 Kudos

No, I don't have access to the backend system.

former_member185414
Active Contributor
0 Kudos

Then I am sorry as I cannot help. We need to wait for other members to help.

rajapriyar1908
Explorer
0 Kudos

Its ok.Thank you

0 Kudos

I also have this problem, can you help me? Thank you

0 Kudos

really appreciate, seems work.

rajamahapatra
Discoverer
0 Kudos

Hi everyone, was this problem solved? I am still facing this issue..

0 Kudos

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code>SY/530</code> <message xml:lang="en">The requested service is not supported by entity ~A_PURCHASEORDER</message> <innererror> <application> <component_id>MM-PUR-PO</component_id> <service_namespace>/SAP/</service_namespace> <service_id>API_PURCHASEORDER_PROCESS_SRV</service_id> <service_version>0001</service_version> </application> <transactionid>457B9545FD6B0200E005BD3B9E64272D</transactionid> <timestamp>20181102013248.4575270</timestamp> <Error_Resolution> <SAP_Transaction>For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details</SAP_Transaction> <SAP_Note>See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)</SAP_Note> </Error_Resolution> <errordetails> <errordetail> <code>CX_SADL_ENTITY_SRVICE_NOT_SUPP</code> <message>The requested service is not supported by entity ~A_PURCHASEORDER</message> <propertyref/> <severity>error</severity> <target/> </errordetail> <errordetail> <code>/IWBEP/CX_MGW_MED_EXCEPTION</code> <message>An exception was raised</message> <propertyref/> <severity>error</severity> <target/> </errordetail> </errordetails> </innererror> </error>

Sijin_Chandran
Active Contributor
0 Kudos

Hi Rajapriya,

Have you configured the Communication Scenario for using this API ?

Thanks,

Sijin

rajapriyar1908
Explorer
0 Kudos

yes I configured communication scenario in S/4HANA and used that Service URL while creating IFLOW in CPI.

Sijin_Chandran
Active Contributor
0 Kudos

Okay, then please check the Communication User and Password which you are using in iFlow is correct or not.

Remember while maintaining Communication User there should be no trailing and leading spaces.