Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HTTP_POST to .aspx URL/form

Hi Folks,

My requirement is to post data to an aspx form from ABAP program. After searching in the forums, I decided to use HTTP_POST function module to achieve the goal.

Now when I execute my program, I do get the status as 'OK' and status code of '200' but data is not getting posted to the form. The way I have been trying to pass data is - I have a structure with field names same as the form field names. I populate the corresponding values in the local work area and append it to request_body table. Which I have come to realize may not be the correct way. I also tried passing the data same way to request header, that did not work either.

Does someone have example code on how to use HTTP_POST? or suggestions? I tried where-used on the FM, but could not find anything discreet.

Or at a higher level, is this approach right to post data?



Former Member
Not what you were looking for? View more on this topic or Ask a question