SAP Knowledge Base Article - Public

3304372 - Credit Segment API Call not posted for Business Partner

Symptom

User is trying to create credit segment for Business Partner via Standard API call they were unsuccessful.

Environment

SAP S/4HANA Cloud.

Reproducing the Issue

  1. For a business partner whose Credit Profile Data is created.
  2. Then use POST method to create Credit Segment Data.

Cause

You can create profile and segment data in one shot, if the profile is not created yet. Need not to give the profile data in the payload.

Resolution

Use the given below POST url and the payload.

POST url:

/API_CRDTMBUSINESSPARTNER/CreditMgmtBusinessPartner('XXXXXXXX')/to_CreditMgmtAccountTP

Payload:

{
  "BusinessPartner": "XXXXXXXX",
  "CreditSegment": "YYYY",
  "CreditLimitAmount": "value",
  "CreditLimitCalculatedAmount": "0",
  "CreditLimitIsZero": false,
  "CreditSegmentCurrency": "ZZZ"
}

See Also

help.sap document Openaration for Credit Management Master Data

API hub https://api.sap.com/api/API_CRDTMBUSINESSPARTNER/overview

Keywords

API_CRDTMBUSINESSPARTNER, POST, to_CreditMgmtAccountTP, credit, segment, payload, profile, S4_PC , KBA , FIN-FSCM-CR , Credit Management , FIN-FSCM-CR-2CL , Credit Management (Public Cloud) , How To

Product

SAP S/4HANA Cloud all versions