/
SAP Integration Suite Setup (Write Anything to Pricefx Table)

SAP Integration Suite Setup (Write Anything to Pricefx Table)

Prepare Environment

  1. Prepare SAP BTP and Integration Suite development environment. See SAP BTP and Integration Suite.

  2. Prepare your own integration flows to get the data from incoming data source.

  3. Install Pricefx integration adapter for SAP Integration Suite. See Required Integration Adapters.

  4. Configure and deploy integration flows for Pricefx authentication. See Pricefx Authentication.

  5. Test connection to Pricefx. See Test connection to Pricefx.

  6. Install the “Sample Artifacts for SAP S/4HANA Integration with Pricefx” package.

Build Customized Integration Flows

  1. Duplicate https://pricefx.atlassian.net/wiki/spaces/ACCDEV/pages/4322918401/Sample+Integration+Flows#Write-Records-to-Pricefx to any of your packages.

copy.jpg
  1. Edit this new integration flow. Set target=Price Parameter in the Pricefx integration adapter configuration.

edit.jpg
  1. Add the target date configurable parameter.

  1. Configure this new integration flow. The message mappings are the mappings that are going to be created in the next section. You can define the message mapping IDs first. Make sure these message mapping IDs are the same as the mappings created in the next section.

  1. Deploy this flow.

  2. In the integration flow that you would like to write data to Pricefx, set the process direct path to this integration flow. Make sure the incoming data format is XML. In this example, the incoming message is a JSON, it is then converted to XML before calling the integration flow to write to Pricefx.

  3. Deploy the flow.

Build Customized Message Mappings

  1. Go to Discover (Integrations). Search for “SAP S/4HANA Product Master Mapping with Pricefx”.

  2. Open the mapping and download flatten records XSD schema.

  3. Go to the “Sample Artifacts for SAP S/4HANA Integration with Pricefx” package. Download “Pricefx to SAP S/4HANA Schemas” package.

     

  4. Expand the package and get simplePP.json.

  5. Add a message mapping for flattening the upsert message.

     

  6. Upload the XSD schema downloaded in Step 2. Set it to target message. Set simplePP.json to source message. This is to map the structured put request to an array of strings for Pricefx data load API.

  7. In this example, the Price Parameter table has only a name and value in the schema. Duplicate once the “value” subtree in the target message and map a value to the new subtree. MapWithDefault is required here as Pricefx load data API needs to match the header number to the number of data fields. If any data is missing in a line, it will return error.

     

  8. Deploy the mapping.

  9. Add a message mapping for creating a message to upsert records to the Price Parameter from your XML message. Set simplePP.json from Step 3 to target message and the XSD of your message to source message. Map the necessary fields.

     

  10. Deploy the mapping.

Related content

SAP Integration Suite Setup (Update Product Information to Price Parameter Table)
SAP Integration Suite Setup (Update Product Information to Price Parameter Table)
More like this
SAP Integration Suite Setup (Periodically Write SAP S/4HANA Transactions to Pricefx Data Source)
SAP Integration Suite Setup (Periodically Write SAP S/4HANA Transactions to Pricefx Data Source)
More like this
Set up Integration Flows - Event-driven
Set up Integration Flows - Event-driven
More like this
Integration Scenarios Dependencies
Integration Scenarios Dependencies
More like this