Packing logic in outbound delivery VL01N

Hi All,
      We are creating outbound delivery using BDC. I am facing problem, while packing.
      Tcode : VL01n
      Screen  PACK (SHIFT + F6 )
     Tab        PACK MATERIAL
             I am building the whole packing logic in BDC.
      Steps
              #1 . Create Handling units - Table control 1
             #2  . Pick the materials       - Table control 2
             #3 . Hit the pack button .
                I do this for all the HUs.
Problem: The table control 2 has only 10 visible line._ I cannot find a consistent method to scroll the table._?
  Currently I am using the NEXT_PAGE button to scroll. [ PPLUS ]
     It displays the last 9 line items. 
Scenario :
Can you guys suggest me a consistent way to scroll?
Please do not suggest the scroll bar option/ P+ / P++ - These are not working for this screen!!!

Hello,
    There is this program MV50AFZ1 inside that you have the
forms 1)USEREXIT_SAVE_DOCUMENT
         2)USEREXIT_SAVE_DOCUMENT_PREPARE.
I think you can write your code to populate the fields here.
Regards
ashish

Similar Messages

  • BAPI for posting outbound delivery (VL01n)

    Hi,
    I need some help in finding correct function module or BAPI for posting outbound delivery (VL01n), the requirement is I need delivery created with reference to sales order and must take following input.
    1. Shipping Point
    2. Sales Order
    3. Selection Date
    4. Delivery type
    I tried some existing ones and some do not have delivery type input and some without Shipping Point input.
    Please let me know.
    Regards
    Ram.

    Hi
    Please avoid the duplicate post .It is not as per the Forum rules.
    You have posted the same question with this title in ABAP General Forum:
    Outbound Delivery BAPI/Function module
    Neha

  • Outbound Delivery - VL01N

    Guys,
    When Im creating an outbound delivery in VL01N Im getting the following error.
    1.Delivery has not yet been put away / picked (completely)
    2.For plant VHYD, material type FERT is not defined in Table T134W
    How to resolve this.
    Regards
    Ayyallas

    1.Delivery has not yet been put away / picked (completely)
    Delivery Qty = Picking Qty
    2.For plant VHYD, material type FERT is not defined in Table T134W
    Check material type is FERT for delivery material ??

  • About packing question in outbound delivery

    Hi there:
    Could you tell me whty some outbound delivery need to be packed before PGI and some do not need? I meant what's configuration to trigger that? Thanks.

    Hello
    Its definitely depends on the item Category getting determined during delv.
    Check TCode VLPP - Packing Control By Item Category (SPRO - LE - Shipping - Packing)
    By this you can control for each item category whether it can be packed or whether it requires packing. If an item category is characterized as requiring packing, the item must be packed in delivery, before goods issue. If it can be packed, you can pack it. You cannot pack items with an item category which cannot be packed.
    For materials to  be handled in batches, you control whether only items with batch available can be packed, or basically the cumulated main item quantity is packed.
    For each item category, enter either the packing control "A" for item categories requiring packing or "B" for item categories which cannot be packed or, leave the field empty if you want to characterize the item category as "can be packed".
    Regards
    JP

  • About Packing Instructions for Outbound Delivery

    Hi Experts,
    I've created a Packing Instruction (POP1 + POF1) for a Material 123456, using the Key Combination Material/Plant.
    How can I use those Instructions into VL02n ?
    Any idea?
    Regards,
    David

    HI David,
    Check whether you have maintained the required config under the following settings.
    Logistics - General>Automatic Packing>Determination of Packing Instructions
    If you have maintained the procedure as well as the necessary condition records in POF1 for your determination type maintained in your determination procedure, then you can use the Automatic Packing Icon in the delivery to make use of your POP1 & POF1.
    You can find the Auto-Pack Icon by clicking the packing button in the delivery.
    Hope it helps.
    Regards,

  • Enhancement for Outbound delivery(VL01n)

    Hi all,
             I have a requirement of making delivered quantity = picking quantity.
        which is the relevant enhancement for this requirement.
    thanks in advance
    sandeep.

    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.

  • How to update packing list inform to an outbound delivery document

    Hi all Experts,
    I meet with an tough requirements, Is there any solution fuction can use to generate packing to a outbound delivery document?
    PLease kindly advice, thanks!
    Regards,
    wei-guo

    Hi,
    I did a little test and, within the method CHANGE_DELIVERY_ITEM, itu2019s possible to fill the picking quantity (structure CS_LIPSD) but unfortunately during the save the added information is lost.
    This is because the BAdI method is fired too soon and the routine PICKMENGE_BEARBEITEN (SAPFV50P) is not called at all.
    The problem is quite complex; even after changing the picking quantities, the picking status still remains open!
    The picked quantity is generally filled:
    u2022     by printing the picking list
    u2022     Warehouse Management by creating a transfer order
    u2022     or by manual entry
    Otherwise, it is assumed that picking has not yet been initiated and the result is that picked quantity is ignored.
    In my opinion itu2019s very difficult to solve your problem using only the BAdI implementation.
    I suggest you to propose an alternative solution such as the automatic processing of Picking Output EK00; easy to activate and absolutely standard!!!!!!
    Regards,
    Andrea

  • IDoc for creating VL01N (outbound) delivery

    Hi,
    I have an interface which provides a SO and need to create an outbound delivery (VL01N) in SAP. This Idoc will be inbound to SAP and requires to create an delivery (vl01n). I tried using delvry03 with message type desadv....but nothing is successful. pls can anyone provide ome help here?

    Hi,
    Check Line number 96 of This bapi
    perform delivery_replicate tables gt_komdlgn
    and the code written inside this sub-routine.
    call function 'GN_DELIVERY_CREATE'
           exporting
                vbsk_i         = gs_vbsk
                no_commit      = gc_true
                if_synchron    = gc_false................
    Though I have not used this BAPI, by going through the BAPI code, i think delivery will be created.
    Regards
    Vinod

  • Packing two HU's - Outbound delivery

    Hi,
    I am creating a RF transaction to merge two HU's with same delivery.
    I want to merge two HU's with packing object 01 - Outbound delivery and same delivery.
    I don't want to create a new HU, but merge one HU into another ie, add the source HU line item to Target HU.
    I have used BAPI_HU_REPACK Function Module but it was giving an error "HU &1 is assigned to an object that cannot be processed here", where I have passed HUKEY as Target HU and in REPACK table passed the values of Source HU with FLAG_PACKHU as 'X'.
    Is there any problem in sending the data.. or else i need to use a different Function Module. Please suggest me.
    Thanks in advance... Waiting for ur reply.

    Hemanth,
    I recall that we used to update the HU status as well when we dissociated HU from delivery,  though can't remember the reason now.
    Pls check the VEKP-STATUS for HU after you have done with these 3 FM calls, I believe you have to update the status to 'BLANK' with the help of some FM, try it first if it works for you by direct updating it in table in Dev.
    BR,
    Diwakar

  • Updating Serialnumbers automatically while creating Outbound Delivery

    Hi Experts,
    My requirement is to populate serial numbers automatically while saving the outbound delivery (VL01N).
    I tried with user exits, but I am unable to succeed.
    I am using ECC5.
    Any help would be greatly appreciated.
    Thanks,
    Veera K

    Hi Veera,
    For an example if there is a  need to update some table with delivery number and serial number on saving a delivery:
    in include MV50AFZ1:
    FORM USEREXIT_SAVE_DOCUMENT.
    *{   INSERT <TR#>
    "work structure LIKP has the header info here
    "Use that and fill the required workstructure and update the correponding table
    *}   INSERT
    ENDFORM.

  • Error in delivery -- VL01N

    Hi team
    Here is my problem I hope you can help me resolve it or give me some ideas to handle:
    I have the the sale order with 2 items  a material type that is the father (100) and the other releated to the first one (101)
    when we try to create the outbound delivery VL01N or through the sale order menu, we see that the delevery instead to show both item 100 and 101, only shows item 101. when i check the logs it said that: " No schedule lines due for a delivery up to the selected date".
    I have researched delevery in others environments and it works ok I mean delivery has both items.
    Researching the customizing I have not found diferences between them. Also I changed the date in the schedule tab in the sale order. and ot does not work
    If you have any idea.. it will be highly appreciated.
    thks

    Hi,
       Ideally when you select a later date, it should be able to create the delivery for both the items 100 and 101. Since as you say, it is not coming for the other items, can you confirm the delivery date of 100 and also the delivery date of 101. And also do let us know, when you are trying to create the delivery, is the delivery creation date is the latest of both the dates.
      And also when you entered some stocks in the wrong environment and tested, what is the log message you got when you checked?
    Regards
    Ashok.V

  • Packing handling units to outbound delivery with batch management

    Hello all,
    I am packing an outbound delivery with a material that has batch management active. The packing is from a storage location that manages handling units (HU-managed sloc).
    My problem is u2013 before entering the HUs to the delivery u2013 the system asks me to enter the batches (in the batch split function). Only then I am allowed to enter the HUs in the packing function.
    What could be the reason for this preliminary batch entries ?
    How can I set the system not to do that, i.e., I would like to be able to enter the HUs directly without entering the batchs separately.
    Thanks,
    Isaac

    Dear Isaac,
    this system behaviour can not be changed in standard and is also not recommended to change it via a modification. The reason for this system behaviour is to avoid inconsistencies in the system. The HU that you assign to the delivery, should exactly fit to the delivery. In case if the material is batch managed, you should specify the batch first, and then add the fitting HU with exactly that batch.
    I suppose you checked the longtext for HUDIALOG102, that you get in the described case, but I copy it for you, in case if you did not read it:
    "Diagnosis
    There are items to be handled in batches which have not yet been
    assigned to a batch.
    Batches must be recognized for items with HU-managed storage location
    For items at a storage location that is not HU-managed, the item type
    determines if packing will take place at cumulated item quantity level
    (meaning that the batch is not recognized at any point in the handling
    unit) or if packing must take place at batch level.
    System Response
    If an item requires batch identification, that item will not be
    suggested for packing as long as the batch is not recognized.
    Procedure
    Go to the maintenance of the delivery item and assign at least one batch
    to the item."
    Regards,
    Ely

  • 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

  • Packing using function modules in outbound delivery

    Hi All,
             I am creating a outbound delivery using BDC. I am trying to Create HUs, Pack and assign serial numbers. I wish to do it using standard FMs.
    Please advise.
    Step # 1. I was able to create HUs using BAPI_HU_CREATE .
                   I was not sure on the HU_EXID_TYPE though. I created with
                                 'F' -No. rnge obj. HU_VEKP external interval - SSCC18 before GI.
    Step #2  I assigned the HU to my Outbound delivery by updating VPOBJKEY and VPOBJ field of VEKP table. QUERY.
                    This also successful. I am now able to see the HU attached to the Outbound delivery.:)
    Step #3  But I am not sure how to do the packing/ Assign Serial numbers.  Need help?
                         I am working with FM WS_DELIVERY_UPDATE...... Pls advice.
                           Not sure on the values that I need to pass. Please help!
    Thanks!

    hi sridhar,
    i have the same requirement as yours....
    but i m facing some problems with it....can u please share u r solution ?
    thanks and regards,
    Omkar

  • Pack existing Handling Units into outbound delivery

    Hi,
    The current scenario is that a WHSCON IDoc is passed into SAP which will pack handling units onto an inbound delivery. As part of this processing the IDoc will create the HU records on VEKP.
    Now, we are sending in a similar WHSCON IDoc to pack the same HU onto an outbound delivery. However, the IDoc is failing. It appears that the IDoc wants to create the HU instead of simply using the existing one.
    Has anybody faced a similar issue.
    Thanks
    Martin

    Hallo!
    Yes, I have the same problem now.
    In the past we had 2 wm sub systems which send data via WHSCON to SAP and pack the delivery items.
    To avoid error messages we "kill" the old vekp-record by setting the vekp-status to "0099" with a hart update and create new hu records.
    Nowadays this solution is not sufficient,  because the old hu has serial numbers.
    Any solution in sight?
    bye
    bernhard

Maybe you are looking for