Outbound delivery enhancement

Hi to all,
I have a task to enhance Vl02n for outbound delivery. My requirement is to populate picking quantity using delivery quantity. Normally pick list OUTPUT TYPE EK00 will populate picking quantity. here one of my company's plant
they are not doing pick list.
somebody advised me me to use MV50AFZ1 (standard include program).
But I am new to ABAP please help me to complete this task.
Any help will be appreciated

you have to change the kcmeng filed in xlips internal table in  the form user_exit_save_Prepare in the program MV50AFZ1 .
you need to update the updkz field in xlips to 'U' to reflect the changes in the delivery.
without updating updkz the delivery quantity will not change.

Similar Messages

  • Enhancement during automatic HU creation for outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field EXIDV2 of table VEKP ( HU header table ) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001, but it is not helping in my case. Because it is called only when Transfer Order is created manually (LT03), but is not working when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    HI,
    You can use the BADI BADI_HU_MAIN and the method HEADER_UPDATE_IN_PACKING.
    REgards,
    Ankur Parab
    Edited by: Ankur Parab on Jul 28, 2009 6:53 PM
    Edited by: Ankur Parab on Jul 28, 2009 6:56 PM

  • Enhancement during creation of outbound delivery to update serial number

    Dear ABAPers,
    Is there any Enhancement during creation of outbound delivery to update the serial number.
    My Requirement is In the VL10B transaction Outbound delivery will be created for the Purchase Order. During this time i want to update the serial number in the Outbound Delivery.
    Any Replies.....
    Thanks & Regards,
    Ashok kumar.
    Edited by: M Ashok kumar on Jul 22, 2010 6:41 AM

    hi
    check INVOICE_UPDATE
    Thanks
    Edited by: saurabhmani on Jul 22, 2010 3:00 PM

  • Enhancement to change the quantity while creating outbound delivery

    Dear All,
    Is there any enhancement to change the Actual Quantity while creating the Outbound delivery.
    I have tried using the BAdI LE_SHP_DELIVERY_PROC in the method CHANGE_DELIVERY_ITEM. But i am not able to change the quantity. In the runtime it allows me to change the quantity. After saving the document the quantity is not changed.
    I do not know what all are the parameters and fields to be passed to change the quantity. If anyone knows please help me.
    Anyone guide me to do this requireemnt.
    Thanks & Regards,
    M.Ashok kumar.

    Hi Ashok,
    I have a similar issue, i have done the same as you did by changing the fields LFIMG_FLO and LGMNG_FLO.
    But though Delivery qty is getting update but picking qty is remaining the same.
    Suppose when user give Delivery qty as 8 and Pick qty as 8, i am able to change the delivery qty to 5 but not Pick qty to 5.
    can you please let me know how to acheive it.
    Regards,
    Kartheek.

  • Problem with IDoc for an outbound delivery

    Dear All,
    I am facing a problem with the IDoc defined for an outbound delivery.
    Scenario:
    Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
    What I did:
    I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
    I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
    What I can do:
    I can issue an IDoc message, it looks ok and contains the standard data.
    Problem:
    It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
    Am I using the proper exit? I appreciate any suggestions.
    Thanks,
    Grzegorz Skorus

    Hello Grzegorz
    Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
    Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases,  it may help you.
    Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
    Futher  the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
    Hope this helps and others will pitch in.
    1498409 - Valuation Type unavailable when creating deliveries using IDOC
    631913 - Exit after formatting delivery IDoc type DELVRY

  • Update VEKP-EXIDV2 during automatic HU creation from outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field VEKP-EXIDV2 ( HU header -- Handling Unit's 2nd External Identification) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001 and also BADI_HU_MAIN, but it is not helping in my case.
    Because it is called only when Transfer Order is created manually (LT03), but is not triggered when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    Hi Ankur,
    I am not going into HU creation screen in VL02N. There is some setting on functional side to create the automatic TO and HU during outbound delivery creation.
    When I save the delivery, an entry in HU header table (VEKP) gets created automatically. I want to populate the field VEKP-EXIDV2. But, the EXIT or BADI as mentioned in my previous post is not helping in this case.
    I would appreciate if you can throw some light in resolving this problem.
    Thanks.
    Devendra

  • Creation outbound delivery based on subcontracting purchase order

    Dear experts,
    I have the following flow: I'm creating a subcontracting order with a number of component in a BOM. I need an outbound delivery for each subcontracting order (and I'm likely to have multiple subcontracting orders per vendor per day), with a link in the delivery of both the FG (to be produced by the subcontractor) or at least the subcontracting PO. I've already looked at the ME2O transaction but this one seems to consolidate everything to one delivery per vendor, without a link to the PO.
    An aditional requirement is that we need to be able to do a mass-creation of the deliveries,
    Thanks in advance,
    M

    the delivery of components to a subcontractor has no relation to a subcontract order in core SAP.
    Such feature is only possible with the new AD_SUBCON enhancement  if I am not mistaken

  • Idoc used by CRM to post the outbound delivery in R/3 while saving the sale

    Hi,
    Can any one tell me …which idoc (from the r/3 system) the crm system calls while creating a inbound delivery for the sales order created in crm.
    I am having fields like ‘Transaction Type’, ‘Ext. Reference cust’, ‘Delivery Control’ etc…which are there in the CRM.These fields need to copied to the R/3 in the tables LIKP and LIPS.
    The process of creating the outbound delivery is automatic means when a sales order is created and saved in CRM ,the delivery is created in the R/3 (note: the order is not moved to r/3 ..Only delivery is created).
    I need the idoc which is used by the CRM system to post the outbound delivery and any badi ….so that I can extend the idoc segments and use the badi to populate the data.
    Need your inputs on this.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    For this requirement IDOC's are not used.Bapi is used.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.

    Dear Team,
    Can you please help me by providing the BAPI name for creating the outbound delivery for Scheduling Agreement in SAP SD .
    I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.
    The system says "missing data in the BAPI interface: VBAK VBTYP E". It seems another FM should be used for scheduling agreement only.
    Thank you for your help in this regard .

    Hi Raghu.
    As much as I don't want to do this but just to resolve this error I created an enhancement implementation in include LV50R_CREACSV form routine dcs_check_so_vs_interface and modified VBTYP to blank to avoid that error message.
    Got the tip from this thread http://scn.sap.com/thread/1972059
    Unless... anybody has a brighter idea (without modifying the standards)?

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

  • Bapi to be used  for delivering data of outbound delivery to LDL

    Hi,
    I am new to ABAP development and I need to do some enhancements for standard bapi BAPI_OUTB_DELIVERY_SAVEREPLICA .
    I have to use bapi for delivering data of outbound delivery to LDL.
    I have created segments with additional fields for order header and item header in we31.
    The additional fields should be implemented in created segments.After creating segments the additional fields data should be assigned to Idoc structure OBDLV.
    This is the requirement I need to deliver  by tomorrow.Please help me by providing step by step procedure and how to do?
    Thanks in advance
    Raj

    Dear Venkat,
    for cancelling GI/GR you may use BAPI_GOODSMVT_CREATE with GM_Code 06
    for cancelling confirmations you may use BAPI_PRODORDCONF_CANCEL
    Regards, Andreas

  • Report to display Outbound Delivery Net price

    Hello gurus,
    Is there any standard report in which you can filter in the selection screen or display in the layout the Header Net price (KONMP-NETWR) of the Outbound Delivery? We need to do this without using tables (as said, using reports).
    We would need to have a way to display a list of OD's with Header Net Price = 0.
    Thanks a lot,
    Marc
    Edited by: Marc  Duñach Lagalante on Nov 26, 2009 10:13 AM

    Hi,
    You can do an enhancement in tcode VL06O. You can use the enhancement V50Q0001. You can check the Note 368917 - Shipping unit not displayed in delivery monitor.
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot this note: 128150 - VL06: Designing your own display variants
    Edited by: Eduardo Hinojosa on Dec 7, 2009 6:37 PM

  • Create multiple custom tabs in Outbound Delivery

    Hello,
    I want to use  LE_SHP_TAB_CUST_ITEM Badi to add a custom tab to outbound delivery.
    One implementation is already developped for this Badi and a tab is correctly added on the item level of the outbound delivery.
    Now, I want to add a second tab on the item level. Any clues on how to do it?
    Thank you in advance.

    Hi,
    as i said in previous reply, for a single use BADI we can not create multiple implementations. this is very clear for you also.
    in this case we can create a new custom Enhancement Spot using trasaction code SE18. then for this enhancement spot we can create BADI definition. then for this BADI definiton we can create multiple implementations. now you have to call this BADI from your already implemented BADI.
    for example go to then method of already implemented BADI.
    Method.
    DATA: l_r_new_badi type ref to znew_badi.
    CATCH.
    GET BADI l_r_new_badi.
    CALL BADI l_r_new_badi->method_name
    exporting
    importing....
    ENDCATCH.
    Endmethod.
    This way we can use single use BADI as multiple use BADI.
    Regards,
    Prasad

  • What INCLUDE calculates total Weight on Outbound Delivery?

    Hi,
    We have a bug in our Outbound Delivery "total weight" calc on the Item Overview tab.
    I need to locate the logic that calculates this value.
    Can someone please tell me the Include or Module where I might find the code that calculates this.
    The Delivery Program seems to be SAPMV50A, but I don't know how to locate the module or user-exit/enhancement within that program that calculates the value for this field.
    Hope that makes sense...thank you for your help.
    Andy
    Edited by: Andrew Brusko on Nov 17, 2011 2:48 PM
    Edited by: Andrew Brusko on Nov 17, 2011 2:49 PM

    Hi Andy,
    You may go ahead to find out what technical field that total weight belongs.
    Then either search that element in your program and put break point at every where it is used through out or crerate a watch point to trigger when the value at the total weight field gets populated.
    Please analyze this way to get your answer.
    Hope this helps.
    Thanks,
    Sourya Prakash.

  • Update Outbound Delivery in EDI Process - Urgent

    Hello experts,
    I have to update outbound delivery for picking & PGI in EDI.
    I recognized the standard BAPI - BAPI_OUTB_DELIVERY_CONFIRM_DEC for this process, but it doesn't confirm picking.
    I also recognized the IDOC - IDOC_INPUT_DELVRYwhich doesn't create partner function.
    So now I need to choose any one & enhance with the help of User exit. I found a user exit in IDOC for creating partner function but there is no user exit in BAPI for picking confirmation.
    Please suggest me which is the best to use an IDoc or create a custom BAPI for this scenario with pros & cons.
    Thanks in advance,
    Sangeetha K
    null

    Hi gurus,
    Please help me with the issue.
    Points rewarded........
    Sangeetha

