Delete (SAP IS Adapter)

This operation allows users to delete records based on a filter.

  1. Configure the exchange property in Content Modifier:

    • access-token – The token can be retrieved from the global variable set by a separate token store integration flow. See Authentication (SAP IS Adapter) .

    delete prop.jpg


  2. Configure an extra exchange property in Content Modifier for deleting Product Image:

    • uniqueId – Product SKU that the image belongs to.

      delete img.jpg


  3. Configure the message body in Content Modifier for deleting all Pricefx object types except Product Image. The full JSON schema can be found in the “Sample Artifacts for SAP S/4HANA Integration with Pricefx” integration package from SAP API Business Hub. See Pricefx to SAP S/4HANA Schemas. In this example, all customer records with 'customerId' starting with 'CUSTOMERSAP’ will be deleted.

    delete msg.jpg


    Sample delete request:

    {
      "operator": "and",
      "criteria": [
        {
          "fieldName": "customerId",
          "operator": "startsWith",
          "value": "CUSTOMERSAP"
        }
      ]
    }
    


  4. In the Adapter configuration, select operation and target type.

    delete.jpg


  5. For Product Extensions and Customer Extensions, specify the name of the table as well.

    delete cx.jpg


  6. For Price Parameters, specify the name of the table and Target Date as well.

    delete pp.jpg

Supported Filters

See Appendix: Supported Operators in Criteria.

Response Message

Number of deleted records will be returned.