SAP Knowledge Base Article - Public

3586997 - Credit Recheck on Released Sales Order on the Same day

Symptom

Perform a credit recheck on the released sales order on the same day without making any changes to the order.

Environment

SAP S/4HANA Cloud Public Edition

Resolution

API Sales Document with Credit Block - Read, Check, Release, Reject (A2X) can be used to trigger a same day credit recheck on the released sales order. The steps mentioned below should be followed to execute the API successfully:

  • Get the Credentials.
  1. Go to app Communication Arrangements.
  2. Find the arrangement for the scenario SAP_COM_0325 (Sales Credit Management Integration).
  3. The Communication User (Basic Auth) and Password (provided when the arrangement was created) can be found inside the arrangement. If the password is no longer known, a new Communication User and Arrangement may need to be created.
  • Test the API in Postman.
  1. In Postman, issue a GET request to:

    https://<your-tenant>/sap/opu/odata/sap/API_SLS_DOC_WITH_CREDIT_BLOCK/ 

    Add header: X-CSRF-Token: Fetch
    Use Basic Auth with the communication user from Step 1
  2. Copy the returned X-CSRF-Token and session cookies from the response.
  3. Run a POST request to:

    https://<your-tenant>/sap/opu/odata/sap/API_SLS_DOC_WITH_CREDIT_BLOCK/CheckCreditBlock?SDDocumentCategory='C'&SalesDocument=''

    Add header: X-CSRF-Token: <token>
    Add header: Cookie: <your-session-cookie>

See Also

Sales Document with Credit Block - Read, Check, Release, Reject (A2X)

Keywords

FIN-FSCM-CR, SD-BF-CM, Sales Document with Credit Block - Read, Check, Release, Reject (A2X), SAP_COM_0325, Sales Credit Management Integration, credit recheck, sales order, API_SLS_DOC_WITH_CREDIT_BLOCK , KBA , SD-BF-CM-2CL , Credit Management (Public Cloud) , FIN-FSCM-CR-2CL , Credit Management (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions