Update LIKP-LIFEX

HI Gurus
Need yr expertise. We have a scenario where after PGI we will send an IDOC to 3PL and they would send an external no. back to SAP via IDOC. We need to store this no. in delivery no. Im thinking of using LIKP-LIFEX field.
Question:
How do we update the external no. into LIKP-LIFEX after PGI as the field is grey off? Is there a way that we update those field although it is grey off.
Please advise.
Sanjay

Hi,
Note that when you do PGI all field are in display mode,
So first send EDI when save the delivery order and when 3PL send this number maintain this number and do PGI
or Simply use field BILL OF LADING at header >> tab shipment, even though you done PGI this field is change mode, so you can able to maintain it.
Kapil

Similar Messages

  • LIKP-LIFEX update

    Hi, I need to update likp-lifex, but I need a really fast update, currently I'm using call transaction but it's really slow.
    Does anyone know some other way to update the field?
    Thanks

    Hi Robert,
    if you are already on 620 or higher, you might use BAPI_INB_DELIVERY_CHANGE.
    Regards,
    Christian

  • Update Likp table from HUPAST

    I've a scenerio where i've to updated LIKP table, when user save the HUPAST. I've created the BDC program which update the likp table using VL02N transacton. but when i'm calling the BDC from a BADI its giving a error, as i'm trying to update the same delivery number. (Delivery already updated by user).
    I'm now trying using events, i've traced an event CHANGED in object type LIKP , which is fired when HUPAST is saved.
    How do i update the event changed ??? and call the bdc program from the event.
    pls share .
    Sanju

    hi,
    You can do it PAI under module USER_COMMAND. and you can use standard UPDATE/MODIFY/DELETE statements to update ur database table and make sure u use a commit work after the use of ablove mentioned statements.
    kindly check this.
    PROCESS BEFORE OUTPUT.
    MODULE status_9010.
    LOOP WITH CONTROL tab_control.
    MODULE move_data_to_table.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL tab_control.
    MODULE move_data_from_table.
    ENDLOOP.
    *& Module move_data_to_table OUTPUT
    This is to move the data from the internal table to the table control
    MODULE move_data_to_table OUTPUT.
    This is to move the data from the internal table to the table control
    zmpets_mode-modecode,zmpets_range-rangeid,zmpets_servfacto-factor are column name of table control
    READ TABLE int_factor INDEX tab_control-current_line.
    IF sy-subrc = 0.
    zmpets_mode-modecode = int_factor-modecode.
    zmpets_range-rangeid = int_factor-rangeid.
    zmpets_servfacto-factor = int_factor-factor.
    ENDIF.
    ENDMODULE. " move_data_to_table OUTPUT
    *& Module move_data_from_table INPUT
    Date is moved from the table control to the Internal Table
    MODULE move_data_from_table INPUT.
    To move the data from the table control to internal table 'INT_FACTOR'.
    int_factor-modecode = zmpets_mode-modecode.
    int_factor-rangeid = zmpets_range-rangeid.
    int_factor-factor = zmpets_servfacto-factor.
    *here if the data is there, it will modify
    MODIFY int_factor INDEX tab_control-current_line.
    IF sy-subrc NE 0. "data not exixting in table control . ie new data, then append it
    APPEND int_factor.
    CLEAR int_factor.
    ENDIF.
    ENDMODULE. " move_data_from_table INPUT
    Also refer to this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
    <b>Reward points if found helpful…..
    Cheers,
    Chandra Sekhar.</b>

  • BAPI to update LIKP and LIPS

    Is there a BAPI to update LIKP and LIPS?
    Thanks

    Please close your post "Updating Address changes" if your question is answered in there.
    This is related to the same issue you entered there, and again I don't see how you can achieve that. You can only update these tables through the business object associated with them, which is the delivery. If you are not changing the delivery, but want to change the contents of these two tables, direct update is the only option.
    I, once again try to convince you not to do these updates directly to the tables. SAP is not database application like Oracle. This is a business application and the tables are updated through transactions. Please try to talk to your users about the problems with such updates and give them the alternative of reversing the document. Any reasonable business will understand the ramifications if they are presented with the alternatives.
    Please close the posts and reward as they are answered. You don't have to post different messages if they are related to the same problem.
    Thanks,
    Srinivas

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • 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

  • Need FM or BAPI to update LIKP-BEROT

    After the second transfer order is created with source storage type as ‘200’ and destination storage type as ‘916’, populate the field LIKP-BEROT with value “200”. This is required for the business to identify the deliveries that are ready for 2nd step picking confirmation.
    I need a fm or bapi to update for a perticular field berot.
    Pls help.
    Madhavi

    Check this function module.
    CHANGEDOCUMENT_PREPARE_POS
    Thanks,
    Srinivas

  • Req Help to Update LIKP-LIFSK,Delivery Header block through custom program.

    Hi everyone,
    Can you please suggest a FM or BAPI to update the delivery header block field, LIFSK, in LIKP table through FM or a BAPI.
    I tried using 'BAPI_OUTB_DELIVERY_CHANGE' as below to update the LIKP-LIFSK, but it is not working.
    DATA : ls_likp TYPE likpvb,
           ls_dlv_header  TYPE bapiobdlvhdrchg,
           lt_dlv_items_control TYPE STANDARD TABLE OF bapiobdlvitemctrlchg,
           ls_dlv_item_control TYPE bapiobdlvitemctrlchg.
    DATA : ls_dlv_hdr_control   TYPE bapiobdlvhdrctrlchg,
           ls_dlv_techn_control TYPE bapidlvcontrol,
           lt_bapireturn TYPE STANDARD TABLE OF bapiret2,
           ls_bapireturn TYPE bapiret2,
           lt_bapiext2 TYPE STANDARD TABLE OF bapiext,
           ls_bapiext2 TYPE bapiext.
    DATA :  BEGIN OF ls_mns_of_del,
                 vbeln TYPE likp-vbeln,     "delivery number
                 lifsk TYPE likp-lifsk,     "means of transport
           END OF ls_mns_of_del.
    CONSTANTS : lc_del_blck           TYPE bapiext-param VALUE 'LIKP-LIFSK'.
    PARAMETERS : p_dlv TYPE likp-vbeln OBLIGATORY."  OBLIGATORY.
    SELECT SINGLE *
      FROM likp
      INTO ls_likp
      WHERE vbeln = p_dlv.
    CHECK sy-subrc = 0.
    CLEAR : ls_bapiext2.
    ls_mns_of_del-vbeln = ls_likp-vbeln.
    ls_mns_of_del-lifsk = 'BX'.
    ls_bapiext2-param = lc_del_blck .
    ls_bapiext2-value = ls_mns_of_del.
    APPEND ls_bapiext2 TO lt_bapiext2.
    CALL FUNCTION 'MAP2E_LIKPVB_TO_BAPIOBDLVHDRCH'
      EXPORTING
        likpvb          = ls_likp
      CHANGING
        bapiobdlvhdrchg = ls_dlv_header.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        header_data           = ls_dlv_header
        header_control        = ls_dlv_hdr_control
        delivery              = ls_likp-vbeln
        techn_control         = ls_dlv_techn_control
      TABLES
        extension2            = lt_bapiext2[]
        return                = lt_bapireturn[]
      EXCEPTIONS
        communication_failure = 1
        system_failure        = 2
        OTHERS                = 3.
    IF lt_bapireturn[] IS INITIAL.
      COMMIT WORK AND WAIT.
      MESSAGE 'Success' TYPE 'I' DISPLAY LIKE 'S'.
      LEAVE LIST-PROCESSING.
    ELSE.
      MESSAGE 'Error' TYPE 'I' DISPLAY LIKE 'E'.
      LEAVE LIST-PROCESSING.
    ENDIF.

    Hi ,
    After seeing your code, you are not passing any parameters to header control data. once check the below code, it might useful.
    DATA: h_data like bapiobdlvhdrchg,
             h_control like bapiobdlvhdrctrlchg,
            delivery like bapiobdlvhdrchg-deliv_numb,
            item_data like bapiobdlvitemchg occurs 0 with header line,
            item_control like bapiobdlvitemctrlchg occurs 0 with header line,
             return like bapiret2 occurs 0 with header line.
            CLEAR: h_data, h_control, delivery, item_data, item_control,
                   return.
            REFRESH: item_data, item_control, return.
           h_data-deliv_numb = gst_alv_table-c6_vbeln.
           h_data-dlv_block  = p_new_del_blck.         "the new delivery block
           h_control-deliv_numb = gst_alv_table-c6_vbeln.
           h_control-dlv_block_flg = 'X'.
           delivery = gst_alv_table-c6_vbeln.
              CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
                  EXPORTING
               header_data                   = h_data
             header_control                = h_control
              delivery                      = delivery
               TABLES
                return                        = return .
             "Check if return table got an error.
             READ TABLE return WITH KEY type = 'E'.
                IF NOT sy-subrc IS INITIAL.
               CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                   EXPORTING
                  wait = 'X'.
                 ELSE.
             ROLLBACK WORK.
                            ENDIF.
    Regards,
    Parupelly

  • BAPI/FM to update LIKP and VTTK tables

    Hi All,
      I need to update certain fields in the delivery tables LIKP and VTTK. Can anyone suggest how can I do that . I think i need to use certain BAPI or FM.
    Thanks in advance,

    Hi,
    check out this :
    CSO_P_DLVRY_GOODS_ISSUE_CREATE,
    MAP2I_BAPISHIPMENTDLVITEM_LIPS,
    MAP2I_BAPISHIPMENTDLVHDR_LIKP.
    'SD_SHIPMENT_POST_GOODS_ISSUE'
    BAPI_SHIPMENT_CHANGE
    BBP_INB_DELIVERY_CREATE
    RV_DELIVERY_CREATE
    BAPI_INB_DELIVERY_SAVEREPLICA
    <b>*Reward points</b>
    Regards,
    Message was edited by:
            skk
    Message was edited by:
            skk
    null

  • Update LIKP and VBSK table

    Our requirement is to set staging lane ( LGBZO ) and Shipping door ( LGTOR ) for an entire delivery group. For this the VBSK table is appended with the above fields.
    A new program is to be created where in the user assigns staging lane and shipping door to a delivey group. At the same time the fields(LIKP-LGBZO) and (LIKP-LGTOR) are to be updated for the deliveries contained within that group.
    Are there any function modules to update these tables (LIKP,VBSK)with the values of LGBZO AND LGTOR.
    Please reply ASAP.

    hey saquib,
    The function module dat you suggested gives us the existing values of LGBZO and LGTOR but i'm looking for a function module which would overwrite the existing values
    thanks,
    Arun.

  • Enable "External Identification of Delivery Note (LIKP-LIFEX)" after PGI

    Hi Frnds,
    I have a specific requirement where in After PGI is done, the field "External Identification of Delivery Note", in the administration tab of the VL02n transcation, has to be enabled for user input.
    In the Standard SAP normal process, this filed becomes non-editable once the PGI is done for a delivery.
    Is there a way we can acheive this?
    Z subroutines, exit...???
    Many thanks in advance.
    Regards,
    Karthick C

    There is no way to do this in standard SAP.
    Alternative way is after PGI, un-do PGI, update the field and again PGI using a custom program which is very cumbersome.
    Thanks
    Nagarajan

  • Regarding BAPI/Function Module for updating fields FAKSK and LIFEX

    Hi All,
    I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
    We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
    To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
    If anyone have come accross such situation Please advice.
    Thanks ina dva

    hi satya ranjan,
    put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
    enter faksk and lifex and data field plus an active-flag for every data field.
    e.g.:
    ZZKZTRSPG     ZZKZTRSPG     CHAR     1     0
    ZZTRSPG     TRSPG     CHAR     2     0
    find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
    if  vbkok_wa-ZZKZTRSPG <> space .
    perform likp_bearbeiten_vorbereiten(sapfv50k).
    if not vbkok_wa-ZZKZTRSPG eq space.
      likp-trspg = vbkok_wa-zztrspg.
    endif.
    perform likp_bearbeiten(sapfv50k).
    endif.
    regards
    marcus

  • Update value for XABLN in LIKP  table

    Hi ,
    Is there any way to update the LIKP-XABLN filed yhrough BAPI?
    I tried with this FM    BAPI_OUTB_DELIVERY_CHANGE , but could not succeed.
    Edited by: nancy coner on Jan 27, 2010 9:39 AM

    Hi,
    I need to update LIKP-XABLN field from a Smart Form driver program programaticaly only when the Form is successfully printed.
    I dint find any BAPI / Std Function Module which does the update.
    I dont know how MB_XAB_NUMBER_GET works to update the XABLN field?
    Edited by: nancy coner on Feb 1, 2010 8:03 AM

  • Hi - Reg Delivery Change update in Inbound System

    Hi experts,
    i want to update delivery change fields in the outbound system which are changed by inbound system.
    the fields are
    likp-lifex-external identification of Delivery note     
    lips-empst-Receiving point
    lips-vbeln- delivery no
    lips-posnr- delivery item
    which <b>BAPI</b> is useful for this apart from BAPI_INB_DELIVERY_CHANGE,BAPI_INB_DELIVERY_SAVEREPLICA ?
    please give idea reg this
    it is very urgent................

    ok

  • UPDATING THE OUTBOUND DELIVERY

    Hi ABAP Gurus,
    I have one urgent requirement as below,
       Outbound delivery gets updated/picked for the quantities as stated in the related inbound delivery via BAPI_OUTB_DELIVERY_CHANGE or WS_LM_GOODS_MOVEMENT , or WS_DELIVERY_UPDATE.
    1.1.1.2.        Outbound delivery gets additional data as described in section .
                    Required fields to be updated into the outbound delivery:
    Source
    Description
    Target
    Description
    Specific
    ZMM_EDI_CONF- ZFWNR
    MAWB/OBOL number
    LIKP-BOLNR
    Bill of lading
    Conf. type ‘1’
    LIKP-TRAID
    Means of Transport ID
    LIKP-TRAID
    Means of Transport ID
    HAWB/FCR number
    ZMM_EDI_CONF- ZCSBR
    Broker reference
    LIKP-LIFEX
    External reference
    Conf. type ‘2’
    ZMM_EDI_CONF- ZCSDO
    D.O. date
    LIKP-TDDAT
    Transportation planning date
    Conf. type ‘2’
    ZMM_EDI_CONF- ZCFTN
    Trailer number
    LIKP-TRMTYP
    T.B.D.
    Conf. type ‘3’
    ZMM_EDI_CONF- ZFWVN
    Vessel name
    Text-ID Z060
    Conf. type ‘1’
    LIPS-LFIMG
    Quantity
    VBFA-RFMNG
    Pick quantity
    Please help me by sending th ecoding to how to update the outbound deliveries.

    Got the solution.
    Thanks.
    Edited by: zamishaik on Jan 24, 2012 6:03 PM

