cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MCF UMCUI5 Template: 500 Internal Server Error on Update Entity

zahidgulzar
Explorer
1,744

Dear Experts,

I am getting 500 Internal Server Error on All Update Entity requests. I have copied the standard MCF Template (UMCUI5) and configured it for ISU Only scenario.

I can read different entities without any problem but when I try to update an entity for example Address, I get 500 Internal Server Error. Please see the attached image of error.

In case I copy the request payload in Gateway client and execute the PUT request, it does work without any problem.

I would highly appreciate if anyone can help me.

Kind regards,

Zahid

Accepted Solutions (1)

Accepted Solutions (1)

zahidgulzar
Explorer

The problem is solved. I am posting the solution, in case someone else encounter the same error.

I checked the SAP Gateway Traces (T-Code: /IWFND/TRACES) and analysed the response in Payload trace.

Following parameter and value was missing in request header


"X-Requested-With": "XMLHttpRequest"

Best regards,
Zahid

ajaygupta
Participant
0 Likes

Hello Zahid,
Yes, after checking the missing headers in the /IWFND/TRACES I was able to resolve my issue as well.
Regards,
Ajay

Answers (3)

Answers (3)

yevgen_trukhin
Product and Topic Expert
Product and Topic Expert
0 Likes

My only remark would be to use for testing the responsive UI application not desktop one.

junwu
SAP Champion
SAP Champion
0 Likes

are you sure?the response tab don't have anything?

/iwfnd/error_log don't have anything?

zahidgulzar
Explorer
0 Likes

Dear Jun Wu, there is following message in response.

Fehler beim Verarbeiten der Ressource which can be translated to 'Error processing the resource' but there is nothing in /iwfnd/error_log.

Best regards,

Zahid

junwu
SAP Champion
SAP Champion
0 Likes

error msg please

zahidgulzar
Explorer
0 Likes

Dear Jun Wu thanks for your reply. I have uploaded the screenshot of error message. This is the only error message I have.

Best regards,

Zahid