Split the delivery line item?

Hello All,
I have a question. I want to split the delivery into batches. Can anybody tell me how to achieve this through abap program?
Points will be awarded.
Thanks,
Sohil.

Hi Abhisek,
Actually i want to split the delivery into the batches. so the FM that you are talking about will not work.
If you have any info. then please pass it to me.
thanks,
sohil,

Similar Messages

  • How to add the total batch quantity in the delivery line item

    Hi ,
    I have one reqirement.the delivery items are having the batch splits.
    Any Specific function module to add the individual line item level batch qty and assign to line item quantity.
    Please suggest me for this requirement.
    Thanks,
    Sri.

    Hi,
       Please check the FM 'VB_BATCH_DETERMINATION' for batch splits.
    Reward points if useful.
    Regards,
    Abhishek

  • 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

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

  • 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

  • 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

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

  • Split the delivery or create multiple  deliveries

    Hi team,
    Sale order stock is grater than Truck capacity.
    We need a solution to either split the delivery; or create multiple deliveries at the time of delivery creation.
    Manually we are doing calculations for pallets capacity and then doing loading still some quantity pending or some space pending
    Is there any program that can split delivery via Sales order and create Outbound delivery through pallatization..
    Any such scenarios you have please suggest.?
    Thanks in Advance
    SAP MM

    Hi,
    Normally we can split the deliveries based on the following criteria
    1. Different delivery dates for line items.
    2. Different ship to parties for line items.
    3. Different routes for line items.
    But in your above case the issue is regarding truck capacity for which the system doesn't have any information.  So you can manually create a new delivery by adjusting the existing one or if you feel the issue is going to repeat for different items in future also then you can go build a custom logic in the system to address the delivery split using a user exit.
    Thanks,

  • AR - Requirement to split the receivable line

    As part of implementing OrderToCash for an international shipping company, we have a unique requirement to split the receivable line with respect to the number of revenue lines.
    Due to the accounting doc having one receivable line, we are facing challenges in applying cash and disputing at the individual line item (shipment level).
    We effectively need there to be a 1:1 relationship between a Billing document line and an AR invoice line (currently the AR receivable line is a cumulation of the Billing lines).  This said, is there any configuration or user-exit on the SD or AR side to split the receivable line (at the time of releasing it to accounting) even though it is hitting the same reconciliation account?
    Thanks,
    Anthony

    Hi Anthony
    I know that when you enter FI side invoice we can use the 'Amount split' tab on FB70 or FB60 screen after entering the total amount in the 'Basic data' tab. 
    But I am not sure how to enable it when using copy control from delivery to billing to accounting.
    Assign points if useful...
    Thanks

  • Split Deliveries by Line Items

    Hello all,
    We would like to split deliveries that have more than 250 lines on them.  We have tried inserting code in several routines in transaction VOFM - Data Transfer - Deliveries.  We have copied Routines 302 & 500 and inserted code directly in 500. 
    Here is an example of what we have tried.  We count the lines in table xlips and if it is greater than 249, we delete the table from 250 and following.  Right now we are using 10 lines for testing purposes. 
    DATA: l_lines LIKE sy-tabix.
    *Limit deliveries to 249 lines for certain European plants
    IF likp-lfart = 'NLCC'.
      CASE xlips-werks.
        WHEN: '4310' OR '4311' OR '4322' OR '4331' OR '4341'.
          DESCRIBE TABLE xlips[] LINES l_lines.
          IF l_lines > 10.
            DELETE xlips[] FROM 11 TO l_lines.
            clear ilips.
          ENDIF.
      ENDCASE.
    endif.
    When we copied routine 500, the program wouldn't stop at breakpoints put in the code.  Now that we have put it in routine 500, we get a short dump related to ILIPS. 
    It seems to me that there would be a more elegant way of splitting deliveries than this. 
    Does anyone know of a way to do this?
    Thanks in advance,
    Chris

    hi
    i got your question.
    this you can achieve through only BAPI for delivery line items split.
    for eg:
    there are 250 line items in the delivery you wanted to split basing on the item category.
    you can use this BAPI with a different screen which will be similar to VLSP.
    maintain the fields in screen exit.
    and you can achieve on the same.
    but it taes long time for achieveing this
    regards
    balajia.

  • Multiple Country of Origin for single outbound delivery line item

    We are attempting to find an a solution to record multiple countries of origin for a single SAP delivery line.
    It seems standard SAP delivery only contains the ability to store a single "HERKL" value linked to the delivery line. (It creates a customs master in EIPO and links this to the delivery header)
    We need a solution to be able to record multiple of these values without the use of Batch Management.
    The example below demonstrates our requirement:
    Scenario: Delivery 1001
    - 1 line consisting of 5 eaches of a single part
    - When picking we find:
    - 3 eaches which where from Belgium
    -2 eaches from Germany
    without splitting the line somehow we are not able to add mutliple values
    Note: We are integrating with an external WMS system and interfacing in these documents using IDOC processing and therefore it would be very beneficial if someone could provide both functional steps (application side) and technical steps (function modules, classes, etc) which can be used
    Thank you for your help in advance

    Hi,
    Yes, it will work if items are lot controlled.
    (you can use the same logic if the item serial controlled as well...using Serial Number DFF)
    However, if the item is a plain item, there is no direct way of storing and retrieving the attributes ...such as country of origin, supplier name, etc ...
    Thanks,
    Hrishi

  • Splitting sales ord line items to diff deliveries based on max line items

    Hi,
    I'm trying to split sales order line items to different deliveries based on the max line items on Sales Organization ( TVKO-MAXBI ) . I activated a new routing (copying standard 001 ) but an error is happening
    Item 000200: delivery split due to conflicting header data (ZUKRL: M106 <-> M1061)
    However the split does not work as expected. Does anyone have any ideas ?
    Pls help me
    The code is:
    data: ITEMNO        LIKE TVKO-MAXBI,
          BILLNO        LIKE TVKO-MAXBI.
    *}   INSERT
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         MTDK905083                                        1
      LIKP-VKORG = CVBAK-VKORG.
      LIKP-AUTLF = CVBAK-AUTLF.
      LIKP-VSBED = CVBAK-VSBED.
      LIKP-FKARV = TVAK-FKARV.
      LIKP-TRAGR = MAAPV-TRAGR.
    Fill field ZUKRL with combination criteria
      LIKP-ZUKRL(2)      = CVBAK-VTWEG.
      LIKP-ZUKRL+2(2)    = CVBAK-SPART.
        IF NOT TVKO-MAXBI IS INITIAL.
          IF ITEMNO < TVKO-MAXBI.
            ITEMNO = ITEMNO + 1.
          else.
            LIKP-ZUKRL+4(2) = BILLNO + 1.
            ITEMNO = 1.
          endif.
        endif.
      LIKP-STAFO = CVBAK-STAFO.
      LIKP-STWAE = CVBAK-STWAE.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-KNKLI TO LIKP-KNKLI.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-GRUPP TO LIKP-GRUPP.
      MOVE CVBAK-SBGRP TO LIKP-SBGRP.
      MOVE CVBAK-CMWAE TO LIKP-CMWAE.
      MOVE CVBAK-WAERK TO LIKP-WAERK.                      "46C/note 184914
      MOVE CVBAK-CTLPC TO LIKP-CTLPC.
      IF LIKP-LFART = TVAK-KORLI.
        LIKP-KLIEF = CHARX.
      ENDIF.
      MOVE CVBAK-LIFSK TO LIKP-LIFSK.                           "45B
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    *}   INSERT
    ENDFORM.

    hi friend i solved the problem.. was a mistake on my source... I send u the code to help u in advanced... thanks for your time
    data: ITEMNO        LIKE TVKO-MAXBI,
          BILLNO        LIKE TVKO-MAXBI.
    *}   INSERT
    FORM DATEN_KOPIEREN_601.
    *{   INSERT         MTDK905083                                        1
      LIKP-VKORG = CVBAK-VKORG.
      LIKP-AUTLF = CVBAK-AUTLF.
      LIKP-VSBED = CVBAK-VSBED.
      LIKP-FKARV = TVAK-FKARV.
      LIKP-TRAGR = MAAPV-TRAGR.
    Fill field ZUKRL with combination criteria
      LIKP-ZUKRL(2)      = CVBAK-VTWEG.
      LIKP-ZUKRL+2(2)    = CVBAK-SPART.
        IF NOT TVKO-MAXBI IS INITIAL.
          IF ITEMNO le TVKO-MAXBI.
            ITEMNO = ITEMNO + 1.
          else.
            BILLNO = BILLNO + 1.
            ITEMNO = 1.
          endif.
        endif.
      LIKP-ZUKRL+4(3) = BILLNO.
      LIKP-STAFO = CVBAK-STAFO.
      LIKP-STWAE = CVBAK-STWAE.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-KNKLI TO LIKP-KNKLI.
      MOVE CVBAK-KKBER TO LIKP-KKBER.
      MOVE CVBAK-GRUPP TO LIKP-GRUPP.
      MOVE CVBAK-SBGRP TO LIKP-SBGRP.
      MOVE CVBAK-CMWAE TO LIKP-CMWAE.
      MOVE CVBAK-WAERK TO LIKP-WAERK.                      "46C/note 184914
      MOVE CVBAK-CTLPC TO LIKP-CTLPC.
      IF LIKP-LFART = TVAK-KORLI.
        LIKP-KLIEF = CHARX.
      ENDIF.
      MOVE CVBAK-LIFSK TO LIKP-LIFSK.                           "45B
    Pick-up sheet number in delivery order processing is external dlv. no.
      IF CVBAK-VBKLT EQ VBKLT_AUSL_AUFT OR
         CVBAK-VBKLT EQ VBKLT_AUSL_AUFT_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.
    Consignment issue by service agent is external delivery number
      IF CVBAK-VBKLT EQ VBKLT_EDL_ENTN OR
         CVBAK-VBKLT EQ VBKLT_EDL_ENTN_KORR.
        MOVE CVBAK-BSTNK TO LIKP-LIFEX.
      ENDIF.

  • Split the Delivery based on Storage location

    HI all,
    How to Split the Delivery based on Storage location when creating delivery.  is  there any functional setting ?
    Thanks
    Krupali

    Hi KR and Lakshmipathi,
    I am having exactly the same requirement.  My requirement is that i need to split one Sale Order line into multiple line items in delivery based on the stock in a particular storage location at the time of delivery creation.
    Eg.
    Line item 10 in Sale order for quantity 100.
    Storage location stock  in the priority
    ST01 = 40
    ST02 = 25
    ST03 = 2000
    I wish to have 3 line items in delivery like
    Line item           Storage Location             Qty
    10                     ST01                                40
    20                     ST02                                25
    30                     ST03                                35
    I was able to do the same in the BADI LE_SHP_DELIVERY_PROC ~ SAVE_DOCUMENT_PREPARE
    But i am facing problems regarding the inconsistency in delivery document such as Picking status update etc
    Suggest if there is any better method to do.
    Thanks in advance.

  • Need to Split Sales Order Line Item in VA01

    Hi,
      I have a requirement in which i have to split an order line item for KMAT materail number. system popup configurable screen, here all the required characteristic values have to be selected as per the customer requirement.
    After entering all the required customer specific characteristic values, system determines batch automatically. If characteristic values of the Batch matches with the characteristic values of configurable screen selected in the sales order
    Here also we have to check the sales Order Quantity (VBAP u2013 KWMENG) and order Confirmed quantity (VBEP u2013 BMENG), if the both the quantities are not same, consider order has partially confirmed.
    If Order quantity is partially confirmed, check for the batches with the same characteristic values of the quotation configurable screen and if batch found, system has to create a one more line item and new batch has to be assigned to create line item.
    Reduce the order quantity equal to the confirmation quantity in the first line item.
    Create a new line item in the quotation, copy all the remaining unconfirmed quantity from the first line item and also copy all the characteristics and properties (item category, schedule line category, business data, item data, and requirement type) and assign the batch to the new line item. System does the availability check automatically and confirms.
    In another scenario system doesnu2019t find batch, in this case capable to promise has to trigger directly.
    Here we have to check the Order confirmed quantity, if confirmed quantity is equal to zero.
    Change the item category of the line item, due to which system determines different Requirement type and schedule line category.
    Based on the Requirement type system triggers the capable to promise.
    I would lke to know which is the suitable user eixt or BADI to split the line items and what all the tables or structures i need to populate in order to create a new line item successfully.
    I have seen many post in sdn but no body gives the right user exit name where i can add new line item.
    Regards,

    Hi Amit,
      Thanks for your reply. In this scenario configurable material is involved. And first Make to Stock scenario is executed to check any material with customer entered characteristics are avialable. If its so it will determine its batch and assigned the quantity.
    If zero quantity is assigned or no quantity is assigned then I have to trigger the Make to Order scenario for rest of unconfirmed quantities in order.
    I have check it in USEREXIT_MOVE_FIELD_TO_VBAP but it was of no use. I even tried in USEREXIT_CHECK_VBAP but still no result. I am not sure what all the tables and structures i need to populate there.
    Regards,

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

Maybe you are looking for

  • Pre loaded apps and info

    Is it possible to delete the apps that come with the ipod touch version 1 with the 2.1 upgrade? When I bought my ipod I had "apps" like stocks, you tube, etc....can those be deleted? As well as for example under the clock, there was some place entere

  • IPhone Sleep Button Might Be Broken

    I recently noticed my iPhone 3G sleep button might have an issue. It works fine, so I am not too concerned but the button is uneven. The left side of the button is very low. Flush even with the iPhone itself. This isn't something most people would no

  • UpdateAllContainers() not working after i insert inlinegraphicelement

    Hi Please find the attached flex project. Its a basic editor. After i insert image to my editor it does not show this but a space is covered by image. after i edit by delete or update my text image shows up. Please help what is missing Thanks & Regar

  • How to change the language of the displayed exceptions in JDeveloper

    Hello all, I am using JDeveloper 10.1.3.2 and wish to see all exception messages in English instead of Greek. Almost always my browser messes code-page information and I end up seeing "?"'s instead of text. Thanks in advance Thanassis

  • Migrating 6.0- 6i: cdr-21247 "no action given"

    I'm trying to migrate application systems from a 6.0 repository to a 6i repository and everything seems to work according to the installation guide chapter 2 'server side installation, migration and upgrade'. However, when I start the actual migratio