Invoice split by number of delivery line items

Hi,
Can anyone assist in providing me with a solution to the problem of splitting invoices based on the number of delivery line items. I know there is an SAP restricting of 999 lines when posting to SAP.
Example:
If my delivery has 20 line items is there a way to split the invoice into two separate documents of 10 lines each?
Thanks
Anirudh

Hi,
Instead of splitting the Invoice on the basis of delivery line items, you can fix the maximum of lines allowed in the Invoice. So this will help you having multiple invoices from a delivery.
I don't know if this suits you.
There is routine number 6 which acomplishes this (Single Invoice Limited), where coding has been done on the basis of config. (Sales Org:Limit number of billing items TVKO-MAXBI).
This can be assigned at the item level (Copy control - Delivery to Billing, VTFL)
Instead you can create a seperate routine which initially checks the number number of line items in the reference delivery document and then creates an invoice with specific lines.
Hope this helps.
Regards,
Vivek

Similar Messages

  • Report invoice document number againt PO line item

    Hi Forums,
    Can any body so kind to tell me is there any standard report in SAP 4.7 C where we can get the list of invoice document number against each line item of PO.
    I have tried the ME2N & ME2L report. If I double click the POH then only it give me the invoice document report. But i want a report where I get invoice document no against each line item wise in PO.
    Thanks in advance.
    Regards,
    sp sahu

    Hi sp sahu,
    I am sorry, but I am not aware of any report which might suit your requirements, this is the reason why I addressed you to the table EKBE. You might build your own report out of this table.
    Sorry!
    Esther.

  • Get PO Confirmation and Invoice Number fron SC line item deial like GUID

    Hi All,
    I want to create ZReport where i have to find  Purchase Order , Confirmation and Invoice Number fron SC line item .
    I am looking for that tables or FM by using which i can give SC line item Guid and i can get the corrosponding PO , Confirmation and Invoice if any.
    Please suggest solution.
    Thanks in Adavnce,
    Snehal

    Hello Snehal,
    You can use following FMs to get the required deatils:
    FM: BBP_PD_SC_GETDETAIL
          E_ITMLIM_REL
          Select the second entry
          Shift+F5
          Take the HDR_GUID_A for PO
          and HDR_GUID_B for Conf
          and HDR_GUID_C for Inv
    FM: BBP_PD_PO_GETDETAIL
          enter the HDR_GUID_A
          Goto E_HEADER           select the OBJECT_ID
    FM: BBP_PD_CONF_GETDETAIL
          Goto E_HEADER           select the OBJECT_ID
    FM: BBP_PD_INV_GETDETAIL
           Goto E_HEADER           select the OBJECT_ID
    This could help you.
    Regards,
    Suneel Kumar

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • Link between Delivery Line Item to DTR Line Item to Freight Unit Number?

    Dear All,
    I am creating DTR with reference to delivery from ECC. As per my logic in FUBR, I am creating separate Freight Unit for every DTR line item.
    Now how to identify (At Table Level) that which DTR line item belongs to which Delivery Line Item?
    Also how to determine which Freight Unit belongs to which DTR Line item?
    Request to please share the above flow at table level in SAP TM System.
    Regards,
    Vibhu Gupta

    Hi Vibhu,
    First, you know which DTR item you have on hand and then you can find the corresponding FU item by association(TOR ITEM from TRQ item to FU item), after retrieving the data of FU item you can find the root key of every result data entry(FU item data) and you can also get the DTR item key/FU item key pair(which DTR item/which FU item), actually the root key is the FU root key, then you can user service manager to retrieve the root data of corresponding FU root key.
    Hope this helps.
    BR, Dawson

  • Purchase Order Number in Vendor Line Item (FBl1N) and Clear Vendor (F-44)

    Hello,
    I am not getting the Purchase Order Number in Vendor Line Item.(FBl1N).
    Also during Clear of Vendor through F-44 i am not able to identify the Line item on the basis of Purchase Order Number.
    Could any one pleae help me out on this issue as i have to clear the vendor Line item in mass.
    Thanks
    Nitin Jindal
    Moderator: Please, respect the rules of the forum and search SDN before posting new thread. This question has been answered several times. Also, please choose proper forum to post your questions; this one is related to Financials and not to Controlling

    Based on my experience std feature from SD-FI . Depending on the SD Billing config which can be by delivery(VTFL) or sales order(VTFA). You can assign options of A: Cust PO No. B Sales order no. C Delivery no. D External delivery no.  E Actual invoice number to available header fields of Assignment No. or Reference No. Try it out

  • What is the direct link between Schedule Line item and Delivery line item?

    Hi SAP SD Gurus,
    The question is simple.  I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
    I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
    I am unable to link that Schedule line with that Delivery line item.
    The only link is Schedule Line Number in VBEP table which is not available in LIPS.  I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
    Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
    Thanks in advance for your help..
    Augustine

    Anuj,
    I am aware of the Functional Modules. 
    I wanted to know for this Schedule Line, this is Delivery document created.
    Where in SAP through Tables it is linked?  Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
    The table link from VBEP to LIPS is not directly linked.  It is linked from Sales order line item level.  Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify.  The only common joint should be Scheldule line number which is not available in LIPS.
    If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD.  Since it is a external reporting , we need to give correct tables and the joints.  Hence I am looking for any other way to solve this.
    Thanks
    Augustine Ponraj

  • How to Count Number of completed line items in past 6 months / 12 months ?

    How to Count Number of completed line items in past 6 months / 12 months ?
    Hi,
    I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
    Purchase Order document = ZEBELN
    Line Item = ZEBELP.
    I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
    I have "Delivery Completed" field, ELIKZ.
    So, based on this would I be able to calculate it in Query Designer?
    If so, Please let me know how

    Hello Deva
    If youe want to calculate the completed line item for last 6 or 12 month then i think u will be displaying the query data for these montrhs...create a customer exit to give you date range and restric it in filter area....
    Now Choose any of the below option
    1. I would suggest to implement an additional key figure "counter" in cube and fill values with one for which delivery is completed.
    Now use calculated key figure in Query Designer based on logic
    IF counter = 1 THEN counter ELSE 0
    OR
    2. create a formula variable based on ELIKZ and use replacement path variable, it will display you no. of docs for which delivery is completed....
    Award points if it solves your problem
    Revert back in case of further assistance...
    Thanks
    Tripple k

  • GL account balance splitting in more than one line item in FSV

    Friends,
    While going through the FSV, gl account balance is splitting in more than one line item with same account name.  But if we total the line items ultimately it is tallying with GL balance.  What might be the reason.  Why it is splitting the balance in more line items with same name and same account number.

    Dear,
    You might be having Document Splitting Activation.with Bussiness Area/ Segment wise/Profit Center Wise. For this please Check - Path > Spro > SAP reference IMG > Financial Accounting (New) > General Ledger Accounting (New) > Business transactions > Document Splitting > Define Document Splitting Characteristics for General Ledger Accounting.
    Please go through this & will  be able see the Document Splitting is based on Bussiness Area/ Segment wise/Profit Center wise or may be both.
    T & R,
    Madhuri Panda

  • Pack without using delivery line items

    Hello Abappers,
    Packing using function module WS_DELIVERY_UPDATE is used to pack a delivery and is working fine. However this function module packs by delivery line item so HU's cannot be packed more or less in quantity than the delivery line item. The client wants to pack the delivery as a whole balancing out the packing loads on the HU's as is done when packing manually so that each HU is loaded as close to capacity as possible. Has anybody had experience with using this FM or another where the delivery is packed as a whole and not by line item.
    Thanks

    Hello Chaithru.
    check include MV50AFZ1, form  USEREXIT_SAVE_DOCUMENT_PREPARE.
    If delivery number already given, you should be able to save text with function module SAVE_TEXT in this user exit.
    Best Regards, Dirk

  • BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?

    Hi ABAPERS,
    Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
    Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
    The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
    Could you please advise on the BADI/user exit to be used in this case. Request your inputs.

    I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
    Regards.

  • Please let me know how to Count Number of completed line items in past 6 mo

    How to Count Number of completed line items in past 6 months / 12 months ?
    Hi,
    I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
    Purchase Order document = ZEBELN
    Line Item = ZEBELP.
    I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
    I have "Delivery Completed" field, ELIKZ.
    So, based on this would I be able to calculate it in Query Designer?
    If so, Please let me know how
    Krishna

    Hi Experts,
    I dont have a defined Restricted key figure yet.
    I have populated 0COMPL_DEL(Delivery Completed Indicator)  and 0EBELN (Purchasing Document Number) and 0EBELP (Line Item Number in Purchasing Document) .
    This is what I think how I need to calculate:
    Number of completed line items in past 6 months:
    If  Delilvery Completed Indicator (0COMPL_DEL) = x, calculate No. of Line Items (ZPO_CNT) from 0CALDAY to 6 months
    and
    Number of completed line items in past 12 months:
    If  Delilvery Completed Indicator (0COMPL_DEL) = x, calculate No. of Line Items (ZPO_CNT) from 0CALDAY to 12 months
    Please let me know if the logic is correct. If so, how I can create this in report

  • BP number in GL Line Item Report

    Hello Gurus,
    Is there a way to view BP number in GL Line Item Report FBL3N ? I went through the dynamic selection, but didn't see any option for BP. My client wants to see BP info in certain GL accounts without referring back to treasury transactions.
    Thanks in advance,
    Pal

    Hi,
    Unfortunately, there is no standard linkage to BP in FI document postings.  You can see the customer number if there is one and then link it to the BP.  But in case you want to see it at the G/L item level, then 1 thing you can do is have a custom code through BADI_TRM_ACC and fill the BP number to assignment or reference field.  This way you can check it in the accounting document item.
    Regards,
    Ravi

  • Delivery line item issue

    Hello,
    I'm creating a delivery for multiple line items in sales order. Is there anyway so that the delivery line item will not be created for batch selection criteria failed items.
    Please reply, Thank you.

    Hi,
    I hope you are doing Batch Determination for the materials @ sales order level.
    But in Std.SAP there is no restriction as per your requirement. You can check for some user exits in Sale order  to restrict the delivery creation for line items if a Batch doesn't exist in the sale order item level.
    Hope it is clear.
    Thanks & Regards,

  • Delivery line item with E spl stock

    Hi All,
    I have an issue with delivery line item which shows E as spl stock but this should happen only when the PO acc *** has M (SO ref) but in my PO it has K (cost center).
    When there is a K in PO and if a delivery is created why there is E in line item ?

    Hi,
    The special stock indicator mustnot be on 'E' in VOV7 trx.
    Please check your delivery item category.
    regards, david

Maybe you are looking for

  • Auditing inside a Trigger

    Inside my trigger I want to write for auditing purposes certain values that get updated. However I am unable to commit within my trigger. Is there some way to write certain values to another table when my trigger is fired?

  • Htmlb:tableView - automatic refresh

    <b>Hi,</b> I use htmlb:tableView  to display data. Have you any idea how to do automatic refresh to the tableView ? <b>Thanks, Natalia.</b>

  • Can anyone help me find live chat??!

    I got an email saying I cancelled my subscrption, which I did not. Now I can't find a way to contact skype. Been going in circles! Can anyone send me the link to the live chat button?

  • Compound boolean logic scripting

    Greetings!  I would like to pick everyone's brains for how one might implement compound boolean logic scripting in LabVIEW ... specifically LabVIEW-RT. My application is an in-vehicle data acquistion and logging setup.  The app is setup so that the u

  • "Your software is up to date" on iPad mini w/ 6.1.3

    Oh cruel fate! Why does my iPad not want iOS 7? It acknowledged the available update just minutes ago. But then I deleted a few apps and rebooted; now, nothing.