Population of Number of packages field(LIKP-ANZPK) in delivery document

Hi,
We have a requirement from our client that the number of packages field needs to be populated in the delivery document automatically.
Scenario:
The plant is a warehouse managed plant. The delivery document will be created and the TO will be created automaticaly and confirmed. On confirmation of the transfer order the delivery document should be updated with the number of packages field.
We have setup the packing instructions using POP1. The number of materials in one carton will be mainatined through POF1(O/P type STOC with condition record for material/PLant/Sloc)
We need information on any standard SAP program which will calculate the total number of cartons/Packing boxes required for the materials specified in the delivery document and this should be populated in the number of packages field in delivery document.
Would appreciate help from someone who has worked on such a scenario.
Thanks,
Harish

Hi,
If you use pick and pack LM45 to pack the items as you pick when the TO is confirmed this field automatically updates with the number of HU used and you get an accurate packing hierarchy.
James

Similar Messages

  • Auto Population of number of packages field in the delivery document

    I have a requirement wherein the number of packages field (LIKP-ANZPK) field needs to be populated automatically in the delivery document. I have maintained the packing instruction(POP1) and assigned the instruction to respective material(POF1). Is there anyway that standard SAP calculates the number of packages from POP1/POF1 and populates it into the delivery document?
    It would be helpfull if someone can let me know if this scenario is possible via standard SAP config? If yes what other configs should i setup?
    Thanks,
    Harish

    As far as i know SAP does not perform this calculation based on POP1/POF1 and this is not controlled in Configuration.  It is simply performed automatically by the system by calculating the number of HU's in the "Pack Screen" of the Delivery.
    thanks,
    A

  • Regarding field likp-anzpk updation

    hi experts,
    in my requirement i have to update the field  (likp-anzpk)  in vl02n transaction with total no packages based on the total line
    items weight , but i found in some of the threads , that the field will be updated automatically when the packaging functionality
    is once activated ,
    i asked my client abt it ,they said that they r not activated packaging functionality.
    is there any other way to update this field , i tried writing code in badi LE_SHP_DELIVERY_PROC and in method
    IF_EX_LE_SHP_DELIVERY_PROC~SAVE_DOCUMENT_PREPARE , but it is useless
    pls suggest me on this if there is any other way.\
    thanks.

    hi break point,
    my clients actual requirement was , he creates stock transfer advice (STA) against the PO using the transaction
    VL10B , the moment STA was created ,he was asking for the field likp-anzpk has to be updated when he go to
    display mode to VL02N, when he double clicks on the generated STA no from VL10B.
    i have tried in the method  BEFORE SAVE AND PUBLISH DOCUMENT,it was executing when the user pressed SAVE
    button in VL02N ,
    can any body pls suggest which method i have to use to update the field likp-anzpk immediately when the STA was created
    from VL10B before the display of the sta in vl02n.
    let me know that any USER-EXIT or BADI  exists to fullfill this req
    regards\
    maheshlap

  • Assignment field in goods issue/delivery document type WL

    Hi,
    Would anyone know where we can check how the value for Assignment field in goods issue/delivery document type WL is determined? Any help is greatly appreciated. Thanks.
    Sheila

    Thanks Samit. We are already aware of the delivery document type. Would this be maintained anywhere in the copy control? We are still not able to determine how the Assignment field is populated in the accounting document of goods issuance. Thanks.

  • How to find Number of package for a Billing Document

    Hi,
    I have a requirement in that i need to print the number of packages used for a particular billing. Please tell me the tables and fields in which i get this?
    Thanks and regards,
    Ezhil.

    If your billing document is created with reference to the Delivery, then check the field LIKP-ANZPK.
    Regards
    Vinod

  • Need a BAPI to upload "Number of packages" for outbound delivery in VL02N

    Hi,
    I need a BAPI which can change data into field LIKP-ANZPK (Number of packages) for outbound delivery with tcode VL02N.
    I saw BAPI_OUTB_DELIVERY_CHANGE but don't know what to parameter to fill.
    Can anyone help me?
    Tarick.

    This solution is in kzapk and kzntg.
    Example:
    CLEAR ls_vbkok.
         ls_vbkok-vbeln_vl  = <ls_created>-document_numb.
         ls_vbkok-vbtyp_vl  = <ls_created>-document_category_sd.
         ls_vbkok-anzpk     = id_volum.
         ls_vbkok-kzapk  = 'X'.
         ls_vbkok-kzntg  = 'X'.
         ls_vbkok-wabuc  = 'X'.
         CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
           EXPORTING
             vbkok_wa       = ls_vbkok
             update_picking = 'X'
             synchron       = 'X'
             commit         = 'X'
             delivery       = <ls_created>-document_numb
           IMPORTING
             ef_error_any   = ld_error.

  • FM to change field LIKP-FAKSK

    Hi Experts,
    I am searching for a function module or BAPI to change the field LIKP-FAKSK in delivery. I already tested BAPI_OUTB_DELIVERY_CHANGE, BAPI_OUTB_DELIVERY_CONFIRM_DEC etc. but they do not contain the field LIKP-FAKSK.
    Any ideas which FM I can use for this?
    Regards
    Henryk

    Hi,
          check this bapi 'BAPI_CUSTOMERQUOTATION_CHANGE' in that
        check the strucure BAPISDH1.
        some of the structures where i found the field FAKSK  check the structures it may be useful
        BAPIDLVHDR
        BAPILEDLHEAD
        BAPIORDERS
        BAPISDH1
        BAPISDHD
        BAPISDHD1
        BAPISDHEAD
        BAPISDHEAD1
        BAPISDORDERSBOS
    Thanks & Regards,
    Sateesh.

  • Need extra field in J1I5 for delievry document number.

    Dear All,
    in J1i5 when updating RG1 i need one extra colomn that is delivery document number
    so how to do this'
    as its only coming the PGI number i need one extra colomn of delivery document number.
    Regards
    Subrat

    Dear Subu,
      As I have already mentioned that it is not possible to add a new column for J1I5 transaction. But You can add a new column for the report  which you are downloading. For this you need to do a development for it.
    I hope this information is helpful..
    Best Regards
    MBS

  • Vendor batch and batch field on the inbound delivery

    hi GUrus,
    i have looked through most of the threads where the topic of vendor batch and batch on the inbound delviery has comeup. I'm specifically looking at a scneario where i would want to pass the on the batch number provided by the vendor on the IDOC to batch field on the inbound delivery. The reason for this is , i can look at the batch field in the confirmations tab of the PO, in the purchase order histroy tab of the PO, and also MMBE tcode. the material is also batch managed turned on in hte material master. But the issue is that even though i put the batch provided by vendor in the CHARG field on the ASN IDOC, it is still getting populated in the vendor batch field in the inbound delivery.
    any ideas?
    Thanks
    Ravi

    Hi,
       Refer the note:  833668 - Creating batches in the inbound delivery using IDOC  which explains the system design.
    Regards,
    AKPT

  • Serial Number on Delivery Document

    Hello All,
    I want to have the serial number of an item on the actual delivery document. I know that this is a standard functionality in 2007A. However, in my scenario, it doesn't work.
    I have an item DG0001 which is a serial managed item. If have another item BOQ0001 which is NOT a serial managed item. DG0001 is the child item of BOQ0001. When I create a delivery document, I deliver BOQ0001. as a result, it doesn't display any serial number. However, since i've left the default printing preferences as they are, it prints out the "Serial Numbers in Document" Report as well as my delivery note and on that I see the correct Serial Numbers.
    My question is, how do I get the serial number of a child item onto the delivery PLD?
    Thanks
    Reza

    As the other reply suggests - add a UDF and create a formatted search on that UDF.
    The formatted search could be a function call to a function you define in SQL Server which taken the ItemCode on the Delivery line as parameter and returns the Serial number as the result.
    The logic to drill in to the line items child and then fetch it serial numbers can be created in the SQL Function.
    Suda

  • Enabled (LIKP-ANZPK) No.of packages Field in VL03n (Item Overview tab)

    Hi Guru,
    I want to edit  No.of packages(LIKP-ANZPK) field in display mode in VL03n .
    Is it possible, Any one can tell which screen and what is process, How i can made editable field while Display Delivery (VL03N).
    Please help me out.
    Thanks&Regards
    Durgesh

    I don't think you should be trying to make changes in display mode.
    Rob

  • I want to editable field No.of packages(LIKP-ANZPK)  in VL03n T.code

    Hi Guru,
    I want to edit No.of packages(LIKP-ANZPK) field in display mode in VL03n .
    Is it possible, Any one can tell which screen and what is process, How i can made editable field while Display Delivery (VL03N).
    Please help me out.
    Thanks&Regards
    Ramakrishna

    Hi
    How can you make a field editable in Display mode
    that is too in a standard Transaction
    if you wants to edit/change the field ANZPK use VL02N tcode and edit
    it's not possible to make editable in VL03N display mode
    Regards
    Anji

  • Populating the "number format" and "calculate" field properties?

    I've been making a lot of Acrobat forms with an extremely large number of form fields (as in, over a hundred or more per form).
    Each field has to have these properties:
    -Set to Number format, with 4 decimal places specified
    -Set the Calculate property with a simplified field notation (field1*field2), to perform multiplication, or, it's set wtih the "value is the (product) of the following fields" function.
    Is there a way of copying these attributes to already pre-existing fields?  It appears that for already existing fields, if you want them all to have these same attributes, you have to set them one by one-- very tedious.  If you multi-select all fields at once, it doesn't let you set them all to the same calculation setting, and it doesn't even let you set them all to number format.
    So, up till now I've simply made one (or a few) fields, set them to these properties, and then populated them by duplicating the fields, but-- I still then have then to go in and re-name every single field, so that each is a unique field-- also very tedious.
    Is there some way that I don't know about, that would allow me to set these properties to multiple pre-existing fields at the same time?

    Unfortunately, no.
    However, you can set the the field's calculation formula using a simple script.
    Let's say your fields are called field1, field2, field3, etc. You can then run this code from the console:
    maxFields = 100; // let's say you have 100 fields
    for (i=1; i<=maxFields; i++) {
         f = this.getField("field"+i);
         if (f) f.setAction("Calculate", "event.value = this.getField('x').value * this.getField('y').value;");
    Of course, you can adjust the formula to your own needs.
    Make sure you use single quotes inside of the script when you want to specify a literal string.

  • Updating LIKP-ANZPK when goods receiving one line item of Inbound Delivery

    I am Goods Receipting a single inbound delivery line item via function module WS_DELIVERY_UPDATE. Once the line item, and associated Handling Unit, are received, I would like LIKP-ANZPK (number of packages) to be updated with a new total of HU's that are on the inbound delivery. Does anyone know how to achieve this? Is there some flag I'm missing in WS_DELIVERY_UPDATE? Here's my call to this function:
      Format Delivery Number
        CLEAR: gs_vbkok.
        gs_vbkok-vbeln_vl  = gs_e1edl20-vbeln.
        gs_vbkok-wabuc     = gc_true. "GR
        gs_vbkok-wadat_ist = sy-datum.
        gs_vbkok-kzebu     = gc_true. "Posting as Partial Goods Receipt
      Format Picking Confirmation table
        CLEAR: gs_vbpok, gt_vbpok[].
        gs_vbpok-vbeln_vl  = gs_e1edl20-vbeln.
        gs_vbpok-posnr_vl  = gs_lips-posnr.
        gs_vbpok-vbeln     = gs_e1edl20-vbeln.
        gs_vbpok-posnn     = gs_lips-posnr.
        gs_vbpok-ebumg_bme  = gs_l44_sum-vemng.
        APPEND gs_vbpok TO gt_vbpok.
      GR the Individual Inbound Delivery Line Item. ZDL_BADI_HU_SAVE will
      change the HU Status table HUSSTAT and the HU Header table VEKP to
      allow us to delete the HU.
        CLEAR: gs_prot, gt_prot[].
        CALL FUNCTION 'WS_DELIVERY_UPDATE'
          EXPORTING
            vbkok_wa                 = gs_vbkok
            commit                   = gc_true
            delivery                 = gs_e1edl20-vbeln
            update_picking           = gc_true               "update the pck qty
            if_database_update       = '1' "check & save
            if_error_messages_send_0 = gc_true
          TABLES
            vbpok_tab                = gt_vbpok
            prot                     = gt_prot.

    Good Morning
    The solution is to fill KZAPK and KZNTG fields.
    Example:
    CLEAR ls_vbkok.
         ls_vbkok-vbeln_vl  = <ls_created>-document_numb.
         ls_vbkok-vbtyp_vl  = <ls_created>-document_category_sd.
         ls_vbkok-anzpk     = id_volum.
         ls_vbkok-kzapk  = 'X'.
         ls_vbkok-kzntg  = 'X'.
         ls_vbkok-wabuc  = 'X'.
         CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
           EXPORTING
             vbkok_wa       = ls_vbkok
             update_picking = 'X'
             synchron       = 'X'
             commit         = 'X'
             delivery       = <ls_created>-document_numb
           IMPORTING
             ef_error_any   = ld_error.
    https://scn.sap.com/thread/1297166

  • How to add search help for standard field LIKP-TRAID

    Hi friends,
    How to add search help for standard field LIKP-TRAID ,
    refer screen
    Program Name       SAPMV50A  
    Screen Number      2108      
    TrnsIDCode ( LIKP-TRAID ) ..
    I need to add a search help, so that i can retrieve data from Ztable.
    Thanks.
    Abhi

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

Maybe you are looking for