Function L_TO_CREATE_TR

I am trying to call function L_TO_CREATE_TR and get it to create a TO. I enter all the data in the header import parameters, and fill in the record IT_TRITE and it successfully creates the TO. However, I cannot find where I fill in the ZEUGN (certificate) field in IT_TRITE. This is critical for our products.
Has anyone been able to call this and correctly populate the inputs to create a TO and get this field populated?
I have also tried using the tables T_LTAK and T_LTAP_VB - and populating ZEUGN in T_LTAP_VB, but I get an error message....
Data for storage type search is not defined (E
Message no. L3007
When I try using these same two tables along with the header input parameters and fill in the details in IT_TRITE - it posts. However, ZEUGN is still not getting filled in.
Does anyone know what I need to do to get this field populated? I am creating the TO after creating a material document for a GR against a purchase order.
thanks,
Chip

Hi Chip,
I think you have posted a question in the wrong forum.
You may want to try some other forums in SDN.
Thanks.
Peter

Similar Messages

  • About the Function L_TO_CREATE_TR

    Hello Experts.
    I need to using FM "L_TO_CREATE_TR" to create TO with TR in my programming, it's work.
    But the problem is I don't konw how to specify the Return Storage Bin.
    In this function the import parameter 'IT_TRITE', Just have the Source Storage Bin and Destination Storage Bin.
    So my question is how to specify the Return Storage Bin or Is there have any other parameter that i can specify
    the Source Storage Bin as Return Storage Bin ?
    Thanks so much.

    Hi Chip,
    I think you have posted a question in the wrong forum.
    You may want to try some other forums in SDN.
    Thanks.
    Peter

  • Function module parameters for L_TO_CREATE_TR

    Hi All,
    Can someone help me out in using the function module 'L_TO_CREATE_TR'.
    What are the necessary import and export parameters along with the table parameters?
    If i want to pass IT_TRITE (table) as export parameters, what are the requisite fields that should be populated inthat table structure?
    Kindly help me out.
    Regards,
    Mainak

    Hi Mainak,
    This is the ABAP and the FM-call:
    data LT_TRITE type L03B_TRITE_T.
    data WA_TRITE like line of LT_TRITE.
    data GV_STORED like VBAPF-QMENGE.
    clear: LT_TRITE, WA_TRITE, GV_STORED.
    refresh LT_TRITE.
    WA_TRITE-TBPOS = GT_LTBP-TBPOS.
    WA_TRITE-ANFME = GT_LTBP-MENGE.
    WA_TRITE-ALTME = GT_LTBP-MEINS.
    WA_TRITE-LETYP = GT_MARA-VHART(3). "3-character storageunittype
    concatenate '000000000000' LTAP-NLENR+10(8) into WA_TRITE-NLENR.
    "FM L_TO_CREATE_TR wants 20 characters
    if GV_DIR = 'N'.
    WA_TRITE-NLTYP = '120'.
    WA_TRITE-NLPLA = 'OVERDRACHT'.
    else.
    WA_TRITE-NLTYP = P_NLTYP.
    WA_TRITE-NLPLA = P_NLPLA.
    endif.
    append WA_TRITE to LT_TRITE.
    TO aanleggen
    clear GT_LTAP_VB.
    refresh GT_LTAP_VB.
    call function 'L_TO_CREATE_TR'
    exporting
    I_LGNUM = GC_LGNUM_011 "LGNUM is '011' in my case
    I_TBNUM = GT_LTBP-TBNUM
    IT_TRITE = LT_TRITE
    importing
    e_tanum = gv_tanum
    tables
    T_LTAP_VB = GT_LTAP_VB
    exceptions
    FOREIGN_LOCK = 1
    QM_RELEVANT = 2
    TR_COMPLETED = 3
    XFELD_WRONG = 4
    LDEST_WRONG = 5
    DRUKZ_WRONG = 6
    TR_WRONG = 7
    SQUIT_FORBIDDEN = 8
    NO_TO_CREATED = 9
    UPDATE_WITHOUT_COMMIT = 10
    NO_AUTHORITY = 11
    PREALLOCATED_STOCK = 12
    PARTIAL_TRANSFER_REQ_FORBIDDEN = 13
    INPUT_ERROR = 14
    others = 15.
    if SY-SUBRC <> 0.
    commit work."See FM L_TO_CREATE_TR docu: commit work is needed
    perform MELDT_DE_FOUT using SY-MSGID SY-MSGTY SY-MSGNO
    SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    else.
    <b>plz reward points if helpful or if it solves ur query.</b>
    Thanks
    Chinmay

  • L_TO_CREATE_TR testrunresult differs from programresult

    Girls,
    I use L_TO_CREATE_TR to create a TO refering to a TransportRequest. Works fine, but the palletnumber that I store in IT_TRITE-NLENR does not show up where it should: in the resulting TO in the field NLENR (LT21, Tab Dest.data, field Dest.storage unit)
    Ok, happens. But:
    When I enter the exact same data in SE37 in the testrundata as is passed to the functionmodule in my program, the palletnumber is stored nicely in the new TO!!
    Anybody for any tips how to solve this mystery?
    Best regards,
    Tim van Steenbergen

    Hari, here you go:
    This is the ABAP and the FM-call:
      data LT_TRITE   type L03B_TRITE_T.
      data WA_TRITE   like line of LT_TRITE.
      data GV_STORED  like VBAPF-QMENGE.
      clear: LT_TRITE, WA_TRITE, GV_STORED.
      refresh LT_TRITE.
      WA_TRITE-TBPOS = GT_LTBP-TBPOS.
      WA_TRITE-ANFME = GT_LTBP-MENGE.
      WA_TRITE-ALTME = GT_LTBP-MEINS.
      WA_TRITE-LETYP = GT_MARA-VHART(3). "3-character storageunittype
      concatenate '000000000000' LTAP-NLENR+10(8) into WA_TRITE-NLENR.
      "FM L_TO_CREATE_TR wants 20 characters
      if GV_DIR = 'N'.
        WA_TRITE-NLTYP = '120'.
        WA_TRITE-NLPLA = 'OVERDRACHT'.
      else.
        WA_TRITE-NLTYP = P_NLTYP.
        WA_TRITE-NLPLA = P_NLPLA.
      endif.
      append WA_TRITE to LT_TRITE.
    TO aanleggen
      clear GT_LTAP_VB.
      refresh GT_LTAP_VB.
      call function 'L_TO_CREATE_TR'
        exporting
          I_LGNUM                        = GC_LGNUM_011   "LGNUM is '011' in my case
          I_TBNUM                        = GT_LTBP-TBNUM
          IT_TRITE                       = LT_TRITE
       importing
         e_tanum                        = gv_tanum
        tables
          T_LTAP_VB                      = GT_LTAP_VB
        exceptions
          FOREIGN_LOCK                   = 1
          QM_RELEVANT                    = 2
          TR_COMPLETED                   = 3
          XFELD_WRONG                    = 4
          LDEST_WRONG                    = 5
          DRUKZ_WRONG                    = 6
          TR_WRONG                       = 7
          SQUIT_FORBIDDEN                = 8
          NO_TO_CREATED                  = 9
          UPDATE_WITHOUT_COMMIT          = 10
          NO_AUTHORITY                   = 11
          PREALLOCATED_STOCK             = 12
          PARTIAL_TRANSFER_REQ_FORBIDDEN = 13
          INPUT_ERROR                    = 14
          others                         = 15.
      if SY-SUBRC <> 0.
        commit work."See FM L_TO_CREATE_TR docu: commit work is needed
        perform MELDT_DE_FOUT using SY-MSGID SY-MSGTY SY-MSGNO
                                    SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      else.
    This is how IT_TRITE is filled with a testrun in SE37:
    TBPO      1
    ANFME      1,000
    ALT      KI
    NLENR      79999688 "so, no leading zeros here in SE37
    LET      BPH
    All others empty.
    Hopefully helpfull,
    Best regards,
    Tim van Steenbergen

  • L_TO_CREATE_TR Usage

    Hello experts,
    We are using the function module L_TO_CREATE_TR in a SAP R/3 4.6C. Then we fill the field T_LTAP_VB-NLENR with a destination SU, but the system genaretes a new internal SU in the TO.
    We have external and internal range number for SU, but using transaction LT04 if you write manually the SU number the
    system takes this external number.
    Why the behavior is diferent between transaction and function module?
    Source code:
      i_ltak-lgnum = p_lgnum.
      i_ltak-tbnum = p_tbnum.
      i_ltak-tbpri = '1'.
      i_ltak-bwlvs = c_bwlvs.
      i_ltak-vbeln = p_vbeln.
      i_ltak-lznum = p_lznum.
      i_ltak-lgtor = p_lgtor.
      APPEND i_ltak.
      i_ltap-lgnum = p_lgnum.
      i_ltap-vistm = p_vistm.
      i_ltap-meins = p_meins.
      i_ltap-letyp = p_letyp.
      i_ltap-wempf = p_wempf.
      i_ltap-nlenr = p_sscc.
      i_ltap-ablad = p_ablad.
      i_ltap-wdatu = sy-datlo.
      i_ltap-vlqnr = '1'.
      i_ltap-vfdat = p_fcp.
      i_ltap-bestq = p_bestq.
      i_ltap-nltyp = c_nltyp.
      i_ltap-matnr = p_matnr.
      i_ltap-werks = p_werks.
      i_ltap-lgort = p_lgort.
      i_ltap-charg = p_charg.
      APPEND i_ltap.
      CALL FUNCTION 'L_TO_CREATE_TR'
           EXPORTING
                i_lgnum                        = p_lgnum
                i_tbnum                        = p_tbnum
           TABLES
                t_ltak                         = i_ltak
                t_ltap_vb                      = i_ltap
                t_wmgrp_msg                    = i_msg1
           EXCEPTIONS
                foreign_lock                   = 1
                qm_relevant                    = 2
                tr_completed                   = 3
                xfeld_wrong                    = 4
                ldest_wrong                    = 5
                drukz_wrong                    = 6
                tr_wrong                       = 7
                squit_forbidden                = 8
                no_to_created                  = 9
                update_without_commit          = 10
                no_authority                   = 11
                preallocated_stock             = 12
                partial_transfer_req_forbidden = 13
                OTHERS                         = 14.
    Thank you.

    Hi Joan,
    your code looks like my except this parameter
    FUNCTION L_TO_CREATE_TR.
    ""Globale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_LGNUM) LIKE  LTAK-LGNUM
    *"     VALUE(I_TBNUM) LIKE  LTAK-TBNUM
    *"     VALUE(I_REFNR) LIKE  LTAK-REFNR DEFAULT SPACE
    *"     VALUE(I_SQUIT) LIKE  RL03T-SQUIT DEFAULT SPACE
    *"     VALUE(I_NIDRU) LIKE  RL03A-NIDRU DEFAULT SPACE
    *"     VALUE(I_DRUKZ) LIKE  T329F-DRUKZ DEFAULT SPACE
    *"     VALUE(I_LDEST) LIKE  LTAP-LDEST DEFAULT SPACE
    *"     VALUE(I_TBELI) LIKE  RL03T-TBELI DEFAULT SPACE
    *"     VALUE(I_NOSPL) LIKE  RL03A-NOSPL DEFAULT SPACE
    *"     VALUE(I_UPDATE_TASK) LIKE  RL03A-VERBU DEFAULT SPACE
    *"     VALUE(I_COMMIT_WORK) LIKE  RL03B-COMIT DEFAULT 'X'
    *"     VALUE(I_BNAME) LIKE  LTAK-BNAME DEFAULT SY-UNAME
    *"     VALUE(I_TEILK) LIKE  T340D-TEILV DEFAULT SPACE
    *"     VALUE(I_SOLEX) LIKE  LTAK-SOLEX DEFAULT 0
    *"     VALUE(I_PERNR) LIKE  LTAK-PERNR DEFAULT 0
    *"     VALUE(I_RSNUM) LIKE  LTAK-RSNUM DEFAULT SPACE
    *"     VALUE(I_LDEST_LANG) LIKE  TSP03L-LNAME DEFAULT SPACE
    *"     VALUE(IT_TRITE) TYPE  L03B_TRITE_T OPTIONAL
    *"  EXPORTING
    *"     VALUE(E_TANUM) LIKE  LTAK-TANUM
    *"     VALUE(E_TEILK) LIKE  T340D-TEILV
    *"  TABLES
    *"      T_LTAK STRUCTURE  LTAK_VB OPTIONAL
    *"      T_LTAP_VB STRUCTURE  LTAP_VB OPTIONAL
    *"      T_WMGRP_MSG STRUCTURE  WMGRP_MSG OPTIONAL
    *"  EXCEPTIONS
    *"      FOREIGN_LOCK
    *"      QM_RELEVANT
    *"      TR_COMPLETED
    *"      XFELD_WRONG
    *"      LDEST_WRONG
    *"      DRUKZ_WRONG
    *"      TR_WRONG
    *"      SQUIT_FORBIDDEN
    *"      NO_TO_CREATED
    *"      UPDATE_WITHOUT_COMMIT
    *"      NO_AUTHORITY
    *"      PREALLOCATED_STOCK
    *"      PARTIAL_TRANSFER_REQ_FORBIDDEN
    *"      INPUT_ERROR
    Perhaps the parameter came with a patch. I suggest you to browse the service marketplace for infos.
    Regards,
    Andreas

  • Issue with Storage Unit Type (LETYP) in L_TO_CREATE_TR

    Hi Experts,
    I need help in the function module "L_TO_CREATE_TR". using in Warehouse Management(WM) module.
    In theis function module I am passing LETYP(Storage Unit Type) value in IT_TRITE parameter, but this is not considering my value instead of this it is considering the value which is coming based on Source Storage type.
    Can any one aware of this issue ?
    Please let me know.
    Thanks & Regards,
    Chandu

    Hi,
    Pass the Storage type details to NLTYP/ VLTYP. For destination storage details NLTYP and NLPLA. For Souce storage details VLTYP and VLPLA.
    No need to pass to LETYP value.
    " Pass these values
                ls_trite-tbpos      =     "Transfer Requirement
                ls_trite-nltyp      =      "Destination storage type
                ls_trite-nlpla      =      "Destination storage bin
                ls_trite-anfme      =     "Quantity
                ls_trite-vltyp      =     "Source storage type
                ls_trite-vlpla      =    "Source storage bin
                ls_trite-altme      =    "Unit of measurement
                APPEND ls_trite TO lt_trite.
    CALL FUNCTION 'L_TO_CREATE_TR'
                EXPORTING
                  i_lgnum                  =  "Warehouse
                  i_tbnum                  =  "Transfer Requirement
                  i_update_task            = 'X'
                  i_commit_work            = 'X'
                  it_trite                = lt_trite
    This will create a TO w.r.t TR
    Regards,
    Karuna

  • Cannot Create TO with L_TO_CREATE_TR'

    I want to create a Transfer order from TR with FM   L_TO_CREATE_TR, but i am getting  this message: Requested amount could not be supplied.
    This is my code:_
    MOVE: wa_ltbp-tbpos TO wa_trite-tbpos, " Posición de necesidad transporte
            wa_ltbp-menga TO wa_trite-anfme,"Ctd.solicitada en unidad medida alternativa
            wa_ltbp-altme TO wa_trite-altme, "Unidad medida alt. p.unidad medida almacén
            wa_ltbp-lety1 TO wa_trite-letyp,
            wa_ltbk-nltyp TO wa_trite-nltyp,
            wa_ltbk-nlpla TO wa_trite-nlpla.
      APPEND wa_trite TO lt_trite.
      CALL FUNCTION 'L_TO_CREATE_TR'
        EXPORTING
          i_lgnum                        = it_folios-lgnum
          i_tbnum                        = it_folios-tbnum
         i_squit                        = 'X'
         i_commit_work                  = 'X'
          it_trite                       = lt_trite
        TABLES
          t_ltak                         = t_ltak
          t_ltap_vb                      = t_ltap_vb.
    Anybody haver idea about how to solve it?
    Thanks!

    Hello,
    In 4.6c This exporting parameter is not there.  TO is created with the reference to TR using the mentioned funtional module,
    If your error is 'requested amount could not be supplied' .
    take the help of functional guys and make your quantity available in Bin.
    Thanks and Regards,
    Reddy.

  • Create Transfer Order w/Ref to Material Document using L_TO_CREATE_TR

    In SAP I can use trans code LT06 to create a WM transfer order using the GR (material document) - number - no issue here,this works great.  Now I'm trying to use a BAPI for the same process.  I'm using function L_TO_CREATE_TR, but when I execute the function, I get an error that my TR does not exist.  I read other threads that say that this is the function for LT06, but it doesn't seem to work for the proces I described above, I first have to create the transfer requirement using L_TR_CREATE, then execute L_TO_CREATE_TR in order for this work. I have filled in the import parameters correctly.  When I run this through standard SAP transaction, I do not have to create TR first.  Any ideas?  I'm on a 4.6C system
    Thanks in advance for your replies.
    Kathy
    Edited by: Kathleen Phillips on Dec 20, 2007 9:46 PM
    Edited by: Kathleen Phillips on Jan 2, 2008 4:23 PM

    Dear Kathleen,
    I have this same question, have you had any luck resolving this issue?

  • Creating TO based on TR

    Hi,
    I want to create a transfer order with reference to a transfer request. For that, i've attempted to use the function module L_TO_CREATE_TR. The problem is that i also want to be able to define the item data during the transfer order creation(particularly SU#'s). can i use this FM? or any user exit helps to do this?
    Could somebody please tell me if there is some way to create the transfer order mantaining reference to the transfer request, but being able to specify the item data during the creation of the transfer order in accordance to our necessity?
    i have searched SDN and found below FM to achieve that but if i check the FM there is a exporting parameter it_trite = it_trite. but the FM is not having this parameter. could anyone tell me where this parameter comes from?
    CALL FUNCTION 'L_TO_CREATE_TR'
    EXPORTING
    i_lgnum = p_lgnum
    i_tbnum = p_tbnum
    i_squit = p_l_squit
    i_tbeli = p_l_squit
    i_commit_work = c_x
    i_bname = sy-uname
    it_trite = it_trite
    IMPORTING
    e_tanum = p_v_tanum
    EXCEPTIONS
    foreign_lock = 1
    qm_relevant = 2
    tr_completed = 3
    xfeld_wrong = 4
    ldest_wrong = 5
    drukz_wrong = 6
    tr_wrong = 7
    squit_forbidden = 8
    no_to_created = 9
    update_without_commit = 10
    no_authority = 11
    preallocated_stock = 12
    partial_transfer_req_forbidden = 13
    input_error = 14
    OTHERS = 15

    You need to fill in the data in a ur Traccording to ur transfer Requirement like matno. unit quantty sourcde bin etc.

  • Radio Frequency - Error handling

    Hello ,
    I have a problem with the error handling in a radio frequency program, because here is  not allowed to
    show the error messages as a popup or in the status line.
    I make a function call of 'L_TO_CREATE_TR'. The raised errors i get back in the exceptions are not a problem to handle. But in this function call, they put normal
    success or error messages in,
    for example
    Programm: SAPLL03A
    Include: LL03AF8C
    Line : 65 - 76
    These messages I can t catch.
    Is there any way to cut off the output of the messages??
    I would appreciate a feedback very much!!!
    Jasmin Söllner

    Hi,
      We are using the function module in one of our RF developments and here is how it is called:
    CALL FUNCTION 'L_TO_CREATE_TR'
        EXPORTING
          i_lgnum                              = p_lgnum
          i_tbnum                              = p_tbnum
          i_squit                              = p_l_squit
          i_tbeli                              = p_l_squit
          i_commit_work                        = c_x
          i_bname                              = sy-uname
          it_trite                             = it_trite
    IMPORTING
          e_tanum                              = p_v_tanum
       EXCEPTIONS
         foreign_lock                         = 1
         qm_relevant                          = 2
         tr_completed                         = 3
         xfeld_wrong                          = 4
         ldest_wrong                          = 5
         drukz_wrong                          = 6
         tr_wrong                             = 7
         squit_forbidden                      = 8
         no_to_created                        = 9
         update_without_commit                = 10
         no_authority                         = 11
         preallocated_stock                   = 12
         partial_transfer_req_forbidden       = 13
         input_error                          = 14
         OTHERS                               = 15
    We have not faced any issues with the development yet.
    regards
    Aveek

  • Problem in bin sequencing

    Hello everyone,
    I am facing a problem while creating the TR for the material bin wise.
    I am using the function module 
    CALL FUNCTION  'L_TO_CREATE_TR'
        EXPORTING
          i_lgnum                        = itab-lgnum
          i_tbnum                        = itab-tbnum
          i_nidru                          =  'X'
          i_update_task               = ' '
          i_commit_work              = ' '
          i_bname                        = sy-uname
          i_teilk                            = 'X'
    It is creating the TR correctly. But when a material in different bins is having same TBNUM, then my bin sequence is breaking.
    It is doing the TO by the given TBNUM which is resulting in change in the expected order of bins.
    I tried customising the FM,  by adding the bin number as the exporting parameter, But it didnt work.
    Please suggest me how to solve this issue.

    Hi,
    The problem is solved, The parameter tbeli = space has to be passed to the function module, to allow the partial picking of TRs.
    Thanks,
    Aritra.

  • Sapconsole websapconsole

    Hello.
    We use websapconsole as part of sapgui 6.40 for the connection via WLAN-barcodereaders to SAP.
    The connection to the sap-system, the login and the call of the rf-transaction are working fine.
    But as the rf-transaction is confirmed, which calls the sap-function "L_TO_CREATE_TR", the message "tranferorder is created" is send from sap via webconsole to the mobile frontend. i could't suppress this message. The effect is, that the terminalscreen is overwritten by this message and the screen partitionally destroyed.
    The activation of the Sap-Console Admin entry "skip message confirmation" has no positiv impact in this case.
    (with using sapconsole this flag suppresses the message !!!!!!)
    Thanks in advance
    Uwe

    Hi Uwe,
    please use in any function L_TO_CREATE_... the exception
    error_message = xx
    The message won't be shown again and you can handle the message on your own, if you need it.
    Regards
    Franz

  • Bapi for create transfer requirement

    hi!
    i am looking for bapi to create transfer requirement?
    thanks
    regards
    yifat

    Hi,
      There is a function module for this:
    FORM create_tr USING p_l_squit
                   CHANGING p_subrc
                            p_tanum.
    *clear the variable which will store transfer order numner
    CLEAR p_tanum.
      CALL FUNCTION 'L_TO_CREATE_TR'
        EXPORTING
          i_lgnum                        = ltbk-lgnum
          i_tbnum                        = ltbk-tbnum
          i_squit                        = p_l_squit
          i_tbeli                        = p_l_squit
          i_bname                        = sy-uname
          i_commit_work                  = c_x
        IMPORTING
          e_tanum                        = p_tanum
        EXCEPTIONS
          foreign_lock                   = 1
          qm_relevant                    = 2
          tr_completed                   = 3
          xfeld_wrong                    = 4
          ldest_wrong                    = 5
          drukz_wrong                    = 6
          tr_wrong                       = 7
          squit_forbidden                = 8
          no_to_created                  = 9
          update_without_commit          = 10
          no_authority                   = 11
          preallocated_stock             = 12
          partial_transfer_req_forbidden = 13
          error_message                  = 99
          OTHERS                         = 14.
    Assign sy-subrc
      p_subrc = sy-subrc.
    ENDFORM.
    regards
    Aveek

  • Modification in data before commit and after function call

    Hi,
    I am creating a Transfer order (TO) from Transfer requirement using function module L_TO_CREATE_TR.
    For one of my requirement I am
    Passing I_UPDATE_TASK = ‘X’ and I_COMMIT_WORK = <blank> so that the actual creation happens on the next screen. Next screen will show some details which can only be fetched if L_TO_CREATE_TR is issued.
    Now, on second screen user may change one field called quanity. How can i acheive this.
    I can think of two options here :
    1) Call rollback and then call the FM again this time with commin flag ON
    2)  Do we have second option here.
    Let there be a light

    thanks . i have an idea.
    first ,create a row ,and then insert this row.

  • Error with FM L_TO_CREATE_TR

    Hi,
    I'm trying to use the FM 'L_TO_CREATE_TR' and passing the below data to it
    LGNUM
    TBNUM
    TBPOS
    MENGE
    LGTYP
    VLENR
    But I get the error 'Data for storage type search is not defined (E )'
    Does anyone know why we get this error?
    Points will be rewarded for immediate responses!!!
    Thanks,
    A Pothuneedi

    Hi,
    Check the value you are passing for LGTYP (storage type ) in the table T301 Check table for LGTYP field.
    Use fm : ENQUEUE_ELLAGPE , DEQUEUE_ELLAGPE
    before using that fm to lock and unlock.
      CALL FUNCTION 'ENQUEUE_ELLAGPE'             
    XPORTING                                      
         mode_lagp            = 'E'               
         mandt                = sy-mandt          
         lgnum                = v_lgnum           
         lgtyp                = tbl_toitem-vltyp  
         lgpla                = v_lgpla_lock      
      X_LGNUM              = ' '                  
      X_LGTYP              = ' '                  
      X_LGPLA              = ' '                  
      _SCOPE               = '2'                  
      _WAIT                = ' '                  
      _COLLECT             = ' '                  
    XCEPTIONS                                     
         foreign_lock         = 1                 
         system_failure       = 2                 
         OTHERS               = 3.                
    And also check combination of values possible
    Regds
    Sivaparvathi
    Please reward points if helpful...
    Edited by: Siva Parvathi on Jan 2, 2008 12:33 PM

Maybe you are looking for

  • I use iTunes match but want all of my music on my IPhone

    I use I Tunes match for my music library on my Mac.  However, I want all of the music downloaded to my iPhone 6 so I can play it whenever I want.  What is the best/quickest way to accomplish that (after I have dealt with duplicates on my Mac, which a

  • How to use mailForm methode (javascript) in adobe reader 9.3?

    Hi! I want to know if it exist a way to use the mailForm method (this is javascript) in adobe reader 9.3? Or, are there any equivalent method? I want to send by email a FDF with my PDF. When I run my javascript, I got the following error: "NotAllowed

  • Where can I find the reports multitier server (reports 3.0)?

    Can anyone please tell me where can I find the reports multitier server 3.0.4.6.3? When I try to install the reports 3.0.4.7.0 from the patch 0598 (pat0598.exe) it tells me that I must have installed the reports multitier server 3.0.4.6.3. But I can'

  • Movie frame in Indesign

    I want to delete movie frame from Indesign using Indesign Javascript. It is giving problem in exporting the jpg files so i want to delete the movie frames. Can anyone help me on this please....

  • Iphoto wont show events

    I Photo will load up but cannot cannot see any photos in events. Any ideas