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

post method in odata

hi experts,

i have a doubt host to post data in segw using post radio button

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 25, 2016 at 12:33 PM

    Hi Madhu,

    Do you mean how to post...?

    If Yes

    1.Go to sap GatewayClient there you need to perform a get service first to get the payload for the values for the fields which you want to post.

    2.After that you will get the 200 success message,then you click on the button "Use as a Request",then the payload will loaded on the other side of the screen.

    3.Then you give the values for the fields which you want to post,after giving the values select the post radiobutton and make the necessary changes then click execute button.

    4.You will get 201 success message as created if everything is right.


    Deepak Raj.

    Add a comment
    10|10000 characters needed characters exceeded

    • Madhu there is no need to change this code. Just redefine the getEntity method.

      and assign some dummy value to the ER_ENTITY.

      Then call the get entity using the key field using the gateway client.Whatever response

      you receive in the xml use it as request through POST.

      Put the breakpoint in the method to understand the behaviour.



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.