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.

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

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

  • Collecting objects in transport request

    HI Experts,
                    My development is completed and now i have to collect the objects in transport request. my development is like
    1) infoobjects(new infoobjects and some are available in BIP already and some infoobjects have reference infoobjects, dependent object is in production)
    2)Infopackeage for Datasource
    3)DSO
    4) Infocube
    5)multiprovider
    6)queries and views
    7)web templates
    This is the first time I am collecting this many objects. So please give  sugessions how to collect these objects in a single transport request.
    Thanks and Regards,
    RAJ

    It is advisable to collect the objects in separate transport requests...the transport request should contain dependent objects
    1) collect all the InfoObjects
    2) collect all the cubes/DSO   (they need Infoobjects.. so they are dependent on 1)
    3) collect datasources/Infosources  (they need Infoobjects.. so they are dependent on 1)
    4) collect transformation  (they need 2 and 3)
    5) collect DTPs and InfoPackages   (they need 3, 4)
    6) collect the reports
    7) collect the web templates
    make sure these are transported in sequence... each on dependent on previous

  • Approve critical objects in transport requests (ChaRM)

    Hi folks!
    When trying to create transport of copies from within a Change Document (status 'to be tested') the system checks for critical objects in transport requests and prompts a warning that critical objects are to be approved.
    I do not want the Change Manager to approve every transport request containing critical objects. I would more likely use this feature as information for the Developer so he is aware of working on critical objects. The Developer should be able to make the approval.
    What I found out: only the user whos Business Partner is assigned to Partner Function 'Change Manager" is allowed to make the approval.
    More detailed it seems to be Partner Function of type "0008 responsible person"
    I tried changing Partner Function Developer from "0016 service group" to "0008 responsible person" but the system won't let me have two Partner Functions of that type in one Change Document.
    Any suggestions?
    Thanks in advance.
    /cheers

    Hi,
    For any user to approve the change req or change doc, he should have the authorization
    In your case Developer has to approve means
    1. Create a Action definition and maintain the processing parameters for the definition, select the partner fn as Developer
    2. Create the customized status in your status profile and its corresponding Authorization code also.
    3. Assign the Authorization code for Developer under teh authorization object B_USERSTAT
    By this Developer wil get the authorization for approving the change doc for the particular status
    If solves your query then mark the thread as answered
    regards
    Naveen

  • Unlock objects from transport requests

    Hi Gurus
        I was doing the SAP_Basis support pack upgrade, in netweaver 7.1 and many of the objects seems to be locked in transport requests. as my understanding, i have two options only,
    1. replease transport - but it can create issues to us, as that will automatically imported to the next system in teh landscape, so unwanted requests will move to QAs system
    2. unlock objects from transport request.
           So i did the second option, but it had a message that it can create inconsistencies in the system, do u know what all the meassures we need to take, if we unlock objects from the transport requests. Is it required to delete the transport requests,
    by mistake , if someone releases the that transport, whether it will release the old object or the new object.
    Please suggest what would be the best recomended approch by SAP
    Bijoy Babu

    Hi Bijoy,
    Its better to release the TR and then delete the same from the queue before it is imported into the following system. This will avoid any inconsistancy when the TR released after the SP application.
    Regards,
    Varadhu

  • Business object for transport request creation

    Hi,
      I want to know the business object for transport request creation. Kindly help.
    Thanks and regards,
    Venkat.

    I am not sure but u can try this BO CTREQUEST.

  • Deleting objects in transport request

    Hello,
    I made the changes in InfoCube in developer system and included those changes in a transport request. I didn't release this transport. Then I realized that those changes must be reverted.
    I know what I have to do. First of all I need to change manually InfoCube and then remove objects from transport request.
    I have doubt about deleting objects. In transport request there is a lot of object which Iu2019ve never changed such as InfoObjects and InfoArea.
    Can I safely remove these objects? Why these objects are attached to my transport request?
    I checked them and last change was made by another user.
    Thank you for your time.

    Hi,
    I don't think there is any version comparison available with target system like R/3 reports. You will manually have to compare the properties.
    If you have lot of objects and do not want to loose any changes then you can even think of reverse transport from production system to development system for selected objects.
    Now about locking the remaining objects you can open the TR through SE09 in change mode and then select the required items and from the tool bar you can directly lock all the items in single go.
    Regards,
    Durgesh.

  • Translation of objects at transport request

    hi, can any one tell how every object can be translated at transport request based on Object Type and object name is there any way to do like that, its very urgent .
    thnks,
    Vassu.

    hi, actually the requirement is that our production system would be multi lingual in future they want to change their qs-chech process. Every transport request we transport in to their test-systems must be checked, if all translatable objects are translated.
    therefore they want a report, which does this automatically.
    so they want to check every object at  transport request is transaltable or not?
    but we have some 10,000 of objects present i our development system.How can we check all those objects?
    this is the senario.
    Regards,
    vaasu.

  • CMOD Project need to move from local Object into Transport request

    Hi Friends,
                 I created a Project(CMOD) under Local Object I need to move the Project from Local object into Transport request.
    I can't able to find any option.
    Please guide me ASAP.
    Advanced Thanks.

    On the first screen of your project, choose following menu path:
    "goto => object directory entry"
    press on the change icon
    you can now assign a different package.

  • Error in FM DDIF_NAMETAB_GET when deleting BI objects via transport request

    Dear all,
    when importing a transport request in which several types of BI objects are deleted (Infocubes, DSO's, transformations, routines, DTP's, query elements, infosets, process chains). The import terminates only when transporting from acceptance to production with return code 12 due to an uncaught exception:
    Transporting from development to acceptance did not raise this exception.
    The ST22 dump (see below) refers in the "contents of system fields" section to a DSO, and to post-import activities. The DSO and the associated tables could not be found (rsa1 & se16), since they are deleted as desired.
    Some of the relevant notes that I have found do refer to DSO related problems, but they all indicate to install SP19 which we already have installed (BW 7.0 Patch Level 23)
    Could you please assist in pointing out potential solutions based on the information from the ST22 Runtime Error below?
    Kind regards,
    PJ
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_RS_PROGRAM_ERROR
    Date and Time          08.02.2011 10:48:14
    Short text
        An exception occurred that was not caught.
    What happened?
        The exception 'CX_RS_PROGRAM_ERROR' was raised, but it was not caught anywhere
        along the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
        'CL_RSDD_DS====================CP' has to be
        terminated.
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_RS_PROGRAM_ERROR', was not caught
        and therefore caused a runtime error.
        The reason for the exception is:
        Error in BW: Error in DDIF_NAMETAB_GET
    How to correct the error
        If the error occurs in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_RS_PROGRAM_ERROR"
        "CL_RSDD_DS====================CP" or "CL_RSDD_DS====================CM001"
        "APPEND_DS_TEC_FIELDS"
    System environment
        SAP-Release 700
        Application server... "dp1ci"
        Network address...... "<removed>"
        Operating system..... "HP-UX"
        Release.............. "B.11.23";
        Hardware type........ "ia64"
        Character length.... 16 Bits
        Pointer length....... 64 Bits
        Work process number.. 45
        Shortdump setting.... "full"
        Database server... "spisap02"
        Database type..... "ORACLE"
        Database name..... "DP1"
        Database user ID.. "SAPBIW"
        Terminal................. " "
        Char.set.... "C"
        SAP kernel....... 700
        created (date)... "Dec 14 2009 20:47:35"
        create on........ "HP-UX B.11.23 U ia64"
        Database version. "OCI_102 (10.2.0.1.0) "
        Patch level. 236
        Patch text.. " "
        Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
        SAP database version. 700
        Operating system..... "HP-UX B.11";
        Memory consumption
        Roll.... 5979936
        EM...... 0
        Heap.... 1459888
        Page.... 40960
        MM Used. 6988880
        MM Free. 415648
    User and Transaction
        Client.............. 000
        User................ "DDIC"
        Language key........ "E"
        Transaction......... " "
        Transactions ID..... "4D5111661004210BE10000000AFA2502"
        Program............. "CL_RSDD_DS====================CP"
        Screen.............. "SAPMSSY0 1000"
        Screen line......... 6
    Information on where terminated
        Termination occurred in the ABAP program "CL_RSDD_DS====================CP" -
         in "APPEND_DS_TEC_FIELDS".
        The main program was "RDDEXECU ".
        In the source code you have the termination point in line 61
        of the (Include) program "CL_RSDD_DS====================CM001".
        The program "CL_RSDD_DS====================CP" was started as a background job.
        Job Name....... "RDDEXECL"
        Job Initiator.. "DDIC"
        Job Number..... 10475900
    Source Code Extract
    Line  SourceCde
       31         RAISE EXCEPTION TYPE cx_rs_program_error
       32           EXPORTING
       33             text = 'Invalid DSO subtype'.                   "#EC NOTEXT
       34     ENDCASE.
       35
       36 *   get table name from DDIC
       37     CALL METHOD cl_rsd_odso=>get_tablnm
       38       EXPORTING
       39         i_odsobject = n_infoprov
       40         i_tabt      = l_tab
       41       IMPORTING
       42         e_tablnm    = l_tablnm
       43       EXCEPTIONS
       44         OTHERS      = 1.
       45
       46     IF sy-subrc <> 0.
       47       RAISE EXCEPTION TYPE cx_rs_program_error
       48         EXPORTING
       49           text = 'Error in CL_RSD_ODSO=>get_Tablnm'.        "#EC NOTEXT
       50     ENDIF.
       51
       52     CALL FUNCTION 'DDIF_NAMETAB_GET'
       53       EXPORTING
       54         tabname   = l_tablnm
       55       TABLES
       56         dfies_tab = l_t_comp
       57       EXCEPTIONS
       58         not_found = 1
       59         OTHERS    = 2.
       60     IF sy-subrc <> 0.
    >>>>>       RAISE EXCEPTION TYPE cx_rs_program_error
       62         EXPORTING
       63           text = 'Error in DDIF_NAMETAB_GET'.        "#EC NOTEXT
       64     ENDIF.
       65
       66
       67   ELSE.
       68 *   model table only needed for standard datastore objects, for
       69 *   write optimized DSOs target table is a changelog that is fully described by
       70 *   dta_pro (infoobjects)
       71     CHECK n_s_dta-odsotype = rsdod_c_type-standard.
       72
       73 *   get model table fields to add
       74     CALL METHOD cl_rsd_odso=>get_mod_tab
       75       IMPORTING
       76         e_mod_fld_ur = l_t_comp.
       77   ENDIF.
       78
       79 * according to T.B. ( 13.04.2007) the correct position is
       80 * not needed in the D version
    Contents of system fields
    Name     Val.
    SY-SUBRC 0
    SY-INDEX 0
    SY-TABIX 1
    SY-DBCNT 1
    SY-FDPOS 0
    SY-LSIND 0
    SY-PAGNO 0
    SY-LINNO 1
    SY-COLNO 1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE Execute Post-Import Methods and XPRAs for Transport Request
    SY-MSGTY E
    SY-MSGID DA
    SY-MSGNO 300
    SY-MSGV1 /BIC/AV_AMOFCB40
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO 0
    SY-DATUM 20110208
    SY-UZEIT 104759
    SY-XPROG SAPLSYST
    SY-XFORM SYSTEM_HOOK_OPEN_DATASET

    Hi All
    We are also experiencing this same error when transporting deletions of multiple objects.
    Although the transport was cancelled in the destination system (production) it appears to have largely deleted all objects successfully except for DSOs.
    The DSOs still appear in the table RSDODSO (via SE11) but are not visible anywhere else.  When you try to view the DSO via RSDODS a warning appears saying "DataStore object to be deleted by transport -> delete only allowed".  If you try to delete them in this transaction the same ABAP runtime error as the transport appears.
    Any assistance would be greatly appreciated!
    Regards
    David

  • Adding objects to transport request

    Hi all,
    I need to add a generated SAP object into a transport request.
    How can i do this without making changes to the object?
    Thanks.

    Hi,
    You need to create a Workbench TR request in SE09. Go to the detailed screen of the transport. Go to change mode. In the objects tab, you can see a table for the object details. click on the ADD button. Give the Program ID as R3TR. Object ID depends on the object type. You can find the list of values in F4. In the object name, give your object name. Select that entry and click on the LOCK button.
    The object will be locked under the TR.
    Reward points if helpful!
    Thanks and Regards,
    Lakshmi.

  • Unable to collect objects into transport request BI 7.0

    Hello all!
    I have a fresh installation of BI netweaver 2004s. When attempting create a  transport (in transport collection), I get the following error message:
    Changes cannot be made, display user only
    Object IOBJ xxxxxxxx couldn't be saved to order
    The message is repeated for about 50% of all the objects I'm trying to include in a transport...
    How can I fix this? Has anyone seen the problem before?
    Regards,
    F C

    I am not sure on which system(Dev,QA,PRD) you are trying to collect..looks like you dont have authorization ..but then if it is only infobjects and you have a transport request already created..you can try this
    goto se09..double click on your transport request you created.. go to change mode.. Go to Objects tab--> Add an entry like below:
    <b>R3TR</b> under project..
    <b>IOBJ</b> under Object type and
    <b><your infobject name></b> under object name..and save..
    Regards
    Manga

  • Adding objects in transport request

    Hi sdn,
    by mistake I didn't include some infoobjects in the transport request, how i can add this missing infoobjects in my transport request
    rubane

    Hi Kamaljeet
    thx for ur reply i had included two infoobjects one comes under object list of request and another comes under request itself by using transport connect what is the difference between these two.
    rubane

  • Manual assignment of object into Transport request

    Hi Experts,
    Very recently I saw in my developement system that one object ( ABAP Report ) has been assigned directly to the Transport request number not into the task number . I have also checked that the object is not locked into TR which should be normally locked.
    My Question is that how it is possible and is their any advantage / disadvantage to follow this type of way ?
    Also if another user wants to change the same report , then will another new TR be generated or new task of same TR be generated ?
    Thanks in  adv. Waiting for youe kind response.
    Thanks.
    A Miter.

    Arit,
    Ideally the objects should get included in a TR when we change/create a object assigned to a package.But while manually adding an object to a TR one needs to be sure about the PROGRAM ID and OBJECT TYPE of that object and the rest of the subobjects related to it.If we manually add an object in a TR there is a chance that the related subobjects will not get transported.
    So.the best way is only to get the objects added to the TR automatically while creating the TR.But,sometimes it will be helpful if we know the mechanism of adding the objects in the TR manually.Sometimes
    Thanks,
    K.Kiran.

