cancel
Showing results for 
Search instead for 
Did you mean: 

Send data to a third party URL

0 Kudos
1,208

Hi,

I want to send some data from ERP system  to a third party URL(https ) and update tables on that third party server.

How can i do that using  IF_HTTP_CLIENT and what all configurations are required?

also , do i need to use web services also along with this?

i Dont want to use SAP PI.

Thanks & Regards

Leena Khatri

View Entire Topic
Former Member
0 Kudos

Hello Leena,

Tell the Third party developer to provide you the Webservice ( WSDL file ).

generate a proxy in ur ERP system using that WSDL.Just call that class method with proper data it will solve your purpose.

OR you can consume that webservice by calling that URL using class : CL_HTTP_CLIENT

Thanks

~Raj

0 Kudos

Hi Raju,

Thanks.

when u say "you can consume that webservice by calling that URL using class : CL_HTTP_CLIENT",

do you mean URL of web service?

Thanks & Regards

leena Khatri

Former Member
0 Kudos

Hi ,

yes i meant web service URL .

May be below code can give u some idea..

  cl_http_client=>create_by_url(

exporting url    = '

http://www.w3schools.com/webservices/tempconvert.asmx'

     importing client = lo_http_client ).

   lo_http_client->send( ).

   lo_http_client->receive( ).

   lo_response = lo_http_client->response.

in this code URL is webservice

here lo_response will hold the response

Thanks

~raj


Rajitpatel
Explorer
0 Kudos

Hii gurus ,

can anyone guide in detail if i have a third party URL and i want to send my sap data using that third party URL.