Previous Post: Next Post:

ABAP Freak Show March 18th – Call REST Services

by Thomas Jung on March 18, 2009 at 6:11 pm

Maybe you have seen the latest SAP InnoCentive challenge, which has $20,000 USD up for grabs for the best applications that use the new SAP BOBJ Polestar OnDemand Service. If so you might be wondering how you can put the Polestar OnDemand APIs to use with all that wonderful Business Suite transactional data running in your ABAP application server.

If so you have come to the right place. My hope is that one of you other ABAP Freaks out there can win the InnoCentive Challenge and although I can’t give you any code to help out with projects I can give you some hints and knowledge to get you started.

In this episode of the ABAP Freak Show we will look at the configuration and coding steps necessary to call REST based web services. In particular we will look at the extra steps necessary for working with REST based services over HTTPS. So even if you aren’t interest in working with Polestar OnDemand, you can still learn about HTTPS certificates, proxy settings in the ICM, HTTP destination setup and coding against the CL_HTTP_CLIENT ABAP class.

Tags: , , , , , ,

Posted in ABAP Freak Show .


4 comments

Replies

  1. Awesome stuff, Thomas! This gives me some ideas for a couple things myself. It definitely gives all the eGheads a head start if they want to compete for the big $20k prize.

    Regarding the basis setup for configuration of HTTPS, this does not come standard with the ABAP preview edition. Have you ever had success setting up a preview edition to use HTTPS? If so, do you have any good links that give simple steps?

    Thanks again for this great episode!
    Cheers,
    ewH

  2. Thomas Jung Mar 21st 2009

    That’s true that the trial version doesn’t come with the HTTPS. Most likely because of export restrictions on the crypto libraries. I have setup HTTPS on the trail version however. It mostly involves having the correct access to download the sapcrypto libraries from the service marketplace and copying them into the kernel directory of your ABAP system.

    Here is the complete link from the online help:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3a/7cddde33ff05cae10000000a128c20/frameset.htm

  3. Check out:
    Setup HTTPS (SSL) for the Sneak Preview SAP NetWeaver 04 ABAP Edition on Windows
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2527

    Best regards
    Gregor

  4. Juergen Schmerder Sep 21st 2009

    Thanks for this awesome tutorial. With your “for dummies” guide, even I was able to connect to an HTTPS service from ABAP. Kudos to google for finding this ABAP Freak Show :-)

    –Juergen


Trackbacks


Leave a Reply

Subscribe to comments via RSS