Function module to lock mulitple objects in a single transport request.

Hello,
I have a query regarding one of the requirments in my project. The requirment goes like this:
' On executing a transaciton lets say the user gets a list of data elements then the user selects say five data elemetns ( check boxes are there in the list display showing data elements ) and he sets that the documentations of each element as 'Self - Expalanatory' then the requirement is that all these data elements must get locked in a single transport request.
Is there a standarad API which takes object ID , Object type as input in form of table and checks if there are any existing transports in which the data element is locked if yes locks it under it, if not creates a new one and locks all the other objects in that request.
Atleast a FM which takes a table of object ids as input and locks them under a single transport request will also be helpful.
Some place where I can look for it.
Warm Regards,
Naveen M

If the objects are available in an existing request then they will be already locked.
If they are not available in request you can assign all of them in one request using
SE03 transaction.
In SE03 transaction,select include objects in request and execute.
there click selected objects radiobutton, give your objects and execute.
save them in a request and they will be locked and you can transport them later.

Similar Messages

  • Function module to add some table entries to a transport request

    Hi All,
    I need a FM using which I can add the entries of a table to a customizing Transport request.
    For ex: I have a TR : TRxxxxxx , and I want to add an entry of Zxy table to it so that it can be transported,
    Kindly let me know how to pass values to this FM.
    I think I have to pass values something as:
    pgmid: r3tr
    object: tabu
    objname: zxy
    objfunc : K
    TIA.

    Just goto the table zxy in change mode change some desc or something and save, It will ask transport number and give one transport number
    Else you can select the workbench transport requret in SE10, goto menu -> Request/Task -> Object list -> Include objects -> Select freely select objects
    Regards
    Sasi
    Edited by: sasikumar palanichamy on Dec 30, 2008 6:29 PM

  • How to findout the Function module for a particular object

    Hello friends,
       Related to my thread, there was one thread in the forum,to find out the function module for a particular object.I tried the solution provided my our experts but couldn't got the results.Thats why i am putting this thread again.
      I want to find out the function modules used for the particular object, i.e. Production order.
       solution i tried is, first go to T.C SE37, then in function module field put the object name like Production order and enter, than it will show another screen, there also put object name in function module field and than press enter, it will show all the function modules available for that object.
        So could you guys help me out to find out where i am wrong in the process of finding out the function module for a particular object.
                           Plz don't bother abt the point.Helpful answers will definitely get awarded.
                                Thanking you guys for your valuable support till now and hoping to get in future too.

    Dear
    When the problem is solved please give points too. Otherwise why people will help others, give time and share their valuable knowledge. This will build up self confidence.
    If not solved and closing, then mention the difficulties what u exactly looking for. Simpy closing is not enough because who ever is providing solution will not able to know the real problem.
    How to give points I believe u already know that and need not explain.
    I had seen many times this problem with others too. Even if the problem is totally resolved they give 2 in stead of 10.
    Edited by: BNR on Sep 21, 2008 6:10 PM

  • Exposing an RFC-Enabled Function Module as a Callable Object

    Hi All,
    I'm creating a GP Process based on the Exposing an RFC-Enabled Function Module as a Callable Object Tutorial. I'm using the error handling through a structure, the RFC works perfectly when I run it in test mode and the RFC doesn't retrieves exceptions at the structure, but when an error/exception must be returned at the structure, the test is showing this message (and also is not returning any error at the structure):
    "Process exception occurred" and "Callable object implementation did not return output parameters".
    What can be happening?
    I'll appreciate a lot your help, regards,
    María Margarita Monteverde

    Hi,
    Thanks a lot for your answer. My scenario is very simple :
    1) the first callable object contains a web dynpro form where user can enter an ID, a name, and other informations
    2) the second gets the output parameters of the first step and execute the BAPI_FLCUST_CREATEFROMDATA to add the row into the SCUSTOMER table
    The problem is that no row is added. I can integrate BAPI wich allows to read data, but when I try to write (create or change) I cannot see any change.
    Do you see my problem now ?
    Regards,
    Michael.

  • Regarding Function Module for Locking ( enque)

    Hi,
    I am facing a Problem that is when iam running Call transaction one popup is coming because some other user currently editing that Tcode at that time i need to lock tcode using enque specially for table . If suppose some other user editing at that time it will shoe that popup and it will exit from their with out doing any other process For that i need Function module for Lock and Delock.
    thanks in advance,
    murali krishna.

    So in this example, I am doing a loop and check for a lock, if I don't get one, I wait for 5 seconds, this loop continues untill 30 seconds, no lock then it quits and gives message.
    report zrich_0001.
    data: counter type i.
    parameters: p_equnr type equi-equnr.
    start-of-selection.
      clear counter.
      do.
    Exhausted,  no luch in getting a lock, get of of DO loop.
        if counter > 6.
          sy-subrc = 1.
          exit.
        endif.
    Try for lock
        call function 'ENQUEUE_EIEQUI'
          exporting
            mode_equi            = 'E'
            mandt                = sy-mandt
            equnr                = p_equnr
       _wait                = 'X'
          exceptions
            foreign_lock         = 1
            system_failure       = 2
            others               = 3.
    Got a lock, get out of DO loop.
       if sy-subrc  = 0.
          exit.
        endif.
    Still here?  Then wait another 5 seconds
        wait up to 5 seconds.
        counter = counter  + 1.
      enddo.
    Report status
      case sy-subrc.
        when  0.
          message s001(00) with 'Lock could not be established'.
        when  1.
          message i001(00) with 'Lock could not be established'.
      endcase.
    Regards,
    rewards point

  • Assigning the object to a Different transport request number.

    Hi all,
    I have assigned a object to a different transport request  number and i now i want to assign it to a new one..can any one tell me some procedure to change it.
    Tnx,
    Joe.

    Hi Joe
    In SE09 tcode click on display icon and enter the transport number in which the object was already assigned and click on display.
    Now delete the object from the task of the main request number.
    Now its ready to lock in some other transport request. Just goto the workbench object, try to save or activate, it will automatically ask for transport request afresh. You can now assign the request at this step.
    Rgds,
    Sripal

  • Development package to objects already in a transport requests?

    Is there a way to assign a development package to objects already in a transport requests?
    Thanks,
    Rashmi

    Hi,
    you can massively do that with SE03 / Change Object Directory Entries of Objects in a Request, select your request, position cursor on the first obj and menu edit / select block. Position cursor on the last and again select block.
    hit object directory and change accordingly.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Is there any function module to lock t024 table

    is there lock object for t024 table?otherwise any fm for locking t024 table?

    Hi Naren,
    <b>Good ... check out the following documentation
    Lock objects are used to lock the database table while making the modifications on the database table.
    you can create your own lock objects using SE11.
    if you create lock objects on any table system will create two function modules.
    1.ENQUEUE....
    2.DEQUEUE.....
    first one is used to lock the table
    second one used to removing lock on the table.
    lock Table
    CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
    tabname = table_name
    EXCEPTIONS
    foreign_lock = 1
    system_failure = 2
    OTHERS = 3.
    Unlock Table
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
    tabname = table_name
    check this link :
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    _SCOPE = 1: The lock is not sent to the update program. The lock is removed when the transaction is ended.
    _SCOPE = 2: The lock is sent to the update program. The update program is responsible for removing the lock. The dialog program which requested the lock no longer has an influence on the lock behavior. This is the standard setting for the ENQUEUE function module.
    _SCOPE = 3: The lock
    Re: lock objects
    Managingin lock entries
    http://help.sap.com/saphelp_nw04/helpdata/en/37/a2e3ae344411d3acb00000e83539c3/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/168237d30d974be10000009b38f8cf/frameset.htm</b>
    Good Luck and thanks
    AK

  • Function Module to Lock a Variant or see variant values in Disabled mode?

    Hi,
    I have a requirement in which I create some jobs which takes some variant as one of the input.
    My Problem is once i have executed the job successfully in SM37, I need to see the variant values. I know there is a function Module RS_VARIANT_CHANGE with which we can see the values of variant.
    But i dont want the user to modify those values since the job has already been executed. I just want to see them.
    Can anyone tell me is there any FM to see just the variant values in disabled mode or the the variant is locked so that the user cant modify it?

    Hi,
    I'm not sure if you really want to create a program to see the variant values?
    Because you can see the values by simply going to SM37, select the job, display list of steps, position cursor and use menu Goto -> Variant
    Moreover, (I don't know if it may answer your requirement) when you schedule a job with a report which outputs an ABAP list, you may define in the print parameters the option "Selection cover sheet" to print the values of selection screen parameters/select-options.
    Sandra

  • Function module parameters declare BOR Object

    I dont know if this is even logical...
    I need to create a function module which will be used in my  program..
    Can I create an object of BOR object type say 'Sales Order'  and pass it as an export parameter in Function Module..
    i.e i will pass the obj key and obj type as import..
    I want to instantiate that Sales Order.. and pass the whole Sales oRder as export/tables  parameter..
    I know swc_object_create is supposed to create an object but as i can see it only has the handle.. and it is of type swc_object..
    But i want to export  the whole Instance .. so that i can call the methods of the object  in my original program..
    Regards,
    krishna

    Hi Ravi ,
    I simplified my requirement but my actual requirement is with workflows...
    I have a scenario in workflow where,
    1.Activity step to fill internal table with sales order numbers
    2.loop at sales order numbers internal table
    3.Activity Step to Instantiate  based on order numbers
    4. Activity Step to Edit these sales orders
    5.end the loop
    For the above logic in workflows i have separate Activity step for instantiation..What I am thinking of is to instantiate the sales orders and fill the instances in the internal table in Step 1 instead of just order numbers..In the BOR method/F.M  of Step 1 I need to export the Instance of the Sales Orders (this is my actual question/problem, how do i instantiate while coding??swc_object_create, creates only a ref to object ...If I am able to create the object what should the type be in export /tables parameter)
    This way i can remove the loop and offer parallel processing (from miscellaneous tab in activity step) and send multiple Edit workitems to user  at Once instead of one after the other..
    Please let me also know how you would handle the above situation, i am very new to workflows and BOR.

  • Function module or Method for changing a program with transport

    Hi,
    Can anybody please let me know if there is any Function module or Method to change a program under a Transport request
    (so it needs to go to next Version for the program).  I tried using
    INSERT REPORT .... with all options for this command. It is changing the program successfully but all are creating the program locally.
    I successfully found CIF_PROGRAM_INSERT for creating new program under a TR.
    But struggling a lot to find the same kind of FM or Method to change a program.
    Can anybody help?
    //Kothand

    Hi,
    Thanks. But i am asking for a Function module which can edit a program and keep it inside a Transport request.
    This FM is to import any change request.
    //Kothand

  • Display objects exists in a transport request

    Hi all,
    I want to display all the objects (Items) exists in a transport request.
    Is there any Function Module to do so or it maintained in any database table.
    Please suggest for the process.
    Thanks
    Sanket sethi

    HI,
    Refer the link.
    Table for transport request
    Regards
    Sumit Agarwal

  • How to find Object List from multiple Transport Requests

    I have more than 300 transport request to review, going though all requests will take lots of time. Is there a way to find the list of objects from these requests so that I can go through objects only and by this way the list of objects will be certainly less than 300 for example.

    Maybe you can use SE03 function "merge object lists" for this purpose. You can enter the 300 numbers and merge all objects e.g. into a transport of copies, that you can delete again after your exercise. Don't lock the objects inside this temporary request.
    The benefit is that each object will only appear once (if not, choose "object list -> aggregate" in the request details), and you can navigate to the underlying objects, something which a simple SE16 for E071 does not offer.
    Thomas

  • One Transport request objects copy into new transport request

    Dear Experts,
    I created a transport request under which i saved my objects. <b>Now i need to  copy  old request objects into new request  or  split that transport request into number of new transport requests.</b>  First of all It is possible or not , if it is possible please tell  me the solution how to do.
    Regards,
    Krishna

    Hello Krishna
    You can
    (1) add object lists of already released requests ("old" requests) to you current request (still changeable)
    (2) merge changeable transport requests together
    (3) split a changeable request into several requests
    Whereas (1) and (2) are supported by standard functions of the SAP system (3) is a manual task involving the following steps:
    a.) Create a new request
    b.) Copy required transport entries (e.g.  R3TR TABL ZMYTABLE) from one request to the new request
    c.) Delete all copied transport entries from the object list of the "first" request
    However, if you are not fully aware of the dependencies between different transport object entries the splitting of object lists may cause hassle when you import the splitted requests into the next SAP system.
    Regards
      Uwe

  • Download ABAP OBJECT(Smartform) based on Transport Request

    Dear Expert,
         I want to create a report on which there r two input fields on selection screen.First is transport request and second is Path of local disk on which i want to save .Now under this transport request all samrtforms which i have been made.I want to save a on given path in XML file(all settings at all).
    Please give me example for that.
    Thanks & Regard,
    Jatin Sangal

    Hi,
    Check this:
    http://it.toolbox.com/wiki/index.php/Upload/download_SAP_transport_request
    Points apreciated

