Skip to Content
author's profile photo Former Member
Former Member

Can not create an entry - got http error


I know this topic has been discussed a lot, but I haven't found a solution that match and solve my problem.

In tcode /IWFND/GW_CLIENT I use this url:

/sap/opu/odata/sap/ZGW_TEST_SES_SRV/EssList('FSP0235016') with http method GET

And I got a response.

Then I press "Use as Request"

Put a break-point in my method "ESSLIST_CREATE_ENTITY"

Change HTTP Method from GET to POST

Now I execute, and I don't reach my breakpoint and got the error:

Code 405 - Method Not Allowed

Message: "The specified HTTP method is not allowed for the resource identified by the Data Service Request URI"

Any one, who can tell me why I got this error, and how to solve it?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Sep 24, 2013 at 08:09 AM

    Hi Aikon,

    The URL "/sap/opu/odata/sap/ZGW_TEST_SES_SRV/EssList('FSP0235016')" is not valid for a POST operation. For POST you must point to the COLLECTION, not the entity. the URL for POST would be

    /sap/opu/odata/sap/ZGW_TEST_SES_SRV/EssList (assuming 'EssList ' is teh collection name )



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.