Grouping of Billing Docs.

Hi abapers,
The current functionality of creating a single
sales order & invoice with many detailed line items creates the correct financial documents. However the 'print' if the invoice should show
the sum off all lines and the markup line, so basically 2 lines.
In short:-
A. This is for invoice split of type ZSRC and ZSRD. The invoice should split if VBKD-IHREZ_E (cost center field)is different at line item level.
There is a field VBRK-ZUKRI (Combination criteria) which can help here.
B. If there are 5 line items with 4 as expense material (100000001) and have same cost center (VBKD-IHREZ_E)  and 1 as Markup material (100000005) with also the same cost center (VBKD-IHREZ_E) than in the invoice output (PLI1 )  there will be 2 lines i.e one as a consolidated line for     Expenses and another one for Markup.
1. The functionality is applicable for SO Types ZSRC and ZSRD for Sales Orgn PL01.
2. If there are 5 line items in a SO with different Cost centers than there will be 5 invoices created for that particular SO.
3. If there are 5 line items in a SO and 2 are with same cost centers and rest 3 are with different cost centers than there will be 4 invoices created (1 with same cost centers and 3 for different cost centers)
4. If there are 5 line items with 4 as expense and have same cost center and 1 as Markup with also the same cost center than in the invoice output (PLI1 and PLI2)  there will be 2 lines i.e one as a consolidated line for Expenses and another one for Markup.
5.This is applicable for customer Z999994 and Expense material as 100000001 and Mark up material as 100000005.
I need to find an userexit for billing to achieve this above funtionality for billing docs when created. Thanks in advance.

  i am getting a report for billing docs by using the tcode VF05N, in ecc 6.0, but the same t code is not working in 4.7 version,
The "n" notifies - a "new" transaction - that one is not available on 4.7.
can any one wl tell me, what is the OSS note no to get the same report in 4.7 or any other options to get a simmilar report
VF05? (without the ´n´)
Markus