Maybe you are looking for

  • Connecting VGA Monitor to 2007 Macbook Pro

    I am trying to connect my old 20" Princeton VGA monitor to my late 2007 Macbook Pro.  I bought an adapter cord that fits perfectly but my Macbook Pro won't recognize that the monitor is there. I tried changing the resolution but it did not work. I ha

  • My mac os x wont show a app store.....HELP PLEASE

    my mac os x wont show a app store i deleted it then it was half a file when i tried to move it out of recycle bin...iv updated the mac but it still dont bring back app store...HELP PLEASE

  • Trouble exporting to catylist

    I'm learning all the applications in cs5.  Ive been working lately in fireworks.  I created a web templet I wanted to use.  I wanted to export it over to catylist.  So I changed it to an fxg file and started to move it over.  The issue is it didnt ex

  • Problem importing catalogue with Windows 7

    Hi, I recently upgraded my PC from XP to Windows 7. After I had installed Lightroom 2 I tried to import my old catalogue. This failed with the message " Lightroom cannot use the catalogue named "Lightroom 2 Catalog" because it is not writable and can

  • BPS/IP Vs Hyperion

    Hi,    I am  working on a company's IT strategy, they are now using Hyperion as their budget and planning tool  and R/3 as their transaction system, I would like to find some documents or case study on BPS/IP  vs Hyperion, anybody can help?