Updating Supplier Compliance Data Using the Risk Category Information API for Supplier Risk Exposure

Use these steps to add, replace, or remove external sanction and watchlist compliance data from the existing suppliers in your risk solution.

Prerequisites

  • Best practice is to create a new active version of your risk exposure configuration to verify you have the sanction and watchlist fields. Indicate the weight each field will have on calculation of that supplier's risk exposure. For details see Setting Values and Risk Exposures for Fields in Setting Up SAP Ariba Supplier Risk.

  • Best practice is to use the Risk Category Information API for Supplier Risk Exposure with the ARI-13242: Risk exposure override feature.

  • For each supplier, determine the SM Vendor ID. See the Supplier Data API With Pagination in the SAP Ariba Developer Portal.

    To export a list of the suppliers and SM Vendor IDs, do the following:

    1. From the dashboard, navigate to SM Administration. Available paths depend on the groups to which your user belongs.

      • In sites that include SM Administration, members of the SM Ops Administrator, SM ERP Admin, or Customer Administrator group can select Start of the navigation pathManage  Next navigation step SM AdministrationEnd of the navigation path.

      • Members of the Supplier Risk Manager group can access SM Administration from the SAP Ariba Supplier Risk dashboard: click the gear-shaped settings icon, then choose Start of the navigation pathImport data Next navigation step  Link to SM adminEnd of the navigation path.

    2. Click Data import or export.

    3. Depending whether you use SLP or SIPM, from the File type dropdown choose one of the following:

      • If you use SLP, choose Suppliers.

      • If you use SIPM, choose Suppliers from Sourcing.

    4. Click Export to generate a CSV file. You can find the SM vendor ID for each vendor in this file.

Context

Once your SAP Ariba Supplier Risk configuration is complete and you have the SM Vendor ID for the relevant supplier, construct a client application as follows to update the supplier's compliance data in the risk categories:

Procedure

  1. Construct a JSON query body to update the supplier's compliance data, as follows:
    {
      “sanctionIndicatorStatus”: “VIOLATION_FOUND”,
      “watchlistIndicatorStatus”: “VIOLATION_NOT_FOUND”,
      “supplierScreenedAt”: “Jan 01, 2020 00:00:01.001 AM",
      “note”: “summary of supplier”,
      “evidences”: [
        {
          "uniqueId": "unique_evidence_id_1",
          “source”: "test.org”,
          “provider”: "providerName”,
          “penaltyAmount”: 1000.5,
          “isoCurrencyCode”: “USD”,
          “url”: “www.test.org/test/1”,
          “effectiveStartDate”: “Jan 02, 2020 00:00:01.001 AM",
          “effectiveEndDate”: “Mar 01, 2020 00:00:01.001 AM",
          “supportingIndicatorStatus”: “SANCTION”,
          “note”: “Summary on data”
        }
      ]
    }
    sanctionIndicatorStatus
    The status that tells you if a sanction was found for the supplier. Permitted values are: Violation_Found, Violation_Not_Found, Violation_Expired, and Not_Screened.
    watchlistIndicatorStatus
    The status that tells you if the supplier is on a watchlist. Permitted values are: Violation_Found, Violation_Not_Found, Violation_Expired, and Not_Screened.
    supplierScreenedAt
    The date you screened the supplier for compliance data.
    note
    Any note you add when you screen the supplier. You can add a note of up to 3000 characters.
    uniqueID
    An ID that you provide to uniquely identify the evidence data. This isn’t a mandatory field. You only need to provide this ID if you want to have the ability to update it later.
    source
    The source is the origin of the evidence about the supplier. An example is when there are multiple articles supporting the evidence about the supplier, only the most relevant source is shown. You can use the information in the source to find articles from other sources.
    provider
    The provider of the compliance data for the supplier. Your provider can have evidence data from multiple sources.
    penaltyAmount
    The currency amount of any penalty applied to the supplier for the violation.
    isoCurrencyCode
    The ISO 4217 currency code that represents the alphabetic currency for the penaltyAmount.
    url
    The URL used to provide proof of the evidence. The URL is a clickable link. An example is a link to an article.
    effectiveStartDate
    The date the compliance violation started.
    effectiveEndDate
    The date the compliance violation ended.
    supportingIndicatorStatus
    The fields from the risk configurations such as sanction and watchlist.
    note
    Any note you add about the evidence of the supplier's violation. You can add a note of up to 3000 characters.
  2. The client application does one of the following:
    • Add your supplier's compliance data in the supported risk categories by using the PATCH /suppliers/{smVendorId}/compliances endpoint, passing the JSON body constructed earlier:

      PATCH {{runtime_url}}/suppliers?realm=myRealm	
      {
        “sanctionIndicatorStatus”: “VIOLATION_FOUND”,
        “watchlistIndicatorStatus”: “VIOLATION_NOT_FOUND”,
        “supplierScreenedAt”: “Jan 01, 2020 00:00:01.001 AM",
        “note”: “summary of supplier”,
        “evidences”: [
          {
            "uniqueId": "My evidence ID 1",
            “source”: "https://www.sourceofarticle”,
            “provider”: “My Data Provider Company”,
            “penaltyAmount”: 100,
            “isoCurrencyCode”: “USD”,
            “url”: “www.evidencenewsarticle”,
            “effectiveStartDate”: “Jan 02, 2020 00:00:01.001 AM",
            “effectiveEndDate”: “Mar 01, 2020 00:00:01.001 AM",
            “supportingIndicatorStatus”: “SANCTION”,
            “note”: “summary on data”
          }
        ]
      }

      If the supplier doesn’t already have compliance data, the new data is created. If the supplier already has compliance data, it’s updated.

    • Delete or replace your supplier's compliance data in supported risk categories by using the PUT /suppliers/{smVendorId}/compliances endpoint, passing the JSON body constructed earlier:

      PUT {{runtime_url}}/suppliers?realm=myRealm	
      {
        “sanctionIndicatorStatus”: “VIOLATION_NOT_FOUND”,
        “watchlistIndicatorStatus”: “VIOLATION_FOUND”,
        “supplierScreenedAt”: “Jan 01, 2020 00:00:01.001 AM",
        “note”: “summary of supplier”,
        “evidences”: [
          {
           "uniqueId": "My evidence ID 1",
            “source”: "https://www.sourceofarticle”,
            “provider”: “My Data Provider Company”,
            “penaltyAmount”: 100,
            “isoCurrencyCode”: “USD”,
            “url”: “www.evidencenewsarticle”,
            “effectiveStartDate”: “Jan 02, 2020 00:00:01.001 AM",
            “effectiveEndDate”: “Mar 01, 2020 00:00:01.001 AM",
            “supportingIndicatorStatus”: “WATCHLIST”,
            “note”: "summary on data”
          }
        ]
      }

      To delete the existing compliance data for a specified supplier, send an empty response body. To replace existing compliance data for a specified supplier, send the replacement data in the response body.

Results

On success, the response includes a 201 success code. Within SAP Ariba Supplier Risk the compliance data specified in your PATCH /suppliers/{smVendorId}/compliances or PUT /suppliers/{smVendorId}/compliances request is assigned to the legal risk category. You can view the imported compliance data in the supplier 360° profile.

On failure, the response includes an error message. See Risk Category Information API for Supplier Risk Exposure Compliance Data Error Messages for a list of possible errors.

You can view the data on the applicable risk category tab in the supplier 360°profile. See Regulatory and Legal Information in a Supplier’s Profile in Monitoring Supplier Risk for sanction and watchlist data.

Users automatically receive one daily email notification at 4:00 a.m. EST that summarizes the adverse media alerts, licensed third-party provider evaluation updates, failure updates for third-party provider Dun & Bradstreet licenses, and supplier compliance updates from the Risk Category Information API for Supplier Risk Exposure, for suppliers they follow.