Reports Generated From The Invoice Number

Hello All,
Firstly, thank you for this website, and also those who make contributions by asking questions and also answering.
So my question is, can SAP be generate a report from an invoice number which will then show which voucher for reimbursement includes that invoice number?  And if so, how?
At this moment, the only way I can know this happens is by running a report for the specific reimbursement voucher which in turn will show me the invoices that is being paid for.  However, I would like to input the invoice number which will show me which voucher the bill was paid for and which check number paid it.
I look forward to your replies, and thank you.

I should add, I do not mean a journal voucher, I'm talking about a public voucher for reimbursement from the government.
Thank you.

Similar Messages

  • How to find out the schedule agreement number from the invoice number?

    I have invoice number based on which i need to check the scheduleagreenment number
    please let me know in which table i can find the relation between these two.

    Check EKBE and EKET , EKEK

  • How to find the invoice number from accounting document number?

    Hi
    I am using the bapi BAPI_AP_ACC_GETSTATEMENT and trying to get the invoice numbers of all the payments.
    but i am unable to find the link between the accounting document number from the bapi and the vendor invoice number.
    i have tried the tables BSE_CLR, BSEG and BKPF. the field AWKEY in BKPF has the combination of BELNR & BUKRS & GJAHR when the document type is anything other than RE.
    How can i get the invoice numbers from the accounting doc. numbers?
    Regards
    Sujai

    I am unable to find the link between BKPF-BELNR and RBKP-BELNR from the bapi return values.
    XBLNR is blank when i check the table.
    the output of the bapi is something like this                                                                               
    COMP VENDOR   CLEAR_DATE CLR_DOC_NO ALLOC_NMBR   FISC   DOC_NO     ITE
                                                                                    1000    1100 ........ .........................................  20020123           2002 1900000202   002
    1000    1100 ........ .........................................20020123           2002 1900000203   002
    1000    1100........ .........................................20020123           2002 1900000204   002
    1000    1100........ .........................................20020123           2002 1900000205   002
    now i try passing the doc_no (1900000XXX) and the fiscal year (2002) and company code to BKPF
    the XBLNR field is blank. This document number sequence doesn't seem to be the accounting document number of the invoice coz that starts with 51XXXXXXXXX.
    If i try passing the number with sequence 51XXX... to BKPF i get the invoice number there in the AWKEY field.
    I am not sure what this sequence (19___) represents.
    Sujai
    Edited by: Sujai S on Nov 5, 2008 7:22 PM
    Edited by: Sujai S on Nov 5, 2008 7:22 PM

  • Use SQL function to get the original order number using the invoice number

    Hi All,
    wondering is someone can help me with this challenge I am having?  Often I need to return the original order numbers that created the resulting invoce.  This is a relatively simple seriese of joins in a query but I am wanting to simplify it using a SQL function that can be referenced each time easily from with in the SELECT statement.  the code i currently have is:
    Use SQL function to get the original order number using the invoice number
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    RETURN @OrderList 
    END
    it is run by the following query:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number here'
    The issue is that this returns the order number for all of the lines in the invoice.  Only want to see the summary of the order numbers.  ie if 3 orders were used to make a 20 line inovice I only want to see the 3 order numbers retuned in the field.
    If this was a simple reporting SELECT query I would use SELECT DISTINCT.  But I can't do that.
    Any ideas?
    Thanks,
    Mike

    Thanks Gordon,
    I am trying to get away from the massive table access list everytime I write a query where I need to access the original order number of the invoice.  However, I have managed to solve my own problem with a GROUP BY statement!
    Others may be interested so, the code is this:
    CREATE FUNCTION dbo.fnOrdersThatMakeInvoice(@InvNum int)
    RETURNS nvarchar(200)
    AS
    BEGIN
    DECLARE @OrderList nvarchar(200)
    SET @OrderList = ''
    SELECT @OrderList = @OrderList + (cast(T6.DocNum AS nvarchar(10)) + ' ')
    FROM  OINV AS T1 INNER JOIN
          INV1 AS T2 ON T1.DocEntry = T2.DocEntry INNER JOIN
          DLN1 AS T4 ON T2.BaseEntry = T4.DocEntry AND T2.BaseLine = T4.LineNum INNER JOIN
          RDR1 AS T5 ON T4.BaseEntry = T5.DocEntry AND T4.BaseLine = T5.LineNum INNER JOIN
          ORDR AS T6 ON T5.DocEntry = T6.DocEntry
    WHERE T1.DocNum = @InvNum
    GROUP BY T6.DocNum
    RETURN @OrderList 
    END
    and to call it use this:
    Select T1.DocNum, dbo.fnOrdersThatMakeInvoice(T1.DocNum)
    From OINV T1
    Where T1.DocNum = 'your invoice number'

  • My MacAir has to go in for hardware repair, and I was told that if diagnostics couldn't trigger the error, it would be returned to me to guinea pig the specifics with a log. Why can't the crash reports generated by the computer itself be used?

    My MacAir has to go in for hardware repair, and I was told that if diagnostics couldn't trigger the error, it would be returned to me to guinea-pig the specifics with a log. Why can't the automatic crash reports generated by the computer itself be used?  I would think they would be the most accurate and specific record of incidents, and could easily be identified with the computer serial number.  What am I missing in this scenario?

    What you're missing is that diagnostics software doesn't cover everything in any laptop made by anyone.
    Intermittent problems, and genuine hardware induced faults typically, or course, are hard to pinpoint.
    jet fighter planes contain 1000s of sensors and multimillion dollar live diagnostics and still can't "see" more than 60% of hardware potential faults.
    Lucky you, the Air however contains extremely few parts, there isnt much to diagnose on one.
    The Air contains 90% fewer parts than a typical laptop from a mere 7 years ago.  

  • To get the invoice number of amount applied in view prepayment applications

    hi all
    In AP abc Manager-Invoices--when we give invoice number in the invoice number field we get to see supplier name etc in the same Invoices Form there is a
    tab called General from which we can get Amount Paid ,
    Similarly there is a tab called View Prepayment Applications ,when clicked on this tab we can see Amount Applied and invoice number corresponding to that amount applied
    KIndly help me from which table or view this invoice number can be obtained
    i got amount applied from the view AP_UNAPPLY_PREPAYS_V,but i cant find the invoice number.
    kindly guide
    thanking in advance
    Edited by: makdutakdu on Dec 19, 2011 11:29 AM

    Thanks Robin,
    i was able to get a work around for this. For the time being i am using the following code snippet, i will try using the one u sent an will see if this works too.
    // create nodeinfo object for the node that table will bind to
    final IWDNodeInfo nodeinfo = wdThis.wdGetContext().node<NODENAME>().getNodeInfo() ;
    //get the structure of the node
    final IStructure struct = nodeinfo.getStructureType() ;
    Iterator iter = nodeinfo.iterateAttributes() ;
    if (null != struct)
    totalFields = struct.getNumberOfFields();
    else
    for ( Iterator i = nodeinfo.iterateAttributes(); i.hasNext(); i.next() )
              totalFields++;
    for(count = 1; count <= totalFields; count++)
         fieldName = nodeinfo.getStructureType().getField(count).getName();

  • How to make the invoice number a hotpsot in Payment program F110

    Hi,
    In the standard Automatic Payment Program F110 when we do a payment run and see the list of proposed Invoices that will be cleared - the requirement is to allow the user to double click on the invoice number and it should go to FB03 or MIR4 depending on if it is a Non-PO or a PO invoice. Is there a way to do this with out doing an implicit enhancement point.
    Regards
    Ravi

    Hi Ravi,
    I don't think it so it is possible in F110. You can copy the document number from F110 and go to FB03--Document list, paste all the document number from there you can double click on the document to see the full details.
    Br,Vivek

  • GR unit value coming from the Invoice

    I have the following situation:
    PO 100 units price 3,14 u20AC/unit
    IR: 1 unit at a price of 314 u20AC/unit
    GR: Post GR for 100 units and the system is generating the accounting doc. for a value of 624,86 u20AC, that comes from
    - 1 unit at the price of the Invoice 314 = 314 u20AC
    - 99 units at the price of the PO 3,14 u20AC/unit = 310,86 u20AC
    The total GR amount is bigger that the PO amount.
    Is this the standard SAP behavior?
    Is there a way to get only the price from the PO, not from the Invoice
    Best regards

    Yes this is standard SAP design. This situation will raise if you post Invoice before doing GR. also depends on price control in material master.
    To fetch the price from PO u must follow GR followed by posting an Invoice.
    Edited by: Sachin D C on Nov 10, 2010 3:47 PM
    Edited by: Sachin D C on Nov 10, 2010 3:48 PM

  • Service for vf02 permanently locks the invoice number

    Hi,
    I have created one service for VF02 transaction as given in this path:
    default_host
    --->sap
    --->bc
    --->gui
    --->sap
    --->its
    --->VF02
    I am calling this service in an external window browser from my Web Dynpro application.
    Problem is => if I cloase the browser window by using close button, it permanently locks the invoice number used.
    How to resolve this?
    Thanks
    -Haresh

    Hi,
    Use ~SINGLETRANSACTION=1 parameter on your ITS service. This parameter closes your invoice properly.
    Hope this helps,
    Iván.

  • Service for vf02 locks the invoice number

    Hi,
    I have created one service for VF02 transaction as given in this path:
    default_host
           --->sap
                   --->bc
                          --->gui
                                  --->sap
                                          --->its
                                                 --->VF02
    I am calling this service from my Web Dynpro application.
    But the problem is => if I cloase the window by using close button, it locks the invoice number used permanently.
    How to resolve this?
    Thanks
    -Haresh

    Hi Suman,
    I am calling Service for VF02 from Web Dynpro application as an external window, so definitely it'll lock the invoice.
    So when I close that window by close button of browser, it should unlock the invoice number, but it is not releasing the lock.
    I think It is not required to code any unlocking logic in my web dynpro application as I am opening this service in external window.
    Any further help will be appreciated.
    Thanks
    -Haresh

  • Is it possible to bring a Logo on to my report based on the company number?

    I am creating Customer Statements and need to include our Company logo. Each company has a different logo. I would like to make this variable based on the company number. Is this possible. If so, How do I do it and where would I store the logos? My data is all coming from our JD Edards system and the logos would be a PC file.
    Thanks,
    Rick

    This depends on which version of Crystal you're using.  If it's Crystal XI or Crystal 2008, you can do the following:
    1.  The logos need to be in a folder that the reports have access to.  This will probably be a network folder.  All images need to be the same size.
    2.  In your report, insert an image - you'll need to select an actual image file, so I suggest that you select one of your actual logos to get the size correct.
    3.  Right-click on the image and select "Format Graphic".  Go to the Picture tab.  There should be a section that says something like "Graphic Location" that has a button in it.  Click on the button.
    4.  In the formula editor that appears, write the code that will determine which actual image file to use. 
    You can either hard-code the locations into the report or a better option would be to have a table in your database that has two fields - something liket Company_Number and Logo_Location.  You then add this table to the report and link to it from the company number.  You then use the Logo_Location field in the formula editor to tell Crystal where to get the image.  This way if an image ever changes or if you add a company you only have to update the table, you don't have to update every report that includes the company logo.
    -Dell

  • Can I find my mac from the serial number

    HI!
    My macbook and ipad were stolen last week. I know their serial number and other information from the invoice, Can I find them?

    Not likely, only way would be if you registered through Find My...in iCloud and then only if it is attached to the internet would it show up.
    Notify the police so the serial number is in the stolen property data base...if it appears on the market people will know if it has been stolen.

  • Order from the invoice

    Friends,
    I have a list of Invoices, I want to get all the sales order of these invoices,
    How shoudl I receive this,is there any report or database view exist?
    Regards
    Prashant

    Hey Prashant,
    Goto Table VBFA and give the Invoice number in <b>follow o</b>n column VBELN, it'll give you the sales order number in <b>preceding document</b> column VBELV.
    Hope it helps.
    Priya

  • Web printing from a report generated from a bookmark

    Hi,
    I implemented the How to web printing last year.  Eveything worked fine until someone tried to print a report generated from a bookmark.  It opens the window where it shows the formatted report to be printed, but does not do anything else.  The window remains blank.  Anybody having an idea?  I am sure it is related with the bookmark stuff, but can not get the finger on it.
    Tks a lot,
    Guylaine

    Has the template that the bookmark is off of been changed?  That might be causing the problem. 
    Thanks,
    Jeff

  • Invoking C# WS from java axis proxy generated from the same WSDL

    I am trying to transparently use the same java interface for invoking a java axis WS and a C# WS generated from the same WSDL interface.
    I believe the problem may be that the .NET web service which is generated from the WSDL file, is dynamically exposing a WSDL file which is not exactly the same as the original WSDL used to generate the abstract C# class with "wsdl.exe"
    When I try to invoke the C# web service with the java axis client I get the error message:
    "Server did not recognize the value of HTTP Header SOAPAction: ."
    Any suggestions about how to be able to use the same client interface from java, to invoke a C# web service and a java axis web service supporting (i.e. generated from) the same WSDL ?

    The JNI method name in the .h file is different to that in the .c file.

Maybe you are looking for