Thursday, December 06, 2007

How to Create an ABAP Web Service...

Create a new Function Module within an existing or newly created Function Group

  • Choose a name e.g. Z_E_RFC_WS_MYSERVICE and short text.
  • Attributes > select Remote-Enabled Module
  • Import > add the import parameters
  • Export > add the export parameters
  • Source Code > add the ABAP that the WS should perform

Create a Virtual Interface from the Enterprise Services Tab

  • Choose a name e.g. ZES_VI_MYSERVICE and short description.
  • Endpoint Type should be Function Module and select the FM created above.

Create a Web Service Definition from the Enterprise Services Tab

  • Choose a name e.g. ZES_WS_MYSERVICE and short description.
  • Select the VI created above.

Release the Web Service via WSCONFIG

  • Select the Web Service.

Test the Web Service via WSADMIN

  • View the WSDL and test the Web Service

Develop a Web Service that sends an Email – in ABAP

No comments: