Add object to transport in ABAP

Hi All,
I'd like to generate entries in a transport
I have been using function module RS_TOOL_ACCESS but it gave me some problem with LIMU DYNP Objects
After debugging std I found out this fm TRINT_APPEND_TO_COMM_ARRAYS but it gave me an error saying the object is locked in another request! I want to overwrite this error message...
  CALL FUNCTION 'TRINT_APPEND_TO_COMM_ARRAYS'
    EXPORTING
      wi_error_table               = ' '
      wi_simulation                = ' '
      wi_suppress_key_check        = ' '
      wi_trkorr                    = im_trkorr
      wi_trpar_int_filled          = 'X'
      wi_lockkey_filled            = 'X'
      iv_append_at_order           = ' '
      iv_append_at_order_with_lock = ' '
      iv_no_owner_check            = ' '
    TABLES
      wt_e071                      = lit_e071
    EXCEPTIONS
      key_check_keysyntax_error    = 01
      ob_check_obj_error           = 02
      ob_no_systemname             = 02
      tr_lockmod_failed            = 03
      tr_lock_enqueue_failed       = 03
      tr_order_update_error        = 03
      tr_wrong_order_type          = 03
      OTHERS                       = 02.
Lit contains the entry of e071.
This should only work for Workbench objects!!!!
Thanks for help!

Hello Stephan
The message is quite clear: your object is already locked in another request.
The locks can be found in DB table <b>TLOCK</b>. Now to overcome the message (which is not at all an error because it makes sense from the point of view of the TMS) you can temporarily remove (= delete) the TLOCK entries, call your function module to append objects to your request and insert the TLOCK entries again.
However, I am sure you will run into trouble as soon as you try to release this request.
Regards
  Uwe

Similar Messages

  • How to add Objects to transport request through FM/BAPI?

    Hi All,
    I am creating a workbench request through program. I am able to create it by using BAPI  but i am unable to add objects to it through program.
    Can anybody tell me the funcion module/bapi to add object to transport request?
    i have the list of objects that are suppose to be added.
    No BDC please.
    Thanks ,
    Swarup

    Hi Swarup,
    Check FM TRINT_MODIFY_COMM. Also look at program TH_TKANL for the usage of FM.
    Thanks
    Lakshman

  • Ho to programmaticaly add objects to Transport Request

    Hi Experts,
    I have a requirement programmatically add objects to a Transport request.
    My requirement is , to modify/delete entries from DB table in the program and to create that object under a Transport request.  I could successfully add objects while creating entries to the DB table. I have some confusion when I'm to delete entries in  the DB table. How am I to achieve this. Is there some delete key/flag in the transport request which indicates that the entry is for deletion in the table.? When the TR is SAP craeted, both the creation and deletion TR appears the same.
    I'm using FM 'TR_REQUEST_CHOICE' to add the objects.
    Thanks in advance ,
    Regards,
    Anjali

    Thanks Neenu, My problem is not in adding objects to a TR.
    Suppose I have a Config table, which I want to maintain by the use of an program. With this program I should be able to create and delete entries in the config table. Now While creation, i face no problem or confusion in adding the tasks to the Transport request. But if I'm to delete entries from the config table and maintain it in the transport request, how shall i do it? The TRs which SAP creates for addition of entries and deletion of entries appears same. I cannot spot any differnce in the tasks while creation of entries and deletion of entries from the DB table.

  • Function to add Objects to transport piece list (CTS)

    Dear all,
    with function "TR_EXT_INSERT_IN_REQUEST" I can add objects to a transport request. Now I need to "fill" a piece list. The function module is not working for piece lists (documented).
    Does anybody please know a function to add objects to a piece list?
    Thanks and best regards for help.
    Roman

    Funny, German and English documentation is different:
    German:
    Kurztext
    Anhängen und Sperren von Objekten und Schlüsseln an eine Aufgabe
    Dieser Funktionsbaustein ist veraltet. Bitte verwendet Sie stattdessen
    TR_REQUEST_CHOICE für einen Transportanschluss oder
    TR_OBJECT_CHECK und TR_OBJECT_INSERT für die Änderungsaufzeichnung.
    Weitere Doku finden Sie bei diesen Bausteinen.
    This means: Do not use anymore instead use TR_OBJECT_CHECK  and TR_OBJECT_INSERT .
    Best regards
    Roman

  • How to add Image dynamically in Webdynpro ABAP

    Hi Experts,
    How to add Image dynamically in Webdynpro ABAP.
    My requirement is i maintain all the images in a table.
    image source has to pick the table URl dynamically and display.
    is that possible in webdynpro?
    and also please give the suggesion,
    without using MIME objects is that anyway to get images?
    Thanks in advance.
    Regrads,
    Jeyanthi

    Hi,
      are those icons wou want to display then. he following code will be useful.
    data : lo_IMG type ref to CL_WD_IMAGE.
    LO_IMG = cl_wd_IMAGE=>new_IMAGE( id = img_id SOURCE = 'ICON_BW_APD_TARGET' tooltip = sts_tltp ).
    lo_cont->add_child( the_child = lo_img ).
    here lo_cont is the container where you want to add the image dynamically and source is the attribiute through which you can change the ICON image. this thing you can getit from data base table and change accordingly.
    Regards,
    Anil kumar G

  • Transport of ABAP Unit Test Classes between systems.

    Hi guys
    I have a bit of a dilemma on hands here pertaining to the transport of ABAP Unit test classes. Generally when you create a transport containing classes the transport manager will automatically include all "programs" related to the class like the local type definitions, local implementations and with ABAP Unit the local test classes.
    <b>The question that I have is how would one go about excluding the ABAP Unit test classes in transports to production systems and pre-WAS 6.40 systems that do not support ABAP Unit? Does the transport system automatically manage this for you?</b> Any help ideas regarding this would be greatly appreciated.
    Kind regards
    Ettienne Hugo

    Hello Ettienne
    I have a very similar problem that I have to maintain objects for release 6.20 and 6.40. Since I appreciate ABAP Unit Tests as being very helpful I do not want to miss them even in such a situation.
    My approach is as following:
    - If possible, I try to separate the local classes from the tested object, for example:
    - Report or function group
         - contains an include like <z_include_ft01>
                - Within <i><z_include_ft01></i> I have a single stament <i><z_include_au01></i>
    The actual ABAP Unit Tests are coded in <z_include_au01>. Now if I need to ship the development to a release < 6.40 the only thing I need to do is to comment the single INCLUDE statement in <z_include_ft01>. This manual step cannot be ommitted (however, it would be simple task to define an eCATT doing this). In addition, include <z_include_au01> should not be in the transport request for the development (if it happened the import error would not affect the function of the development because it is no longer linked together).
    Advantage of this approach:
    - I clearly see that my development contains ABAP Unit Tests (use naming conventions for the includes) and
    - I can ship - with little effort - the development to SAP releases not supporting ABAP Unit Testing yet
    Regards
      Uwe

  • Is there any BAPI/FM to create a trasnport request and add objects into it?

    Hi Experts,
    Could anyone please assist me in finding a BAPI/FM to create a transport request and add objects to it.
    I could find a BAPI BAPI_REQUEST_CREATE, it creates trasnport request but doesn't have option to add objects.
    Thanks
    Yogesh Gupta

    Create a custom Function Module , in that write a BDC to create a transport request and add objects to it.
    Thats it.

  • Transporting an ABAP QUERY

    Hi guys/gals,
    I've created an abap query in testing client.
    May I know how to transport the ABAP query into quality and production server??
    Regards
    Jiku

    Hi Jiku,
    Transaction SQ02 menu "Envrionment/transport" (=Ctrl+F3).
    For transport, select "export" and the objects you want to transport.
    This will generate a request which you'll be able to process normally.
    An other solution is to download your object from the source system and then to upload it from your target system, if this one is open (and if you have the requested rights).
    Reward if useful.
    Regards,
    Aneesh.

  • Transporting in ABAP

    Hi All,
    How to Transporting in ABAP For all the Objects Like Reports,,,Scripts,,,Smartforms,,etc....
    Regards
    Vamsi

    Transport ABAP Report from Developer to Production
    Assuming that you wrote an abap report in developer 300 and would like to transport it to production 900.
    The Step by step procedure to transport from developer to production :-
    1)   Go to Se80
    2)   Select the radio button for Program and give the program name in the input box
    3)   Press display
    4)   Now it will go to another screen, then place the cursor on program name and press
          Shift+F6 OR Click transport Button.
    5)   Save the program in Existing request or Create a new request. After Saving the
          Program in Transport request and come out of the screen
    6)   Goto se38, type the program name and activate it, press Control+F4
    7)   it will go to next screen, showing all your transport request.
    8)   Select your request and click on folder to expand it, after expanding it will show
          another request inside.
    9)   Expand  that request also and check your program exist or not,
    10) select the inner request and press Right click, it will show a list, plz select release
    11) it will goto another screen there press save button and press back button.
    12) now the color of the inner request is changed, and relese the outer request, it will take
          some seconds . please wait..
    13) once this is over, please tell this outer request no. to basis guys and ask them to move quality
          or production server.

  • Version of the object using Transport Wizard and Change Lists

    Hello experts,
    When using the Transport Wizard, after selecting --> "Individual Objects" --> "Add Objects from Change Lists", do you know if the version of the object selected
    - is the last one (aka, the version right after the last activation of the object)
    - or the version of the object at the time it was added to the Change List?
    Thank you very much!

    Go to T-code SE10, go to the transport request you created. See all objects that are attached to your request. Now you would need to revert all the objects attached to its previous version(as you recieved before changes).
    Go to each object, by double clicking on it, go to utilities - version management and see the relevant version just prior to your change. Uncheck the checkbox which is checked on current version and check the previous version checkbox and find button on toolbar which says retrieve version, click on it and once that version is retrieved go to change mode on that object and generate or activate the same.

  • Add object to request

    Gurus
    How to add objects to a request having some other objects .
    Thankyou gurus

    Hi,
    You can add the objects using SE10 also.
    Double click on the request, goto change and enter the object type and enter the object. Save.
    After that donot forget to lock the object before transport release.
    Hope this helps..
    Thank you,
    S R.

  • SAP HANA Attribute View- Not able to add objects

    Hi All,
    I've created one attribute view in Modeler Perspective.
    Trying to add tables on data foundation using "Add Objects". But when table name is entered in pop-up window, it hangs (not-responding). And error log got created as below.
    I'm not able to add the tables.
    "SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.ConnectionSapDBFinalize@8e003d[ID 225800]."
    com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.ConnectionSapDBFinalize@8e003d[ID 225800].
    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)
    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateSQLException(SQLExceptionSapDB.java:136)
    at com.sap.db.jdbc.ConnectionSapDB.assertOpen(ConnectionSapDB.java:224)
    at com.sap.db.jdbc.ConnectionSapDB.getTransactionIsolation(ConnectionSapDB.java:1263)
    at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1122)
    at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:888)
    at com.sap.db.jdbc.FetchInfo.executeFetch(FetchInfo.java:162)
    at com.sap.db.jdbc.FetchInfo.executeFetchNext(FetchInfo.java:157)
    at com.sap.db.jdbc.ResultSetSapDB.fetchNextChunk(ResultSetSapDB.java:2418)
    at com.sap.db.jdbc.ResultSetSapDB.next(ResultSetSapDB.java:419)
    at com.sap.db.jdbc.trace.ResultSet.next(ResultSet.java:269)
    at com.sap.ndb.studio.sql.model.tables.impl.CatalogImpl.getCatalogObjects(CatalogImpl.java:338)
    at com.sap.ndb.studio.sql.model.tables.impl.CatalogImpl.getCatalogObjects(CatalogImpl.java:414)
    at com.sap.ndb.studio.bi.search.provider.CatalogObjectSearchProvider.doSearchInternal(CatalogObjectSearchProvider.java:172)
    at com.sap.ndb.studio.bi.search.provider.CatalogObjectSearchProvider.doSearch(CatalogObjectSearchProvider.java:95)
    also,
    "Could not fetch catalog objects"
    com.sap.db.jdbc.exceptions.JDBCDriverException: SAP DBTech JDBC: Object is closed: com.sap.db.jdbc.ConnectionSapDBFinalize@64b085[ID 225787].
    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:334)
    at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateSQLException(SQLExceptionSapDB.java:136)
    at com.sap.db.jdbc.ConnectionSapDB.assertOpen(ConnectionSapDB.java:224)
    at com.sap.db.jdbc.ConnectionSapDB.prepareStatement(ConnectionSapDB.java:1964)
    at com.sap.db.jdbc.trace.Connection.prepareStatement(Connection.java:362)
    at com.sap.ndb.studio.jdbc.JDBCConnection.prepareStatement(JDBCConnection.java:479)
    at com.sap.ndb.studio.catalog.internal.JdbcExtended.getTablesCaseInSensitive(JdbcExtended.java:277)
    at com.sap.ndb.studio.catalog.CatalogUIPlugin.internalGetTableNames(CatalogUIPlugin.java:669)
    at com.sap.ndb.studio.catalog.CatalogUIPlugin.getTableNamesNoProgressService(CatalogUIPlugin.java:1156)
    at com.sap.ndb.studio.sql.dialogs.FindTableDialog.fillContentProvider(FindTableDialog.java:504)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.filterContent(FilteredItemsSelectionDialog.java:2182)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.internalRun(FilteredItemsSelectionDialog.java:2124)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.doRun(FilteredItemsSelectionDialog.java:2096)
    at org.eclipse.ui.dialogs.FilteredItemsSelectionDialog$FilterJob.run(FilteredItemsSelectionDialog.java:2083)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Thanks,
    Sujit

    Hi Sujit,
    The log seems that connection is closed. Is it true? Did your system restarted?
    What happens if you close the studio, open it and try again?
    Are you using same revision Studio than the database?
    Regards, Fernando Da Rós

  • Field-symbols v/s Object references in OO-ABAP

    Hi,
    can anyone please tell me what is the difference between using field-symbols and object references in OO ABAP? Is there a specific need for field-symbols now that we have references?
    Thanks.
    Shakul.

    Hi ,
    Please note that both Field symbols & Object References are different .
    You can use Field symbols during the following situations
    1) When you want to modify the value of internal table, the field symbol would be useful since you do not have to use any Modify statement as in case of work area. The Field symbol works as a pointer and any changes to the field symbol will directly affect the value of the internal table
    2) Make sure that you do not reassign the field symbol within a Loop iteration
    3) Field symbols are useful when you work with dynamic internal tables ( tables whose structure is determined during run time)
    4) After Read an internal table ( Read itab...) into a Field symbol, make sure you do a Sy-subrc check or check if the field symbol is assigned.IF not this will give you a run time error
    You can use Object References while creating an object to a class. They are instances of a class.
    Thanks,
    Chakram Govindarajan

  • Add bunch of transport requests at a time

    Hi Friends,
    How to add bunch of transport requests at a time to import buffer using tp tool at OS level on windows?
    Any help would be appreciated
    Thanks

    Hi Jawed,
                         It's depends on the script which you are using. Try to copy in excel and pase in the dos  > prompt. This may help you.
    Regards,
    Hari.

  • Error while Installing the Java Add-In for an Existing ABAP System

    Hi all,
    I need help, i am Installing the Java Add-In for an Existing ABAP System
    SAPInst stops on the first installation step: "Central Services Instance (SCS) Java Add-In", the step is "Install common system files" on the following sub-steps:
    These are the last few lines on the sapinst.log.
    INFO 2009-05-21 12:35:12
    Execute step createAccounts of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|3|0.
    INFO 2009-05-21 12:35:18
    Execute step setUserEnvironment of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_Users_Create_Do|ind|ind|ind|ind|3|0.
    INFO 2009-05-21 12:35:19
    Execute step InstallJDBCDriver of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_JDBCDriver_DB4|ind|ind|ind|ind|4|0.
    INFO 2009-05-21 12:35:19
    Creating directory V:\sapmnt\BIQ\jdbc.
    INFO 2009-05-21 12:35:19
    Creating directory V:\sapmnt\BIQ\jdbc\tbx.
    INFO 2009-05-21 12:35:21
    Copied file 'V:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar' to 'V:/sapmnt/BIQ/jdbc/tbx/jt400.jar'.
    INFO 2009-05-21 12:35:22
    Execute step updateNtPatchDlls of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0.
    INFO 2009-05-21 12:35:23
    Execute step sCreateSystemOS4 of component |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0.
    ERROR 2009-05-21 12:35:42
    MOS-02001  Call of command "CRTR3SYS SID(BIQ) GLOBALHOST(*LOCAL)" failed. Exception is "CPF0006".
    ERROR 2009-05-21 12:35:42
    MOS-02001  Call of command "CRTR3SYS SID(BIQ) GLOBALHOST(*LOCAL)" failed. Exception is "CPF0006".
    ERROR 2009-05-21 12:35:42
    FCO-00011  The step sCreateSystemOS4 with step key |NW_Addin_SCS|ind|ind|ind|ind|0|0|NW_System|ind|ind|ind|ind|5|0|sCreateSystemOS4 was executed with status ERROR .
    Thanks in advance for any help.
    Kiran Chebrolu

    Hi,
    Hope this note would solve your issue, please read carefully and validate with your issue
    Note 1032019 - Java Add-In: Error when you create the SCS instance
    below notes give your suffice information.
    Note 883948 - NW 7.00(2004s): Inst.Add.Java Usage Types/Software Units
    Note 1268493 - NW 7.01/BS 7: Inst.Add.Java Usage Types/Software Units
    Note 1025789 - RUNR3CMD generates CPF0006
    regards
    nag

