Split Accouting documents while billing

Hi All,
There is a requirement to split the accounting documents when the billing is done.  i.e currently there are only 3 line items in acouting document.  The 3 rd line item has to be split 50% into another line item ( say 4th) and appended to accounting documemnts.
Kindly guide me.  I found an exit EXIT_SAPLV60B_008, but not sure it can be used or there are better ways to do the same.
Regards,
Shankar

Hi Shankar,
First find the length of the third line item like,
data: a char 10,
        b char 10,
        litm_1 type char255,
        litm_2 type char255.
a = strlen(Third line item).
b = a / 2.
litm_1 = third_line_item+0(a).
litm_2 = third_line_item+a(b).
now you have first half in litm_1 and second half in litm_2.
Regards,
Murthy.

Similar Messages

  • Configure the automatic creation of accounting document while billing

    Hi,
    Could you telme where to find the customization where you configure such that
    triggering of automatic creation of accounting document takes place during billing itself.
    Regards
    anil.

    Hi Anil,
    In VOFA Document type in General contrlo is related to Accounting Document.If it is blank the system Automatically pics RV as accounting Document.
    If posting Block is Ticked then Automatic posting will not happens.
    You need to pass to Accounting in VF02 and release for accounting(Green Flag)
    Regards,
    Reddyy

  • Error while billing document releasing to accounting.

    Hi Experts,
    Please give me possible reasons for below error while billing document releasing to accounting.
    "Valuation with material cost estimate: error with product "500258045"
    Message no. KE350
    Diagnosis
    In Profitability Analysis (CO-PA), the system tried to valuate a line item using the current standard cost estimate.
    In order to determine the current plan period, the system needs to read the valuation segment of the material master.
    The system has found that the current plan period is not filled forproduct "BDE98561002" in plant "9856".
    Display material (View: Costing)
    The system looked for the material cost estimate using costing key "ZK1", as defined in the Customizing settings for CO-PA.
    System Response
    The document cannot be processed.
    Procedure
    Contact your system administrator".
    I have checked CKR1 transaction there were no cost estimates with KF costing status.
    NOTE: Material Ledger Activated.
    Please suggest the possible reasons and what to check?
    Regards
    Chandra.

    Check the cost estimate that is mentioned against the Costing key ZK1 whether it exists in the system and as you are saying there seems to be no cost estimate for the said material.
    Hence release the std cost estimate for the said materia using CK11n or CK40n

  • Split Accounting Document on the basis of SD Billing Document

    Dear All,
    When we create an SD Invoice, system generates an Accounting Document too. Any idea as to which program / interface does this?
    Also, is it possible that I can split the Customer line item in FI Document? Please see the example below:
    As it happens in SAP
    Billing Document:
    Item 10 - Rs. 1000
    Item 20 - Rs.   500
    Accounting Document:
    Customer A/c Debit      Rs. 1500
         Revenue 1 Credit     Rs. 1000
         Revenue 2 Credit     Rs.   500
    What is required
    Billing Document:
    No Change
    Accounting Document:
    Customer A/c Debit      Rs. 1000
    Customer A/c Debit     Rs.   500
         Revenue 1 Credit     Rs. 1000
         Revenue 2 Credit     Rs.   500
    Thanks in advance,
    Shalin Shah

    Hi Shalin,
    Did you find any solution to this ?
    I have a similar requirement for one of the client as they dont want the delivery/invoice to get split from SD and we cant do FI summarization due to certain other limitations.
    The only option that I see is to split accounting document when it is getting created from Billing. I did happen to find one of the user exit EXIT_SAPLV60B_008, but unsure if it can really help solve the purpose when document clearing, debit credit notes and cancellation happens.
    Regards,
    AS

  • Split orders into different billing documents depending on exchange rate

    We are going to have a new business and process sales orders with currencies.
    As our materials have a long life cycle and for commercial reasons, users want to freeze the currency rate on the material.
    Our first analysis leads us to use the pricing date on item, to get it from the u201Csale from dateu201D maintened on the material, so SD determines the exchange rate valid at this date in the currency table (TCURR). This exchange rate is kept on the order item in the u201Cexchange rateu201D field (VBKD-KURSK).
    So we can have in the same order (and obviously for the same currency) items with diffrent exchange rates.
    Now, we would like to split the billing document depending on the exchange rate (or the pricing date is it determines the rate). My question is : how to do this ? Is there a way thru u201CCopying control: Sales document to billing documentu201D ?

    Thank you Caveman
    We have added a new routine to concatenate the exchange rate in the VBRK-ZUKRI field and it works !

  • No fi document genrating while billing time

    While billing:  No accounting doucment was generated...
    Error in account determination: table T030K key CNFX IS1
        Message no. FF 709
    Diagnosis
        In the chart of accounts to be posted to, no accounts are defined for
        the tax code you used.
    Procedure
        Contact your system administrator.
        Define the accounts to which a tax posting is to be made with the tax
        code entered in Customizing for taxes on sales/purchases.
        To do this, choose Maintain entries (F5).
    i already assingned genral ledger for IS1 tax code, but still its shoiwng error:
    could anyone can give solution???
    reagrds
    ss

    Hi Supriya,
    in ftxp screen, after you give your tax code, in the maintain tax  code: tax rates, there is TAX ACCOUNTS. Click that and it will show the details of tax accounts. Corresponding the transaction key, you should assign the gl account. after assigning gl account this error wont come.
    Assign points if it is useful.
    Thanks & Regards,
    A.Anandarajan.

  • Error while Billing

    Hi
    While billing I am getting a error "0080015167 000010 Billing Type F2 contains split crit..., n invoiced: 123456789. invoice not req"
    Can anybody provide a solution to this.

    The technical details are as follows :
    Client                                 800
    Group Number
    Sales Document Number                  0080015169
    Item Number of the SD Document         000010
    Schedule Line Number                   0750
    Counter in Control Tables              00
    Message Identification                 VF
    System Message Number                  750
    Output Type                            E
    Message Variable 01                    F2
    Message Variable 02
    Message Variable 03                    123456789
    Message Variable 04
    Group Type                             F
    What is this message variable 03 here ???

  • Different Business Area in Customer line item while Billing

    Dear Friends,
    We are on Ecc 6.0 and We have a requirement of Different Business Area in Customer line while billing. Since we had defined Business area location wise and requirement is Sundry Debtors should always book to Location as maintained in delivery plant field of sales area data in customer master.
    Requirement:- Our material is assigned to Plant 115.In customer master, sales area data -> shipping tab  -> Delivery Plant (KNVV- VWERKS), we are maintaining "112", Now while billing and while generating Accounting document account entry is
    Customer 1000.00 (Business area=115)
    sales    1000.00 (Business area=115)
    But our requirement while accounting document after billing is
    Customer 1000.00 (Business area=112), system should check and derive the same from TABLE KNVV - VWERKS(DEL PLANT)
    sales    1000.00 (Business area=115).
    Please revert.
    Regards,
    Sandeep

    Dear Friends,
    One can do the same via using a userexit.
    Regards,
    Sandeep

  • User exit or BADI while billing doc is transferred to accounting.

    Hello All,
    I've searched SDN for an issue for which I could not find any psbl help.
    While billing document is saved, according to the config of the billing type automatic posting to accounting happens and I need a user exit while/after this accounting doc is being created. I hv tried the following exits by inserting break-points but none of them work.
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line (transfer to accounting)
    SDVFX003  User exit: Cash clearing (transfer to accounting)
    SDVFX004  User exit: G/L line (transfer to accounting)
    SDVFX005  User exit: Reserves (transfer to accounting)
    SDVFX006  User exit: Tax line (transfer to accounting)
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    My purpose is to get some fields from the billing document and update them in the FI document item text.
    Please help.
    Thanks in advance.
    Regards,
    Amit

    Hi,
    In background is triggers this exit, pass your required text here to field "E_SGTXT" and it will appear in accounting item text.
    Insert your text based on the billing transaction else it should not disturb the field, since this exit is used in all place where inventory triggers
    use this user exit
    MBCF0002 - Customer function exit: Segment text in material doc. item
    hope this will help you. all the best

  • Issue with copy control of Delivery document to Billing document

    Hi All,
    I am having some issue with copy control of Delivery document to Billing document.
    I am having two line items in Delivery documetn, one is for item to be delivered to customer and other which is created due to batch determination.
    Now , when I create billing document (VF01) with reference to this delivery document , I want only one line item (for the one which needs to be delivered to customer).
    I have used following things in  copy contro from ZLF to ZF2:
    Copying requirements: 004 ( Deliv-related item)
    Data VBRK/VBRP: 007 "(Inv.Split (Rec/Div))
    Is it correct or shall I use something else, so I have only one line item in Billing document.
    Regards
    Nidhi

    Pls. search the forum.
    Pls. refer the below link -
    Line with 0 quantity for main item with batch split
    Thanks

  • IDOC-Segment Created a idoc document against Billing document

    Dear All,
    Thanks in  advance.
    Already created a idoc document against Billing document and one of the IDOC segment is not in the IDOC document output segments(WE05) actually it missed the segment.
    so i want to add the segment which it was missed during generation of IDOC document against billing document.
    Example:
    a) IDOC document misses one segment let suppose "Seg1".
    b) In "Seg1" it have only one field let suppose "Field1".
    c) But "Field1" does not have any value while generation of IDOC document so it doesn't create the respective segment in IDOC document.
    d) so here, i want to edit the IDOC document to add the "Seg1" in the IDOC document and reprocessing the IDOC document.
    Please help on this issue.
    Regards,
    Sridhar.

    Hello,
              If your requirement is to have the Segment even with only 1 Field, you'll have to create an Idoc Extension in WE30.
             In order to populate the Custom Segment, Use the Customer Function '002' in the IDOC_OUTPUT_INVOIC which is EXIT_SAPLVEDF_002 where you can actually insert the Segment as a Child Segment of an Appropriate Segment.
            You can go for Custom segment with the IDoc Extension so that you dont have to manually insert the Segment again and again while reprocessing it.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • JS CS4 splitting the document path

    I'm trying to split the document file path so I may navigate up one or two folders and then into a specific subfolder.
    When I try to split the "myDoc.filePath" it errors. If I split "myDoc.name" it works correctly.
    var myDoc = app.activeDocument;
    var myDocPath = myDoc.filePath;
    var mySplit = myDoc.name.indexOf ("_");
    var myFileName = myDoc.name.slice (0,mySplit);
    var myPdfFolder = myFileName + "pdf";
    var mySavePath = myDocPath
    var mySplit2 = myDoc.filePath.indexOf (myFileName);
    var myFinalPath = myDoc.filePath.slice (0,mySplit2) + myFileName + "/" + myPdfFolder;
    alert(myFinalPath);
    Can someone shed light on how to split the document path?
    Thanks,
    John
    Document path: ~desktop/N123456/working/N123456_01
    Note: the last folder name does not always exist. Often the "working" folder is the last folder. Working folder and N123456pdf reside on the same level.
    Goal is to change the save to document path: ~desktop/N123456/N123456pdf

    Here's some code I wrote recently to find a folder named "Snippets" starting from the location of a document. It first looks in the same folder and then its parent and on up until it reaches the top of the file hierarchy:
    //DESCRIPTION: Search for Snippets folder from Document location
    (function() {
        if (app.documents.length > 0) {
            var myFolder = locateRelatedFolder(app.documents[0].filePath, "Snippets");
            if (myFolder == null) {
                alert("Unable to locate Snippets folder");
                return;
            } else {
                alert("Snippets folder is: " + myFolder);
        function locateRelatedFolder(folder, name) {
            while (folder != null) {
                var relatedFolder = Folder(folder + "/" + name);
                if (relatedFolder.exists) return relatedFolder;
                folder = folder.parent;
        } // end locateRelatedFolder
    I've enclosed the code in an anonymous function. Don't let that put you off. You could just delete the first line after the description and the last line.
    Dave

  • How to avoid invoice split due to different billing due dates?

    Dear All,
    How to avoid invoice split due to different billing due dates for the group of  outbound deliveries?
    Thanks in advance.
    Regards,
    Niketan

    Hi,
    Thanks for the inputs.
    I want to avoid the invoice split during invoice creation through transaction VF04 for  no. of delivery documents having different billing due dates.
    I can club only 14 delivery documents via VF01 which will have the common billing date. Is there any other method of clubbing 25-30 delivery documents with different billing due dates in one invoice?
    Regards,
    Niketan

  • I am trying to split a document into multiple files and it won't let me

    I have opened my file in Adoble Acrobat Pro, for which I have a year subscription, and the option to split the document is gray (not applicable).  Why would this not be an option?  This file contains multiple docs that were merged into one for ease while emailing.  Now I need to split them back up.  Shouldn't I be able to do this with Acrobat Pro?

    Hi adminkg&a,
    It sounds like the file may have security applied to prevent alteration. Do you see "Secured" in the document's title bar?
    Best,
    Sara

  • How to avoid invoice split due to different billing dates?

    Hi All,
    How to avoid invoice split due to different billing dates during executing VF04 transction?
    I want to club 30 delivery documents with different billing due dates in one invoice.
    I am using VF04 tr for the same. However, here i cannot control the invoice split based on diff billing due dates.
    If the same thing is tried via VF01 , it allows only 14 del dcouments at a time.
    Can u suggest  abetter technique to do the same?
    Regards,
    Niketan

    I think I already explained you in a similar post to use VF04 setting the billing date as default:
    menu: settings->default data. Place  the date in field Billing Date.
    pls. reward if helpfull
    Roberto

Maybe you are looking for

  • Why did some of my apple loops disappear?

    Some of my apple loops are not showing up in my loop browser. Its not because of any options, I have checked that all out. The loops are still on my computer but they don't show up in my loop browser. Please Help. Thanks, BS

  • Tomcat 5.5 or 6.0 + JSTL 1.2 - fmt:message doesn't work (for me :(   )

    I have trolled many forum posts and mailing list threads. I'm sure this question has been asked thousands of times (in fact I've read answers and tried to implement but come up short every time). Q: How do you make fmt: message work with multiple bun

  • Convert large AVI files to MPEG4 with PE11 to reduce size

    I have a lot of large AVI files from captured VHS tapes. Computer hard disk is full. Should I convert large AVI files to MPEG4 using PE11 to reduce file size? In the future, can I import MPEG4 into PE11 for video projects? I don't want to delete the

  • Parameter not accepted in Query Generator

    Dear Experts,   i had tried customer aging report. it's working fine without parameter (m5.lastname = [0%]) but client needs parameter.  I'm badly stuck with following error 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Must specify table

  • Row-Level Security

    Hi. Currently we are running oracle 8.0.5 (client/server mode). We will very soon swith to 9iAS 3-tier web interface with oracle8i database, but before that we would like to know if row-level security or VPD is also supported by oracle8i database. Pe