Creating Multiple Customer Material Records in SAP S/4HANA Server

This Pipeline example demonstrates how to use a SAP S/4HANA Batch Write Snap to create multiple customer material data objects in the SAP S/4HANA On-Premise instance. The Snap queries the C_CustomerMaterial_F2499 entity through the API object ZSD_F2499_CUSTOMER_MATERIAL_SRV_0001 (Customer Material).

Note: The example assumes that you have configured and authorized a valid SAP S/4HANA Account (see Configuring SAP S/4HANA Accounts).


Download this Pipeline
  1. The following settings are defined for the SAP S/4HANA Batch Write Snap to create customer material data in the SAP S/4HANA On-Premise instance it accesses:
    • API object: ZSD_F2499_CUSTOMER_MATERIAL_SRV_0001 (Customer Material)
    • Entity: C_CustomerMaterial_F2499


  2. A successful validation or execution of the Snap gives the following output preview, showing the batch response for each record.


  3. A JSON Formatter Snap is connected to the SAP S/4HANA Batch Write Snap to read and format its output data into standard JSON format.
  4. A File Writer Snap is connected to the JSON Formatter Snap to save the JSON-formatted data into a file.


  5. To view the output files, SSH to the target directory and open the newly created files. The following image shows a preview of an output file:


    Alternatively, you can open the preview of the resulting output files from Manager > Files. These files also store the original batch response.



To reuse the example pipelines:
  1. Download and import the SLP file into your Environment.
  2. Configure Snap accounts.
  3. Provide Pipeline parameters, if any.