cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need the ability to place released sales order back on credit hold in Public Cloud

SAPSupport
Employee
Employee
0 Kudos
166

Our client requires the ability to place a sales order that has been released through Documented Credit Decisions back on credit hold in public cloud.  They were able to do this in ECC on prem using VKM3 and reassigning the order back to credit hold.  Upon investigation it appears this functionality is not available in Public Cloud.


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

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>

Answers (0)