Workflow for the External Approval API for Sourcing and Supplier Management

  1. An approval task with the External System Approval option set to Yes is submitted. The task is explicitly submitted by a user, or by SAP Ariba if the task is an Approval For Award, Approval For Publish task, or a task triggered as part of a supplier management workflow.

    For additional requirements and recommendations for the task, see External Approvals for Project Approval Tasks Setup.

  2. The API client requests the IDs of approval tasks using one of the following methods:

    • By retrieving the IDs of approval tasks that have changed state, including tasks that have been activated (submitted). The results can be filtered based on the solution area and type of approval task.

    • By retrieving the IDs of approval tasks that need to be approved (pending approval). The results can be filtered by user ID or document type.

  3. The client requests details about a task, which include the ID of the document, sourcing event, or project to be approved.

    For sourcing events, the client can use task details to determine the tasks that are Award For Publish and Award For Publish tasks.

  4. Using ID information from the task details, the client requests details about the document, sourcing event, or project to be approved. When requesting details about a sourcing event, the client uses the $select query parameter to get details about specific parts of the event, such as line items or invited suppliers.

  5. The client can also download associated attachments, if present.

  6. The client application identifies eligible approvers for a document.

  7. The document is presented to authorized approvers.

  8. Approvers approve or deny the document.

  9. The client application sends a request to approve or deny the document based on the approvers' actions.

Workflow to View and Act on Approvables in the User Interface Using the Full URL

If you prefer to view and act on an approvable in the user interface rather than programmatically via the API, you can open the URL listed for the approvable in the fullURL field in the response to your GET /changes or GET /pendingApprovables request.
  1. The client application requests approvables using the GET /changes or GET /pendingApprovables endpoint.

  2. In the response, the client application or the user locates the fullURL field in the details block for the desired approvable.

  3. The client application or the user opens a browser to the URL listed in the fullURL field.

  4. The client application or the user enters authentication credentials for the relevant SAP Ariba solution.

  5. The authenticated user views the approval in the solution UI, and acts on the approvable as permitted based on their group memberships.