How do I split billing document?

Hi,
I have a customer who only accept a certain lines per billing document. However, they want to place a sales order, regardless of its limitation in billing document.
For example, in sales order, there should be no limit of ltem lines (i.e. 20 lines). Yet, the billing document only accept 6 lines per billing document. In this case, 4 billing documents need to be created from 1 sales order.
Any help or suggestions are apprciated!

Hi Takako,
Let me recap your scenario and then i will provide the solution.
You want to split the billing document for a particular customer only with the restriction on the no. of lines.
Solution
Go to the customer master and choose 1 field which can be used enter the maximum no. of lines which a billing document can have for this customer. Whether the field has to appear in Sales Area Data or General Data will depend upon whether you want all the invoices for that customer to split on the special logic or you want only the invoices related to a specific Sales Area to split on this special logic. If the field is not availble then kindly create a new field and attach that to the Customer Master.  The new field can be created in the Additional Data Tab of the customer master.
If you split the invoices for a Delivery relevant Sales cycle it is a possibility that you will end up having 1 delivery and multiple invoice and you might stuck up into the problem of Net Weights & Gross Weights & HU splitting in the logistics process.... Therefore, it makes more sense to split the delivery also on that special logic.  You can check this requirement with respect to your SAP instance and let me know if you need this splitting also.  Currently i am only explaining the requirement of splitting the invoices only.
In a delivery related Sales Cycle, Billing Picks the Qty & Lines delivered details from Delivery Document & Pricing details from the Sales Order Document (except for shipping services related prices). Therefore the split for invoices has to be placed in the Delivery to Billing Copy Control.  Pick up the routine you are using between Delivery to Billing and make necessary modifications in the ZUKRI field.  ZUKRI field is a 25 character unique field which is responsible for additional  splits.  You can take a look at the ABAP code in the SAP Note No. 192558 which is specific to china for Splitting the invoices for a maximum value and max no. of line items per Sales Org. In your case it is not sales org based but customer based so you need to make necessary modifications in the code to bring in split data from Customer master instead of sales org.  This will provide you an idea about the split in your case.
I hope details provide by me helps for your case.
Thanks
Kapil Sharma

