Split bill according to plant

hi,
Can i know how to split a single sales order having materials from different plant so that it creates multiple bills according to the plant in the sales order.
Kindly reply.

This means you should have plantwise billing number ranges and hence, apply this user exit  USEREXIT_NUMBER_RANGE in RV60AFZZ and add the logic in this user exit with the help of ABAPer
thanks
G. Lakshmipathi

Similar Messages

  • Invoice Split according to Plant code

    Dear Experts
    I have requirement wher i want to spilt my invoice according to PLANT. I have created a Table using the userexit and assinged my number range object with the combination of PLANT-DOC TYPE-number RANGE OBJECT.
    Like
    1003 -  LF1 - A1 (number range object 71000-79999)\
    1004 -  LF1 - A2 (number range object 81000-89999)
    Also in copy control i have maintained at item level VBRK / ABRP - 007
    Now i m trying to create Individual billing document with each plant and i am able to generate different different billing according to my PLANT.
    BUT when i trying to create billing with delivery of two different plant say 1003 and 1004 in the same billing , system is not doing invoice split.It is creating just once invoice, infact it should split the invoice as for both the delivery i have different different plant as 1003 and 1004.
    Plz guide me as how i spilt the invoice when i am giving the 2 different delivery(with plant 1003 and 1004) into the same billing document. As of my requirement it should split the delivery and create two invoices. Instead here i am getting only once invoice.
    Thanks in Advance

    Thnx Laxmi,
    I am facing another issue plz guide
    Dear Experts
    I am trying to run a test scenario for Make to order sale's. I have created a INQUIRY > QUOTATION > and ORDER.
    Now since my PP consultant is not thre, so i am just trying to put some dummy stock -using MIGO against my sales order
    using 561-E,
    BUt System is not allowing me, "Account assingment is not carring out because of different origin"
    < So now if i give my inquiry number here, system is accepting stock against my inquiry and also i am now able to do the delivery. >
    Well,, as i understood i have made some mistake in configuration. In my Inquiry the Requirement type is Coming as KEK (Make to order configurable for my material) . Can some one guide me as how i resolve this problem.
    I am facing the same issue , if i start my scenario through Quotation > then ORder.
    Plz guide as , how i can stop the system from raising the requirement , for my Inquiry and ORder.
    I am using the Item category TAC (0002 is my item category group in my Material Master and strategy is 25)
    Thanks IN Advance

  • Organizational data for inter-company billing missing in plant 2200

    Organizational data for inter-company billing missing in plant 2200

    Dear Siva,
           This may be related to incompleteness in the inter -company billing configuration settings so go through this IMG path then do the proper settings,
    SPRO>Sales and distribution>Billing>Inter company billing>Assign organisational units by plant, here you need to assign the Sales organisation,Distributional channel and Division (sales area) to the 2200 plant.
    Now you try
    I hope it will help you
    Regards,
    Murali.

  • 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)..

  • Seperate Number Range  Goods Receipt with accordance with plant

    Hi expert
    I want to different number range accordance with plant, if 2 plant are there i need different range for both the plant
    Regard
    Nabil

    > I want to different number range accordance with plant, if 2 plant are there i need different range for both the plant
    Hi Nabil..
    If you are referring to Material Document No Range for GR/GI then plant wise numbering is not in standard sap. You have to build a customized program to achieve it.
    However you can consider GR/GI slip numbers (manual or automatic) settings to enable different numbering apart from Material Doc number if that meets your requirement. You can do this in OMC1
    Regards
    Shiva

  • How to get list of docs for particulat billing type on plant wise

    very urgent
    is there any t-code, report to look thi
    how to get list of billing docs grnerated  for particulat billing type and if possible  on plant wise also
    very urgetnt
    points to be rewarded
    eagerly waitng from sap gurus

    Dear chakri
    As you may be aware, in VF05 you need to enter either Payer Code or Material Code and then based on the selection criteria, the report will generate.  Please give the (ensure that this code is exist in billing document) Payer code and now select "Further sel.criteria" and DONT forget to enter the date in from column of "Billing docs.date".  By default, there you can see one month date range. 
    Still if you get error message, please let me know the error message.
    thanks
    G. Lakshmipathi

  • How to split text according to the textfield size

    Hi, its very urgent if anybody can help me out..... i am
    working on an e-learning course where all the text is coming
    through XML. Client is very specific about not to use scrollbar.
    They want to use more and back buttons to show the rest of the text
    (they dont want the text to be scrolled either). For that I created
    a function to part the text according to the textfield height in an
    array. (one important point is that user can change font type, font
    size anytime in between the course). Here is a bit of code
    This code is working fine, but it gives undesired output if
    we use html tags in helpText
    please help me out..... please

    Thanks FlashTastic,
    I am sorry for not being able to convey my problem....
    actually problem is not that code is not recognizing the tags but
    the problem is.... let me explain, suppose there is a tag <b>
    and </b> in xml..... code split the text so it split
    <b> and </b> too and stored it in an array.... then it
    adds the text i.e. This is a <b> sample </b> text.....
    til the textheight of the textfield is less than the ._height of
    hte textfield and finally i have a string that fits in the
    textfield perfectly and when the parted text is assigned to the
    textfield it recognize the tag and make that bunch of words or
    sentence bold and that creates the problem.... i hope that this
    time it is more clearer....
    Thanks again.....

  • Split Billing same customer

    Can anyone tell me how we can issue just one invoice for multiple sales orders when the customer is the same.
    If we have a number of sales orders for one customer, we only want to issue one invoice, but currently we are sending one invoice for each sales order.
    In our test system, I have created an order, and then created another order with reference to the first, so everything between the two documents is identical other than the sale order number itself.
    When running the billing due list VF04, if I simulate, the system proposes seperate bills. Split analysis shows this is due to different header data, namely the reference document number.  How can I fix this?  I'm not an SD person, I'm in technical support and am trying to help out, so if you do reply, please speak in layman's terms as I'm not overly familiar with this module.
    Thanks for your help.
    Angela.

    Hello Angela
    you could do the following things to check and rectiofy the error
    The setting for the split is controlled in the transaction VTFL, copy control from delivery docuemnt to billing document
    check for the document type of the delivery by going to vl03n > header> adminstrative data
    also u can know the docu,emt type of the billing by checking which document is generated when u enter vf01
    enter the delivery document and the billing document in source and target coloumns int he t code
    in header t, there is field VBRK/VBRP . the routine set here determines the split. since you are a techincal person you can set a break point and analsyse or check the code for the split cirteria
    the field VBRK-_ZUKRI influences the split criteria
    you could debug and get the right criteria
    Hope this helps
    Thanks
    akasha

  • Split Billing Item from a Delivery

    Hello! I've a problem in the invoice (VF01/VF04). I've created a Outbound Delivery with Batch Split in the item 10 that was divided (900001 ; 900002). The problem is the invoice, the item presented is the header (10) and not the division (900001 ; 900001). What can I do to obtain separately items in the same invoice? The final target is to different billing for each (different accounts for the profit), but for that I need both items.
    I've tried Copying control VTFL in the Data transfer VBRK/VBRP but unsuccessfully.
    Can someone help me?
    Thank you.

    Hello Lakshmipathi,
    The "Split analysis" it's not activated on the invoice (Environment -> Split analysis).
    Regards
    Edited by: Tiago F. Almeida on Jan 11, 2012 6:51 PM

  • Intercompany Billing and Delivering Plant

    Hi,
      I had selected a delivering plant for my intercompany billing, that was different from the one previously assigned to my sales organisation and company code. However, even after cancelling those assignments, I still cannot use my original plant to process sales orders.
        I keep getting the error message" enter a valid delivering plant"
      Could you tell me how to resolve this issue and oblige?
    Regards,
      Aditya

    Hi,
    check whther the assignemnt for intecompany settings. The Delivering plant should be asigned to the ordering Sales org and distribution channel combination.
    Prasanth

  • I want field (Credit management) is the exception field for split billing

    My system is R/3 4.6c
    I have a mistake setting in Credit Management, and I can't remove
    credit data from heading of sale order data. This error is cause of
    spliting of invoice when I use transaction VF01. If I want to avoid it I have two questions to ask expert,
    1. I should to modify pgm to avoid a billing split or NOT.
    2.1 If NOT, please tell me how to clear credit data at order document ( I try F.28 but it not work)
    2.2 If I must to modify pgm. which pgm that is modified. (From note
    36832 I don't sure how to insert what line in copy routine 360-TH split
    routine)
    Thanks you.
    Best Regards,
    Kasem T.

    Your Pages is behaving as it should. You have to add paragraph breaks to get to the line you want.
    I am not a fan of tables but in this case it might be better to use one.

  • 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.

  • Splitting Invoices according to VAT conditions

    HI All,
    We have a requirement that if a sales order has 2 materials and if one of the material is relevent for tax and the other is not then when the invoice is being created there should be seperate invoices created, any ideas?

    Hi,
    You can very well acheive this by using the split criteria in the billing document header.
    You can use some field or data in order to pass into the split criteria.
    Suppose, you have tax indicator in material master as X - taxable & Y - non taxable.
    Further you need to write a routine with the help of your ABAPer.
    For this goto tcode - VOFM - Data transfer - Billing Documents, here you write a routine as under:
    FORM DATEN_KOPIEREN_807.
    IF LIKP-VKORG = '5000'.
    TABLES :  MARC.
    DATA: BEGIN OF ZUK,
          MODUL(3) VALUE '801',
          EKGRP LIKE MARC-EKGRP,
          END OF ZUK.
    SELECT SINGLE MATNR  FROM LIPS  INTO LIPS-MATNR
               WHERE  VBELN = LIPS-VBELN
               AND   POSNR  = LIPS-POSNR.
    SELECT SINGLE  WERKS FROM LIPS  INTO LIPS-WERKS
               WHERE  VBELN = LIPS-VBELN
               AND   POSNR  = LIPS-POSNR.
    SELECT SINGLE EKGRP  FROM MARC INTO MARC-EKGRP
               WHERE MATNR = LIPS-MATNR
               AND   WERKS = LIPS-WERKS.
    IF MARC-EKGRP = 'MFG'.
    *ZUK u2013 EKGRP = MARC-EKGRP.
    VBRK-ZUKRI = MARC-EKGRP.
    CONDENSE VBRK-ZUKRI NO-GAPS.
    ENDIF.
    ENDIF.
    ENDFORM.
    you can also pass the condition type in the ZUKRI field.
    Finally you enter this routine number in copy control betn delivery & billing documents.
    This should be entered in item details in "Data VBRK / VBRP"
    Now when you create billing from delivery your invoices will be splited.
    Hope this helps you.
    Regards,
    Dhananjay

  • Billing in other Plant

    Dear all,
    We are creating a export sale order from one plant and delivery done with the same plant. But we need to bill in the other plant under the same company code.
    Is this possible?
    Regards,
    Manu

    As mentioned in the other reply, plant cannot be changed in billing.
    However, if your requirement is to bill under a different cost/profit centre or business area (of the other plant), then you can do this without changing the delivering plant.
    Based on doc type and plant, you may derive the profit center / business area in some exit and update the sales order so that the same values flow in billing and relevant financial result can be obtained.
    Cheers,
    KC
    SAP SD

  • 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

Maybe you are looking for