Capturing Sales invoice no from PO number

Dear Gurus,
I'm writing a report to capture the invoice details (invoice no, sales order no etc...) when  the PO no is entered as an input parameter.
pl help...
Tks
Amilachins
Edited by: amilachins on Jul 23, 2009 12:07 PM

Hi There,
I have few doubts regarding your requirement....
1. As PO number in sales order is text field, so how you can input this and get subsequent doc?
2. If its STO or intercompany
In the later case
You have to use these tables...
1. EKKO - Purchase document Header
2. EKPO- Purchase document Item
3. LIKP - Delivery Header
4. LIPS - delievry Item
5. VBRK - Billing HEader
6. VBRP - Billing Item
Let us know if your requirement is different than this.....
Thanks,
Raja

Similar Messages

  • How to print customer Sales Invoice directly from FI module?

    Hi,
    How to print customer Sales Invoice directly from FI module without using SD's t-code VF02 and VF03?

    hi,
    only way in FI is Correspondence functionality usage. Please config it and use F.61 or F.64 to print it.
    regds,
    raman

  • Sale invoice pick same serial number in two time

    Dear All,
    issue is when i m genrate a sale invoice of particuler trator material t100001 with the serial number AM1005 dated 11-3-2008 .
    and after 11-3-2008 again dated 12-3-2008 when i create new sale invoice of particuler trator material number t100001 then system again show me same AM1005 serial number which one i m already used in pervius sale invoice date 11-3-2008
    how it can poosible if once a sale invoice genrate with paticuler serial number so why the again genrate sale invoice same serail number
    why the sale invoice pick same serial number in two time ?
    kindlly tell me how can i resolve this problem ?
    regards
    Pritpal

    Hi
    trying giving serial numbers at the time of Delivery.
    It will solve your problem
    Regards
    KRSNA

  • Sales Invoice Linked from Sales Order

    Hello Experts!!
    I want to restrict users to enter Sales Invoice Directly. We are using Sales Order But Every One Can Post Invoice Directly.
    Please Guide how to restrict them
    Thanks,
    Vikram

    Hi Vikram,
    You can restrict Sales Invoice by Putting Transaction Notification.
    Please check below Two Transaction Notification. One Transaction Notification for Sales Invoice must be Copied from Sales Order and Second Transaction Notification for Authorized User Can Create Sales Invoice.
    -----------NO STAND ALONE A/R INVOICE MUST BE CREATED IN SYSTEM
    IF @transaction_type IN ('A','U') AND @object_type = '13'and @error = 0
    BEGIN
    IF EXISTS (SELECT T0.DocEntry  FROM OINV T0 
    INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    WHERE T1.[BaseEntry] <> 17
    AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @Error = 10, @error_message = 'BK - A/R Invoice Document Must be Copied From Sales Order'
    END
    END
    Above Transaction Notification will Block Creation of Sales Invoice if that Invoice is not Created by Sales Order.
    -----------A/R INVOICE MUST BE CREATED BY AUTHORIZED PERSON
    IF @transaction_type IN ('A','U') AND @object_type = '13'and @error = 0
    BEGIN
    IF EXISTS (SELECT T0.DocEntry  FROM OINV T0 
    INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
    INNER JOIN OUSR T2 ON T0.[UserSign] = T2.[USERID]
    WHERE T0.[UserSign] IN ('1','2')
    AND T0.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @Error = 11, @error_message = 'BK - You are not Authorized Person to Create A/R Invoice Document'
    END
    END
    Second Transaction Notification is for Authorized Person can Create Sales Invoice So in User Sign Please Put User Sign of those Users who are not Authorized to Create Sales Invoice.
    Hope this helps
    Regards:::::
    Atul Chakraborty

  • Sale invoice pick serial number two time

    Dear All,
    issue is when i m genrate a sale invoice of particuler trator material  t100001 with the serial number AM1005 dated  11-3-2008 .
    and after 11-3-2008 again dated 12-3-2008 when i create new sale invoice of particuler trator  material number  t100001 then system again show me same AM1005 serial number which one i m already  used in  pervius sale invoice date  11-3-2008
    how it can poosible if once a sale invoice genrate with paticuler serial number so why the again genrate sale invoice same serail number
    why the sale invoice pick same serial number in two time ?
    kindlly tell me how can i resolve this problem ?
    regards
    Pritpal

    Hi
    trying giving serial numbers at the time of Delivery.
    It will solve your problem
    Regards
    KRSNA

  • Impact of resetting Sales Invoice Series on SAP

    Hi Sirs/Madams,
    It would be my pleasure if someone guide me in my assignment. The assignment is for "Resetting Sales Invoices Series from next Fiscal Year, impact of resetting on SAP".
    Please help me.
    Thanking you,
    Rajeshwari

    Hi Rajeshwari,
    You can use same number range (resetting the current number range) in new FY but it is not suggested. You should change number range as per FY in VN01.
    For example: For FY 2013-14 use 714XXXXXXX here 7 is showing Invoice series and 14 is showing FY
    Use this type of series you can easily identify FY of the invoice. There is no financial impact of invoice number range in SAP. Hope it is helpful for you.
    Regards,
    Shatrughan Singh

  • Reversal & clearance of sales invoice

    Dear Friends,
    In 4.7 version of SAP, sales invoice generated from SD is being reversed through VF11. In addition to reversing the document, it simultaneously clears the related customer line item in one company code. However, in other company code it only reverses the document, but does not clear the related line item.
    Can you pl. suggest solution to this problem.
    Thanks in advance.
    Raja

    the effect in FI is debit Customer acct credit Sales
    in CO- this will reduce the figures in profit center
    SD-this will need a reversal of the document..

  • Sales order number from Sales invoice

    Hello All ,
    I have a requirement in which when I am running a certain mass update program in which the sales invoice will be populated with a certain number in the Sales invoice text . However before running it I need to ensure that Sales order corresponding to the Sales invoice is updated with a certain number in the Sales order Text field  . The user will give the input SAP invoice number > I need to identify the most efficient/quickest way to find the sales order corresponding to the Sales Invoice and check if a particular field is updated or not I tried used VBFA , but it will point to delivery and time take is also more .

    Hi Nagabhushan,
    Since you say you will be given the Invoice no as an input from the user you can use VBFA table to get the cooresponding Sales order no.
    In VBFA table in the Prec.doc.categ. field enter C as the value which is Order and the system will give you the corresponding Sales Order that was created for the respective Sales Invoice.
    Hope thsi will help.
    Thanks and Regards,
    J Nagesh

  • Third-Party Order - Cost from PO incl. Freight into Sales Invoice

    Hello SD gurus,
    Had a question about drop shipments(Third Party Orders). At our company, the third-party order related PO sometimes has Freight/Customs conditions, but they do not come on to the VPRS(cost) condition on the corresponding Sales Invoice. What should I do to make them add up on VPRS?
    See sample PO conditions and history tabs below
    You can see the correct amount(including freight) shows up as cost of goods sold(in the accounting doc for its GR document) below
    But the VPRS line on the sales invoice only shows the GR amount, does not include freight/customs charges as seen below
    Is there any way I can get VPRS to include the Freight/Customs amounts as well. Please help me out....
    My third-party order copy control VTFA configuration for OR =>F2 for ItemCategory TAS, the billing quantity is currently set to F.
    Document Flow for our drop-ship orders is as follows: Creation of sales order triggers creation of a purchase requisition which in-turn gets converted into a PO. Once the GR happens on this Vendor PO the Goods Issue and Sales Invoice is triggered immediately. The Vendor IR comes last.
    Thanks and regards,
    Wayfarer

    Hello
    As per the standard Third party process, cost in the billing document will be picked from Invoice receipt of the vendor (MIRO).
    Basically here the cost determination happens from below three sources.
    1. MIRO (invoice receipt of Vendor)
    2.Goods receipts (MIGO )
    3.Purchase order
    Highest priority is given to the number 1. MIRO.
    In your both the cases, kindly check MIRO price & quantitiy.
    thank you
    Anirudh

  • Sales invoice number

    Dear gurus
    please help me
    Is there any link between material document and sales invoice number ?
    I have the Material document number, and P.O number with reference to these two document numbers
    can i find the sales invoice number ? if i can please provide me table and field.
    Regards

    Hi
    There is no direct link between the Material Doc. no. or PO no. and SD Billing No.
    However, from the Material No. you can trace the Delivery Documnet no. from the Table VBFA. Fill the material Doc. no in VBELN and select "J" in VBTYP_V field and execute , you will get the delivery document no.
    Now go to VL02N / VL03N transaction , fill the delivery no.and check the document flow, you will get the Billing No.
    Other way is that from PO history if you can get the delivery documnet no. then you may check the same from VL02N.
    Hope this will help you.
    Regards
    Amitesh Anand

  • Sales Invoice - Fixing the number of rows isn't the solution. Ideas?

    Hi All,
    I have been working on converting the standard eBS Sales Invoice report to BIP over the past few weeks. I started to use the solution on Tim's blog:
    http://blogs.oracle.com/xmlpublisher/2007/03/27/
    For those people who haven't looked this, the solution uses variables to set and calculate the number of transaction rows to be displayed on a page. Filler rows are also inserted to pad out the page should the number of transaction rows be less that the number to be displayed on a page (if using this be careful though as there is a problem with the way the filler rows work as pointed out by Mike Parr in the comments of the blog http://blogs.oracle.com/xmlpublisher/2007/03/anatomy_of_a_template_ii_heade.html).
    This solution is fine if the size of the data in the transaction row is never long enough to cause it to wrap within a column. For example, in the Sales Invoice, it is common for the Invoice Line Description to wrap 3 or 4 lines within the column. When this happens, the rows per page method goes out of the window as the number that can physically fit on the page is reduced due to the single data row spanning multiple layout rows.
    I have had a good play around with fixing table row heights but to no avail. Also had a look at some of the standard RTF templates available in the latest release of R12. but couldn't find an example where this problem is addressed. I am 100% sure that someone must have hit this before so any advice and/or solutions would be greatly appreciated.
    Perhaps the solution for this could be incorporated into a future blog post or example?
    Cheers,
    Jon.

    Yep agreed. With fixed width fonts you could determine how many characters will display on a line but there is no telling where the word wrapping will occur. Suppose you could get really clever and use the position of the spaces to determine where the wraps will occur, then work out how many rows the line will take up (gulp!). Anyway, using fixed width fonts like courier will make the report look rubbish so I want to avoid this.
    A response from the Oracle bod's wouldn't go a miss on this? Tim, et al?
    Cheers,
    Jon.

  • Error message from delivery release to sales invoice drawing of data

    cannot post parent item with child item from delivery receipt to sales invoice
    error message is ar invoice rows- warehouse code lino:0 ],'no matching records found "inventory log message"]
    any suggestions on the remedy for this?

    the Bom is sales and i've changed the warehouse code so that the parent item together with the child items would be posted from delivery note/release towards the sales invoice,i've tested it at their test database and works just fine without any errors popping out.
    ive changed specifically where they draw the child items--instead of DIY001,Ive changed it to warehouse Diy005 warehouse, while i did not changed the warehouse assigned for the parent which is coded as DIY001
    Thank you Nat for spending time to answer my query. ive got to test some more data if ever the changed of business partner name would have an effect with the transactions. the reason why i am testing it is that they have a same Bp partner code for two persons.

  • Capture the Freight charges from incoming invoice

    Hi Guru,
    The requirement is to capture the Freight charges from incoming invoice . Is it possible to capture that amount in INVOIC01 idoc.
    The Analysis what I have done is INVOIC01 IDOC type is having only two segments (E1EDS01,E1EDP26)  with Amount field . Based on the qualifier the value is getting populated . My assumption is, if we find the right qualifier for freight this may get resolved .Please let me know if there is anyother way or rigt qualifier for capturing thefrieght charge
    The FM to post is ZIDOC_INPUT_INVOIC_MRM.Pls find the attached screenshot too.

    Hope you have not read the Invoice Idoc type whcih is used for EDI invoice.
    The Invoice idoc type does not support the functionality of Planned delivery costs ( Freight )
    Please go through the link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/f50abcea3b11d194dc0000e83dd751/content.htm

  • Capture the Freight charges from incoming invoice in an IDOC

    Hi,
    The requirement is to capture the Freight charges from incoming invoice . Is it possible to capture that amount in INVOIC01 idoc.
    The Analysis that I have done is INVOIC01 IDOC type is having only two segments (E1EDS01,E1EDP26)  with Amount field . Based on the qualifier the value is getting populated . My assumption is, if we find the right qualifier for freight this may get resolved .
    The FM to post is ZIDOC_INPUT_INVOIC_MRM.Pls find the attached screenshot too.
    Pls let me know if there is anyother approach or right qualifier to populate the freight charge

    Hope you have not read the Invoice Idoc type whcih is used for EDI invoice.
    The Invoice idoc type does not support the functionality of Planned delivery costs ( Freight )
    Please go through the link
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/f50abcea3b11d194dc0000e83dd751/content.htm

  • Sales invoice number range issue..

    How to maintain the number range for sales invoice..pls revert

    Go to VOFA look up for the invoice you're using (F1 or F2) in the field "No. range int. assgt." you'll see a number  (example 19), note down that number. Now go to VN01 and look up that number and change it the way you want.
    Edited by: Jeevan Sagar on Sep 25, 2011 6:10 PM

Maybe you are looking for