API stands for Application Programming Interface, it is a set of commands, functions, protocols and objects that developers can use to integrate application, software or interact with external system. Terms that you’ll hear while working with APIs: Endpoint, Path, Parameters and Authentication. Endpoint: API that interacts with external system will have an endpoint. Endpoint is
While working in Real time, we may have to expose N numbers of APIs from SAP and it is not a good practice to create a node in SICF for each requirement. To make it dynamic, we can add identifiers in the API / URL. In SAP, we’ll be creating a Table (Z table, e.g:
Please check this blog for SICF configuration and Service handler class creation. In this example, passing the IDoc number through Params instead if Payload. Payload is empty. XML Response. Here I took the example of IDoc, incase if you have to convert Table data to XML, then please use TCode XSLT_TOOL and use Transformation.