cancel
Showing results for 
Search instead for 
Did you mean: 

Double posting - Vendor Reference field

Former Member
0 Kudos

Hello,

As you know SAP standard is checking the following fields to identify if an invoice is duplicated:

Company code

Vendor number

Currency

Reference number

Amount in document currency

Document date

I want to change the warning message that SAP shows when using the same Reference when posting (FB60) for an error message.

Which is the best way:

-Function module to check Reference field

-Add a substitution for document type (vendor invoice)

-Or another suggestion....

Thanks for your help

REgards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182098
Active Contributor
0 Kudos

Use OBA5 and make it error.

Former Member
0 Kudos

It is possible to change message F5 117 into an error message. However, the error message will only be generated when reference, document date, vendor and amount are the same ...

Former Member
0 Kudos

Then you can use validation(ob28)

Former Member
0 Kudos

Yes, maybe I can add a set into the validation but how is going to be the logic for not repeating the same Refernce field? I dont think is that easy.

Thanks

Former Member
0 Kudos

Hi. Why do you need set? If you're going to check for all vendors, then just put if account type=K, then user exit, where you check if current reference field exist in bseg (or you can improve logic, eg check reference only for current vendor etc)