Update Quote (SAP IS Adapter)

This operation allows users to update header fields, header input Fields and line items input fields in a DRAFT quote, or otherwise only header fields.

  1. Configure the exchange property in Content Modifier:

  2. Configure the message body in Content Modifier. In the request message, specify Quote ID in the mandatory uniqueName field and update the required Quote Header attributes, Header Inputs and Line Item inputs. Only fields to be updated have to be present in the input message.

    • Header Inputs Array:

      • Name of the input field to be updated.

      • New value of the input field to be updated (non object type).

      • New value of the input field to be updated (object type).

      • Either value or valueObject should be present.

    • Line Items Array:

      • lineId – Unique identifier of the line to be updated. This can be retrieved by the Get quote operation.

      • Line Item Inputs Array:

        • Name of the input field to be updated.

        • New value of the input field to be updated (non object type).

        • New value of the input field to be updated (object type).

        • Either value or valueObject should be present.

The full JSON schema can be found in the Samples package. See https://pricefx.atlassian.net/wiki/spaces/ACC/pages/5013871236.

Sample quote update request:

{ "uniqueName" : "P-24049", "additionalInfo1" : 10 }

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

Limitations

The following update operations are not supported:

  1. Add / delete line items

  2. Add / delete input fields and attributes

For more information about Quote data structure, please refer to Pricefx Documentation.

Response

The quote after update is returned. 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 https://pricefx.atlassian.net/wiki/spaces/ACC/pages/5013871236.