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

Similar Messages

  • 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

  • FM to update delivery details LIKP-BTGEW and LIKP-ANZPK

    Hello All,
    Can anyody please tell me a fucntion module to update the fields LIKP-BTGEW and LIKP-ANZPK.
    I have checked BAPI_OUTB_DELIVERY_CHANGE and WS_DELIVERY_UPDATE. Both these FMs are not having these fields.
    Request you to please help me out..
    Regards,
    Danish.

    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.

  • 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

  • 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

  • Fields not getting updated in FBL3N and FBL5N

    Hi
    I have introduced new fields like material number, quantity sales document number, etc in through FBL3N --> Settings --> List special fields.
    Also i added one more field in 'sort key' as sales document number. I updated sort key in customer master and GL master (i.e. reconcliation account of customer A/c)
    But inspite of doing this, i can see those fields after change layout. But these fields are still empty. I do not know why its empty.
    When i changed sort key to sales document number, sales delivery number is coming instead of sales document number in assignment field.
    Please help

    Dear Meenakshi,
    Even though there are various fields available in FBL5N or FBL3N, all the fields are not updated for all the transactions. Based on transaction to transaction, fields get updated and mostly these are SAP standards. If you want certain fields, you need to develop Z reports accordingly.
    For example when GR is posted, system does not update PO number in Purchase order field. But alternatively it is updated in REFKEY1 field. Similarly when billing is done, it does not update material code in FI tables so it does not appear in FBL5N.
    Regarding Sort key, check with your SD consultant, what copy control it is used. In finance, assignment field is updated based on copy control used in SD.
    Regards,
    Niraj

  • This field cannot be updated as there are open sales order lines

    When trying to enable Item Attributes then I am getting a message "This field cannot be updated as there are open sales order lines". I cancelled the Sales Order ( which was having only 1 sales order line and that is also cancelled) but still I am getting the same message.
    How to overcome this problem.
    Khan

    Thanks Karthik & Sandeep........
    Issue got fixed. There was an open Sales order Line because of that line the issue was coming. After cancelling that SO Line, Users were able to update the Item field.
    Regards,
    Khan.
    http://moreapps4u.blogspot.com/

  • Date of Last.Del field is not updated in EKEK table

    Hello All,
    We have one date update problem for one Scheduling agreement, the field is LFDKD (Date of Last.Delivery) in the table EKEK -Header Data for Scheduling Agreement Release and  this date hasnt been updated only for one SA since 2008 , it remains as it is like 18.02.2008, but the date of last field (LWEDT) is updated correctly till date. So due to this problem , the SA release is sent to the vendor through EDI and the date of last delivery is sent wrongly in 2008 date even though after that many goods receipt has been done for this SA.  Any idea why it didnt get update till date ?
    Thanks in Advance
    Benny

    Hello Benny,
    Please check if the following notes can help :
    1337084 Release header contains doc. date instead of delivery date
    1309001 Incorrect date for last goods receipt in sched. agreement
    Regards,
    Mauro

  • About note 340238 and field LIKP-FOLAR

    We are trying to implement note 340238. It says there: „If the outbound delivery has a subsequent delivery type LIKP-FOLAR…”.
    We do understand everything else said in the note, about the Workflow, but all outbound deliveries in our system have no value in the field LIKP-FOLAR, and this includes both replenishment and sales outbound deliveries. I suppose it is the type of inbound delivery that should be created for outbound delivery type, but I cannot find a place in Customizing to set it. Could you please, give us some
    information about how to control LIKP-FOLAR field in our outbound deliveries. I can try to give it a value using BADI "LE_SHP_DELIVERY_PROC", but it doesn't say anything about the user-exit in the note, so I guess there is a Customizing solution to this.
    Thank you in advance.
    Best regards,
    Jasna Vra&#269;ar
    SAP Consultant

    As mentioned in note 340238, if you want to create inbound delivery via
    work flow, you have to fill likp-folar. To fill likp-folar, you have to
    define subsequent movement (customizing in T156n).
    See the coding below:
    Main Program     SAPMM07M
    Source code of   MM07MFS0_SD_FOLGEBEWEGUNGSART_
                   l_xmseg_folgebewegung LIKE mseg.
            SELECT SINGLE * FROM t156n
                            WHERE fcode = 'SU'
                              AND bwart = xmseg-bwart.
             IF sy-subrc IS INITIAL.
               l_xlk03-fobwa = t156n-bwart_next.
             ELSE.
               CLEAR l_xlk03-fobwa.
             ENDIF.
    Here, if subsequent movement is defined in T156n, XKOMDLGN-FOBWA will be
    filled. Only if XKOMDLGN-FOBWA is set and is different from the
    movement type(BWART) , system will fill LIKP-FOLAR.
    Regards,
    Harry Wu
    Edited by: Harry Wu on Sep 8, 2010 6:35 AM
    Edited by: Harry Wu on Sep 8, 2010 6:35 AM

  • How Assigned TO field will be updated in "start Approval process" Task Action

    I have created a reusable workflow in sharepoint designer. Am using “start Approval process“ Task Action. I have a question in “start Approval process“ Task Action.
    I have username field in the list.  I have created a task form field with name username in “start Approval process“ Task Action. I have assigned list username field to task field username field.
    I have entered a user details in list user name field for new list item. Once the workflow has been started for that item a mail has been sent to the user whose name I have entered in the list user name field. Task has been assigned to the user whose name
    I have entered in the list user name field.
    When I have checked start Approval process task a send mail activity is present (Email Task notification currentitem:Assigned TO) .
    I have not update Assigned To field explicitly.
    1. Where / how the Assigned TO field is getting updated ?
    2. Workflow Initiation and task creation will be done internally by the user who created the item in the list?
    Thanks

    Hi,
    According to your post, my understanding is that you had questions about the “start Approval process“ Task Action.
    When you add the “start Approval process“ Task Action, you need to to select the user who the task assign to.
    To assign the user whose name you have entered in the list user name field, you add action as below:
    After you select the user, the Assigned TO field is getting updated.
    In addition, workflow Initiation and task creation will be done internally by the user who created the item in the list.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

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

  • Key rule 2 (target field: M1_SUN): Initial update set

    HI
    friends,
    while creating transformations for my character i gave initial
    i am getting this message
    Key rule 2 (target field: M1_SUN): Initial update set
    initial means blank, so my output values should be blank for material, ple let me know.
    regards
    suneel.

    Hi Suneel,
    Normally you would want to load data for an InfoObject, so if you are not, the system just warns you. Like you also get warning when adding or removing nav attr from an InfoObject. Even if you are doing that for a reason, the system will prompt with warnings before activating the object.
    Hope this helps...

  • Field to be updated for realized gain or losses

    Hi All,
    Please help to provide the information regarding in which field the  realized gain or loss information is updating at the time of making payments, i have look in to the BSID/BSAD table for PDIFF1,PDIFF2,PDIFF3 but thosee fields are not updating,
    Thanks & Regards
    Sudeep.

    close it

  • Not all fields are getting updated in transformation

    Dear all,
    Please help me in the following issue:
    I have the following scenario:
    DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
    Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
    The fields exist in DSO 1 but don't go into cube.
    I did the following:
    1. deleted transformation and dtp, recreate = > not working
    2. copied the cube, and create new transformation and DTP...not working.
    Any help would be appreciated
    Thank you
    Ramona

    Hi Ramona,
    Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
    Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
    Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
    Cheers,
    CK

Maybe you are looking for

  • Visual Voicemail Broken?

    My visual voicemail seems to be broken. I'm currently running 4.0.1 on my phone and I originally noticed this problem after upgrading to 4.0. I found out something was wrong because the other night I switched my phone to Airplane mode and a red dot a

  • How to get PDF generated by adobe forms on to Application Server

    I have a program which gathers data into an internal table. The program then calls function FP_JOB_OPEN (with relevant outputparams). Then it calls the function module name, of the Adobe Form, passing the internal table across. Then the job is closed

  • Error in ABAP Program

    hi , I am a basis person and very new to ABAP. Pls let me know the error in the folllowing program REPORT  Z_ROLES. data : count type i. data : begin of it_role occurs 0,             agr_name type AGR_NAME,        end of it_role.        data : begin

  • HT1455 ?

    how can i download Adobe flash player in order to watch videos if my mac requires a software update and it wont update?

  • How to unlock:"Edit in Progress" function

    cannot get out of it in fix or organize.