Setting Up SAP Business Technology Platform

Setting Up Attachments in SAP Ariba Supplier Quotation Management

Objective

After completing this lesson, you will be able to set up attachments provided by the supplier in SAP Ariba supplier quotation management.

Create a Service Key

A service key for the Object Store enables secure system-to-system integration between the Object Store service and SAP Ariba supplier quotation management.

How to Create a Service Key

Add a Service Key

The service key enables seamless communication between SAP Ariba supplier quotation management and SAP S/4HANA. Once you download the service key from the Object Store, you'll add it to SAP Ariba supplier quotation management. This is done within Quotation Management Administration, which links it to the appropriate logical system.

How to Add a Service Key in SAP Ariba Supplier Quotation Management

Deploy an Approuter

Technical Explanation

Deploying the application router provides a secure and reliable access point for users and external applications to reach back-end services. It simplifies routing and access management for smooth user experiences while ensuring compliance.

The approuter allows a supplier to download attachments created by a buyer directly from the SAP S/4HANA system.

Create the following files for application router deployment:

  • manifest.yml

    applications:

    - name: qtm-attachment-approuter

    routes:

    - route: attachment.cfapps.<redirect domain from subaccount, e.g. eu10-004>.hana.ondemand.com

    buildpack: nodejs_buildpack

    memory: 128M

    path: ./approuter.zip

    services:

    - qtm-attachment-xsuaa

    - qtm-attachment-connectivity

    - qtm-attachment-destination

  • package.json
    Code Snippet
    1234567891011121314151617
    { "name": "qtm-attachment-approuter", "version": "1.0.0", "description": "", "scripts": { "start": "node node_modules/@sap/approuter/approuter.js", "test": "echo \"Error: no test specified\" && exit 1" }, "engine": { "node": "^18.0.0 || ^20.0.0" }, "license": "ISC", "dependencies": { "@sap/approuter": "^19.0.0" } }
  • xs-app.json
    Code Snippet
    123456789
    { "routes": [ { "source": "/", "target": "/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/AttachmentContentSet", "destination": "<Destination name you created>"} ] }

Create a zip file called approuter.zip containing the package.json and xs-app.json files.

Note

The most current version of the code is stored in the setup guides:

How to Deploy an Approuter

Add an Approuter

An approuter is used to ensure secure exposure of the API when reading data from the SAP system.

How to Add an Approuter in SAP Ariba Supplier Quotation Management

Summary

  • Create and configure a service key to enable secure integration between SAP Ariba supplier quotation management and other systems.
  • Add the service key in SAP Ariba supplier quotation management to support automated quotation handling.
  • Deploy and configure an application router (approuter) to provide secure, reliable access to back-end services and APIs.
  • Integrate the approuter within SAP Ariba supplier quotation management to ensure secure data access when reading from SAP systems.