Prepare and sync product attachments

Prev Next

Zilliant CPQ can retrieve product attachments from SAP ERP as part of the product synchronization process.

SAP ERP stores attachments, such as PDFs or images, as binary objects linked to products through internal document IDs. To retrieve these attachments:

  • One BAPI is used to query the list of attachments for a product.

  • A second BAPI is used to retrieve the binary content of each document.

To synchronize product attachments automatically with products:

  1. Wrap BAPIs in SAP ERP.

  2. Configure BAPI settings in Zilliant CPQ.

  3. Enable attachment synchronization.


Wrap BAPIs in SAP ERP

To allow Zilliant CPQ to access attachment data remotely, wrap the following BAPIs:

  • BDS_GOS_CONNECTIONS_GET—Retrieves a list of attachment document IDs and their metadata for a specific product.

  • SO_DOCUMENT_READ_API—Retrieves the binary content of a specified attachment using the document ID returned by the first BAPI.

Configure BAPI settings in Zilliant CPQ

When needed BAPIs are available in SAP, define them in Zilliant CPQ as system settings:

  1. Sign in to Zilliant CPQ with your administrator credentials.

  2. From the left navigation area, select Administration.

  3. From the top navigation bar, select Master Data Management.

  4. Scroll or search to locate Setting String and select it from the list.

  5. To define the BAPI for retrieving document IDs:

    1. Select the following label:

      A remote enabled BAPI name to get the list of attachment document id in order to query another BAPI to get the binary data

    2. In the Setting Value String field, enter BDS_GOS_CONNECTIONS_GET.

    3. Select Save. Then return to the Setting String list.

  6. To define the BAPI for retrieving binary content:

    1. Locate and select the following label:

      A remote enabled BAPI name to get the binary data for the specified document id

    2. In the Setting Value String field, enter SO_DOCUMENT_READ_API.

    3. Select Save.

Enable attachment synchronization

Once the BAPI settings are in place, enable the sync of attachments with products:

  1. Sign in to Zilliant CPQ with your administrator credentials.

  2. From the left navigation area, select Administration.

  3. From the top navigation bar, select Master Data Management.

  4. Scroll or search to locate Setting Boolean and select it from the list.

  5. Select SettingProductSyncDownloadAttachment and set the Setting Value Boolean switch to YES.

  6. Select Save.