TPS: Invoice Split Issue

Hi All,
I need to change the Billing date (FKDAT) from the table while doing MIR7 . The problem is I am not able to find the exact enhancement point. Please suggest any Exit/BADI/Enhancement point wherein I can write my code.
Process:
1. Third Part sales Order (PR will get created automatically)----
Suppose TPS Order is on 1 Jan 2010
2. PO with reference to that PR
3. MIR7- Book PO---Suppose MIR7 is done on 3 Feb 2010
4. MIR7-Post PO--- Suppose MIR7 is done on 3 Feb 2010
So the issue is coming as for the Line item having billing relevance as u201CFu201D-TPS billing relevance the billing date is changing as 03.02.2010 from 01.01.2010
Which Is billing date for other line items.
So it is resulting in invoice split because of different billing date in sales order which business donu2019t wants.
So I want to revert back the changed date to original date to avoid invoice split.
Thanks
Tushar

Hi
Please find the user exits in mir7
LMR1M001     User exits in Logistics Invoice Verification
LMR1M002     Account grouping for GR/IR account maintenance
LMR1M003     Number assignment in Logistics Invoice Verification
LMR1M004     Logistics Invoice Verification: item text for follow-on docs
LMR1M005     Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006     Logistics Invoice Verification: Process XML Invoice
MRMH0001     Logistics Invoice Verification: ERS procedure
MRMH0002     Logistics Invoice Verification: EDI inbound
MRMH0003     Logistics Invoice Verification: Revaluation/RAP
MRMN0001     Message output and creation: Logistics Invoice Verification
INVOICE_UPDATE     Business Add-In: Logistics Invoice Verification
Regards
Damu

