Billing document to Sales order No / Shipment No

Hi all,
I would like to seek help on building up a customized program to retrieve information of Sales Order No and Shipment No from Billing document which has been released to accounting document (VBRK- RFBSK=C).
Could anyone advise on how to do this?
Could I use the document flow table VBFA? ...  In which VBFA-VBELN=billing document number, and VBFA-VBTYP_N=M (Invoice)
Does anyone foresee perormance issue on this 2 tables joining?
Thanks.

Hi,
you can retrieve Sales Order Details from VBAK & VBAP table, but Sales Order number and Sales Order Item Number you can retrieve from VBRP [ AUBEL - Sales Order Number & AUPOS Sales Order Item Number ]. Based on this you can develope a customized program.
Dont Prefer VBFA because the Performance of Table is very poor which will slow down your system.
Regards,
S.Saravanan

Similar Messages

  • Create Billing Document from Sales Order (Without Delivery)

    Dear Experts,
    Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
    But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
    So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type  to meet above requirement.
    Thanks in advance.
    Best Regards.
    Ripon

    Hi
    There are two most important configuration:-
    1) In VOV8 for your Order Type maintain the Order Related Billing Document
    2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
    Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
    Regards
    Amitesh Anand
    Edited by: Amitesh Anand on May 24, 2010 5:09 PM

  • Change in document type while creating billing document from sales order

    While creating billing document from Sales order it is creating with document type RV which is standerd one but i want to change Document type.
    How can i change it?
    Regards
    Raj

    Hi
    If you use another existing document type, check that it has a number range suitable to you.  Else create a new 'z' type and assign an entirely new number range, not used in the other doc types.
    It is useful to make the FI document number the same number.  If I understand from the forums, the FI number range must be external.  Search the forum for this.  It is very useful for the Finance people.
    Kind regards
    Dawn
    Edited by: Dawn Verrell on Sep 9, 2010 4:10 PM

  • Create single billing document by sales order with division 00 and delivery with division 01

    Hello,
    I have a task to config the SAP system that would be possible create single billing document with different divisions.
    Scenario:
    1 doc: Create Sales order (division 00 - services) -> Create Billing doc
    2 doc: Create Sales order (division 01 - materials) -> Create Outbound delivery and Post good issue -> Create Billing doc.
    Sales order 1 and sales order 2 have the same:
    dates;
    custumers;
    Sold-to-party;
    payment terms;
    incoterms;
    and others;
    When I create VF01 with documents Sales order and Outbound delivery system splits in two different billing documents due to different divisions.
    I read www.scn.sap.com forums and test it DV system.
    I use and change settings in these transactions:
         VTFL
         VTFA
         VOFA
         VOFM
    But it doesn't work.
    Please give me feedback or give advices how to config in antoher way.
    Thanks a lot for your time and efforts.
    Rolandas

    You need to do configurational change and customization as recommended in the following note:-
    Note 50752 - Invoice combination for different divisions
    G. Lakshmipathi

  • CRM 7.0 Billing Document from Sales Order - Direct Billing BP

    Hi Gurus
    I have configured the SAP CRM standalone system as per SAP CRM 7.0 Help on the topic of Sales Orders and Transaction related billing.
    Created a copy of Transaction TABO as my Sales Order Transaction
    Created a copy of Item Category TANB as my Sales Item Category
    Set-up Item Category Determination based on my new Trans Type & Item Category
    Defined a Billing Unit
    In Billing defined "Transaction Related Billing After Completion" with CRM Billing for Billing Relevance
    In Billing used the F2 Invoice Billing Type
    In Billing Created a copy of TAN "Standard Item" as my Billing Item Category
    In Billing linked the New Trans Type, Item Cat & Billing Item Cat together
    Created my Product with relevant Pricing Conditions
    For my BP for the Sales Order to be created against checked the "Direct Billing" Checkbox in Tx BP in Sales Area Data
    When I create a Sales Order in the Web UI i select my BP.
    At item level I select my Product and the Quantity 1.
    I save the Transaction...No Billing Document created
    I set the Transaction Status  to "In Progress" and save ...No Billing Document created
    I set the Transaction Status  to "Completed" and save ...No Billing Document created
    When I try to create a Billing Document as a follow-up Transaction I get the following error.
    Diagnosis
    No billing document could be created for one or more of the following reasons:
    The order has an error.
    The order items are not relevant for billing.
    Delivery-related billing is required for the order items, and a delivery has not yet taken place.
    The order has been rejected, therefore, no items can be billed.
    The billing due list item for the order is blocked or incomplete.
    I suspect the Order Items are not relevant for Billing.
    How do I resolve this.
    Many Thanks
    Panduranga

    Hi Panduranga,
    Did you find the solution even I am having same question and waiting for the response..please post if you solved by yourself
    Thanks,
    Shilpa

  • Create Billing Document From Sales Order

    I have used a program from this form to create a sales order - works great. Now, all I want to do is add some code to create a Billing Document in this program right after I have create the sales order. Can anyone help.

    check this thread.
    Re: BAPI for creating sales invoice

  • Automatic Billing Creation Through Sales Order Output Type

    I have requirement to create Automatic Billing document when Sales Order has been created.
    Any Suggestion.
    Regards
    Vijay Maurya

    Hi,
    it is not supported by standard SAP.in cash sales and rush orders, delivery will be created automatically because of the settings assigned in their respective sales document types.u please check VOV8 t-code.go to the details of BV(CS) and RO.there, Create Delivery field is there and shipping conditions should be 10.
    for ur requirement, u contact ur ABAPer and ask him to put one field like Create Billing Automatically in ur sales document..then it may be possible..
    hope it helps..
    regards..
    yogi..

  • After giving billing block in sales order still able to bill the document.

    Hi gurus,
    I created one milestone billing and assigned to item category and sales document type.
    in billing plan i had given billing block and also 2 proposed dates.
    now when i am creating sales document system is coping all the information from billing plan.
    it has billing block also
    but when i am creating billing document with referance to sales order its not blocking.
    in copy control i made the same setting as we had in credit memo request to credit memo.
    on credit memo request it is working properly but in my order its not working
    so can any body will help where i was getting wrong.
    regards
    Raj.

    Hi,
    I think system will not allow you to do billing.
    Can you check billing block field in sales order Header / Item. Billing plan tab for your billing dates.
    If billing block is there to billing dates, then you can't do billing.
    Otherwise, do not  maintain default billing dates in billing plan type OVBM. Try to maintain billing dates in sales order manually.
    In sales order creation, go to billing plan tab enter billing date and %, system automatically defaults the billing block and billing type and billing amounts.
    I hope you are using milestone billing percentage base.
    Regards,
    Chandra

  • Billing date in sales order should not be modifiable to backwards dates

    hi gurus
    I have a requirement where in few users while creating a sales order , they should not be able to modify the billing dates to previous dates . So that particular field shd not be modifiable . Could use some help here .
    Regards
    JNM

    Dear JaganNM,
    While creating the billing document in VF01 the billing date will be changed manually by the user.
    This change will not applicable in sales order.
    Once you save the billing document you can't change the billing date in sales order ,it will be graded out.
    Before saving the billing document only the date can be changed in sales order.
    Let me know if you have any further clarifications.
    Thnaks&Regards
    Raghu.K

  • How to assign/unassign a finance document in sales order

    Dear experts,
    At billing tab at line item in sales order, a finance document (a letter of credit in this case) can be assigned. I would like to know
    1. how to assign and unassign it
    2. is it possible to "deactivate a letter of credit" meaning that the letter of credit (already created) cannot be assigned to SD documents.
    The field "Financ.doc.no." in VA02 is disable, so it cannot be changed.
    Your suggestion would be appreciated.

    Hi,
    1. how to assign and unassign it
    If you have created a financial document in the transaction Vx11N, then you can assign that to the sales document item or to the header using that field in the billing tab. You need to have the "Paym.guar.proc." field fill before doing that.
    To un-assign it, you can simple remove the value from that field, before you create a delivery / billing for that sales order line item.
    2. is it possible to "deactivate a letter of credit" meaning that the letter of credit (already created) cannot be assigned to SD documents.
    Yes, in the Financial document type configuration you have a configuration option to setup validity periods. During LC document creation using transaction VX11N, you can give a validity period. Based on the validity dates system will issue an error message, if you try to assign an expired LC.
    If you want to see how this should be configured, check below link;
    [LC|http://www.learnsaptips.com/2011/09/how-to-handle-letter-of-credit-in-sap.html]
    Best regards,
    Anupa

  • How to Restrict save billing document if sale rate is zero

    Dear Expert,
    Please tell me how to restrict save billing document if sale rate is zero.
    Regards
    BK GAIKWAD

    Sir,
    Many times in sales order old price has been available, (which is closed through VK12) when we have update the pricing in billing document it has been removed but billing document has been saved, we have restrict it. Please help
    Regards
    BK GAIKWAD

  • Setting up Billing Block for SALE ORDER during Invoice cancellation

    Hi,
    I have a requirement where in i need to set the billing block(VBAK-FAKSK) while saving Invoice cancellation document. Please suggest some user exit or BADI during Invoice save so that i can set the billing block in sale order header data.
    Thanks in Advance,
    Raghav
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 12, 2011 2:59 PM

    Hi,
    You can try TCode V.00
    This transaction when executed will give you the list of all the sales documents blocked for delivery per sales organization. There are various other criteria which might be useful. This transaction will allow you to edit each sales document.
    If this is not the one that you want, then perhaps you might have to develop one.
    Thanks
    Mukund S

  • Mass Removal of Billing Block at Sales Order item level

    Dear Experts,
    Does any one know how to remove billing block at sales order item level at mass level ?
    Is there any standard t code for the same. Kindly let me know the same
    thnx in advanve
    regards,
    Sagar

    Hi Sagar Wagh,
    I want to make a little correction,
    Go to T-code V.23
    Give your criteria like
    Sales organization
    Distribution channel
    Division
    Then in the last of screen there is check box Delete billing block
    check this box and excute
    System will ask you
    Do you really want to delete billing
    blocks for all docs. to be selected?
    Click at yes
    System will show you the list of all documents
    Select all and Click at Delete billing block
    System will delete the billing block in one go from all the documents.
    Regards,
    MT
    Edited by: M T on Feb 23, 2010 6:03 PM

  • Get Billing Status of Sales Order

    Is there any FM that will return the Billing status for a Sales Order directly without having to go through the Delivery or document flow? I just want to know if the sales order has been completely invoiced.
    VBUK has the Billing status info only for the Delivery.
    Any help is greatly appreciated.
    Thanks.

    Hi Pallavi,
    You can select from database view WB2_V_VBRK_VBRP2 (join on VBRK and VBRP), and mention the selection criteria as: sales order number equals AUBEL_I and sales order items equal AUPOS_I, FKSTO equals space (this indicates the billling document hasn't been cancelled) and SFAKN equals space (this indicates the billing document is not a cancellation of another invoice).
    If in the result of above select query has billing doc items corresponding to every sales order item, this means every sales order item has been billed, hence the sales order has been billed completely.
    Regards,
    Birendra

  • DP91(RRB) Restrict DMR Billing value to Sales Order Net Value

    Hi Experts,
    My Requirement is, while creating a DMR using transaction DP91 (Resource Related Billing), I need to  restrict the DMR value to the sales order Net Value. i.e If there are already billed DMR'S we should check all the billing documents value, sum it up with present DP91 billing value (Say X). Check it against Sales order net value.
    IF Sales order net value is more than already billed value or to be billed value(X), then optimize the DIP items within available billing value (Planning to use bin packing algorithm) and postpone remaining items for next billing cycle.
    If Sales order net value is less than already billed value or to be billed value(X), postpone all DIP items for next billing cycle ie dont allow any billing.
    I found the Enhancement AD010007 Change DI Processing Information (EXIT_SAPLAD15_015). But it triggers for each item and here sales order related data is not available neither all DIP item data. All DIP data is flowing from WBS assigned in Sales Order item into DP91.
    Regards,
    Mahesh

    Hi,
    You can make use of data transfer routines in copy control from billing document to sales document.
    Data transfer routine - 403 (FV45C403) is used for copying billing plan dates from from a reference billing document into the target document.  This routine can be assigned to the FPLA copy rules for the item category from a billing document to a sales document.
    You may enhance this routine to add net value field to be copied into credit memo document. In your case, net amount (100) can be pulled from invoice into credit memo document. 
    Regards,
    Vaibhav

Maybe you are looking for

  • How to the link/path of the file being uploaded

    Hi all, I am uploading a CSV file in apex3.2 and would like to store the actual path of the file into a custom table. I get the file name as F26222/my_filename.csv from the FILE BROWSE apex item. How can I capture the path also? Thanks in advance. Mo

  • Conecting iapple tv to non hdmi tv

    Does anybody out there know if there is there a HDMI to component converter out there that will enable me connect my apple tv 3 gen to a non HDMI TV with a RCA coponent video inputs? Thanks

  • How can I play a .MPC in iTunes?

    Or a free converter?? Thanks =)

  • Exception 'CX_RSR_X_MESSAGE' was raised when doing the Change Run

    Hi , Change Run is not happening and it is throwing runtime error "The exception 'CX_RSR_X_MESSAGE' was raised, but it was not caught anywhere  along the call hierarchy." When ever I am trying to "Monitor and Start Terminated Change Runs" the same er

  • 22 GB missing in my Satellite l655-s5105´s hard drive

    Hi, I bought last december a Toshiba satellite L655-s5105 which has a 320 GB hard disk. The disk is a Toshiba MK3265GSXN that in fact has 320 GB. However, In my disk I only see as available space 284 GB. When I use the computer management tool I see