Sale order Billing invoice history.

Hi,
I am an ABAPer. I have to create a report that displays the invoice billing history of a sales order for a particular period of time.
My final table should contain the following fields.
Invoice Date
Document Type
Currency
Invoice Amount (in DC)
Invoice Amount (in LC)
Invoice Amount (in USD)
Invoice Period
Post.Date
Doc.Date
SOW No
SOW Description
PO No
Account Manager
Project Manger
Project Code
WBS Element
City
Business Area
G/L Account
Special G/L ind.
Spl. GL Text
I need to the know the tables i need to fetch these information.
Please help!

Did you already find tables VBAP/VBAK, VBFA, VBRP/VBRK, BSEG/BKPF during your search or anlyzing FM SD_DOCUMENT_FLOW_GET ?
Nevertheless I suggest you read first note 185530 - Performance: Customer developments in SD, then post where you get a problem.
Regards,
Raymond

Similar Messages

  • Third Party process - billing date change in Sales order / Customer Invoice

    Dear Friends,
    In Third Party Sales Process , as we are aware  billing is order related billing and it will become due only after vendor invoice is received.
                   My situation is in the original sales order billing date is eg: 01.02.2009 . The subsequent vendor invoice ( Invoice receipt done based on PR --> and PO)  has a later date eg: 05.02.2009 .
    This means that the customer biling can be done only after this date.  
    How the system behaves in this case wrt to the billing date ( 01/02/2009) of the original sales order.
    Regards
    Mahesh
    Edited by: Mahesh sap on Feb 4, 2009 8:55 AM

    Hi all ,
             Thanx all for your responses . But my case is a bit peculiar . Here the vendor invoice is coming by IDoc through EDI . When EDI flow is confirmed, the billing date is pushed ahead. As per billing calendar  in CMR the customer can be invoiced only on the last date of the month. 
    As a result if the original billing date in the sales order is Feb end, when vendor invoice received through EDI , the billing date is shifting to march end .
    Is it because the date of vendor invoice is causing this?  Obviously the customer billing date falls only after vendor invoice date.
    Regards
    Mahesh

  • Sales Office copying from Sales order to Invoice ( order related billing)

    Hi
    In sales invoice (vf01) is there any field for Sales Office.
    In order related billing . how we can copy sales office from sales order to Invoice.
    Regards\Adnan

    Hi Adnan,
    In Invoice you can find Salees office filed In the Item data >in the Item Detail tab>under Sales Order Data here you can get the sales office which you enter in the sales order.
    I hope it will help you,
    Regards,
    Murali.

  • Reg:User-Exit In Sales Order to Invoice

    Hi All,
    I have An requirement that to create automatic sales order and invoice  in one go, i have used BAPI_SALESORDER_CREATEFROMDAT2 to create sales order and bdc invoice to create invoice its worked fine.
    My problem is now i got an requirement as after creating sales order it should not create invoice as such because they will manually check whether the sales order is correct then only i should proceed to invoice also they need the option to create,change,delete sales order and same too invoice how can i acheive this scenario through user exits?
    Since am new to user exit can any one tell me how to use user exits and what user exits need like this scenario?

    Hi Suresh,
    For sales order following user exits can be used. These are available in include MV45AFZZ.
    USEREXIT_DELETE_DOCUMENT : At the time of deletion of sales order
    USEREXIT_SAVE_DOCUMENT : At the time of updations or creation of sales order.
    Following are the user exits available in smod.
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    Please check this exits which will help you for your requirement.
    Thanks,
    Naveen Kumar.

  • How to create Sales order and Invoice in Foreign Currency

    Dear All,
    What are the procedures I have to do to create the sale order and Invoice in Foreign currency.
    Is it enough if I maintain the currency in the Customer Master and Excahge rate OBBS.
    or
    We have to do someting in the Sales order (Change the currency document header level)?
    Kindly explain.
    Regards,
    Mullairaja

    Dear Mullairaja
    Under customer master you can maintain currency eg. usd, eur etc. that will do.. (hope you have maintain diift. Dist. Channel for Export sales and maintain Recon A/c for export revenue.) This will copy to Sales order.
    Under t.code OB08 we maintain the Currency Exchange Rates which will help for copying control.
    Under Displaying Billing document - Accounting -  you can click on Display Currency Tab,  here you will understand the rate conversion  i.e from USD to INR.
    Thanks & Regards
    Hrishikesh K

  • Third Party Sale order Billing Before Before MM Billing

    Hi,
    In our company case . we are not dependent for MM billing . Our Sale order billing is independent and it's on the daily bases.
    i have done following changes
    item category to TAS
    VoV7 'TAS'  Billing Relevance to 'B' Relevant for order-related billing - status according to order quantity
    VTFA (Order,to,bill,copying,control)
    But when i am doing SD Billing VF01
    error messages:
    Message no. VF17  Document 15000962 does not contain any items with open quantities
    Message no VF147 1015000962 000010 No open billing quantity has been determined
    plz resolve this problem
    regard
    khurram

    we  don't want to Depend upon MM. Because, we have to update our customers ledger with creation of Sale order and PR.
    What does it mean by don't want to depend upon MM?
    How the vendor delivery the goods if you create only PR ? with ref to PR vendor delivery the goods?
    PR is not a legal document unlike PO which is legal document, in standard with ref to PO , MIGO MIRO are created.
    Also you mentioned
    note: Vender send us hard copy of desptaches after one week. so with that we invocie our PO.
    After one week how does the PO comes into picture will you create PO with ref to PR after dispatch notification comes to you  after one week by vendor then you do MIGO and MRIO?
    Please note : In  3rd party sales we have two kinds of process.
    1. 3rd party sales with out shipping notification( this is SAP standard,  settings already available no need any changes)
    Here we do the customer invoice after vendor payment only...
    2. 3rd party sales with shipping notification(here we need to do small changes as i mentioned above)
    in the process you need not to wait till the vendor payment(MIRO), as per your requirement you can bill the customer before vendor payment(MIRO)...But here MIGO is mandatory.However it is dummy MIGO( no inventory updates).
    Actualy , we  don't want to Depend upon MM. Because, we have to update our customers ledger with creation of Sale order and PR.
    Beacuse we want to update our customer ledger on daily bases.
    Let us assume you are creating customer invoice with ref to sales order and in your case you mentioned you won't do MIGO or MIRO before customer invoice creation so in this case for how much qty you bill the customer on daily basis?
    If the vendor delivery goods lesser qty than order qty then how do you manage with out doing MIGO or MIRO?
    Please answer the above questions?
    You may able to create customer invoice with ref to order with out MIGO or MIRO by changing some copy control but you can't bill the exact qty to the customer if you don't do MIGO or MIGO.
    So i suggest you to go with 3rd party sales with shipping notifications .
    Here sale order( VA01)
    PO (with ref PR).
    MIGO( dummy MIGO)
    VF01( customer invoice)
    MIRO( vendor payment)
    thanks,
    Srinu.

  • Text copy from customer master to Sales order and invoice

    Dear friends,
    when i maintain the text in the customer master ther needs to copy to sales order and from sales order to invoice.
    Can you please guide me how to do this config
    Thanks
    Raju.

    Dear Raju,
    First you need to do the Text determination for all areas(i.e Customer Sales and distribution,Sales order header,delivery header and billing header) through VOTXN transaction.
    -->Create the Customer text ID under Object KNVV
    Maintain the text for Text ID in the customer master >sales area data>Extras-> Text
    To copy the customer text to the sales order you need to keep KNVV table as Text object in the sales order text access sequence for the text ID.
    If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
    When you want to copy the Text from Sales order to delivery the Access sequence will place a role
    If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
    Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
    Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
    Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
    I hope this will help you,
    Regards,
    Murali.

  • Is there any settings in CO to stop the Sale Order or Invoice Document

    The Invoice would not post to accounting when created as the material did not have a standard cost.
    I created a cost, re-dated the invoiced and released it from VFX3.
    When I looked at the PA entries I saw that the group cost entries to PA were okay but only the cost component (raw materials) of the legal cost had posted. The legal cost of goods sold was blank. Looking at the billing document I see that the VPRS condition is showing as an error with zero value. This explains why no PA entry for it was made.
    Can anyone tell me why the condition wasn't corrected when the cost was created and why the invoice was released from VFX3 with an Condition error uncorrected.
    Is there any settings in CO to stop the Sale Order ot Invoice when there is an error in sale order or invoice.
    Thanks in advance

    Hi
    To stop the sale order in the absence of Std Cost - use exit MV45AFZB
    To Stop the invoice - CReate a Costing key in KE40 and check "Issue error msg if no cost estimate found"...
    Also, you can redetrmine your pricing during billing to update VPRS
    Ajay M

  • Sales Order Billing Block Removal after Milestone POC 100% Only

    Dear Experts,
                         My client requirement is like following.
    1.Total Milestone number is 10
    2.Each Milestone carries weightage of 10% Invoice billing.
    I want to bill the milestone which is 100% completed only.
    In SAP Standard Function what I am getting is , When I feed Actual Date in Milestone then Billing Block is removed in Sales Order Billing Plan.
    Is it possible to remove Billing Block if Milestone POC is 100% also.
    Kindly suggest if there is any User exit ocustomer exit available for that.
    Regards

    I want to bill the milestone which is 100% completed only
    This is a standard feature. Once you reach the milestone enter the actual dates and the billing block gets removed allowing you to do the billing.
    Whatever you are getting in the standard system is perfectly fine. That is how the standard system works.
    Is it possible to remove Billing Block if Milestone POC is 100% also
    Could you please explain this statement? Are you asking, whether its possible to remove the billing block without entering the actual dates even though the milestone has been reached?

  • Cannot delete sales order when invoice is canceled

    Hi guys,
    I have this problem. Proces is defined with two document: sales order and invoice. I  have canceled invoice
    with VF11 and set u201CReason for rejectu201D in sales order but status overview is not set as u201CCompletedu201D.
    I cannot delete sales order, what is the problem any idea??
    Thanks,
    Nihad

    This is overview of the status:
    Standard Order      27057                                                                               
    Sold-to             400000               proba                                                                               
    Status overview                                                                               
    5  Current hdr status         Everything rejected                                                                               
    Total processing     Open                                                                               
    Rejection status     Everything rejected                                                          
            5  Ord-related bill.st. Not invoiced                                                                               
    Invoice               90012921    14.10.2008                                                  
                   Cancel. Invoice (S1)  90012986    14.10.2008                                                                               
    Completeness         Complete header data                                                         
               Billg doc. complete  Complete header data                                                                               
    Current item status                                                                               
    ItemNo Material                                                                               
    5  000010 Otkup tendera                              1,000 PC                       Fully rejected                                                                               
    Total processing     Open                                                                               
    Reason for rejection 10 Unreasonable request                                                      
               Rejection status     Fully rejected                                                               
            5  Ord-related bill.st. Not invoiced            0,000 PC Billed       1,000 PC open                                                                               
    Invoice               90012921     10 14.10.2008               1,000 PC                       
                   Cancel. Invoice (S1)  90012986     10 14.10.2008               1,000 PC                                                                               
    Completeness         Complete item data                                                           
               Billg doc. complete  Complete item data

  • Sales order related invoice but invoice can generate only once PGI is done.

    Hi All,
    I have situation in project, we have to generate sales order related invoice. but Invoice should only get generate once delivery, Shipment and PGI is done.
    My Qus are listed below?
    1. Is that possible in Standard SAP?
    2. Is it possible by using any user exit?
    we don't want to do any Z thing in our project, so please suggest how we should handle this situation.
    Thanks & Regards,
    Sulabh

    Hi Prasanna,
    My client is a luxury car maker in UK and its complete make to order scenario.
    I have doubt
    1, Suppose Customer is ordered 100 PC , Suppose end user Trying to Raise the Billing based on the Order but system should check Delivery means PGI is done Or not , in that case supose Delivery is Done 50 PCS But at the time of Billing how you Come to know that Delivery is Happened 50 PC then again you back and See the Document flow of the Sale order
    *I my case there will always be one material with 1 quantity. so no issue of partial delivery*
    2. Same customer is ordered Multiple SO , at the time of Delivery You combined Multiple Sale Orders and Done the Partially Delivery and How come to know each SO Partially Qty that means Again you have to check
    There will not be a case of combined delivery also.
    3. IF Partially Done in Delivery level for Multiple SO , how can you raise the Partially Qty of those SO for Billing
    Thanks & Regards,
    Sulabh

  • Importing Sales orders and Invoices thru DTW

    Hi every one,
    I am facing a unique problem when using DTW to import sales orders and invoices through DTW.
    I am using the two templates- Documents and Document Lines. But the imported Invoice or the sales order(In both cases) the dicount field in the row is taking a negetive discount value. Let me elaborate....
    1. I am taking a BP which has been alloted a Particular pricelistcode in the BP Master.( say it be Purchase price).
    2. Now In the Doc_lines Template I have put the value in the price column- (eg. Rs. 500).
    3. Now the itemcode used in the template is already having a masters and the prices are also defined in SAP B1. Say the Purchase price defined for the item is Rs.400
    4.When I am importing the order/nvoice then the discount field in the row automatically takes a value of -25%, the unit price has the value Rs.400 and the Total Field shows Rs.500.
    ( this Implies that the price I have suggested to Import i.e. Rs500 is some how not taken by the system. The system takes the price defined for the BP and then adjusts it with the price suggested by the user during import) So a negetive discount is taken.
    On the other hand if the same procedure is followed for an item where the prices are not updated in the master data then there is no such problem. the unit price field reflects the price which is given in yhe template.
    please suggest a way to get out of this problem.

    Hi Debraj,
    Try the following..
    In Admin > System init > Document Settings > General Tab ..Calculate the Row total using Unit price ....... leave this  unchecked
    Also, at the Document_lines template fill the discount column with 0
    Suda

  • Reinitialize Sales Orders, Billing and Delivery (11, 12 & 13)

    Hi,
    Due to continues rollouts we need to reinitialize Sales Orders, Billing and Delivery do-cuments from R/3 into BW.
    This requires us to delete all loaded data, logs, queues etc. on the BW side - Fair enough.
    The real challenge come as we need to run the transactions OLI7BW(order), OLI8BW (billing), OLI9BW (deliveries) on the R3 side in order to fill the setup tables. Here we need to switch the "block all orders" on in order to ensure that no new documents are created while load-ing.
    In relation to the above situation I have a couple of questions:
    Is there no way of doing this in a more "online" fashion?
    What transactions are actually blocked by flicking the "block all orders"?
    Thanks in advance
    Michael Bisfelt
    Arla Foods a.m.b.a
    Message was edited by: Michael Bisfelt

    Hi Michael,
    I've seen this process accomplished without blocking orders, but instead by blocking all transactions that may in any way lock an order or related sales document.  Also, you can dramatically speed up the process of gathering the old documents by running multiple batch jobs (with different document number ranges) at the same time.  In this case, I believe you want to "uncheck" the "New run" flag.  I've seen runtimes for this reduced from over 24 hours to under 4 hours.  The important thing is that you don't want to have ANY activity that modifies or locks order documents until after the date and time of termination that you specified, otherwise you will lose data on your transfer to BW.
    Regards,
    Chris

  • Report to list manual changes to conditions in sales orders and invoices

    Hi experts,
    Is there a Standard Report to list the manual changes of pricing conditions in sales orders and invoices?
    Should be a selection on the field KONV-KMPRS.
    Please advice.
    Rgds,
    Pri

    Hi priya,
    In the Sales Order,Select Environment and then Changes to See all Changes made.
    Follow the Same procdure for Invoice also.
    There is no Standard report as such to see the changes.
    Thanks,
    Neelima.

  • Creation of u201CHeader Textu201D in sales Order and Invoice

    Dear friends,
            Can any one guide me the complete configuration settings that are required for creation of u201CHeader Textu201D in sales Order and Invoice. Please help me to overcome this issue.
    Regards,
    Bhanu.

    Hello Bhanu...
    Hope you are aware of the configurations you need to maintain for the Text determination.Anyway, herewith are the steps that may help you to accomplish your requirement.
    Text Determination procedure for sales document header:
    Text can be determined at sales document header level or it can be imported from customer master. The process is...
    Define Text types:Path: Imgsales and distributionbasic functionstext controldefine text types
    Select sales document header. Click on text types go to new entries and define text types. For Eg:Z1
    Define Access sequence:
    Select sales document header
    Click on change icon
    Click on access sequence control button under dialog structure
    Go to new entries and define access sequence number with description.Ex: 55
    Save it and exit
    Define text determination procedure:
    Go to new entries
    Define text determination procedure.Ex: ZX save it and exit
    Assign text id's to text determination procedure:
    Select your text determination procedure(ZX)
    click on text id's in text procedure control button under dialog structure
    go to new entries and maintain entries. Text id:assign text id (Z1) that we defined in the previous step
    Specify sequence No-10
    Check Reference: this indicator specify that the text is reference or copies from preceding object
    Text in obligatory: text will be displayed during copying. the value of this field specifies whether text is obligatory or not and if it is obligatory the how it is to be displayed
    Apart from this... you also have to maintain the text in the Customer master as mentioned in the previous mail..
    For this you have to maintain the customer text.Do the following steps.
    1. Go to Customer master, Choose from the Menu Extras --> Text and mention the text
    2. Then in a sales order automatically wehn you are entering that sold to party..the header message will be appearing..
    In a nutshell i would request you to check weather you have maintained the Sales-Customer text KNVV and also that you have maintained all the required customizing settings for the text procedure, access sequence etc were completed....?
    Also make sure that the text type is also inclueded in the text determination procedure of the sales document header...
    Note: If all the settings of text determination exists and still if the text is not appearing then In sales document Header Text procedure, select sales header procedure, then select Texts in procedure. Check for the Header note, No. box is checked. This check mark ensures text is to be displayed when it is copied..
    Its should be working if all the requried setting are made....
    Reward if this helps..
    Thanks,
    Safeer Rahman

Maybe you are looking for

  • Multiple Apple TV's with Movie Rentals

    I have searched everywhere for this online, and can not find a answer for this. I have two apple tv's throughout the house. If I rent a movie in the living room, can I continue watching in the bedroom, or is it only available on that one APTV? If som

  • Device Driver Installation on Virtual PC XP mode

    Hi, I am having Windows 7 Professional setup. I have installed Windows Virtual PC XP Mode on it. I need to access USB for connecting my Windows Embedded device with Visual Studio Platform Builder which has installed in XP mode. Using USB over network

  • Internal order with bught process

    Hi All, Any one please clear my point Exam. We have one Internal order for Business area A and we give the Budget for that Internal order, Now we post the same posting in that Internal order and closed the Internal order (In that Internal order still

  • Extract Single Tone Information using Flat Top Windowing

    Beginner here - Does anyone have any ideas on what would be the easiest way to create a function that would essentially perform the same function as the built in "Extract Single Tone Information.vi" only that instead of using Hanning windowing (as I

  • Eyetv 250 Program Guide

    Hello, I have just purchased an Elgato Eyetv 250. I'm wondering how, or if, I can connect into my Rogers Cable TV program guide (Canada). Could someone please help me with this? I need to decide whether or not to take the unit back to the store withi