Sub topic 8
Credit checks and blocks
This chapter assumes you know how a sales order is created and saved (see the sales order chapter) and that you know what a delivery is. It also assumes you can read an ABAP SELECT statement.
Why the order-to-cash process has a credit check
Every sales order is a promise to deliver goods before the customer pays. The credit check limits how much unpaid business the company accepts from one customer. When an order pushes the customer past the limit, the system stops the process at a defined point instead of rejecting the order outright. A credit specialist then decides what happens next.
In SAP S/4HANA, the credit check is performed by SAP Credit Management (component FIN-FSCM-CR). The classic SD credit management from SAP ECC, with credit control areas and transactions such as FD32, OVA8 and VKM1, is not the S/4HANA approach. If you meet those names in older documentation, treat them as legacy.
The building blocks
| Element | What it is | Where it lives |
|---|---|---|
| Credit segment | A slice of credit exposure, for example one per region or business line. Limits are set per segment. | Credit Management customizing |
| Credit profile | Settings that control how the check behaves for a customer. | Credit Management customizing, assigned in the business partner |
| Credit master data | Credit limit, risk class, check rule and blocking flags for a customer in a credit segment. | Business partner role UKM000, transaction UKM_BP |
| Check rule | Defines which exposure categories count against the limit. | Credit profile |
| Credit exposure | The sum of what the customer currently owes or will owe. | Calculated by Credit Management |
| Credit case | A work item created when a check fails. | Transaction UKM_CASE |
Credit data hangs on the Business Partner, not on a separate customer credit record. This ties back to the master data chapter.
What counts as exposure
The check compares the credit limit with the customer's total exposure. Exposure is built from the whole order-to-cash chain:
- Open sales orders that are not yet delivered.
- Open deliveries that have no goods issue yet.
- Open billing documents that have not been passed to accounting.
- Open receivables in FI, meaning invoices that are posted but not yet cleared by payment.
Each step in the process moves value from one category to the next. When the delivery is created, the order value leaves the open order category and enters the open delivery category. After billing and posting, it becomes an open receivable. After the incoming payment clears the invoice, the exposure disappears. The check rule decides which of these categories count. A simple rule might count only open receivables. A stricter rule counts everything.
When the check runs
The check does not run only once. Configuration decides at which points the system checks the exposure:
- When a sales order is created or changed. This is the usual first check point.
- When a delivery is created.
- Before goods issue is posted.
Checking later in the chain catches changes that happened in between. A customer may have been fine at order entry, and then a large invoice became overdue before the shipment. Checking at every step is safer, but it also blocks more documents and creates more work for the credit team.
What a failed check does
When the check fails, the document is not deleted. It is saved with a credit block, and the overall credit status of the document shows the problem. The block stops the next step in the process. A blocked order cannot be delivered. A blocked delivery cannot post goods issue. The system also creates a credit case in Credit Management.
A credit specialist works the case. The specialist can:
- Release the document, perhaps after the customer pays or the limit is raised.
- Reject the document.
- Keep it blocked while waiting for information.
After release, the sales order can move on to delivery creation. Releasing a credit block does not post anything in accounting. It only removes the stop.
Credit block, delivery block and billing block
Three different blocks stop three different steps, and learners often mix them up.
| Block | Stops | Set by | Typical use |
|---|---|---|---|
| Credit block | Delivery and goods issue | Credit check | Customer exceeds limit |
| Delivery block (field LIFSK) | Delivery creation | Order header, customer master or manual entry | Pricing review, missing paperwork |
| Billing block (field FAKSK) | Invoice creation | Order header, item or manual entry | Price dispute, pending approval |
A document can carry more than one block. Clearing the credit block does not clear a delivery block. If a released order still cannot be delivered, check the other two blocks before you blame the credit setup.
Looking at blocks in the database
The optional query below lists orders for one customer together with their delivery block, billing block and credit status. You can compare it with the status shown on the order screen.
DATA(lv_kunnr) = CONV kunnr( '0000100001' ).
SELECT vbeln, auart, kunnr, netwr, waerk, lifsk, faksk, cmgst
FROM vbak
WHERE kunnr = @lv_kunnr
ORDER BY vbeln
INTO TABLE @DATA(lt_orders).
cl_demo_output=>display( lt_orders ).Common errors and how to read them
- Order blocked although the customer looks fine. Check the credit segment. The limit is set per segment, and an order is checked against the segment it is assigned to. A customer with a large limit in one segment can have a zero limit in another.
- Customer has no limit at all. If the business partner has no credit master data in the credit segment, the check may treat the limit as zero or ignore the customer, depending on the settings. Confirm in UKM_BP that the customer has the credit role and a segment.
- Exposure looks too high. Open items count. An old unpaid invoice or an uncleared payment on account keeps exposure high. Look at the FI open items before you raise the limit.
- Exposure looks too low. The check rule may not include open orders or open deliveries. Then the system sees only receivables and lets large unshipped orders through.
- Released order is blocked again. A later change to the order, such as a quantity or price increase, can trigger a new check. A new check against the same limit blocks the order again.
- Order blocked by credit but no case exists. The block may come from a manual delivery block and not from Credit Management. Compare LIFSK and the credit status.
Practical advice
Keep the credit team and the sales team on the same view of the data. Sales staff should see the credit status in the order, and the credit specialist should see the customer's open items and the blocked documents together. Review how many documents are waiting. A growing list of unworked blocks delays deliveries and is an early sign that the limits or check rules no longer match the business.
Exercise
A sales order for customer 100001 is saved and shows a credit block. The credit specialist releases it in UKM_CASE, but the delivery still cannot be created. Name two causes unrelated to the credit check that you would check next, and say which field in VBAK holds each.
Show answer
Check for a delivery block in the order header (field LIFSK), which stops delivery creation independently of credit. Also check whether the order was changed after release so that it was blocked again, which you see by comparing the overall credit status field CMGST. A billing block (FAKSK) does not stop delivery, only invoicing, so it is not a cause here.
Exercise
A customer has a credit limit of 100,000 EUR. Open receivables are 60,000 EUR, an open delivery is worth 25,000 EUR, and a new sales order is worth 20,000 EUR. The check rule counts receivables, deliveries and open orders. Does the new order pass the check? Explain.
Show answer
No. Total exposure is 60,000 + 25,000 + 20,000 = 105,000 EUR, which exceeds the 100,000 EUR limit by 5,000 EUR, so the order is blocked and a credit case is created. If the rule counted only receivables, exposure would be 60,000 EUR and the order would pass.