One billing document for many deliveries

We want to be able to create one billing document with detailed line items of many deliveries. It will be based on the PO. Does anyone know of a way to do this?

Hi Dave,
You have the option of using customer-specific data transport routines in the copying control of the relevant document types which initialize the corresponding fields. However, the information contained in these fields is then lost in the billing document.
This can be done with t-code VOFM.
You can copy the existing one and make change.
Below is a sample.
FORM DATEN_KOPIEREN_6XX.
  VBRK-BZIRK = SPACE.      
  VBRK-KDGRP = SPACE.                    
  VBRK-KONDA = SPACE.                    
ENDFORM.
Hope this helps you.
Regards
Jean
Please reward points if it is helpful for you.

Similar Messages

  • One billing document for multiple deliveries which are for different PO

    Hi All,
    I have a scenario where i need to create one billing document for multiple deliveries.
    Payer is same
    Ship-to is same
    PGI date different
    Sales area is one
    PO different
    In standard SAP it will create seperate billing document for different PO
    Please advice if there is a different copy routine which will combine all the POs in one billing document.

    Hi Mr. Bhat,
    Go to VTFL --> Select the combination of your delivery type and billing type --> Double click at Item(Left side) --> Select your item category --> Click at details
    In the feild "Data VBRK/VBRP" --> I think the routine assigned is 601 (Inv.split - PO Num.) --> Now change it to 3 (Single invoice)
    Then try your process, Hope it helps.
    Regards,
    MT

  • One Billing document for multiple Dilevery Documents

    Dear All,
             I m trying to generate one billing documents for multiple dilveries documents with Tcode : VF04. But it is generating billing documents for all the delivery documents.  M i missing any configuration or some thing like that.
    Suggestions?
    Regards,
    Vikas

    Hi Vikas,
    after you created the billing document there is one menu option protocol. If have it not 100% in mind and i am note able to test it for the moment.
    T

  • Two FI documents for one billing document.

    Hi,
       This problem occurs rarely. We do VF04 and generate billing documents. Some billing documents thus generated were not found as actual billing documents by looking at VF03 but are posted in FI in the corresponding company code. When we see these documents in FB03, the header of the document indicates that they came from billing and are not manually posted in FI, thus indicating that billing ran, the FI document was processed, but the billing for some reason failed to be saved in SD. For each of these FI document which do not have a corresponding billing document in FI, there is one more billing document which is existing with the same billing amount and references the same details. It has a corresponding FI document too. So, the crux of the issue is there one only one billing document and two FI documents.
    SAP service has given an OSS note 92592 to find out all the orphaned FI documents and then a way to reverse these documents. This is sort of a workaround. But the root cause for this issue is not found. The note also says the following..
    "In one of the function modules called by FI/CO interface, a 'commit work' is performed.
    A 'commit work' can, for example, be triggered in a Native SQL or result from an RFC.
    A commit work is not allowed here.
    The commit work should not be performed until the billing document is transferred to the update program."
    I have gone through most of the custom codes written by us in the SD billing and FI accounting areas. None of the custom codes use 'commit work' staements. Since this issue doesn't happen frequently, we understood that this is due to a 'commit work' problem in the database but are unable to nail down on the exact piece of code.
    Any suggestions/ideas or experiences of similar instances, please share.
    Regards,
    - Raja.

    Hi Raja!
    Explicit commit work wasn't very likely (but of course you never know). Now you should extend your search for the implicit commit works -> database commit.
    "Database commits are triggered either implicitly or explicitly in an SAP system.
    <b>Implicit Database Commits</b>
    The implicit database commits in an SAP system are caused by the fact that the SAP system is logged on to the database system via its work processes . A work process can only ever execute a single database LUW but cannot interfere with the database LUWs belonging to other work processes. Since an ABAP program can be executed by different work processes during its runtime, the database LUW for the current work process must be completed each time an action takes place that leads to a change of work process. As a result, a database commit is performed implicitly in the following situation:
    Completion of a dialog step
    The program waits for a user action and does not occupy a work process during this time. The next free work process is assigned to the program in the next dialog step.
    Calling a function module in a synchronous or asynchronous Remote Function Call
    The current work process hands over control to a different work process or system.
    Completion of a function module accessed with a synchronous Remote Function Call in a separate work process
    The calling program is assigned a new work process.
    Execution of a RECEIVE statement in a callback routine specified in an asynchronous RFC
    The current work process is interrupted so that the data can be received from the other application server.
    Interruption of the current work process with a WAIT statement.
    After interruption, the program is assigned the next free work process.
    Sending error and information messages and warnings.
    These messages interrupt the current dialog step (see above).
    <b>Explicit Database Commits</b>
    Database commits can be triggered explicitly in ABAP programs in the following ways:
    Use of the corresponding database-specific native sql statement.
    Calling the function module DB_COMMIT.
    This function module, which has no parameters, encapsulates the corresponding native sql statement.
    Executing the open sql statement COMMIT WORK."
    Maybe there is somewhere a wait or sometimes a RFC is called - that are the most likely implicit commits.
    Also calls of standard FMs can contain dangerous coding - include calling of 'bigger' standard functions into your search (not something like 'MARA_SINGLE_READ', but all BAPI).
    Regards,
    Christian

  • Multiple Deliveries into one Billing document

    Hi Gurus,
    Can any of you provide me the process how to combine multiple delivery documents into one Billing document.
    .Thanks
    Yuvraj.V

    Hi
    Payer
    Payment terms
    Billing date or billing due date
    Destination country
    Billing doc type
    Incoterms
    Actual GI date
    Foreign data trade
    If these are same in all delivery documents they can be combined into single billing
    This is controlled in copy controls in VTFL choose del type and billing type and your item category
    In that VBRK/VBRP if you choose 001 combined billing will happen
    In VF04 you can do the billing or in VF01 you have to input all the delivery nos manually and do the combined billing
    The same qn was posted by you on NOV 21st with so many replies?
    Why are you posting again and again?
    Pls close the thread whereever possible
    Regards
    Raja
    Edited by: ramanathan raja on Dec 14, 2008 5:00 PM

  • Preventing billing split for multiple deliveries (over-riding billing date)

    Hi all,
    I have multiple deliveries which should be invoiced into ONE billing document. The only difference between the deliveries is the billing date, which is why it is splitting.
    I am therefore copying routine 001 and in VOFM and adding this code to the end of it:
      vbrk-fkdat = sy-datum.     "prevent split due to difference in billing date
    This is great and working fine because when I have 2 deliveries with diff. billing dates, it will take todays date. The only problem is when:
    1. Billing for a single document (dated 11/08/2011), it will over-write it and set the date to today (17/08/2011)
    2. Billing for 2 documents with the same date
    What is the best way around this?
    Thanks

    Dear Pistols123,
    1. Billing for a single document (dated 11/08/2011), it will over-write it and set the date to today (17/08/2011)
    Here can't you write the code to check whether there is only one billing document, if so omit your code for the date manipulation.
    So that system will not assign system date, but will take the orginal date (actual good issue date or billing date entered in vf01)
    2. Billing for 2 documents with the same date
    write the code to check whether all the billing documents have the same date , if so omit your code for the date manipulation.
    So that system will not assign system date, but will take the orginal date (actual good issue date or billing date entered in vf01)
    Thanks & Regards,
    Hegal K Charles

  • Combining two sales documents  into one billing document

    Hi Friends,
    I need to combine two sales document into one billing document. Header data is same in both sales document.
    I have set factory calendar in the payer master.
    Tried for data transfer rotine at copy control of item level. But was not sure which routine to be set.
    Please let me know, what all settings are required to create one combine billing document.
    Regards
    Suman

    Hi,
    Is it delivery based billing or order based billing?
    2 orders / 2 deliveries and 1 invoice.
    For the above situation you need to write a routine which eliminates document number difference for Reference and Allocation.
    If you do not have different customer purchase orders for these two sales orders and in your copy control from delivery to billing your assignment and reference numbers are blank then system will club these deliveries and create one sales order.
    Else you need to eliminate these by writing a copy control routine and assign it at the header level.
    Hope this helps.  Pl. revert in case of further clarifications.
    Thanks
    Krishna.

  • Taking ref. more than one billing documents during creating sales order

    Hi everybody,
    During creating sales order with reference, how can i take reference more than one billing documents?
    Thanks.
    Best regards.
    Kaan Özdöker
    Astron

    Hi all,
    Thanks for the helpful answers. I realized after your answers, my question was misunderstood.
    Ok, i can refer to billing documents one by one in the sales order creating screen i know, but i want to refer to many billing documents at once.
    In this mean, Srinath'a answer was very helpful. As i thought there is no other way except user-exit modification or new routine.
    Thank you all.
    Best regards.
    Kaan Ozdoker
    Astron

  • Need Single Billing Document for Materials and Services in Sales Order

    Hello Friends,
    I am selling FERT items and DIEN items in the Sales Order.
    Document flow as follows:
    Finished goods - Order-Delivery-Billing
    Services - Order-Billing
    In this process 2 seperate billing documents are created
    i.  Delivery Related Billing document for Finished goods.
    ii. Order related Billing document for services.
    I want to create a single billing document for both the items (FG & Services) in the sales order.
    Please suggest.
    Thnx.

    Sorry for the delay friends.
    Somebody suggested me to make services 'relevant for delivery' to ensure single billing document.
    What I did were the following steps:
    1. Copy Item Category TAD to ZTAD and make is 'relevant foir delivery'
    2. Assign Item Category ZTAD to Sales Order type and Item Cat Group 'LEIS'
    3. Go to Deliveries Item Categories and through new Entries add ZTAD. Make ZTAD relevant for Picking.
    4. Go to copy control 'Order to Delivery' and insert ZTAD in Item Categories relevant for this combination.
    Now when I create sales order with materials and services, they pass over to the delivery document and in the Services item, storage location/plant is greyed out. Only the picking quantity is required to be filled.
    PROBLEM :
    I am not getting the price of Services item in the billing document.
    Billing document copies all line items (tangible and intangible) from Delivery Document
    It takes the services item details/quantities etc. to VF01 but the price comes '00.00'
    Any suggestions.
    Is this legally viable? Someone told me its not legally correct.
    Thanks.
    Mohammed

  • F110 - One payment document for numerous vendors

    Hi,
    I know it is possible to create in F110 one document for all payments for one vendor.
    Recently I was askedy by Finance to allow to create in F110 one document that combines payments all vendors open items that have the same payment method. I have never had such requirement before.
    Is it possible and if yes how can I set it up?
    Many thanks,
    Karol

    Hi,
    The requirement is not feasible practically, as if you create only one payment document for all vendors with same payment method, how will you pass on the payment data to bank for making payment to different vendors. (as each vendor would be having different bank details.)
    In case you do not want to pass on the payment data to bank, and just want to make posting in FI for payment, then you can link all the vendors to a head office vendor (Head Office - Branch Concept) and can then make a single payment document for all the vendors linked to the main vendor.
    Regards,
    Gaurav

  • Cancel one billing document through VF11

    Hi Gurus,
    My client does not want to cancel more than one billing document at the same  time. Can I know which user exit can be used to restrict to cancell one billing billing document through VF11.
    Regards,
    Rakesh

    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy).
    USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    User exits for program SAPLV60B (Interface to accounting):
    EXIT_SAPLV60B_001: Change the header data in the structure acchd
    EXIT_SAPLV60B_002: Change the customer line (accit and accccr)
    EXIT_SAPLV60B_003: Change the customer line in costing
    EXIT_SAPLV60B_004: Change a GL account item (accit and acccr)
    EXIT_SAPLV60B_005: User exit for accruals
    EXIT_SAPLV60B_006: Change the control line (accit and acccr)
    EXIT_SAPLV60B_007: Change the installment plan
    EXIT_SAPLV60B_008: Change the transfer structure acccr, accit and acchd
    EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
    Regards,
    Raj

  • Order related item and delivery related item in one billing document

    Hi Experts,
    how can we include order related item and delivery related item in one billing document .
    Please give me the configuration logic .

    Hello,
    1)Reference Document Number VBRK-XBLNR.
    In transaction VTFA and VTFL at header level setup the field 'Reference number' so that it is the same (example 'E')
    2) Payment Reference VBRK-KIDNO
    It should be a consequence of the split, and not a cause. So you can ignore it
    3) Billing date for billing index VBRK-FKDAT
    In sales order and delivery you should set the same billing date. Alternatively, the the first screen of VF01 please set a Defailt billing date
    4) Customer purchase order number VBRK-BSTNK_VF
    It is necessary that sales order to be billed and sales order referenced to delivery to be billed have the same purchase order number. There is not other way.
    5) Assignment number VBRK-ZUONR
    In transaction VTFA and VTFL at header level setup the field 'Assignment number' so that it is the same (example 'E')
    6) Translation Date
    Same solution of point 3.
    Best regards,
    Ivano.

  • How to Create a Billing Document For SalesOrder

    Hi Guys,
    Any one please Explain me how to create a Billing Document for salesOrder. give me step by step procedure so i can easily understand the terms.Thanks in advance.
    Thanks
    Kiran.B

    Hi Kiran,
    Normally a billing doc is created after a sales order-->delivery.
    U can create a sales order w.r.t a Contract or another sales order.
    In your case, its possible only for sales Returns.
    pass billing doc number to ORDER_HEADER_IN-REF_DOC in BAPI_SALESORDER_CREATEFROMDAT2.
    Reward points if helpful
    Regards,
    Hemant

  • How to find IDOC no with reference to one billing document no

    Dear all,
    Can you please tell :
    How to find IDOC no with reference to one billing document no
    Thanks

    Hi Pavan,
    You are absolutely correct.  But what i need to know is sometime , even in the sales order there will be no output type (basically inbound) which can be found as suggested by Sunil - I think that is the most relevant way to find the IDOC no. Hope you will agree with me. Again how to activate by IAN is also guides the idea. Only thing we need to know the exact parameter to be maintained in own data.
    Thanks for your one of the valid suggestion.
    Regards,
    Ranjan

  • Can create twice billing document for the same delivery in STO

    Hi experts,
    I donot have problems in Standard Sales order when I create billing doc via VF01. When I try to create another billing doc in VF01 for the same delivery it says error, as the item is already invoiced.
    This is correct. 
    But while creating invoice for STO order, system allows me to create more than 1 billing document for the same delivery. If we accidentally or purposefully create it allows to create many.
    Could you let me know where in SPRO (IMG) I can control this?
    Thanks,
    Pri

    Hi
    STO billing if it is intercompany STO followed by IV billing type you can create only once
    No special settings reqd to achieve this as you bill  (IV billing type) the delivery the first time, the delivery status gets completed
    If Intracompany, the billing type is proforma invoice F8  and this can be created as many times as you wish as proforma doesnot update accounting
    if your issue is this
    Even this also if you want to restrict only once then try with copying requirenments 311 at item level (i hope standard item category NLN is used) in VTFL between header NL to F8
    Regards
    Raja

Maybe you are looking for

  • Purchase order description needs to be changed

    Hi We have a generic material database for particular type of materials. This material is then mapped to a huge database of unique materials. (We are a retailer and sell 30 milllion plus articles (materials). Hence this mechanism). Those that we main

  • None of the programs of cc is working

    Hi there people! I installed an ssd in an imac and now none of the programs of cc is working: they give the rainbow wheel of death and i need to force quit all the time... Thunderbird starts up but if i want to reply to a mail it also freezes... Anyb

  • Error message when exporting as html

    Does anyone get this message when exporting to html? MuseJSAssert: Error calling selector function:SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "null" from accessing a cross-origin

  • Cannot scroll in Soundtrack Pro 2.0.2 Bin

    Whenever I try to scroll through files in the Bin in a Soundtrack project, the Bin seems to refuse to update. I can unfold clips and folders to show their contents, but as soon as I try to scroll it either refuses to do so, or scrolls into a blank ar

  • Fast motion effect

    I am wondering how to make fast motion effect. The idea is to make from long video appr. 40 min (it is processing of printinting on 3d printer) short video. But it should be visible how it "grow" layer by layer.I tried already normal fast forward. Lo