Delivery line items:

Dear Guru's,
How to restrict the user from adding a new line item in the delivery order, system should not allow if any one tries to enter new line item at the delivery level. System should allow only the line items created in the sales order.
Skumar

Hi Sushil,
In your case the system is allowing to insert another line item  manually in Delivery Order.
If you want to restrict the beahviour you need to configure the Delivery type configuration your using for Delivery order processing.
Go to Tcode:0VLK,Change the Item requirement in Order reference tab to 201 which has the description NO ordr.w.indepedent Item.
After customization do create a delivery order because customization will be effect only from the next creation onwards.
Now SAP system will respond with an error message if you try to input line item manually in Delivery.
SAP errors message "You cannot add this item to the delivery"
Regards,
Saju.S

Similar Messages

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

  • 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

  • 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

  • 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

  • Unload by delivery line item

    Hello,
    This is related to ECC SAP yard management. I do not see an option to unload delivery by LINE ITEM in LYRDH or in LYLDP. Any suggestions pls?
    We like to unload delivery line items and not complete delivery.

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

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

  • Relationship between Sales Order and Delivery line item

    Hello,
    Can any body explain me the relationship between Sales Order,Sales Order Line Item, Delivery and Delivery line item,Shipment and Shipment line item,
    Please provide me the documentation if you have with the entity relation ship diagrams.
    Thanks,
    Ganga

    Sales order is the order from your customer and delivery is when you are delivering the item.
    Shipping: In general  when the item is dispached from the warehouse, we can say the item is shipped,where as delivery is item/product reaching to the end customer.
    Hope it helps,
    Kiran

  • 1 ASN is only for 1 delivery(line item)??

    Hi,
    1 ASN is only for 1 delivery (line item)?
    or others??
    Thank you.

    Am i understand right in below way??
    ASN is for 1 delivery. ASN is for whole delivery and this delivery might contain many line items.
    ASN is an confirmation of shipment of this whole delivery.
    thanks.

  • Link between delivery line item and sales order item schedule line.

    Hello friends,
    This is a continuation of my earlier query - for which I got half the solution, and this is the remaining problem.
    I want to know: from delivery document line item, how to link it to sales order line item's schedule line (when there are multiple schedule lines with identical quantities).
    Thanks for your help.
    - Chetan

    This is the code which i used for the same purpose and its working.
    Hope this will help you too....
    ****it_itab  is my final internal table.
    *Internal table for manupulating the Delivery balance when
    *its used in more than one schedule line
    TYPES: BEGIN OF ty_new,
           vbeln TYPE vbep-vbeln," so no
           posnr TYPE vbep-posnr," so line no
           etenr TYPE vbep-etenr," schedule line
           delno TYPE lips-vbeln,"delivery no
           delposnr TYPE lips-posnr,"del item no
           totval TYPE vbep-wmeng," total del wise value
           val   TYPE vbep-wmeng," del wise used value
           sdval TYPE vbep-wmeng,"schedule wise  del used value
           sdtotval TYPE vbep-wmeng," total Schedule value
         END OF ty_new.
    DATA:it_new TYPE ty_new OCCURS 0,
         wa_new TYPE ty_new.
    DATA: it_vbepvb TYPE TABLE OF vbepvb,
            wa_vbepvb LIKE LINE OF it_vbepvb,
            fvbfa TYPE TABLE OF vbfa,
            fvbup TYPE TABLE OF vbup,
            fvbap TYPE TABLE OF vbapvb.
      LOOP AT it_vbak INTO wa_vbak.
        LOOP AT it_vbap INTO wa_vbap
                WHERE vbeln = wa_vbak-vbeln.
      SELECT * FROM   vbfa INTO TABLE fvbfa WHERE vbelv = wa_vbap-vbeln
                                             AND  posnv = wa_vbap-posnr.
      SELECT * FROM   vbup INTO TABLE  fvbup WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbap INTO TABLE fvbap WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      SELECT * FROM   vbep INTO TABLE it_vbepvb WHERE vbeln = wa_vbap-vbeln
                                             AND  posnr = wa_vbap-posnr.
      CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'
        EXPORTING
          fbeleg                        = wa_vbap-vbeln
          fposnr                        = wa_vbap-posnr
      FVERRECHNUNG                  = ' '
      FS073_ALT                     = ' '
      IF_NO_SORT                    = ' '
        TABLES
       fvbfa                         = fvbfa
       fvbup                         = fvbup
       fxvbep                        = it_vbepvb
      FVBLB                        =
        fvbap                        = fvbap
    EXCEPTIONS
      FEHLER_BEI_LESEN_FVBUP        = 1
      FEHLER_BEI_LESEN_FXVBEP       = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT it_vbepvb BY vbeln posnr edatu.
      LOOP AT it_vbepvb INTO wa_vbepvb
                    WHERE vbeln = wa_vbap-vbeln
                      AND posnr = wa_vbap-posnr.
        to write data of schedule line with no delivery
        MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
        IF  wa_vbepvb-bmeng EQ wa_itab-openqty.
          CLEAR wa_itab.
          PERFORM schedule_data.  "schedule line based data to be displayed
          MOVE: wa_vbap-lgort TO wa_itab-lgort.
          MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                wa_vbepvb-bmeng TO wa_itab-kwmeng,
                wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          APPEND wa_itab TO it_itab .
          CLEAR wa_itab.
        ENDIF.
        LOOP AT it_vbfa INTO wa_vbfa WHERE vbelv = wa_vbepvb-vbeln
                                            AND  posnv = wa_vbepvb-posnr.
          READ TABLE it_likp INTO wa_likp WITH KEY vbeln = wa_vbfa-vbeln.
          CHECK wa_likp-bldat >= wa_vbepvb-edatu.
    check the Delivery doc date with the schedule line confirmed date
          CLEAR: delbal, deltot,wa_new.
          LOOP AT it_new INTO wa_new WHERE vbeln = wa_vbepvb-vbeln
                                         AND       posnr = wa_vbepvb-posnr
                                         AND       etenr = wa_vbepvb-etenr.
            deltot = deltot  +  wa_new-sdval.
          ENDLOOP.
          delbal = wa_new-sdtotval - deltot.
          CHECK sy-subrc <> 0 OR delbal GT 0.
          MOVE wa_vbepvb-olfmng_flt TO wa_itab-openqty.
          CHECK  wa_vbepvb-bmeng NE wa_itab-openqty.
    ****To check whether this delivery is already fully allocated against
    any other schedule.
    LOOP AT it_lips INTO wa_lips WHERE  vbeln = wa_vbfa-vbeln
                                           AND posnr = wa_vbfa-posnn.
            MOVE: wa_likp-bolnr TO wa_itab-vesname.
            MOVE: wa_likp-vbeln TO wa_itab-delno.
            MOVE: wa_likp-wadat TO wa_itab-wadat.
            MOVE: wa_likp-anzpk TO wa_itab-anzpk.
            MOVE: wa_likp-lddat TO wa_itab-lddat.
            MOVE: wa_likp-ernam TO wa_itab-ernam.
    ******end of code added by IVL1 on sep 27 2007 #3618
            PERFORM schedule_data.
            IF wa_lips-umvkz <> 0.
              tempquant = wa_lips-umvkn / wa_lips-umvkz.
            ELSE.
              tempquant = wa_lips-umvkn. "delivery qty
            ENDIF.
            tempquant = tempquant * wa_vbfa-rfmng.
    ***New logic added to get delivery qty schedule wise****
            MOVE: wa_vbepvb-etenr TO wa_itab-etenr,
                  wa_vbepvb-bmeng TO wa_itab-kwmeng,
                  wa_vbepvb-olfmng_flt TO wa_itab-openqty. "jo
    **if delivery qty is less than or equal to schedule line qty******
            IF tempquant LE  wa_vbepvb-bmeng.
              wa_itab-delqty =  tempquant.
              LOOP AT it_new INTO wa_new  WHERE  vbeln = wa_vbepvb-vbeln
                                         AND     posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                         AND     delno  = wa_lips-vbeln
                                         AND     delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val = tempquant.
                wa_new-totval = tempquant.
                wa_new-sdval  = tempquant.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new TO it_new.
              ENDIF.
             wa_itab-delqty =  tempquant.
             CLEAR tempquant.
            ELSE.
        lips qty > so schedule lineqty
              CLEAR deltol.
              LOOP AT it_new INTO wa_new WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                         AND     etenr = wa_vbepvb-etenr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                deltol = deltol  + wa_new-val.
              ENDLOOP.
              LOOP AT it_new INTO wa_new  WHERE    vbeln = wa_vbepvb-vbeln
                                          AND      posnr = wa_vbepvb-posnr
                                          AND     delno  = wa_lips-vbeln
                                          AND    delposnr = wa_lips-posnr.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_new-val = wa_new-totval - deltol.
                wa_itab-delqty =  wa_new-val.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_new-val.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                MODIFY TABLE it_new FROM wa_new .
                IF NOT sy-subrc IS INITIAL.
                  APPEND wa_new  TO it_new.
                ENDIF.
              ENDLOOP.
              IF  sy-subrc <> 0.
                MOVE-CORRESPONDING  wa_itab TO wa_new.
                wa_itab-delqty =  wa_vbepvb-bmeng.
                wa_new-delposnr = wa_lips-posnr.
                wa_new-val =  wa_vbepvb-bmeng.
                wa_new-totval = tempquant.
                wa_new-sdval  = wa_vbepvb-bmeng.
                wa_new-sdtotval = wa_vbepvb-bmeng.
                APPEND wa_new  TO it_new.
              ENDIF.
            ENDIF.
            IF NOT wa_lips-lgort IS INITIAL.
              MOVE: wa_lips-lgort TO wa_itab-lgort.
            ELSE.
              MOVE: wa_vbap-lgort TO wa_itab-lgort.
            ENDIF.
            APPEND wa_itab TO it_itab .
            CLEAR wa_itab.
          ENDLOOP. 
        ENDLOOP.
        CLEAR wa_vbepvb.
      ENDLOOP.
        ENDLOOP.
        CLEAR wa_vbak.
      ENDLOOP.

  • Issue in Delivery Line Item through VL01N

    Hi,
    During Delivery creation through VL01N, in Line Item details under Financial Processing Tab, Cost Center is showing as non-changable... We cann't enter any value in this field..
    We have two options--
    1. By make the field as changable, so that we can enter the related cost center.
    2. Automatic Cost center should should according to Profit center...
    Please provide the best solution...
    Thanks..

    hi
    cost center its comes from setting related , it related with business area , it delivery its not possible to enter cost center ,
    it is totally related with fico ,
    so first you maintain the cost element , it cost element you can check previous delivery document accounting , goto delivery goods issue document document( mb03), click on display document , ofter click on accounting document , her double click on accounting document , system sows , accounting for debit and credit here g/l account and cost element  account you can find,
    goto okb9 , and select your company and cost element ,click on valuation area/business area based , here you plant and business area ,cost center find,
    in delivery no need direct enter the cost center , its automatic picking when you click on PGI,Updating at mb03,
    please check this , and also you contact your fico consultant

  • Delivery line item dose not exists

    Dear All,
    User have created a outbound delivery and perform Post good issue.No billing document has been created yet. Somehow lineitem does not exists in the delivery document however Material Document for Good issue exists with reference to Delivery Document. I tried to reverse the delivery document with reference . No error was occured but still no reversal was updated on Delivery document. I know it is not possible to delete line item without reversal of PGI but system is showing me the status as described
    Prompt response in this regard is highly appreciable
    Thank you,
    Nomi

    Ankur this was the only line item for delivery and it was not Text Item rather than TAN and relavent for delivery.
    I have analysed why issue arrises as  Enhancment has been applied on Outbound deliery document for the field "Lorry No" on Loading and shipnment tab.Based on lorry no some information is displayed on Additional Data tab fields. If I do not view additonal data tab fields after enterting Lorry No and perform PGI without going to additonal data tab  this issue arrises otherwise it is working fine.
    NoMi

  • 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

  • How to delete delivery  Line item after the Invoice Passed accounting

    Hi Experts,
                    Outbound delivery was created w.r.t.  Purchase order using VL10B.In the current process here batch is determined at delivery level.There was a line item with '0' Quantity which had a batch and another line item with Full Quantity confirmed for a batch and the PGI was done for the delivery.Invoice was created and passed accounting.
                     The problem is that in VF04 in the Billing due list we are able to see the '0' Quantity Line item  as shipped but not yet billed.
                     Doing a PGR ,then delete the line item with '0' Quantity and then again doing PGI was suggested by few people but i feel that will be a very tediuos process since the document  passed accounting.
                      Can anyone help in getting the line item deleted from the delivery document or suggest with ways to remove the data at VF04.
    Warm Regards,
    Jeff

    I think you can comeplete the item by using T.code VL_COMPLETE, check and let us know your feedback

Maybe you are looking for

  • Migration of Internal Orders data

    Hi My client is getting off from parent company and starting its own new SAP system.And data migration is done by LSMW. For this purpose i need to make a data extraction request with my client. Can any one please let me know which all tables data wil

  • Unknown Console Entry

    Hi, I have just recently noticed a new entry in my system log when I put my computer to sleep or wake my computer up: AFPSleepWakeHandler: going to sleep AFPSleepWakeHandler: waking up I don't have file sharing enabled, so why has this begun showing

  • Migrating 1240 APs from one controller to a new controller

    Hi Guys, I am installing a new 4404 controller and I want to simply move the APs that are associated with my current controller to the new controller once installed. The plan is to change the DHCP server once my new WLC is ready and change the option

  • Parse Mac Address with match regular expression

    Hi Everyone, I have a problem with the Match Regular Expression function, I am trying to parse the response two a arp -a 192.168.0.15 request in order to extract MAC address of this remote IP, I used the following RegEx: ^([0-9a-fA-F]{2}[:-]){5}([0-9

  • WAD 7.0 and scripting

    Hi, can someone provide me with an easy example on how to use the scripting web item? I tried to use this item several times but I just don't get it working. thanks in advance, Tom