How to Get ...............................of  Duplicate Invoice...........

Dear Members
    I have problem, actually vendor sends us the invoice with 2 more duplicate copies of the same Invoice, there is a possibility of double entry of the same invoice , how can i restrict the same
i am using Invoice number in user defined felid

Ajay,
May be this was implemented on a later patch.  Could you check your patch level and see if it works on a later patch by upgrading a standalone PC.
If you do not prefer this route, then you could use the SBO_SP_TransactionNotification. Code sample below.
IF @transaction_type = 'A' AND @Object_type = '18'
BEGIN
IF EXISTS (SELECT T0.DocEntry FROM [dbo\].[OPCH\] T0 WHERE T0.NumatCard IN (Select NumatCard FROM OPCH WHERE CardCode = T0.CardCode)
AND T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
     SELECT @Error = 1, @error_message = 'Duplicate AP Invoice'
END
END
Suda

Similar Messages

  • How can i get an duplicate invoice from my MacBook which I bought in an independent Apple retail store

    how can i get a duplicate invoice from my MacBook which I bought in an independent Apple retail store in poland

    Call the store & ask the sales staff to send you one if you are no longer in Poland.  If you are still there, what is stopping you from visiting the store? 

  • How to get that the invoice has been printed or not?

    Hi Experts,
    I have a issue in Printing Invoice. I have to make 2 copies of an invoice. One is Original and another is Duplicate. I have made that with copy windows. But the requirement is that when the original copy of a selected invoice has been printed then from the second time only the duplicate copy will be printed. How to do that in ABAP? How to get the information that the invoice has been printed or not?
    Regards,
    SURYA

    Hi Surya,
    Try the below approach, i think this is better than the previous approach and takes care of the print from "text menu" as well
    select from z table.
    if sy-subrc eq 0.
      call "SMARTFORM_COPY"
    else.
    While calling the smartform, make sure you import the "JOB_OUTPUT_INFO" parameter,
    and after you call the smartform,
    call "SMARTFORM_ORIG"
    exporting...
    Importing...
    job_output_info = w_job_output_info
    exceptions...
    If sy-subrc eq 0.
      if w_job_output_info EQ 'X'.
        update the Z table.
      else.
        do not update the z table
      endif.
    endif. 
    endif.
    Regards,
    Chen

  • How to get COUNT of  Invoice No and  Sales Order No from Multiprovider

    Hello Guys,
    I have a scenario like below. I have 2 info cubes (1) Billing Item Info cube (2) Sales Order Item Infocube which stores Item level data in infocube. I created Multiprovider for these Sales Order Item Cube and Billing Item Info cube.
    Now in My Multiprovider, Invoice No and Sales Order No gets repeated no of times because one Invoice and One order will have no of Materials. I have a requirement to count Total No of Billing Document and Total No of Sales Document for a Day in the BEx Report. I was thinking to use COUNT function but if Sales Document or Billing Document gets repeated then it will count those records which i don't want. correct me if i am wrong. 
    How to get Total no of Billing Document and Total no of Sales Document from a Multiprovider where i have Item level data is stored ?
    Regards,
    Komik Shah
    Edited by: Komik Shah on Aug 20, 2011 5:33 PM

    Hi,
    Count can be achieved as per the following document. Create for Billing Doc and Sales Doc separately.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a
    Regards,
    Suman

  • Can I get an duplicate invoice for my iPod

    I have lost the original invoice for my iPod. Can I get a soft copy or duplicate invoice for my iPod?

    Contact Apple if yo purchased it directly from Apple. Otherwise contact from whom you purchased it.
    http://www.apple.com/contact/

  • How to get incoming excise invoice in J1IIN

    Daer All
    Greetings!!
    Scenario: The company receives raw material from vendor and then vendor send excise invoice to company.
    The same raw material then sell to other vendor but the incoming excise invoice is used to pass on duty . with threference to that incoming excise invoice duty  pass on to this vendor to whom raw material has been sold
    Question:  How the process will be captured in SAP from MM to SD
    1) now how i will create order > delivery >billing and how i will be able to get that incoming excise invoice in j1iin ?
    2) What About Pricing Procedure?
    I have searched the forum and i have also tried on the existing solution given in forum but still could not do it
    I am still putting my effort but in need of valuable input from forum

    hi
    sales side proces
    va01-vl01n-vf01-j1iin
    j1id settings for this material and chapter id material is raw material u can assign the raw material , other wise assign finished goods, and excise duties main in customer and vendor also , in sale order process  you can maintain the excise duties in sale order, based on invoice , capture the j1iin it is for only out going invoice ,
    vendor details maintain at migo only , ofter migo  you can capture incoming excise invoice , incoming excise invoice at j1ig only,
    in j1ig u capture the  it is for only depo
    Menu Path: User menu à Indirect taxes à Procurement à Excise invoice à Incoming Excise invoice à Individual Processing à Capture/Display (J1IEX)  
    a.     Select Post Excise Invoice and Vendor in windows above the Header.
    b.    Enter Goods Receipt Document number generated in STEP 2 and press ENTER or Click on Execute   button.  
    c.     Following screen will appear as shown below.  
    Menu Path: Logistics à Materials Management à Inventory management àGoods movement à goods receipt à for purchase orderà Purchase order no. Known (MIGO)
    .     Enter the PO number, Vendors Delivery Challan Number      
    b.    Press Enter u2013 at this point of time system will copy all the relevant information from PO and a Excise Invoice tab will appear in the Header screen as shown below, select capture Excise Invoice on this tab and check the Excise group.  
    c.     Enter the Received Quantity in the Quantity tab in field Quantity & Unit of entry.
    Follow above procedure for claiming modvat for raw material.  
    d.    Enter receiving Storage Location in Where tab. Here check the stock type in which material is going to receive. If some text needs to be added regarding the goods receipt enter it in Text field.
    Follow above procedure for claiming modvat for raw material.  
    e.     Check the Excise Details related to the received material in Excise Item tab in Detail Data screen as shown above.  
    Post the Captured Vendoru2019s Excise Invoice
    Go to CIN transaction  
    Menu Path: User menu à Indirect taxes à Procurement à Excise invoice à Incoming Excise invoice à Individual Processing à Capture/Display (j1iex)  
    a.     Select Post the Excise Invoice and Goods Receipt in windows above the Header.
    b.    Enter Vendor Excise no generated above.  
    If material had directly came from different vendor, Enter vendor code in Ship from field in miscellaneous tab.
    a.     If Excise Invoice is faulty and still want to take the credit for the excise invoice, enter the rejection code.  
    b.    Check the Material Chapter Heading, Material type in Item tab in Detail Data screen.  
    c.     Check the Quantity in Quantity tab  
    d.    Check the Duty rate in Duty rate tab.  
    e.     Check duty values and Tax amount for the material in Duty value tab.  
    f.     Check the Part I entries, which are created immediately after the GR in Part I tab.

  • How to get the duplicate rows in dynamically generate data table [list items collection] and send emails in sharepoint2010

    Hi,
    i have share point list like  below
    ID   name AdminEmail Useremail   URl   DueDate   UploadSatus
    1    ppp     [email protected]  [email protected]    url  some date    uploaded
    2    yyy       [email protected]   [email protected]   url somedate    empty
    3  xxx         [email protected]   [email protected]    url   somedate   empty
    4  jjj           [email protected]    [email protected]  url     somedate   emp
    AdminEmail and UserEmail  are lookup column
    i using query the list using caml query
    inside of foreach i am checking  two condition like below
    one is upload status in not empty
    i need to send to mail to admin user  this part i have done my adding all list items which have datatable apply group by working fine
    in send condition i am checking difference between DueDate And current date value
    if the value is =1 or -1
    if the value is i
    thank
    i am getting the
    table like below
    ID   name AdminEmail Useremail   URl   DueDate   Upload
    2    yyy       [email protected]   [email protected]   url   somedate    empty
    3  xxx         [email protected]   [email protected]    url   somedate   empty
    4  jjj           [email protected]    [email protected]  url     somedate   empty
    my issue is here  how can i get the dynamic table rows which are same values of AdminEmail and user email  one set and distintict rows are another set
     sets which are same emails are same
    3  xxx         [email protected]   [email protected]    url   somedate   empty
    4  jjj           [email protected]    [email protected]  url     somedate   empty
    set 2
    2    yyy       [email protected]   [email protected]   url   somedate    empty
     how can i get this separate this can any one tell i need to send mail only one time to user [adim and user] .planing to aviod duplicate mail
    Srinivas

    your case better to use the two data tables to store the data
    DataTable dt = list.Items.GetDataTable();
    foreach (DataRow row in dt.Rows)

  • Rate - How to get the total invoice amount?

    Hi Experts,
    I need assign the 'total invoice amount' to an operand then do some discount calculation. The question is how I could get it. I tried COMPUT99, but it doesn't get anything.
    Thank you,

    Hi - Why don't you use DISC*  ( discount ) variant programs instead of comput99 , you can create a custom variant and fetch the invoice value from ERDK .
    Regards,
    Shekhar

  • How to get an old invoice (older than 2 years)?

    Hi
    Who do I need to write/call to get a certain OLD invoice file? My data was destroyed in a computer crash and I need to get this file.
    I know how to download invoices from Skype Manager myself, but this doesn't work now, because I can only see purchase history of last 2 years in the skype manager. I need to get an invoice from 4. March 2010, but the earliest date I am allowed to see is 10. August 2010 (today is 9. Aug 2012, so I assume they automatically limit history for 2 years).
    Thank you in advance,
    E.K.
    Solved!
    Go to Solution.

    Dear Readers,
    Please see this FAQ article for explanation:
    https://support.skype.com/en/faq/FA36/how-can-i-check-my-account-balance-and-purchase-history?
    An excerpt from the article is copied and pasted, below:
    Note: The Download Invoice button is no longer available for Skype consumer accounts due to changes Skype is making to its invoicing systems. At present, you can continue to view purchase history in MyAccount.
    In the near future, all Skype users globally will be able to download monthly statements, and VAT invoices will be available in some EU member states.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • How to get the duplicate(exist) rows in Oracle?

    Good morning,
    I want to write the query to find the duplicate rows in the table.
    SELECT ITEM, MFT_ITEM, MFT, DESC FROM ITEM
    In the item table,if MFT_ITEM is coming more than or equal to twice ,it is a duplicate rows.MFT_ITEM is a unique.
    ITEM    MFT_ITEM   MFT              DESC
    4647 4648 C6253 TOOLS
    4647 4648 A0237 TOOLS
    10PS 10PS A0027 KITS
    10PS 11PS A0028 COVER
    12LN 12LN A0034 NUTS
    12LN 12LN A0035 NUTS
    12LN 13LN A0036 SCREW
    4310 4311 00462 POWER
    4310 4311 31645 POWER
    4310 4311 81205 POWER
    I want the results like
    ITEM    MFT_ITEM   MFT              DESC
    4647 4648 C6253 TOOLS
    4647 4648 A0237 TOOLS
    12LN 12LN A0034 NUTS
    12LN 12LN A0035 NUTS
    4310 4311 00462 POWER
    4310 4311 31645 POWER
    4310 4311 81205 POWER
    Please reply

    Nicole Thanks for your advise,
    I try the below query , I am getting 0 rows.
    With t As
    Select 4647 ITEM,4648 MFG_ITEM, 'C6253' MFG ,'Tools' Descrip From dual Union All
    Select 4647 ,4648 , 'A0237' ,'Tools' From dual Union All
    Select 1088 ,1088 , 'A0027' ,'Kits' From dual Union All
    Select 1088 ,1188 , 'A0028' ,'Covers' From dual Union All
    Select 1245 ,1245 , 'A0034' ,'Nuts' From dual Union All
    Select 1245 ,1245 , 'A0035' ,'Nuts' From dual Union All
    Select 1245 ,1345 , 'A0036' ,'Screw' From dual Union All
    Select 4310 ,4313 , 'A0046' ,'Power' From dual Union All
    Select 4310 ,4313 , 'A3164' ,'Power' From dual Union All
    Select 4310 ,4313 , 'A0462' ,'Power' From dual
    )Select ITEM, MFG_ITEM,MFG,DESCRIP From
    Select ITEM, MFG_ITEM,MFG,DESCRIP,
    Count(MFG_ITEM) over (Partition By ITEM Order By ITEM) cnt
    From t
    ) Where cnt > 1;
    I should get the results like below
    ITEM     MFG_ITEM     MFG     DESCRIP
    4647     4648     C6253     Tools
    4647     4648     A0237     Tools
    1245     1245     A0034     Nuts
    1245     1245     A0035     Nuts
    4310     4313     A0046     Power
    4310     4313     A3164     Power
    4310     4313     A0462     Power
    Please reply

  • How to get all the invoices that were cleared by a customer payment

    Dears,
    I am having trouble using tables bsad and bsid to list all the invoices paid by a customer payment.
    Imagine I have a DZ document which pays partially or completelly, several customer invoices (RV documents).
    My requirement is to build a report able of showing all the invoices paid in an acounting document, regardless they are paid partially or competelly.
    More than that, the payment of an invoice, can have several iterations.
    For example:
    Invoice RV 10000000 - amount 100.000u20AC
    On first payment, I pay 25.000u20AC -> accounting document DZ 21000001
    Second payment, I pay 25.000u20AC-> accounting document DZ 21000002
    Third payment, I pay 50.000u20AC -> accounting document DZ 21000003
    Something like the following is expected for document 21000001:
    Invoice 10000000
    Original amount 100.000 u20AC
    Open amount 100.000u20AC
    Paid amount 25.000u20AC
    Something like the following is expected for document 21000002:
    Invoice 10000000
    Original amount 100.000 u20AC
    Open amount 75.000u20AC
    Paid amount 25.000u20AC
    Something like the following is expected for document 21000003:
    Invoice 10000000
    Original amount 100.000 u20AC
    Open amount 50.000u20AC
    Paid amount 50.000u20AC
    I noticed that table BSE_CLR has a the clearing information but I am not able to create the iterations needed.
    Another thing I noticed is that, when I make Payment Usage on FB03 for a payment that was not not completelly cleared on that document, I cannot see the full payment usage. I have to go through FBL5N with the customer account number and find out the full payment information.
    Has anyone built a similar logic and can share it with me?
    Any standard function modules? Any standard transactions that show the full payment information?
    Thank you very much,
    Kind Regards,
    João Cabrita
    Edited by: João Pedro Cabrita on Aug 1, 2011 5:59 PM

    Hi:
                Clearing document (AUGBL) generated against invoice with document type AB will be an option to use for reporting purpose. No matter invoice is partially cleared or fully exhausted system generates a clearing document against it. It stores the payment usage. System should check in BSID table with reference to AUGBL if there is anything left against invoice that is to be paid or if it is fully exhausted it will be present it BSAD along with it payment usage data. I hope this will help you in developing your report.
    Regards

  • How to get A/P Invoices from PO

    Hi, I'm trying to develop a query that gave me all A/P Invoices associated
    whit a PO. Do you  know about a table that store that information?

    Hi ,
    Try this if this resolves your issue
    SELECT t1.DocDate Date, t1.CardCode Acct#, t1.CardName Company, t3.Name 'Contact Person',t1.DocNum Invoice#, t5.DocNum PO#, t1.DocTotal '$ Amt', Sum(t0.Quantity) 'Qty Pieces'
    FROM dbo.PCH1 t0
    INNER JOIN dbo.OPCH t1 on t1.docentry = t0.docentry
    INNER JOIN dbo.OCRD t2 on t2.CardCode = T1.CardCode
    LEFT JOIN dbo.OCPR t3 on t3.CntctCode = t1.CntctCode
    LEFT JOIN dbo.por1 t4 on t4.TrgetEntry = t0.DocEntry and t4.TargetType = 20
    LEFT JOIN dbo.OPOR t5 on t5.docentry = t4.docentry
    WHERE t1.DocDate between [%0] and [%1]
    GROUP BY t1.DocDate, t1.CardCode, t1.CardName, t3.Name, t1.DocNum, t1.DocTotal, t5.DocNum
    Thank you
    Bishal
    Edited by: BIshal Adhikari on Aug 4, 2009 1:32 PM

  • How to check duplicate invoice

    Hi
      How to check the duplicate invoice postings?
    Is there is any tcode to check the duplicate invoice postings?
    Kindly need your inputs?
    -Prabu

    Hi
    you can download the List of Invoices from RBKP table  usiong SE16 whcih stores the Reference invoice number , if two invoice have similar refernce number then this is aduplaicate invoice. Check the Purchase order to Verify the Same 
    Thanks & Regards
    Kishore

  • How to find duplicate invoice in Vendor..

    Hi Friends,
    I have Question in invoice duplicate are there how to see particular duplicate invoice what transaction code for this how to see.
    Thanks,
    srinu

    Your response is not clear.  Are you referring to Apple's lack of information?

  • Duplicate invoices

    Presently, Invoices in the SAP system are getting posted using XMS upload program.
    Problem:
    System is not giving error message or not stopping the XMS upload program from posting two invoices with same reference number and text description (even though date of posting is different)?
    Please suggest some ways as to how to avoid these duplicate invoices posting.
    Note: If this has to be resolved using substitution rule then please explain the exact procedure to be followed for that.

    I assume that the duplicate invoice check you are talking is for Vendor invoices in AP and LIV.
    I am not sure what you mean by XMS upload but here is how duplicate invoice check works in standard system.
    Standard Duplicate invoice check on vendor master enables the system to block duplicate (Same invoice reference, company code, invoice date, amount and vendor). If either of these differ the system allows the invoice to get processed.
    So as per requirement of our client we developed a new validation rule that checks a invoice document while posting for any duplicates accross all company codes and for vendor invoices.
    Prereq:If inv doc type is KR or RE
    Validation: In user exit
    Write code for checking same reference in BKPF-XBLNR=XBLNR and BKPF-Doc Date=Doc Date.
    If there exists same XBLNR check for
    BSEG-Posting Key=31, BSEG-LIFNR=LIFNR;  and issue the message for duplicate check.
    Note: This will still post duplicate invoices if the document date is changed. If you want to block the invoices accross all document dates remove the code of BKPF-Doc Date check.
    But understand the implication. You are telling the system to check for duplicate invoices accross all posting dates. Hence if you are looking 1 yr or 2yrs down the lane the system will slow down alot for invoice posting given that it has to check invoices accross all dates. If you have a seperate doc type for XMS upload you can control the validation by doc type.
    Hope it resolves your issue.
    Thanks,
    Sivaram

  • I need a duplicate invoice form my Iphone 5 for local reason

    How should I proceed to get a duplicate invoice from my Iphone?

    Call the place where you purchased the phone. They should have it on file.

Maybe you are looking for