Maybe you are looking for

  • Can I send a fax direct from scanning

    I recently bought a HP Photosmart 7510 and have now used up the "Setup" cartridges. I have purchased 4 cartridges and am awaiting the Photo black cartridge. It would seem that until I replace the cartridge, I cannot get to the home screen. Which mean

  • Users cannot publish and get error message

    Hey everyone. This one is stumping us here at the office. Some clients have been having a problem publishing things they have worked on from both their home AND their office. The error message they have been getting is quote: Contribute encountered a

  • IPhone no longer compatible with car audio

    Since upgrading to iOS8 my phone defaults to "repeat all" whenever an external audio device is plugged in such as the car. Previously it started playing as soon as plugged in. Now in freezes until I unselect "repeat all". iPhone  5 &  BMW iDrive.

  • EnumServicesStatusEx failing with ERROR_INVALID_DATA

    Hi all, After accidentally creating a service with a display name and service name of "-1", EnumServicesStatusExW() begins to fail in an unexpected, undocumented manner. MSDN states the buffer size required can be queried by passing NULL for lpServic

  • Is it possible to debug the selection screen???

    Hi Frdz, Is it possible to debug the selection screen. eg: if i want to know what is happening in PBO and PAI modules of the selection screen i am not able to debug that. Even in code if i click on MODULES present in PBO and PAI modules it is saying