The Guided Buying custom script configuration enables the correct routing of SOW Line Item data to either AribaP2P or Guided Buying (GB) based on the work order context, ensuring proper integration between S/4HANA, AribaP2P, and GB systems.
Context
The process of sharing SOW Line item data depends on the origin of the SOW activity: when S4 initiates a WorkOrder, the data goes to Guided Buying, but when Guided Buying initiates an SOW bid, the data routes to Ariba P2P. The configuration uses a Java‑based custom script to push the data through the correct integration endpoint.
Procedure
- On the SA page under Connector/Script Tools, choose View Custom Scripts. The Custom Scripts List page opens.
- Locate and select the script ID SOW_RESP_LINE_ITEM_GB_PUSH. The Custom Script Detail For: SOW_RESP_LINE_ITEM_GB_PUSH page opens.
- Select Enable for Buyer Company. The Enable Custom Script to Buyer Company dialog box opens.
- Search for and select the buyer company, then select Associate.