‎2008 Mar 28 11:47 AM
Hi
In vendor invoice,T.code FB60, in reference document field, the user should not enter the same reference document number twice.The system should give an error message ' reference document already exists'.
Can this achieved by writing a validation. If so, How to create a validation? Or we should implement any standard BADI.
Please suggest.
Thanks
Vijay
‎2008 Mar 28 11:52 AM
Hi,
Try exploring the user exit.
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
Regards,
Morris Bond.
Reward Points if Helpful.
‎2008 Mar 28 11:56 AM
Hi,
table name : MODSAP
TCODES CMOD,SMOD
Regards,
V.Balaji
Reward if Usefull...
‎2008 Mar 28 3:51 PM
Hi,
have a look at:
SPRO
Materials Management
Logistics invoice verification
Incoming invoice
Set check for duplicate invoices
and here´s part of the documentation:
Set Check for Duplicate Invoices
In this step, you can configure for each company code if the system is to check for duplicate invoices when you enter invoices.
This check should prevent incoming invoices being accidentally entered and paid more than once.
You can choose whether to activate or deactivate the check criteria of company code, reference document number and invoice date for each company code. The more criteria that you activate, the lower the probability of the system finding a duplicate invoice. The Accounting documents are checked first, followed by documents from Logistics Invoice Verification (only incorrect invoices or those entered for verification in the background).
Best regards.