Similar Messages

  • Account determination error in FI doc during SD billing doc posting.

    hi,
    when I create one billing doc ref to s/o,
    I check account determination in condition type:
    G/L account no.: 110000
    Provision acc.   : 120000
    in FI doc,
    should debit 110000 and credit 120000
    but current status is credit 110000 and debit 120000
    Please help.
    Thanks.

    Hi,
    One of the following could be the reasons for the Account determination error.
    Please check.
    1.Incorrect account assignment group entered in the customer and material master
    Resolution:Maintain correct account assignment group in customer and material master,Eg.External Domestic,Z1 - External Foreign,Internal Foreign,etc,.
    2.GL account not extended to the respective company code.
    Resolution:Extend the required GL account to the company code.
    Regards,
    Sophia Xavier

  • Difference in Billing doc value & MCSI report

    Hi Gurus,
    What could be the difference in value between the billing value & the MCSI report?
    Regards,
    Kumar

    Hello,
    MCSI is based on infostructure and updated on the execution of transaction.If at the time of creation of billing document ,you have not configure the billing doc type,item category and not assign the proper update group to them then MCSI will not be updated and later on you will find the difference in MCSI nad total billing value.
    Sunil

  • ISA: Billing doc search

    Dear guru's
      The Billing doc search in the ISA searches both open and closed billing docs(Invoices, Credit Memos). How do I restrict to get only the open items in the search.
    Thanks,
    Vivek.

    Hi Vivek,
            Use the following logic.
    Note : lit_isu_cont contains the list of isu contracts,lit_isu_cont-lv_vertrag.
    SELECT belnr vertrag endabrpe bergrund abrvorg loevm
            FROM erch
            INTO TABLE lit_bill_data
            FOR ALL ENTRIES IN lit_isu_cont
            WHERE vertrag = lit_isu_cont-lv_vertrag
            AND ( bcreason = space
                  AND loevm = space
                  AND simulation = space ).
    If sy-subrc = 0.
    " Billing document exits ".
    endif.
    Hope this helps.
    Regards,
    Kapil

  • Open sales orders and open deliveries and open billing doc to sap from legesy

    Dear all
    i have some open sales orders and open deliveries and open billing doc are there in the legesy system
    so i want to know how to transfer the doc to sap by using lsmw plz tell me

    Hi Amith,
    it is always good to search in Google before posting .LSMW is very old topic and i am sure you will get lots of Documents on this .Please go through the below link .you will get some idea on this.
    http://scn.sap.com/thread/1012472
    there are 14 steps in LSMW and it is same for all (master data and Transaction Data)
    Pls practice this in your sand box or quality system before working it in the client requirement.
    Hope this helps to you
    Regards
    Sundar

  • Error while creating Billing doc using VF01 for Debit memo req. from RRB

    Hi,
    I am creating billing doc for my Debit memo req. which is created using RRB(DP90, DP95).
    Error message - Item 000010 does not exist.
    When I debugged and looked into code it seems following lines are causing problem.
    Program
    LV60AA28
    Line u2013 734
      IF  vbap-vkgru EQ vkgru_dyn_posten.
        IF vbap-aufnr IS INITIAL .
    set AUBEL because it was overwritten by VBAP-VBELN
          vbrp-aubel = vbap-vgbel.
          vbrp-aupos = vbap-vgpos.
          vbrp-autyp = vbap-vgtyp.
    This code was not in 4.6 system.
    We have just migrating from 4.6 to 6.0 and facing this issue while testing.

    First of all you should try to learn how to express in a public forum like this. 
    On your comments
    Do some ground work from your end
    why should I ??  if you want you can do ground work or any work.  If you post a question, you have to hear patiently all suggestions and dont scribble whatever you want.
    You should have some basic
       understanding of SAP ABAP.
    You should have posted this question ABAP forum !!!!   Why without any sense you have posted in sales forum ??

  • Vf02 error while releasing a billing doc to accounting

    Hello All,
    I m getting the below mentioned error while releasing a billing doc for a accouting.
    I have checked all the settings in vkoa , ob52 and many more and all are set properly, now m not able to track where actually the prob is.
    error is: No account is specified in item 0000001004
    Message no. F5670
    Diagnosis
    No account was specified for account type "S" in item "0000001004" of the FI/CO document.
    System Response
    The Financial Accounting program cannot process the document.
    Procedure
    A system error has probably occurred in the application you called up. Check the data transferred to item "0000001004" of the FI/CO document.
    Points wil be rewarded
    Thanks,
    SUnny

    Hi,
    Have you checked what is the determination account determination log ? You can do this by entering in VF02 and select from the menu Environment -> Account Determination Analisys -> Revenue Accounts.
    In this log you can see what are posting keys determined from the pricing procedure that should be posted in the FI document and determine very easy in which step the account was not determined.
    After that you can maintain the correct account in VKOA transaction.
    BR,
    Valentin

  • Error while releasing Billing doc to Accounting

    Hi all
    I am gettin the following error while releasing a Billing doc to FI-
    Reconciliation account 240001 or short key 00 is not permitted
    The Billing doc pertains to Export sales and the billing Doc type is Export Invoice. However the Customer Recon A/c is defined as 240000 which is for Domestic Sales. A/c 240001 stands for Export Sales. I am wondering why it is asking for the Export Sales Recon a/c. Does this has something to do with Alternative Recon A/c? Should I set an Alternative Recon A/c and check this? If yes, then should it be defined in SD or FI?
    If any1 has come across this prob, plzz help me.
    Regards

    It is all Fi related, and should be defined by the Fi Consultant.
    But by changing the sort key I think your error can be solved. But I don't exactly know your config settings to recommend any solution.
    Regards
    AK
    Please reward if helpful

  • Billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc.

    Hi All,
    In case of billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc. no. Each time user has to clear the doc. manually. We have observed this issue after recent patch updation dated 22nd Feb’2014. Till 21st Feb’2014 the cancelled doc. has been cleared automatically against their respective billing documents.
    Please guide.
    Thank you.

    Hi Gopi,
    Please chheck SAP Note No. 1259505. It explains two ways in which SAP releases cancellation documents to FI.
    OSS NOte 1259505 lists the possible causes from SD side &
    OSS Note 309208 lists the possible causes from FI side.
    Regards,
    Kavita

  • Billing doc

    Dear all,
    Scenario is user has created  sales order for excisable finished goods ,and followed by delivery, billing and excise billing to the customer who has already received the materials (GR done).
    Now by mistake instead of cancelling the some other billing doc. user  has cancelled above billing doc.
    How we can update this . Do we have to create new billing doc?. but excise billing doc has already gone to customer  what is effect of the same in terms of excise /register
    kindly suggest
    thanks,
    shankar

    Hi,
    if u delete also  that means it's not deleted total from the data base as ur abaper to retrieve the data from the  data base table he will do it for u .
    best regards,
    venkataswamy.

  • Billing Doc can't cancelled--Urgent

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. >
    Pls help on this issue.
    When i cancelled the billing doc through VF11 Fi document not yet creted. system thrown the given below error:
                                                                                    Diagnosis   :                                                                          The document does not exist. It was possibly not posted and therefore cannot be read from the database.                                                                               
    Procedure  :                                                                    
         Repeat the transaction at a later time.                                                                               
    Pls help on this issue.I assign full marks .
    Rgds
    Mahesh

    Hi
    Can you please explain your issue a little elaborately?
    Karthik

  • Billing doc transfer from CRM to ECC debugging

    Hello Experts,
    I have made enhancement to the badi BILL_ACC_IF method ENRICH_ACC_DOCUMENT and would like to know the way to debug this code when the transfer of billing doc occurs (middleware).  Is that possible?  If yes, can you please let me know how?
    Thanks,
    --Jamie.

    Hi Jamie,
        Sometime back I had these kind of issue, I was not able to stop the debugger at break-point.
    For these type of things, I will write some simple code in BADI and you should have required authorizations. If you use this option, don't forget to remove the code.
       Write below some sample code at the place, where u want to start debug
       data l_exit.
        do.
          if l_Exit = 'X'.
             exit.
          endif.
        enddo.
        Here a process will be running conitnuously.
       Now go to SM50,
         select your process.
           From Menu select
                 Program/Session
                     --> Program
                          -->  Debugging.
            when you select this, the debugger will popup and cursor will be at above code. Now in debugger change the value of L_Exit to 'X'. control comes out from the do...enddo , and from here you debug it.
    //Bhanu

  • Billing Doc not releasin for acccounting doc

    Hi
    After detail checking I have found that in customer master data>>Partner function tab, there is PY payer is required entry.
    When I am going to release billing doc in VF02 system is giving error message
            Customer 730 has no bank details of the bank type 0020
            Message no. F5025
    I do not want to maintain Bank Type in Payer Master data >> Payment transaction tab because these are optional fields.
    Note: If I maintain this field in Payer Master data>>Payment transaction then its allowing me to release Billing Doc.
    regards
    imdad

    Hi Imdad,
    Please coordinate with your basis guy and check SAP Note 355859 is implemented in your system.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=355859

  • Billing doc cancelled

    Dear Friends,
    We are facing a major issue which is as follows:
    A bill doc was cancelled. The doc flow of the original billing doc shows:
    Delivery (Archived)-> Sale Invoice (Completed)-> A/cing doc (Not Cleared)
    The cancelled doc is not coming in the above doc flow. What can be the reason that cancelled doc is not coming in the doc flow?
    On the other hand the doc flow of the Cancelled doc shows:
    Delivery (Same as above) (Status Archived)->Cancel Inv (S1) Status- Missing export data. (Transaction is domestic). Here also the original bill doc is not coming in the doc flow of S1. However the original doc is coming in the Assignment field in the header of S1. Again what can be the reason? We also want to clear the A/cing doc of the original Billing document. How is this possible?
    Is there any T.Code for displaying J1ID?
    Plz hep to solve these issues.
    Thank you very much.

    Go to VA03, key in the sale order reference and check the document flow.  Let me know whether you could see the original billing document that was cancelled.  If not, check in copy control whether you have ticked the box "Update document flow".
    Is there any T.Code for displaying J1ID?
    What do you mean by this ??  J1ID itself is a standard TCode.
    thanks
    G. Lakshmipathi

  • Billing doc cancellation

    Hi Friends,
    I created billing document with reference to DMR in 2009, now I am trying to cancel the billing doc in 2010 but am getting error message that billing doc xxxx can not be cancelled with yyyy.
    reason CO reposting document cccc must be reversed first.
    Any pointers to overcome this.
    Regards
    Ashu

    Hi Lakshmipathi
    Thanks!
    I want to retest that problem , so am using one created invoice in year 2009 and for that invoice accounting docment is generated. Now when I checked the problem and document flow i found that reference document for CO reposting document is controlling document generated for invoice in KSB5.
    So my question is how can I create CO reposting document using the controlling document of created invoice as a reference.
    Regards
    Ashu