Similar Messages

  • How to repeat output billing documents

    Hi Guru;
    How to repeat output billing documents ; because after VF04 maintain billing due list,
    all intercompany billing doucments can not be printed throught our local printer. We are using Biling type as intercompany billing and output as print.
    Regards,
    Raj

    Hi Raj,
    Please use T-Code VF31,output from Billing
    under Message Data select the output type that you need,  enter the  transmission medium as print  and select processing mode as Repeat processing.
    And in   billing data mention the correct billing document for which you want repeat output.
    Hope Above will resolve your problem for Repeat output for Billing Documents.
    Regards,
    Sandeep

  • 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

  • Function Modules Split Billing Documents

    Hi expert,
    Does anyone knwo some function modules can help to split billing document when it exceeding the limit. I did know in IMG we can configure the max amount to split the billing documents but it doesn't help. I want some function modules which can directly use in my source coding to split the given billing documents by amount and tax rates.
    Many thanks.

    check these  BAPI's
    BAPI_BILLINGDOC_CREATEFROMDATA   and
    BAPI_BILLINGDOC_EDIT
    Use the user exit and you need to determine the amount you want to split and feed to these BAPI (the first one)..

  • 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 block creating Billing document if no accounting doc generated

    Hi,
    In Brazil, after create Billing Document a new document called Nota Fiscal is also created.
    But I can't allow creating Billing Document and Nota Fiscal if i have a problem during the releasing process of the Accounting Document.
    How Could I to do for block the creation of those documents if i had a problem in releasing the accounting document ?
    Best Regards.
    Kleyson Rios.

    HI,
    with out creating a billing document we can not expect accounting document details.
    once u create a billing document then we come to know whether accounting doc is created or not. if not created then we hav top analyze why it is not created.
    do one thing u have to check all configuration settings before creating a billing document.
    Srini

  • How to block a Billing Document Type?

    Hi forum
    I need to block the billing document type FV-Invoice Contract.
    Is there some configuration to do that?  I found VOFA where you can change billings documents, but I cant find how to block it.
    Thanks for your support.

    If I am correct, go to IMG Sales and Distribution --> Billing --> Billing document --> Define Blocking reasons --> Aassign blocking reasons to billing types.
    Right now I dont have access to SAP and hence not sure on the path.
    thanks
    G. Lakshmipathi

  • How to Copy from Billing document F2 to Credit or Debit memo?

    Hello,
    I know the Menu path for copy control of billing document to billing document which  is as follows
    SPROIMG-Sales and Distribution-BillingBilling Documents-Maintain Copy Control of Billing document--Copy COntrol: Billing Document to Billing Document where I give the Source and the target.
    Now I have a scenarion where F2 invoice has ForTrade/Customs information in the Header of F2 invoice which can be viewd through VF03->Header->ForTrade/Customs tab.
    Now that inforamtion has to be transferred to CR/DR which is now not being copied although I have set the copy controls between the billing document.
    So, can anyone help me by providing the information for the following questions?
    1.How will I acheive the copy of Foreign trade to CR/DR from F2?
    2. When I copy from F2 to CR/DR, which all information from F2 will be copied to CR/DR?
    Thanks for the help.
    Anupama Rao

    Anupama,
    The foreign trade data is copied from delivery to billing and any order doesn't contains the foreign trade data and when you create a credit memo request CR by copying F2 invoice the foreign trade data is not copied to CR and when you create a G2 invoice from CR the foreign trade data is not copied because it doesn't exists
    the optimal solution for this is to keep the incompletion for foreign trade in the G2 and L2 inovices
    Regards,
    Santosh

  • How to change  posted billing document

    Hello every body,
    I want to know how can we modify sales office field on  posted billing document.
    We want to change in mass two years of document. ( We are running on Ecc6.0)
    Regards,
    Mercedes.

    As suggested, you CAN  - technically - have a program directly update the table. However, there are two potential problems with this.:
    1. If you have application issues with this - or subsequent problems with the invoice data, SAP will not support you.
    2. A direct update will not cause statistical data (i.e. SIS structures such as S001, S004 or a custom structure) to be updated.

  • How to get vbrk_vbeln (Billing Document) from VF02 to userexit RV61AFZB

    I am using USEREXIT_PRINT_HEAD to check if a document has been cancel or not.
    But I need to get the Billing Document from transaction VF02 to the userexit.
    How can I get the Billing Document?
    I have tried to use screen field vbrk-vbeln, but it give me Field 'VBRK-VBELN' is unknown.
    Please advice, help needed urgrently. Thanks

    Rupali,
    In USEREXIT_PRINT_HEAD, i'm using both fksto and vbeln from vbrk.
    So I need to get these data inorder to execute my code.
    Below is my code:
    IF fksto EQ 'X'.
            MESSAGE e901(V1) WITH vbeln.
    ENDIF.

  • How to get intercompany billing document number

    Hi,
    I have PO number , Delivery number  for a given shipping plant and receiving plant.I want to get the intercompany billing document number.Is there any method to fetch.Can anyone suggest me how to proceed with this.Intercompany billing document number can be obtained from VBRK-vbeln for type that is VBRK-fkart = iv .But how to relate PO number and delivery number with this.
    Regards,
    Sowmya.

    Hi Friend,
    Yes you can check though billing type IV.
    Gereally in inter company billing, we generally create a customer in the receiving company. Try to know the name of the customer (generally it is one and fixed) from functional consultant, and pass to bill to party, it will help to reduce lot data.
    I thnik delivery has been created through refrence of PO.
    You can get PO and delivery number if it is stored in the text of Billing doc.
    Consult with functional guys and tell them to store these numbers.
    Regards
    Krishnendu Laha

  • How to enable ERP Billing document display in CRM

    Hi Experts,
    we are looking for a possability to show the ERP billing document in CRM WebUI. We can see this billing document ID in CRM WebUI in a sales order or a claim and it is possible to click on the ID of the document, but the system is not starting correctly the ITS Transaction in the ERP System... We only get a blank screen with the header informartion ERP: Billing Document..
    thanks for any feedback
    regards
    Marc

    Marc,
    what version are you on (CRM and ERP)?
    For issue in CRM (about PREPARE_DATA_FLOW method) you can copy this class in your own z-class make changes in prepare_data_flow method as follows and put this class in TL definition. The code is from our current CRM 7.0 system from standard class
    METHOD if_crm_ic_action_handler~prepare_data_flow.
    DATA: __gdc    TYPE REF TO if_crm_ui_data_context,
           __source TYPE        string,
           __line   TYPE        string,
           __path   TYPE        crmt_ic_ac_identify_path.
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    ********** Begin of parameter declaration ***********
    DATA icwcprocessedobject TYPE ty_icwcprocessedobject .
    DATA icwebclientborkeyparameter TYPE ty_icwebclientborkeyparameter .
    CONCATENATE
    'OBJKEY'
    INTO __source.
    CALL METHOD cl_crm_ui_ltx_cuco_access_srv=>get_instance
       EXPORTING
         iv_controller = gv_view_controller
       RECEIVING
         rv_result     = gv_ltx_cuco.
    gv_selected_entity ?= gv_ltx_cuco->get_selected_clipboard_entry( ).
    IF gv_selected_entity IS BOUND.
       TRY.
           __path = __source.
           CALL METHOD
             cl_crm_ic_activity_clipboard=>get_property_as_value
             EXPORTING
               iv_xpath  = __path
               iv_entity = gv_selected_entity
             IMPORTING
               ev_result = icwebclientborkeyparameter.
         CATCH cx_crm_bdc_no_data cx_crm_bdc_xpath_error cx_root.
           CLEAR icwebclientborkeyparameter .
       ENDTRY.
    ENDIF.
    icwebclientborkeyparameter = cl_crm_ic_aic_util=>add_leading_0( icwebclientborkeyparameter ).
    me->set_container_object(
       iv_name        = '<*MAINOBJ*>'
       iv_object_key  = icwebclientborkeyparameter
       iv_object_type = gv_bortype ).
    * Data flow is complete - set to false if data is missing
    gv_data_flow_complete = abap_true.
    ENDMETHOD.
    About ERP side. Even on our 46C system VBRK object can receive a billing document number. Not from a parameter of the method DISPLAY, but If you run into a programm for display method you can see that FM BAPI_BILLINGDOC_DISPLAY starts with BILLINGDOCUMENT = OBJECT-KEY-BILLINGDOCUMENT.
    You can check this by pressing Test button in swo1 and then press Instance button and give system a billing document number. After that execute DISPLAY method.

  • How to create the billing document without reference

    Hi,
    I want to create a billing document in R3 without any reference with sales order or delivery.
    Aare there any FM or procedure to achieve this.
    If you cna send me the sample code it will be really helpful.
    Regards,
    sasi

    Hi,
    Iam trying to use the FM BAPI_BILLINGDOC_CREATEMULTIPLE
    But iam unable to create through this.
    If you have any sample code on this.It will be really helpful.
    My scenario is,
    I have an existing floe of data
    ie salesorder--delivery-billign document.
    But my requirement is to create two billing documents point to two different sales areas.
    Sincle we already created the billing document it will not allow to create one more billing document.
    Thats why iam lanning to create the billign document wihtout any reference.
    Please help me.
    Regards,
    sasi

  • How can we restrict billing document cancellation via VF02?

    Hi,
    We need to restrict the billing document cancellation via VF02. We want to do the cancellation only via VF11.
    Any suggestions?
    Regards,
    Student

    Hi,
    Don,t allow the user to T.code VF11,control this through user authorization, he is able to do any changes in VF02 and if he tries to do cancel the document it will comes to T.code VF11 so there he is not authorized to do cancel.
    check and revert
    Regards
    Ram

  • Sd split billing document

    hi all,
    If I have to work with a flow sales order - billing (no delivery), is it possible to process different billing document for each item inserted in the sales order?
    what I hve to set in customizing??
    thanks in advance

    hi,
    In Billing, data is copied into billing documents from reference documents. You can refer to an entire document, individual items or partial quantities of items.
    For a delivery-related billing document, for example, quantities to be billed will be copied from the delivery and prices copied from the sales order.
    You can redetermine prices in billing documents according to different Pricing Types.
    Prerequisites
    You determine controlling for dataflow in SD Customizing.
    Features
    You can influence the flow of data from reference documents to billing documents using:
    Billing document types (e.g. for text or partner)
    Controlling is carried out in SD Customizing via Billing - Billing documents - Define billing types.
    Copying control for either -
    the header:
    Data on foreign trade
    Assignment numbers
    Reference numbers
    Item number assignments
    or the item:
    Quantity
    Prices
    Copying control is carried out by the system administrator in SD Customizing via Billing - Billing documents - Maintain copying control for billing documents.
    You can also use the data transport routines to influence data flow to meet your individual requirements. For example, payment terms can be copied from the customer master instead of the sales document. Controlling for this is carried out in copying control for the item in the field Data VBRK/VBRP.
    regards,
    Siddharth.

