Duplicate check invoice-vendor number

If we select the duplicate invoice check ,will it check only if it is for same vendor.Doesnt it check for other vendors with same invoice number.

Hi
It is not possible to have invoice having same number but 2 different vendors as per SAP standard.  As invoice is a unique document created with respect to vendor.
Hope it helps.
Edited by: ppkk on Oct 29, 2008 10:54 AM

Similar Messages

  • Activation of duplicate check for vendor or customer account by matchcode

    Hi,
    Could you please me know how to do the activation of duplicate check for vendor as well as customer account by matchcode.
    Many Thanks,
    Panneer

    solved

  • Badi for checking the vendor number entered in ME31K

    Hi all,
    My requirement is to check the vendor number that user has entered in me31k and give messege accordingly.
    Is there any badi to implement it?
    badi me_process_pocust perhaps will not work in this case.
    Plz help.

    Hi Santosh,
    Have you looked BADI <b>ME_PROCESS_PO_CUST</b> or user exits <b>EXIT_SAPMM06E_016</b> / <b>EXIT_SAPMM06E_017</b>?
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Stored Procedure for checking Invoice Vendor ref No

    Hi All
    I need a sp for checking a vendor ref no  on an invoice if it already exist in the system or the user forgot to include one when trying to add the document.
    I get this error on the one that I created
    16/03/2010  12:21:54: [Microsoft][SQL Native Client][SQL Server]Conversion failed when converting the nvarchar value '24     0' to data type int. (CINF)
    Here is my SP :-
    DECLARE @Invoice AS VARCHAR(15)
    DECLARE @Card AS VarChar (20)
    SELECT @invoice = NumatCard, @card = CardCode FROM dbo.OPCH
    WHERE DocEntry = @list_of_cols_val_tab_del
    if @object_type = '18' and @transaction_type in (N'A', N'U') -- AP Invoice is null
    begin
        If exists (SELECT T0.cardcode, T0.NumAtCard  FROM OPCH T0 where T0.NumatCard is null and  T0.cardcode=@list_of_cols_val_tab_del)
         begin
              SET @error = 10
              SET @error_message = N'Supplier invoice number not entered.'
         END
    END
    SELECT @INVOICE = NumatCard FROM dbo.OPCH
    WHERE DocEntry = @list_of_cols_val_tab_del
    if @object_type = '18' and @transaction_type in (N'A', N'U') -- AP Invoice to check if the invoice no exist
    begin
        If exists (SELECT T0.cardcode, T0.NumatCard  FROM OPCH T0 where T0.NumatCard = @invoice  and  T0.cardcode=@list_of_cols_val_tab_del)
         begin
              SET @error = 10
              SET @error_message = N'This invoice number already exist for this supplier.'
         END
    END
    Regards
    Bongani Dlamini

    This code should be inserted into the original (or already expanded) SBO_SP_TransactionNotification stored procedure after the line
    --     ADD     YOUR     CODE     HERE )
    Try this full (and a little modified) procedure:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(20),                     -- SBO Object Type
    @transaction_type nchar(1),               -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200)           -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    --     ADD     YOUR     CODE     HERE
    if @object_type = '18' and @transaction_type in (N'A', N'U') -- AP invoice
    BEGIN          ----
    DECLARE @Invoice AS VARCHAR(15)
    DECLARE @Card AS VarChar (20)
    SELECT @invoice = NumatCard, @card = CardCode FROM dbo.OPCH
         WHERE DocEntry = @list_of_cols_val_tab_del
    -- AP Invoice is null
    If exists (SELECT T0.cardcode, T0.NumAtCard FROM OPCH T0 where T0.NumatCard is null
               and T0.DocEntry=@list_of_cols_val_tab_del)
    begin
    SET @error = 10
    SET @error_message = N'Supplier invoice number not entered.'
    end
    -- AP Invoice to check if the invoice no exist
    If exists (SELECT T0.cardcode, T0.NumatCard FROM OPCH T0 where T0.NumatCard = @invoice
               and T0.CardCode=@card and T0.DocEntry!=@list_of_cols_val_tab_del)
    begin
    SET @error = 10
    SET @error_message = N'This invoice number already exist for this supplier.'
    end
    END          ----
    -- Select the return values
    select @error, @error_message
    end

  • FV60 - validate duplicate invoices by reference and vendor number

    Hi,
    How to configure the system to validate duplicated invoice by REFERENCE AND VENDOR NUMBER irrespective of dates? This validation need in FV60.

    Hi Paul,
    if you want a duplicate invoice check from the FI side, then you may have to activate BTE 1110 by creating your own Z function module (by copying FM SAMPLE_PROCESS_00001110).
    In  FI,when checking for duplicated invoices, the system compares the following : Vendor, currency, company code, gross amount of the invoice,reference document number and Invoice document date.
    Also refer to SAP Note 305201. It clarifies this in more details.The following fields must be identical for Duplicate invoice check
    Company code (BUKRS)
    Vendor number (LIFNR)
    Currency (WAERS)
    Reference number (XBLNR)
    Amount in document currency (WRBTR)
    Document date (BLDAT)
    If the document is having any one of the above filed different then the system does not consider it as a duplicate invoice.
    In OB41, also check whether the Posting Key is defined as Sales-related. You have to flag this field if the duplicate invoice check is to work.
    Regards,
    SAPFICO

  • Duplicate check for non inventory vendor invoices in Finance

    Hi,
    SAP provides duplicate check for non inventory vendor invoices posted through transactions F-43 and FB01 etc. The field values checked for duplicate invoice include Document date and Reference field.
    I want to know, is there any flexibility of removing Document date from checking criteria?
    This is to facilitate picking more invoices in duplicate check net.
    Regards,
    Vijay

    Dear Vijay
    Yes, you can control this via business transaction events. Please review the below explanation.
    In Rel 4.6, duplicate invoices are checked using function module
    FI_DUPLICATE_INVOICE_CHECK which is called when invoices are posted via trans FB60.  Duplicate invoice checking criteria can be customized using the open FI interface SAMPLE_PROCESS_00001110 (custom function module) starting from Rel 4.6.  Please verify if the open FI interface 00001110 is being used in your system and review duplicate invoice selection criteria via trans BERP. You may wish to omit the document date (BLDAT field from the duplicate invoice check criteria to trigger error msg F5117.  In addition, table BSIP (vendor duplicate documents) may need to be updated.  (see note 114563 for further info).
    Please also check note 537213, and note 31771 for your information.
    If this helps please reward with points.
    Best Regards
    Kesav

  • Duplicate one-time vendor check

    Hello Guys
    It's necessary to activate a check whether one-time vendor already exists in the system as usual vendor.
    I think such check can be performed either during PO creation while entering vendor address, or during invoice posting while entering bank details, tax code etc.
    So please advise if you have any ideas.
    P.S. VAT Reg No is not used in our country, instead we use Tax Number 1.
    Great thanks.

    Hello,
    For normal vendor you can maintain duplicate check in OBA5
    Application Area F2
    Message No.144 for Vendor and 145 for customer, making it as information.
    I really doubt there is such control for One time Vendor in the system.
    Regards,
    Ravi

  • Configuring double invoice check for vendor invoices posted through FB60

    Dear all
    Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
    for miro documents..we can use Tcode OMRDC
    Is there any such tcode which can be used for configuring fi invoices for double checking..
    regards
    Expertia

    Dear Expertia,
    In FI,when checking for duplicated invoices, the system compares the
    following :Vendor, currency, company code, gross amount of the invoice,
    reference document number and Invoice document date.
    SAP Note 305201 clarifies this in a more details; please read it.
    The following fields must be identical for Duplicate invoice check
         Company code                              (BUKRS)
         Vendor number                             (LIFNR)
         Currency                                  (WAERS)
         Reference number                          (XBLNR)
         Amount in document currency               (WRBTR)
         Document date                             (BLDAT)
    If the document is having any one of the above filed different then the
    system does not consider it as a duplicate invoice.
    Also It will check duplicate invoice check in vendor master data and
    in posting key is there check box selected for sales related
    The setting you making in OMRDC i.e Materials management->Logistics
    Invoice Verification->Incoming Invoice ->Set Check for Duplicate
    Invoices is only valid for MM and not  FI invoices posted via FB60/FB65
    You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
    in the relevant vendor master record (transaction FK03).
    Please also check, that message F5 117 has been set correctly in the
    IMG using this path:
    Financial Accounting -> Financial Accounting Global Settings ->
    Document -> Default Values for Document Processing -> Change Message
    Control for Document Control For Document Processing
    Finally & mainly, go to the relevant posting key is defined as sales
    related in transaction OB41. You have to flag this field if the
    duplicate invoice check should work.
    I hope this helps You.
    mauri

  • Vendor duplicate check

    Hi,
    I working on a report that checks for vendor duplicates.
    Looking forward to your good ideas and/or code samples and take appropriate action on good/interesting answers.
    For example
    1) how would you check on duplicate names?
    2) how to check the postcode field if there are no checks on the input format (e.g. ignore upper/lower case and spaces)?
    3) which vendor master fields would indicate duplicate vendors (e.g. company registration number, VAT registration number)?
    All ideas and examples are welcome.
    Thanks,
    Dennis

    Personally I would use the VAT number as this is unique key for vendors.

  • I want to remove duplicate vendor number

    I want to remove duplicate vendor number,  should I put deletion flag or block them ?
    Also in some cases there are some dependancies (open PO, pending invoice, payment due), can somebody suggest safe way ?

    I would recommend to set both indicators.
    Block will restrict the usage, while deletion indicator makes the vendor going to the archive file/removing it from the table with the next archiving run.
    You have to decide what you want to do with the open business cases.
    You either convert them to the correct vendor directly, or you finish it during the next month with standard business process.
    Blocking of vendor master may have some impact to open business cases.

  • Match Codes / Search Helps for Duplicate Check Vendor are missing

    Hi Guys,
    I'm trying to enable the Duplicate Check for the Vendor solution we have here and I couldn't help, but notice that when I'm setting up the DB Search in "Define Search Application", the out of the box values for existing search helps are already preconfigured and the values are the following:
    BP MC_BP_ADDRESS Address Data
    BP MC_BP_BANK_DETAIL Bank Details
    BP MC_BP_GENERAL General Data
    BP MC_BP_ID_NUMBER Identification Numbers
    BP MC_BP_ROLES BP Roles
    Unfortunately, when I check in SE11 - those search helps do not exist in the system. How can I get them deployed? Are they part of a Business Set that I missed to install and activate?
    Thanks in advance,
    Boris

    Hi Boris
    Please check that the following is set in your system:
    Configure Duplicate check for entity types - BP need the following:
    Assign search object connector template to object types - BP need the following:
    Ensure that "Business Partner template for MDG" connector is created in ESH_COCKPIT
    Regards
    Danie

  • Check for Vendor PAN Number

    Hi,
    I want to make a check in vendor code creation. If vendor PAN Number not maintained then system will give an error message. Who I can make this check. Please provide me suggestion.
    Thanks & Regards,
    Hemant Maurya

    Hi,
    In OBD3 - vendor account groups , select the group your vendor belongs to and go to "general data- control - Tax code1/2
    and make the field required. You can use either tax code 1 or 2
    Else you can enter the PAN number in Tax number field in the vendor master. For this you need to make the field "Tax office responsible" mandatory.
    But the problem is you have to create the tax authority as a vendor and enter that vendor id in the "tax office" field and enter the PAN number in "Tax number" field.
    Hope this helps
    Anil

  • Change Vendor Number on Invoice

    We are seeking ways to better control changes to vendor numbers when inputting an invoice based on 3 way match.  We are especially concerned about situation where the PO has already had a receipt, and the vendor number is changed.
    Does anyone have a solution that they like?  Does anyone use alerts, reason codes, limiting of the functionality or monitoring reports?
    Thanks for the information.

    hi,
    If the PO has already had a reciept,this is case of a ratification.To avoid this situation you can set the PO in the GR "Mandatory";so the ratification is current with the transaction.Here the ratified PO should be released immedietely-thus enabling the three way match.
    Changing the vendor number is a very serious thing.By suitable authorisations this should be prevented.You can achieve this using T/code:PFCG.Work with the basis consultant for effecting security settings.
    Hope this helps.
    Regards,
    Ramesh.

  • Re: Vendor number or code at Invoice level

    Hi all,
    Could some one tell me is there any possibility of maintaining the vendor number or code at the invoice (outgoing invoice) level?
    Thanks in advance,
    Chandu

    It has been observed that you were closing all your  o...l....d   threads without proper explanation as to how you had resolved.  Was it because of the suggestions given by the members or on your own ??  If it was on your own, you were suppose to update the forum as to how you had solved on your own so that it will help others to take the inputs.
    Just for posting a new thread, please dont close without any proper explanation
    thanks
    G. Lakshmipathi

  • Field exit for checking if tax number is unical in vendor master.

    Hi,
    is there a field exit that checks if tax number is unical in vendor master?
    Best regards

    Swamy,
    As you've pointed out, you already know that path. I'd recommend stating all that you've already tried and ruled out while posting a query here. It'll help people putting in effort that won't be helpful to you.
    Coming back to your query, there is obviously no way to introduce email ID as a sensitive field. However, there's nothing stopping you from using a little creativity here. This solution is not exactly direct, but I believe it is achievable. Here are your components:
    Have a look at enhancement SAPMF02K (t.code SMOD). Look at the component FM - EXIT_SAPMF02K_001.
    From table LFA1, get LFA1-ADRNR. Go to table ADR6 (SMTP Numbers (Business Address Services)).
    In ADR6, field SMTP_ADDR is email ID.
    You can designate a field you don't currently use as always = email ID field content on vendor master screen. This proxy field can get it's value inside the user exit I've mentioned above, and you can find the email ID using the logic I've mentioned above. Ensure that this proxy field can be designated a sensitive field. That's it!
    Now, everytime a user changes the email ID, your proxy field gets changed, and thus invokes the Senstive Field rule.
    I've not used this myself, but believe it should work.
    Remember to assign points if found useful.
    Regards
    Gulshan

Maybe you are looking for