Overview
<Insert image here>
Background job - setup (Mandatory)
...
- Create a custom implementation class (your custom SAP OneList Adapter) based on the IQX Adapter base class:
- Use the Class Builder in SAP (t-code SE24) to open the class /IQX/CL_SAP_WL_ADPT.
- From the menu bar, select Edit → Create Subclass.
- Enter the name of the subclass in the Class field.
- e.g. ZCL_OL_PO_ADAPTER
- Enter a short description in the Description field.
- e.g. Purchase Order adapter for OneList
- Choose Save.
- Enter the Package and choose Save again.
- Redefine the following inherited methods (click on the method for the implementation example):
- EXECUTE_ACTION - this method is called by the Adapter base class/es when the Adapter receives information from OneList.
- GET_ATTCHMENT_CONTENT - this method is called by the Adapter base class/es methods during the sync process (sending tasks to OneList)
- GET_OBJECT_DETAILS - this method is called by the Adapter base class/es methods during the sync process (sending tasks to OneList)
- Create additional 'helper' methods (called by GET_OBJECT_DETAILS) to retrieve the correct PO information, as well as set up the Action buttons in OneList (this will vary from scenario to scenario - in our example, we are using a Purchase Order. This could be for a Parked Document, Purchase Requisition, Work Order or any other SAP Workflow):
- Check, Save and Activate the implementation class.
...