Similar Messages

  • Proforma invoice split issue

    Hello Experts,
    Proforma invoice is getting split due to below reasons as found in split analysis:-
    Shipping conditions
    Exchange rate type
    Number of foreign trade data
    Reference document number
    Payment Reference
    Translation Date
    I have searched a lot in sdn for possible solutions but i didnt get any technical solution for this.I had checked in VTFL, and 'A' is maintained for deter Export data.
    Please help in this regard.Can it be raised to SAP for solution?
    BR,
    Nisha
    Moderator message: not directly related to ABAP development, please have a look in the respective functional forum.
    Edited by: Thomas Zloch on Mar 23, 2011 3:17 PM

    If the chapter id is common for all the materials under one material group, then you can straightaway achieve this requirement through the standard routine.
    Alternatively, as you yourself had indicated, you can include this logic in your existing routine or go for billing exit USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    thanks
    G. Lakshmipathi

  • Invoice Split bassed on Condition Type

    Hi ,
    For the invoice split issue, PFB the functionality required:
    1.       1) Sales order created where the item condition tab would have the Standard price as well as a condition type for the freight charges.
    2.       2) Create a delivery for this sales order.
    3.       3) At present, we get an invoice for the above sales order created with the standard price and the freight charges on the same invoice.
    Requirement:
    We need 2 invoices, where one invoice has the standard price and the other has the freight charges printed separately for the above Sales order scenario.
    if this requirement is feasible?
    I have search in SDN i have found the below links
    http://scn.sap.com/thread/3476396
    The Above link he has Confirmed is feasible. He provided the SAP Note and he told write the routine in VOFM. I refer the SAP Note they have provided the header level split.
    Can you please tell how can i atcheive that? if Any one done the same previously please tell how you done that?
    Thanks,
    Dhina..

    Hi Fred,
    There is no problem in that SAP note. I just want to know how can i atcheive that?
    if any one done the requirement previously how they done that? i need the each and every steps.
    Thanks,
    Dhina.

  • Number of Pallets on layout in case of Invoice Split

    Hi,
    Ours is a warehouse managed storage location from where we deliver the goods of our Sales Cycle.
    IN the Invoice output, we have to print the number of pallets as no of packages, which is fine as we go back through VBFA & get the value of LIKP-ANZPK
    But in the case of a invoice split, where the delivery may have 5 pallets but we are only invoicing 2 pallets, it is difficult to create logic to get the data from the Item level from delivery. COuld anybody help with that pls
    Thanks

    Hi,
    I think that you need create your own VOFM subroutines in the copy rule from delivery to invoice. If will be important how to populate the structure ZUK (there are a lot of post about this issue in this forum) to split the invoices. I think that you need be careful with performance, because you must use VBFA table to link HU, delivery and other documents. Try do define the algorithm in this VOFM with an ABAPer.
    I hope this helps you
    Regards,
    Eduardo

  • 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

  • Invoice split per customs status

    Dear experts,
    At my customer we want to split invoices per customs status. This means no Duty Paid and Duty Unpaid should be on 1 invoice, neither do mix with inward processing products....
    The company only wants to use final invoices, so no proforma. This final invoices is created as soon as picking is done, so before goods issue, because they want to win time between requesting permission to load the truck and printing the invoice...
    Goods issue is then done when the loading is finished and the truck shipment is completed.
    So at the moment of invoice creation we don't know which stock is used, because no communication to GTS is done until invoice or goods movement....
    Our original solution was to use this  BADI on ECC: Determine GTS Relevance for Stock Separation but this BADI only works on the moment of goods issue.. so this is too late for my customer since the invoice is then already created.
    Has anyone already met this problem / requirement from customer?
    is it possible to receive the stock status (DP or DUP) in ECC before creation invoice via some sort of variable, if so we can link it to MSEG in ECC and create a splitting requirement....

    This is no longer an issue, as invoice split is no longer required by Belgian law.

  • Prevent invoice split with different partners on item level

    Dear Experts,
    in a sales order we have different representatives (partner function "VE") on item level due to commission issues. Now we have the requirement to prevent the invoice split with different representatves on item in order-related billing. While in copy control it is easy to prevent invoice split due to different VBRK-fields we have not found  a userexit ( or copy-control) to prevent invoice split with different partners.
    Anybody has an idea to this issue?
    Thanks for your help.
    Mark

    Dear Mark,
    You are on the right-track.
    As, there is no standard routine, you have to write your requirement in existing routine (i.e. modify standard routine with your requirement)
    To do so, go to:
    T. Code: VOFM --> Copying requirement(Menu-bar) --> Billing Document (Take help from ABAPer).
    Write code as an implicit enhancement:
    clear: KURGV-KUNNR
    - {Please confirm the Table-Field name}
    And if there is any further changes, ABAper will help you out.
    Once modified, attach your routine in to Field: VBRK/ VBRP.
    Best Regards,
    Amit
    Note: I think, following thread will help you and clear the requirement:
    Re: Avoid invoice split (Please go-through it)

  • Invoice Split due to incoterms Part 2

    Hello SAP experts..
    Kindly advise on the follwing issue.
    In delivery related billing I am having Incoterms part 2 as By ROAD in payer custoer msaster.
    In the sales order also I am having the same incoterms 2.
    But at the time of delivery, due to some reasons I am chaing it to BY TRAIN or BY AIR,.
    This is resulting in invoice split. In the split analysis it is showing ' header data different- incoterms part 2"
    we do not want the invoice split even after chaning the incoterms part 2. Also do not want to change the incoterms in customer master also.
    Kindly adivse on the same//
    Regards
    RaviRaj0308

    Hello SD Experts
    I am explaing the situation here again,,,,,
    1) We have document flow like this. Order- Delivery- Invoice- supplementary order- supplementary invoice
    2) We make the supplementary order with ref to Invoice which could be more than 1 sometimes. So these invoice might have different incoterms 2.
    3) We make & save the supplementary order & save it.
    4) then we make invoice with ref to this supplementary order, which is getting split, which we do not want.
    5) Also the split analysis says " different header data- incoterms 2"
    Question 1) How to restrict the "Invoice Split"
    Question 2) If not possible through the settings, which user exit/ development I should ask to ABAP team.
    Fell free to ask further queries.
    Thanks & Regards
    RaviRaj0308
    Edited by: RaviRaj0308 on May 26, 2011 1:24 PM

  • Invoice Split due to Tax Departure country and Number of Foreign Trade Data

    Hello Friends,
    With all the search I have done, this question was asked and answered a lot previously, but at the same time most of the previous solutions confuse me or didn't help me to solve the issue.
    My issue is there is a invoice split for a sales order, yes its Order based Billing.
    We had order combinations with two different plants before in the past and had no issues, but this plant is in abroad foreign country.
    So I checked VTFA. ( order - billing copy control )  
    Header:                                                                                                          Item:
    Copy requirment          001   Header/order-related                                 Copying Requiremnets    002   Item / Order related
    Determ.esport data      B                                                                         Data VBRK/VBRP              (Blank)
    Assignment Number     E
    Reference Number       A
    The Billing split analysis shows as:
    Split due to different header Data:
    Fld Name                                          $000000001                                $000000002
    Export indicator                                                                                   Z
    Tax classification 1 for custo              1                                                0
    Number of foreign trade data                                                              0000000667
    Tax Departure Country                       US                                             NL
    Please do offer advice and solutions. Thank you.

    Hi
    First, use SAP Note 11162 - Invoice split criteria in billing document as a checklist. Check it carefully.
    After, subroutine VOFM in Data VBRP/VBRK. Check routine 007 as a template. The idea is populate the field ZURKI (CHAR 40) with a concatenation of strings. Each value is a different invoice. So, if the concatenation is over 40 characters, the do an offsetting of some values. As SAQ MD says, take the help of an ABAPer.
    I hope this helps you
    Regards
    Eduardo

  • How to avoid Invoice Split due to billing date, reference number and payment reference?

    Hi,
    In a scenario of delivery to invoice copying, we are facing issue of invoice split.
    After analysing split, came to know that split happened because of different billing date, reference number and payment reference.
    In VTFL we kept below fields blank at header level:
    Assignment Number
    Reference number
    In VTFL we kept below setting at item level:
    Copying requirements: 001 (this is a del related Pro-forma invoice)
    Data VBRK/VBRP: 001 (Inv.split (sample))
    Also in VF04, at "default" tab maintained billing date, but still system is splitting invoice.
    Split analysis showing below results
    Different billing date
    Different reference number and
    Different payment reference
    Pls let me know how to avoind this split. Do we have to copy routine and do changes into it to avoid split.
    Regards/Pravin

    Hello,
    Also in VF04, at "default" tab maintained billing date, but still system is splitting invoice.
    Split analysis showing below results
    Different billing date
    Different reference number and
    Different payment reference
    this doesn't seem to me standard behaviour (as it regards the billing date). Try the same with VF01: enter manually the billing date, the documents to invoice and press "Billing document overview";  if it keep on splitting according to the billing date, I guess that there's a user-exit during the creation of the invoice, which determines the invoicing date.
    Check the following exit:
    RV60AFZA
    RV60AFZC
    RV60AFZZ
    Best regards,
    Andrea

  • Invoice split due to 'Number of foreign trade data in MM and SD documents'

    Hello experts,
    We need to avoid invoice split that happens becuase of the different foreign trade numbers on delivery headers. After going through few of the other related threads, I found one solution to this issue where in
    We go to VTFL and under DEL TO BILL AND HEADER DATA -->DETERMINE EXPORT DATA maintain B
    Using above we can avoid invoice splitting. But this still does not resolve my issue as for us some plants need setting of A for the above. So we were wondering how we can control this setting based on the plants.
    Lakshmipathi, Yadav, Raja Singh,... Please share your thoughts.
    Please avoid using personal names
    Edited by: Lakshmipathi on Sep 18, 2009 7:38 PM

    Hi,
    For your particular process you have to by Pass the invoice splitting which is based on foreign trade data. But as per standard it wont be recommended. But if you are very much assured this is what you want you can create splitting rule which will bypass checking the Foreign trade data. For this , go to VOFM and select data transfer, billing documents, and copy routine 001which is for invoice splitting, modify this routine and make another one with your requirement and assign it to VTFL data transfer.
    Hope it will help.
    Thanks,
    Raja

  • Invoice split based only on payer, material, invoice date

    Dear Friends,
    I have an issue which I don't know how to move further..
    Task:  avoid Invoice split during collective invoice creation in VF04. Invoice should be grouped by: payer, material, invoicing date.
    What I'm doing: clearing all fields which could cause invoice split in copy routine rv60c903 ( this one is used for this type of invoices ) in VBRK. Then changing partners - sold-to, ship-to, bill-to in enhancement., so that they are equal for all invoices with the same payer party. And also VBRK-ZUKRI is filled accordingly with the grouping parameters: VBKD-PERFK and VBRP-MATNR.
    What I can't understand: when I run SIMULATE in VF04, the invoices are grouped correctly, BUT when I run the actual Collective Billing button, for each delivery a new billing document is created.. I can't understand this!
    Thanks a lot in advance!

    Hi
    As Madhu tells you, check your settings in customizing (tcodes VTFA and VTFL). Second, take in account always the SAP Note 11162 - Invoice split criteria in billing document and related notes. Finally, set your own algorithm to rule the splitting defining ZUK structure to determine the value of VBRK-ZUKRI (remember that this field is a char 40) in your own VOFM subroutine.
    I hope this helps you
    Regards
    Eduardo

  • Domestic invoice split

    Hi all,
    I am creating a two domestic sales order ( 303,304) and two delivery (80001092,80001093)- i am trying to of these delivery to single invoice but the invoice is goes to split.
    customer purchase order number - 120, 121
    I also check the split analysis - they said split due to different customer purchase order number and so.
    and also I tried in VTFL but the same invoice split is done.
    I create export sales order for the same the invoice not split - Only in domestic sale order will invoice split happen
    what to do.
    Please help me to resolve this issue.
    Thanks,
    Suresh.M

    Hi
    Kindly check the belwo link
    invoice split
    REgards
    Damu

  • Invoice Split Tax Departure Country

    Hello all,
    This is my first forum post - if this is not the correct thread if someone can point me in the right direction, that would be great.
    We have a sales order that is being split into two invoices. The invoice split analysis reveals that the tax departure countries of the line items are different. The plants are in different countries. It is my understanding that standard SAP functionality splits the invoice based on different tax departure countries.
    The problem is we have a user that is requesting to have both of these items on the same invoice.
    I have two questions:
    1) Is it possible to have these items on the same invoice?
    2) Even if we could put these items on the same invoice, is it a good idea? What are the reasons SAP has it setup this way by default? What are the negative consequences of doing this, etc.?

    Good evening,
    From your description above I am not sure if you are billing in CRM or ERP. Either way there are standard split criteria defined.
    Note  11162  is for ERP and outlines what fields cause a split and note 535005 outlines the split criteria in CRM. The split happens because you cannot have 2 different values for the one field on a single invoice. A way around it is to clear the field causing the split so that the data is not copied and therefore only one invoice is created. Of course the business needs to clarify if the information is needed on the invoice and if so then its not possible to clear the data and so a single invoice is not possible.
    See documentation at http://help.sap.com/saphelp_crm70/helpdata/en/4a/3db3a857e0422988e5a92c8f002685/frameset.htm  
    for further details and information on how you can influence the Invoice split.
    I hope this helps with this issue.
    Kind regards,
    Vanessa Donegan

  • Capture the Invoice Split Reason and update it in the invoice header text

    Hi All,
    We have a requirement where we need to capture the invoice split reason and update the reason in the one of the invoice header text.
    Problem is the routine where the split criteria is being determined is called a number of times, so how will we determine at what time of time do we need to capture the split reason. I mean at what iteration of the routine will we know that the split value is the right value.
    Is there any way to determine the number of iterations of a routine written for split?
    Require your valuable inputs for this issue....
    TIA
    Regards,
    Sharadendu

    Hi,
    Is your invoice split reason maintained in the header or item level?
    Try coding your logic in user exit MV45AFZZ and update header text using text id and save it in header text using
    FM [SAVE_TEXT|http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm].
    Before this logic use FM [READ_TEXT|http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm] to determine if the header text is already updated. If yes,exit else save your HEADER_TEXT using SAVE_TEXT.
    This code can be written under FORM_USEREXIT_SAVE_DOCUMENT_PREPARE.
    Regards,
    Amit
    Edited by: Amit Iyer on Sep 1, 2009 8:46 PM

Maybe you are looking for