Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User exit or BADI for customer duplicate invoice checking?

former_member569532
Participant
0 Kudos

Hi Experts,

I have a requirement to create a validation of dupliacate invoice .Kindly any one advise any user exit or BADI to do this validation.

Thanks & Regards,

Anusha.B

8 REPLIES 8

Former Member
0 Kudos

Hi,

You want to validate the customer invoice or vendor invoice? what is your parameters to checking the duplicate invoice? please elaborate your requirement.

0 Kudos

Hi Kiran,

Thank you for your reply.My requirement is to validate duplicate cutomer invoice.

Thanks,

Anusha.B

0 Kudos

What do you call a "customer duplicate invoice", usually FI or SD invoices use a lock system and number ranges so no duplicate should be possible, can you elaborate a little on your requirement (FI, SD, kind of invoices, etc.)

Regards,

Raymond

0 Kudos

Hi Raymond,

I want to control FI duplicate customer invoice.

Thanks,

Anusha.B

Former Member
0 Kudos

Hi,

So far there is no duplication check facility  while customer invoice creation. standard SAP has given option to check duplication when vendor invoices creation only.

You need to create validation and inside validation you have to maintain user exit. That user exit should duplication check logic or you can use function module, You can copy the function module FI_DUPLICATE_CHECK and change accordingly to your requirement.

Hopefully it works fine.

Thanks & Regards

Raghu

former_member210857
Participant
0 Kudos

Hi Anusha,

    Why dont u try with CL_EXITHANDLER, and the method get_class_name_by_interface and you will get all BADIs which are getting triggered in the field name exit_name  .Check the attributes tab of the BADis  and check whether they are for SAP Internal Purpose(There is a check box  SAP ,and these BADIs are for SAP Internal Purpose) Check all other BADIs which are not for internal Purpose.

Regards,

Subeesh Kannottil

0 Kudos

Hi,

I didn't find any badi to check the header data in fb70.

Is there  any way to check this?

Thanks & Regards,

Anusha.B

former_member182354
Contributor
0 Kudos

Hi Anu,

           There are two things you can do:

1. There is an option in FICO config which has this option of preventing duplicate invoice posting but it has some limitations. Check with your functional contact on this.

2. Go for a Z report which list out all the duplicate invoices to customers. This can be run by the end users and action taken accordingly.

Generally both are needed to be fool proof for identifying duplicate invoices in the system.

Regards,

Raghav