This tutorial shows how you can create a Web Service in ABAP with the SICF transaction. Create a class that handles this Web Service and implements the IF_HTTP_EXTENSION interface. You just need to implement the only method HANDLE_REQUEST, activate your Service and to test it.