Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • 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 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.