Sub topic 8
Credit checks and blocks
This chapter assumes you know how a sales order is created and how a customer master is organized by sales area and company code. It covers how SAP S/4HANA stops risky orders before they reach delivery.
Why credit checks exist
A credit check compares what a customer owes, plus the new order, with a credit limit set for that customer. If the exposure is too high, the system blocks the order. The block usually sits on the order itself, so the order is saved but cannot move on to delivery until someone releases it.
In S/4HANA, credit management is done through SAP Credit Management (FSCM). The older SD credit check (transaction VKM1) is still known but is not the standard path for new setups.
What the check looks at
The credit exposure is the sum of several items for one credit segment:
- Open receivables: posted invoices not yet paid.
- Open delivery value: deliveries that are not yet billed.
- Open order value: orders that are not yet delivered.
- Special liabilities: for example, down payment requests.
The credit limit and the customer's risk class are stored on the business partner, in the credit management role. The credit segment groups exposure, for example by company code or business area.
The check in the process
The check runs when the order is saved. It can also run again at delivery creation and at goods issue, depending on configuration. Each step uses the same exposure, but later steps matter because the situation may change after the order was saved.
Working with blocked orders
A blocked order shows a credit status in the order header. A credit analyst reviews it in the Fiori app for credit management, or in the older transaction VKM3. The analyst can:
- Release the order if the customer is trusted or has paid.
- Reject the order if the risk is too high.
- Keep it blocked and ask the customer for a payment.
After release, the order can be delivered. Changes to price, quantity or customer can trigger a new check.
Common errors
- Delivery cannot be created: the order is still credit blocked. Look at the header status first.
- No check happens at all: the credit segment, credit limit or credit management role is missing from the business partner, or the check is not active for the order type.
- Exposure looks wrong: open items are posted in a different credit segment, or the update of the exposure has not run yet.
You can also look at the overall status of an order in the database. The header table VBAK holds the credit status fields.
DATA(lv_vbeln) = CONV vbeln_va( '0000012345' ).
SELECT vbeln, auart, kunnr, cmgst
FROM vbak
WHERE vbeln = @lv_vbeln
INTO TABLE @DATA(lt_header).The field CMGST is the overall credit status of the order. An empty value means no credit check blocked it, and a value such as B means that the order is blocked.
Exercise
A sales order is saved but the delivery cannot be created. The order header shows a credit block. Name two actions a credit analyst can take, and explain what happens to the order afterward.
Show answer
The analyst can release the order, after which it can proceed to delivery, or reject it, after which it cannot be delivered. The analyst can also keep the block and ask the customer to pay first. A later change to price, quantity or customer can trigger a new credit check.