How to change the Schema (DB2, Oracle) in CommandTable at run time

Dear all,
I have a problem as below:
I have created report with CommandTable, then I am using Java and CRJ 12 to export data. So how to change the SCHEMA in CommandTable? 
Please help me on this.
Ex: CommandTable is SELECT * from SCHEMA.TableA, SCHEMA.TableB
Thanks,
Nha

Dear Ted,
I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
I also use the parameter to do it, but it can not be at run time, just correct when designing.
Could you please help me on this. You can post the code if any.
Thanks,
Nha

Similar Messages

  • How to change the application (MIDlet) input language at MIDlet run-time?

    Hi,
    I am working on a Messaging (SMS) J2ME MIDlet where it is required to change the input language for a TextField/Area at run-time.
    For example if default handset language is set to Chinese, during MIDlet execution time the textfield language (locale) should be changed to Arabic/Spanish/French. Here I understand that provided the required languages are supported on handset, one can change them from handset settings.
    Can anyone help me out with changing the microedition.locale to zh_CN from en_US?
    Thanks

    Dear Ted,
    I want to change DataSource, it means the report will be load and change connection at run time (using CRJ SDK) and i want to change the SCHEMA.Tablename in CommandTable in report.
    I also use the parameter to do it, but it can not be at run time, just correct when designing.
    Could you please help me on this. You can post the code if any.
    Thanks,
    Nha

  • How to change html style titles of a JTabbedPne at run time??

    hi,
    how to change html style titles of a JTabbedPne at run time??
    setTitleAt is not working...

    You can't change the canvas at runtime. But you can put the scrollbar on a stacked canvas and then show or hide that stacked canvas on different canvases.

  • How to change the schema to another user ?

    Hi,
    I've registerd this schema and it works well,
    but I need to change the schema to connect to another User like MYUSER_2.
    because I have to migrate the MYUSER_1 to MYUSER_2 and then to delete MYUSER_1
    when I register the schema again with this user MYUSER_2
    , all xml-entries will become destroyed ?
    what can I do ?
    it's better , to register the schema without a user ?
    Norbert
    dbms_xmlschema.registerSchema(
    schemaurl => vschemaurl,
    schemadoc => xsd_file,
    local => FALSE,
    gentypes => TRUE,
    genbean => FALSE,
    gentables => TRUE,
    force => FALSE,
    owner => MYUSER_1
    ,CSID => nls_charset_id('AL32UTF8');
    );

    If 2 seperate users need to work witht the same XML Schema then the XML Schema should be registered as a global Schema. If you want to change the owner of an XMLschema, just like if you want to change the owner of a relational; table you will have to export the data and import it again.

  • How to change the Schema Location ??

    Hi ,
    I need to change the Schema name which is registered through the Deployment Manager . OWB allows all other Parameters to change except the Schema name . Any workaround ???

    On your mapping right click and choose the option configure (window Configuration Properties), open the tab "Sources and Targets" on this tab choose the table that you want to change the schema and on the label Schema insert the schema to be used.
    hope it helps!
    Regards,
    Vitor

  • HOW TO CHANGE THE USEFUL LIFE FOR MORE ASSETS AT A TIME FOR ASSET CLASS

    Hi All,
    Asset which is under Asset Class Support system-B700. Here every thing is ok but the problem in USE FULL LIFE which is come by default. It must be 4 instead of  5.   So can any body help me out from this how to change the Useful life in that Asset class.  In that Asset Class we have the morethan 200 Assets. It was happend in Prdocution system so now the problem is where i can change the useful life for the asset class either in DEV or PRD.
           Also i want to know the information of How these assets are Uploaded into the system (Lsmw or etc). this is very urgent for me.
    Thanks in Advance,
    Regards,
    Siva.

    Hi Ashok,
         Can i know the reason how it was happend. i mean instead of 4 years the system showing is 5yesrs any reason is there behind that.
    Thanks in Advance.

  • The system copy with Sapinst has changed the schema in oracle

    Hi;
    have done a copy Homogeneous of a system and after having all correct I have seen that has changed the name of the Schemas and the name of the tablespace.
    the system is a PI NW2004S.
    When the oraginal schema is SAPSR3DB, in the target system is SAPSR4DB, and all tables are here.
    The tablespace SAPSR3DB in the target system is empty and the copy has created one tablespace SAPSR4DB
    They are normal these changes? 
    thanks a lot

    Hi;
    Thanks a lot for the help. But I have done one homogeneous system copy with Oracle 10G and NW2004s.
    I attached information by the original system:
    USERNAME                          USER_ID CREATED
    OPS$ORAGXI                             33 31-JAN-08
    SAPSR3DB                               31 31-JAN-08
    OPS$SAPSERVICEGXI                      30 31-JAN-08
    SAPSR3                                 27 31-JAN-08
    OPS$GXIADM                             26 31-JAN-08
    OPS$SR3ADM                             32 31-JAN-08
    DBSNMP                                 24 31-JAN-08
    TSMSYS                                 21 31-JAN-08
    DIP                                    19 31-JAN-08
    OUTLN                                  11 31-JAN-08
    SYSTEM                                  5 31-JAN-08
    USERNAME                          USER_ID CREATED
    SYS                                     0 31-JAN-08
    Theses the information about the target system:
    USERNAME                          USER_ID CREATED
    SAPSR4DB                               35 18-FEB-08
    SAPSR3DB                               31 18-FEB-08
    OPS$SAPSERVICEGXD                      34 18-FEB-08
    SAPSR3                                 33 18-FEB-08
    OPS$GXDADM                             32 18-FEB-08
    OPS$ORAGXD                             25 18-FEB-08
    DBSNMP                                 24 18-FEB-08
    TSMSYS                                 21 18-FEB-08
    DIP                                    19 18-FEB-08
    OUTLN                                  11 18-FEB-08
    SYSTEM                                  5 18-FEB-08
    USERNAME                          USER_ID CREATED
    SYS                                     0 18-FEB-08
    I have a new schema that contain all tables of original SAPSR3DB. The default tablespace of   SAPSR4DB                                
    is SAPSR4DB (new tablespace).
    I have other error when execute for example one backup with brtools
    BR0925I Public synonym SAP_SDBAH created successfully for table SAPSR4DB.SDBAH
    BR0925I Public synonym SAP_SDBAD created successfully for table SAPSR4DB.SDBAD
    BR0925I Public synonym SAP_DBSTATC created successfully for table SAPSR4DB.DBSTATC
    BR0925I Public synonym SAP_DBSTATTORA created successfully for table SAPSR4DB.DBSTATTORA
    BR0925I Public synonym SAP_DBSTATIORA created successfully for table SAPSR4DB.DBSTATIORA
    BR0925I Public synonym SAP_DBSTATHORA created successfully for table SAPSR4DB.DBSTATHORA
    BR0925I Public synonym SAP_DBSTAIHORA created successfully for table SAPSR4DB.DBSTAIHORA
    BR0925I Public synonym SAP_DBCHECKORA created successfully for table SAPSR4DB.DBCHECKORA
    BR0925I Public synonym SAP_DBMSGORA created successfully for table SAPSR4DB.DBMSGORA
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0319I Control file copy created: /oracle/GXD/sapbackup/cntrlGXD.dbf 12664832
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301W SQL error -980 at location BrDbfInfoGet-32, SQL statement:
    'DELETE FROM SAP_SDBAH WHERE BEG > '10000000000000' AND BEG < '20070209000000''
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301W SQL error -980 at location BrDbfInfoGet-33, SQL statement:
    'DELETE FROM SAP_SDBAD WHERE BEG > '10000000000000' AND BEG < '20070209000000''
    ORA-00980: synonym translation is no longer valid
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301E SQL error -980 at location BrComprDurGet-1, SQL statement:
    'OPEN curs_11 CURSOR FOR'
    'SELECT FUNCT, POS, LINE FROM SAP_SDBAD WHERE BEG = '00000000000001' AND FUNCT IN ('CMP', '   ', '   ', 'DUR', 'DUL') ORDER BY FUNCT, POS'
    ORA-00980: synonym translation is no longer valid
    BR0314E Collection of information on database files failed
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0301W SQL error -980 at location BrbDbLogOpen-5, SQL statement:
    'INSERT INTO SAP_SDBAH (BEG, FUNCT, SYSID, OBJ, RC, ENDE, ACTID, LINE) VALUES ('20080315000018', 'anf', 'GXD', ' ', '9999', ' ', 'bdxmccba', '7.00 (31)')'
    ORA-00980: synonym translation is no longer valid
    BR0324W Insertion of database log header failed
    BR0056I End of database backup: bdxmccba.anf 2008-03-15 00.00.21
    BR0280I BRBACKUP time stamp: 2008-03-15 00.00.21
    BR0054I BRBACKUP terminated with errors
    Brtools create public synonym of tables of schema SAPSR4DB, but theses tables are in schema SAPSR3.
    In one note , SAP explain that : I performance  Installation with
    independent SCHEMA-ID' as mentioned in note 659509       
    I don´t know this type of installation.
    Any Idea?
    thanks a lot

  • Jdeveloper 11g: how to change the extension library Oracle JDBC

    Hello
    We use JDeveloper 11g for our desktop (swing) projects. When I debug the project in IDE, the classpath includes this jar: C:\Oracle\jdevstudio1117\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar
    The ojdbc6dms.jar is in Oracle JDBC extension library. We actually want to use ojdbc14dms.jar as our jdbc library jar. I exclude the ojdbc6dms.jar in the project classpath setting and add a user library for ojdbc14dms.jar. When I run the project, the IDE still use ojdbc6dms.jar in the classpath. I try to use "Manage Libraries" under "Tools" menu to change the jar file in Oracle JDBC extension library, but it cannot be changed.
    Can I ask how to change ojdbc6dms.jar to ojdbc14dms.jar in Oracle JDBC? Or, how can I let the IDE not use ojdbc6dms.jar when I run the project? Thank you
    Leaf

    Replace the ojdbc6dms.jar with ojdbc14dms.jar in C:\Oracle\jdevstudio1117\oracle_common\modules\oracle.jdbc_11.1.1
    The ojdbc14dms.jar may be required to be renamed to ojdbc6dms.jar in the C:\Oracle\jdevstudio1117\oracle_common\modules\oracle.jdbc_11.1.1 as the pre-configured settings are for ojdbc6dms.jar.
    Edited by: dvohra21 on Jun 3, 2013 5:47 AM

  • How to change the name of Oracle Intractive Dashboard and my Dashboard

    Hi,
    can any body help me out. how to change Oracle Intractive Dashboard whis is top left on the dashboard page.
    and also please tell me how to remove my dashboard page.
    Thanking you
    Phani Babu

    Have a look here :
    http://obiee101.blogspot.com/2009/06/obiee-new-portal-banner.html
    regards
    John
    http://obiee101.blogspot.com

  • How to change the ownership of a doc after a specific time in workflow ?

    Hi
    My objective is to create a workflow in ESO , that will change the ownership of a contract document from the current person to his supervisor ( supervisor's id will be in user id management page) after a specific time .
    Please help me how to do it ?
    I am using TWE editor for workflow design
    Regards
    Swastik

    To prepare a computer for sale or donation, in addition to the steps mentioned in this support article, take these steps:
    If you set a firmware password, remove it by running Firmware Password Utility in Recovery mode.
    If you activated FileVault in OS X 10.7 or later, turn it off.
    If you use Boot Camp, the partition must be deleted
    If you created any other data partitions on the internal drive, remove them in Disk Utility.
    Erase the data partition(s) with the option to zero out data. An SSD doesn't need to be zeroed.
    You can't legally or practically transfer any software downloaded from the Mac App Store to the new owner of the machine, even if it was free. That includes OS X, so if you paid for an upgrade OS X 10.7 or later, you must reinstall  the original OS, either from the installation media, if applicable, or by booting into Internet Recovery (option-command-R at the startup chime.)
    The new owner will have to repurchase the software, if need be, under his or her Apple ID. If you ever updated the bundled iLife applications (Garage Band, iMovie, and iPhoto) through the App Store, you can't transfer them either.
    Remove the machine from your list of registered products. If it's still covered by an AppleCare Protection Plan, transfer the coverage to the new owner by following the instructions in the AppleCare Terms and Conditions (under the heading "Transfer of Plan.")

  • How to change the application status back to build and run

    hi ,
    i changed my applications status to run only .. and now system is not allowing me to change the status of my application back to "build and run"
    any help is appriciated..
    Thanks

    I found the solution for my problem as go on below track and change the setting.
    Home-->Application Builder-->Cross Application Reports-->Build Status and Application Status

  • How to change the Program in Oracle Session

    When I create or use a JDBC connection, I want to set the value of something 'in' the connection so that it shows when I do a query like:
    select SID, Program, Machine, Module, client_info
    from v$session
    For example, how do I set the 'Client_Info' column of v$session? Or the, 'Program' column?
    Or can you do this in JDBC?
    I am using the thing 8.1.x driver ( where x = 6, I think).
    My server, is 8.1.7.4 on Solaris...
    Thanks

    Thanks a lot for your answer.
    Do you know how to implement that when using the Oracle ADF framework?
    JClient dynamic credentials and Struts/ADF => Application module with configuration file.
    see thread (JDeveloper forum)
    JClient 2Tiers/JDBC Security question
    Regards
    Fred

  • How to change the input and output schema in BPEL process

    hi',
    Please tell me how to change the input and output schema in BPEL process after the process is made.
    thanks
    Yatan

    If your intention is just changing the content you are passing to bpel/returning from bpel
    Here is another way
    just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
    Regards,
    Praveen

  • How to change the db_name of the database in oracle 9i

    Please Tell me
    How to change the db_name of the database in oracle 9i
    regards

    ALTER DATABASE RENAME oldname TO newnameThis is not a valid command.
    @OP, you may want to check into the NID Utility.

  • Change the schema of a report using oracle odbc at runtime

    Post Author: Guy
    CA Forum: .NET
    Hi,
    I'm using Crystl 11 r2 and coding in C#.
    In our oracle database we have many schemas.  When designing the report I can see many schemas (~14) when creating the new connection, but not the one for which I provided a username and password!  I guess it woud have been the ~30th of the list.  This wouldn't really mather if I was able to change the schema on which the report will be executed at runtime.
    But with both the native oracle driver or using odbc I am not able to change the schema (even if I change the DatabaseName in the connection info.  I've had a look at the CR_VS_CHANGE_DATABASE.ppt but it doesn't help me with Oracle...  Funny, I can't put anything in the connectionInfo.DatabaseName and it doesn't seem to change anything...
    Anybody ever succeeded to change all the connection info at runtime when the report runs on oracle?
    Thanks,
    Guy

    You should be able to do that by so:
    Go into the object navigator. Click on Paper Layout, and click on the Main Section label (not the plus sign). Hit F4 for properties - height and width are there. I think if you just changed those to what A4 is designated as, it should work.
    Note if you use a header/footer page, you would need to do the same to those pages as well.
    Hope that helps as I have not actually needed to do this yet. Good luck!

Maybe you are looking for