SD-关于信用释放时的ATP检查的逻辑(note:1324433)

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 is performed.
  • The item is confirmed either wholly or partially (VBAP-KBMENG > 0). -> The availability check is not performed.
  • 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 check is 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.
The user exit is processed for each item which means a decision can be made for each item. When a recheck takes place, the availability check is carried out before the credit check. Therefore, the new credit status is not yet available in USEREXIT_AVAIL_CHECK_CREDIT.
SAP Note: 1324433 - Availability check during credit block release
source link: https://wiki.scn.sap.com/wiki/display/SD/Availability+check+during+credit+block+release

猜你喜欢

转载自blog.csdn.net/champaignwolf/article/details/80262136
今日推荐