Skip to Content
0
Jan 30, 2023 at 06:56 AM

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

370 Views

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.