Symptom
1. You release a sales document from a credit block.
2. You carry out a recheck for a sales document (in the background using report RVKRED09 or in a credit list, for example using transaction VKM1).
This triggers the availability check (ATP) for the entire document. You cannot tell which items are included in the availability check.
Solution
1. The confirmed quantities are usually reset when a credit block occurs for a sales document. This means a new availability check is triggered for the entire document when it is released from the credit block.
2. During the recheck, the system carries out an availability check before it runs the credit check, so the current confirmed quantities are available for the credit limit check.
A decision regarding whether to perform the availability check is made for each item.
-
The item does not have any confirmed quantities (VBAP-KBMENG = 0). -> The availability check isperformed.
-
The item is confirmed either wholly or partially (VBAP-KBMENG > 0). -> The availability check is notperformed.
-
The item is partially delivered and the confirmed quantity is higher than the delivered quantity (confirmed quantity - delivered quantity = 0). -> The availability check is performed.
-
The system carries out a product selection for the item. -> The availability check is performed.
-
The item belongs to a scheduling agreement with releases (component supplier). -> The availability checkis performed.
If you want your system to behave differently from the standard logic, you can use the user exit USEREXIT_AVAIL_CHECK_CREDIT in the include MV45AFZF. With the user exit you can:
-
... Execute the availability check in all scenarios.
-
... Call the availability check in accordance with the standard logic, as described above (the default setting).
-
... Skip the availability check.