cancel
Showing results for 
Search instead for 
Did you mean: 

Create a check in the billing document so that it can not be canceled if it is already paid

0 Kudos

Hello,

We need realice to checks billing document to be canceled to be sure that it has not  already been paid in AR. If so, it cannot be canceled.

In R3 there is the 29 routine which you assign in the cancellation section "copying requirements" in the type of invoice.


In S4HC with the new version 1902 they have enabled a new BADI called "Data Transfer for Billing Document Item"

But this Badi doesn´t allow us to put a check to prevent an invoice being canceled if it is already paid. 

Additionally, the customizing point in which we assign this routine isn´t available.

Does anyone knows how we can do this?

Thanks for your help in advance.

Best regards


Accepted Solutions (1)

Accepted Solutions (1)

Sai_Kasturi
Employee
Employee
0 Kudos

Hello,

This validation is not possible in S4HANA Cloud. With on-premise solution, you have a possibility to use custom logic with copy controls to achieve such outcome. However, the copy controls are not accessible in cloud environment.

The only alternative I can think of is a manual approach. That is to restrict the creation of invoice cancellation to specific business role and manually verify the payment status of an invoice using the app 'Manage Customer Line Items'.

Regards

Sai

Answers (0)