Skip to Content
0
Mar 30, 2016 at 05:17 AM

Consuming REST webservice in ABAP

8290 Views

Hi All,

I have a requirement where I need to consume a REST based webservice to pull pricing data with username/password type of authentication.

URL would be similar to https://***

So I went through some threads in SCN and came to know that we can consum the webservice through ABAP coding.

I could find there are two way of consuming the webservice.

One is directly in ABAP.

Consuming Rest Based Web Services from ABAP

Other one is using SM59 and then using the rfc in ABAP.

Calling an external RESTful service from ABAP - HTTP Method GET

URL is https, not sure whether it will have any dependency here.

I would like to know which one is the preferred option and any other better ways to consume the REST webservice.

Also we have a three tier landscape so when moving the changes from dev-qa-prod which method is easier to handle ?

Thanks and Regards,

Ajith J.