cancel
Showing results for 
Search instead for 
Did you mean: 

No new credit check of released documents on the same day - FSCM

SAPSupport
Employee
Employee
0 Kudos

Hello SAP,

We have the following scenario:

In the UKM_CASE we have a Sales Order with the status CONFIRMED (approved) in 27/01/2023.

If the user change/edit the Sales Order in 27/01/2023, the Sales Order will remain with status CONFIRMED. Even if the amount was changed.

With same Sales Order, if the user change/edit the amount in the day after (28/01/2023), the Sales Order is updated in UKM_CASE with status NEW, to be approved again.

The program does the following check to send to UKM_CASE again or not:

But, the configuration of OVA8, where we can set “Number of Days” (T691F-TAGEF) do not accept the negative amount, in this case, we never going to have the variable valid_to less than sy-datum if we CONFIRME and CHANGE in the same day.

Then the <no_check> will always be filled in the scenario described above.

So, how can I have the credit check stating for every edit/change on Sales Order in this case?

IF credit_value_allowed_ GE credit_value_ AND
security_change IS INITIAL.
valid_to_ = xvbak-cmfre + t691f-tagef.
IF valid_to_ GE sy-datum.
* keine Prüfung, da Änderung im erlaubten Rahmen
<no_check> = abap_true.
CLEAR rkvbuk.



------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee

Hello,

As you have identified in FM SD_ORDER_CREDIT_CHECK (also in SD_DELIVERY_CREDIT_CHECK) the system is using a special logic for checking the validity of a credit block release.

The release date (CMFRE) and the released credit amount (AMTBL) are considered to decide whether a new credit check should be triggered.
The validity of a release can be extended by the OVA8 settings 'Released documents are still unchecked' (Number of days and Deviation%).

However, if you try to change the document on the day of release, then the system will not trigger a new credit check, even if the settings in OVA8 are 0 days.
On the day of the release, no further credit check occurs if the document value has not increased compared to the release value. This also applies when you create a delivery for a released sales order.

This is achieved by the GE (greater or equal) check of release date validity.
This logic is according to standard design, also worked the same on ECC classic credit management.
You need to modify this code in the function modules and use GT (greater than) check in the coding. (... IF valid_to GT sy-datum. ...)

For further information see below SAP Notes:
718260 - Released documents are not checked
588226 - New credit check at day of release
52637 - Modification note: Further check for delivery

Best regards,
Edina
SAP

Answers (0)