2004 Mar 16 12:53 PM
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
2004 Mar 22 11:05 AM
you should not send blank tables as they are optional
also check if you test function with same destination parameter
2004 Apr 15 9:32 PM
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.