Maybe you are looking for

  • How to delete an App I did not install on my machine

    My son's school requires them to use MacBookPro's (three cheers).   His laptop broke so I restored his Time Machine backup to an external drive which is attached to my desktop system.  That way he could keep up with his work until the repairs were co

  • How to setup a query plan in effective at any time for SP or SQL query?

    I have a SP which include a group by SQL statement. It retrieve data from a couple of tables which are over 1G size, When I run this SP at first time, it take more than 5 minutes to get the result. then I run it again and again, Finally, it become ve

  • Understanding Flexconnect - Local vs Central Switching, and WLC failover scenario ??

    Hello Experts We have one WLC 5508 in Building1, few 2700 Series AP in Building1, and one 1252AG in Building2. The LAN subnet is same for both Buildings connected via a dark fiber. My requirement is to have Central Switching in Building1 since WLC is

  • Read variables from an XML file

    Hi all, I'm trying to query valuables in an xml document which is structured quite differently from the examples I've seen around here, and I can't get my head around what to do. The XML document I've got looks like this; <universalproperties> <prope

  • Can we have 2 items poiting to the same VO?

    Hi, We are changing some seeded pages in iProcurement. We need to change some messagestyledtext readonly items into updateable and LOV driven items. I don't want to touch the seeded items. So, can I create my own items through personalization, point