Maybe you are looking for

  • IPod Classic 80GB not recognizing Apple (genuine) Composite AV Cable

    At the recommendation of a user on here, I tried using the MB129LL/B cable to connect my 80GB iPod Classic to my TV to watch videos on my TV that only has RCA jacks (no component jacks).  The audio worked, but the video did not.  While the audio from

  • Blue spot on screen

    Hi!I have sony z2 and when the screen has black backround a blue spot is marked at the right side of the screen.I don't think it is dead pixel but something else.My phone is under warranty,is someone else experienced with the same problem?What should

  • Purchase requisition wflow

    Hi all,          i have created a wflow for pr release and i have used the standard rule 20000026 for finding out the reponsible person it is also configured properly in spro and i have also created an entry in swec for change document object banf  a

  • Concatenate columns in ALV

    Hi All I am using CL_SALV_GRID class to cretae ALV. Column size limit in this alv is 128. my daya data is of size 255 chars. Can we concatenate 2 columns of 128-128 length each in ALV display with single column header. Please suggest. Thanks and Rega

  • HTML Editor in ATG 10.1

    Hi, Can HTML editor (available in BCC) that comes with new ATG version-10.1, configurable to include other HTML tags like, table etc? and how do I do that. If not, do I need edit assets in external editor and then upload in BCC? Thanks Leena