Skip to Content
0
Former Member
Mar 16, 2004 at 12:53 PM

HTTP Post from ABAP

70 Views

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