Maybe you are looking for

  • How do I add to a pdf created through InDesign?

    I want to add some more text to a book cover that someone else created in InDesign. They only gave me a pdf. What's the best way to do it? Also, the new text has to be a specific yellow Pantone color. Thank you!

  • Problem with Fuzzy Logic Controller Design window

    Hi, I'm designing a fuzzy inference system using the Fuzzy Logic Controller Design tool. But when I use up to 4 input variables, the Rule Editor window is out of center and I cannot see the left parts of the antecedents. See the attached picture. The

  • Centralise System Landscape Directory

    First off, I'd like to say Happy new year everyone..... especially those that assisted me in 2005! We are having problems transporting through CMS due to having three SLDs - XI3.0 sp12, oracle 9.2.0.6 and windows 2003 cluster. I have tried exporting

  • Ejbgen: bug in many-to-many cmp

    I am trying to use ejbgen to generate the code for many-to-many cmr relationships. I have come across a bug where the ejb-jar.xml generates a non compliant ejb2.0 xml tag. The actual tag should be <relationship-role-source> however, it generates <rol

  • Firefox does not load any sites the first time, including Firefox itself, other browsers do.

    In the last few days I have experienced a problem logging on to nearly every site the first time. I get the message that the connection was reset....we have 3 identical computers in our home and I am the only one experiencing this problem. I can imme