Maybe you are looking for

  • Computer Monitor Shadow CAD or CTI OS

    Running Contact Center Enterprise with CTI OS 7.5.10 I have gotten a few request from some of my call center suprvisors who want to remotly see what the agent is doing on their screen.  I know their are 3rd party apps such as bomgar that allow this.

  • Repository Object Navigator - Filter

    We are using the RON as our view into source code. We have folders mapped to file system folders. This adds one problem. We have lots of JAVA source files. When they get compiled the .CLASS files show up in the RON (because we have the mapping to the

  • Dbcc shrinkfile log files could not be found.

    After a huge yearly data load and verified, I thought I'd shrink the log files. This is what I did: USE XYZArchive GO sp_helpfile DBCC SHRINKFILE ('XYZArchive_Log') GO I'm getting the following error message: Could not locate file 'XYZArchive_Log' fo

  • Collaboration Room

    I am trying to create a room template which will have a quick poll iview and an poll administration ivew. I am using the standard iview provided under com.sap.ip.collaboration. In both the iviews the field "Campagin to be used" is "room". when i crea

  • Adf faces and xhtml

    I'm trying to generate xhtml 1 strict html pages using adf faces, but it doesn't seem to work correctly. What do i need to do to make it work? For example, the following jsf file: <?xml version='1.0' encoding='UTF-8'?> <jsp:root xmlns="http://www.w3.