Maybe you are looking for

  • FCP X on MacBook Pro(to the max)

    I need opinions, pros/cons on whether MacBook Pro can handle FCP X. Let's say the MBP would be my only option and it would have top of every option; ie, 512GB SSD, 8GB RAM, etc. I am a professional editor who has a non-Intel MAC PRO (old model). Than

  • 20" iMac takes 3 minutes to respond after log in

    as the subject reads, my iMac take about 3 minutes to respond to any keystrokes or mouse inputs. Hot corners do NOT respond, and the dock does NOT respond either. the mouse moves and the clock ticks but no inputs are allowed. i leave the cursor on th

  • How to update AR Invoice Matrix (UDF)

    Hi, I want to load the matrix data to a custom form. After user updates the custom form data. Then, get back the data to matrix. Now I am using the following code: - Get matrix value For i = 1 To mMatrix.VisualRowCount    Dim tmp as stsring = mMatrix

  • Help MBP randomly gives me a black screen, I have to restart every time.

    hi all, My MBP has all the sudden started to throw a black screen at me. i have to restart my MBP every time this happens. I have tried doing a fresh install and starting fresh and this doesn't help, I've even installed every app one at a time and tr

  • OM: Sales Order form not opening

    Hi, I am trying to open the form sales orders in OM and i get this error message ORA-01403 No Data Found I checked the profile options they are according to the Implementation guide but i dont know wats going wrong here. Infact i can open other forms