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

HTTP Post from ABAP

Hi,

I am trying to send some data from ABAP to a servlet through http post. I am calling function module HTTP_POST and passing data as REQUEST_ENTITY_BODY. when i am testing the function HTTP_POST with address of my servlet it is working fine. but when i am calling this function from a program it is not working. it is giving a short dump saying "Connection closed".

This function has two tables for response header and body which are not optional. when testing from se37 i am not entering anything in it and when calling from program i am passing blank tables in that.

Can anyone tell me why the function is not working. do i have to pass something in those tables.

Thanks,

Komal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Mar 22, 2004 at 11:05 AM

    you should not send blank tables as they are optional

    also check if you test function with same destination parameter

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Gentlemen,

      I'm trying to pass a 'HTTPS://' link from ABAP to an external system that in return will send back a response as text. Using internet explorer will achieve that.

      My understanding that, using HTTP_POST function module will allow this? Do you have an example of what is required as parameters to run the single test for this function module. Also any specific setting is required for the RFC-Destination TCP/IP setting?.

      We are on release 4.7.

      Appreciate your responce.

      Mike.

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.