Workflow of the Catalog Connectivity Service API
Workflow of the Catalog Connectivity Service API involves the following high-level steps.
Workflow to Initialize Handshake for Punching in to Guided Buying
-
A user, in the Plant Maintenance module in the SAP S/4HANA system, in the process of adding items to the work order selects to add items from guided buying.
-
The client application sends a request for an initial handshake as a backend call to guided buying through the connectivity service.
-
The connectivity service persists the incoming data, generates a SessionId and a SessionTransmissionId, and returns the values as an XML.
The SessionId is used by the SAP S/4HANA system in the request to the connectivity service to launch the guided buying catalog, and the SessionTransmissionId in the request to retrieve the shopping cart contents from guided buying.
-
The SAP S/4HANA system sends a request to the connectivity service with the SessionId to launch the catalog in guided buying.
-
The connectivity service processes the request and redirects the user to the guided buying landing page after authentication.
-
The user searches the guided buying catalog for the required items, adds them to the cart and clicks Check out to return to the SAP S/4HANA system.
Workflow to Retrieve the Selected Items From Guided Buying
-
When the user adds the required items to the cart in guided buying and clicks Check out to return to the SAP S/4HANA system, guided buying sends the ShoppingCartID parameter value to the connectivity service.
-
The connectivity service persists the ShoppingCartID corresponding to the SessionId and notifies the SAP S/4HANA system.
-
The client application sends a backend call to the connectivity service to retrieve the items from guided buying.
-
The connectivity service processes the request and retrieves the shopping cart data from guided buying and sends it to theSAP S/4HANA system.