Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

<Insert image here>

Background job - setup (Mandatory)

...

  1. Create a custom implementation class (your custom SAP OneList Adapter) based on the IQX Adapter base class:
    1. Use the Class Builder in SAP (t-code SE24) to open the class /IQX/CL_SAP_WL_ADPT.
    2. From the menu bar, select Edit → Create Subclass.
    3. Enter the name of the subclass in the Class field.
      • e.g. ZCL_OL_PO_ADAPTER
    4. Enter a short description in the Description field.
      • e.g. Purchase Order adapter for OneList
    5. Choose Save.
    6. Enter the Package and choose Save again.

  2. Redefine the following inherited methods (click on the method for the implementation example):
    1. EXECUTE_ACTION - this method is called by the Adapter base class/es when the Adapter receives information from OneList. 
    2. GET_ATTCHMENT_CONTENT -  this method is called by the Adapter base class/es methods during the sync process (sending tasks to OneList)
    3. GET_OBJECT_DETAILS - this method is called by the Adapter base class/es methods during the sync process (sending tasks to OneList)

  3. 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):
    1. GET_PO_DETAIL
    2. GET_PO_ACTION
  4. Check, Save and Activate the implementation class.

...