How to use another database schema in Dictionary project

Problem description:
1)     I want to use Developer Studio to create my own J2EE project. Then I have to use Dictionary Project to maintain my database.  My database is Oracle.
2)     I created tables in Dictionary project and deployed to database
3)     After that I found my tables were deployed into SAPSR3DB schema.
Question:
      What can I do if I want to deploy my tables into another schema other than SAPSR3DB?  In real cases I want to separate my tables from the WAS system tables.

Hi Chaoran,
If you want to use external database with Java dictionary tables..
Right click on the Java Dictionary Table, from the menu select <b>Create DDL script</b>, then select to which data base you want to generate scripts. It will generate .sql scripts, use this scripts in your database to create tables. But the same time you need to create Data sources in Visual Administrator for your oracle system.
Regards
Abhilash

Similar Messages

  • How to use Logical database in function module?

    I will create a function module in HR.
    but how to use Logical database  in function module ?  Logical database PNP always show screen.in function (RFC) code , it is a matter.

    You cannot attach the LDB to the main program of the function group.
    - So you may [SUBMIT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=submit&adv=false&sortby=cm_rnd_rankvalue] a report which use the LDB and get back the data (export/import), by default in the syntax of SUBMIT the selection-screen will not be displayed
    - Use [LDB_PROCESS|https://www.sdn.sap.com/irj/sdn/advancedsearch?query=ldb_process&cat=sdn_all], fill a structured table for selection, and get data back in another table
    - Use [HR function modules to read Infotypes|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=hrfunctionmodulestoread+Infotypes&adv=false&sortby=cm_rnd_rankvalue].
    Regards

  • How to use temporary database?

    hi
    i am using timesten as cachedb for oracle database。i have some problem about how to use temporary database?
    1) what's the difference between temporary and non-temporary database,if i use awt cache group,then timesten will automatically replicate all change to oracle database , even if timesten crashed,i can set up another timesten quickly,no data loss?
    2)since all data is in oracle database,does timesten‘s transaction log and checkpoint file useful ? does timesten need backup ?

    Temporary databases have very limited usefullness; you can't use them with replication or caching for example. They are a very 'niche' use case; I'd recommend that you avoid them for mainstream use.
    TimesTen checkpoiint and transaction log files are always required (except for Temporary database which do not have checkpoint files but do have log files).
    Chris

  • Why and how we use Logical Database?

    Can anybody explain with example why and how we use logical database?
    Regards,
    Rajan

    Hello,
    SAP comes loaded with all the extras. Among the extras that are most helpful to IT managers are all the access routines needed to pull any business object that managers can think of out of SAP databases. However, SAP has not thought of everything where your particular applications are concerned. SAP organizes its standard database tables to service business units based on conventional business applications. Itu2019s likely your business requires something new, perhaps even something exotic. In that case, you will need to create a new database, using information from different places. Basically, you need a logical database. You need to create a virtual business data object repository consisting of a new kind of record or table that suits your purposes. In addition, the repository should be composed of information that is actually stored in a number of different locations, none of them necessarily logically associated with one another. Letu2019s take a closer look at creating logical databases.
    A case for a logical database
    Suppose my company manufactures widgets of the most obscure variety, and they are components of other widgets. I sell my widgets as raw material for the more sophisticated widgets built by others, but in some cases I actually partner with other manufacturers in creating yet another class of widget. Now, in my world, I consequently have customers who are also partners. I sell to them and I partner with them in manufacturing and distribution. Also, I need an application that uses both of these dual-use relationships.
    Essentially, I have a customer database and a partner database. Neither contains records that are structured to contain the identifying particulars of the other. Thus, I need a hybrid database that gives me tables detailing these hybrid relationships. What can I do? I can go the long way around and write a new database, pulling information from both and creating new objects with a customized program that I write by hand. However, this process is cumbersome and contains maintenance issues. On the other hand, I can use SAPu2019s logical database facility, create my logical database in a couple of minutes, and have no maintenance issues at all.
    Logical database structures
    There are three defining entities in an SAP logical database. You must be clear on all three in order to create and use one.
    u2022     Table structure: Your logical database includes data from specified tables in SAP. There is a hierarchy among these tables defined by their foreign keys (all known to SAP), and you are going to define a customized relationship between select tables. This structure is unique and must be defined and saved.
    u2022     Data selection: You may not want or need every item in the referenced tables that contributes to your customized database. There is a selection screen that permits you to pick and choose.
    u2022     Database access programming: Once youu2019ve defined your logical database, SAP will generate the access subroutines needed to pull the data in the way you want it pulled.
    Creating your own logical database
    ABAP/4 (Advanced Business Application Programming language, version 4) is the language created by SAP for implementation and customization of its R/3 system. ABAP/4 comes loaded with many predefined logical databases that can construct and table just about any conventional business objects you might need in any canned SAP application. However, you can also create your own logical databases to construct any custom objects you care to define, as your application requires in ABAP/4. Hereu2019s a step-by-step guide:
    1.     Call up transaction SLDB (or transaction SE36). The path you want is Tools | ABAP Workbench | Development | Programming Environment | Logical Databases. This screen is called Logical Database Builder.
    2.     Enter an appropriate name in the logical database name field. You have three options on this screen: Create, Display, and Change. Choose Create.
    3.     Youu2019ll be prompted for a short text description of your new logical database. Enter one. Youu2019ll then be prompted to specify a development class.
    4.     Now comes the fun part! You must specify a root node, or a parent table, as the basis of your logical database structure. You can now place subsequent tables under the root table as needed to assemble the data object you want. You can access this tree from this point forward, to add additional tables, by selecting that root node and following the path Edit | Node | Create. Once youu2019ve saved the structure you define in this step, the system will generate the programming necessary to access your logical database. The best part is you donu2019t have to write a single line of code.
    Regards
    Arindam

  • Could i use another database

    Im wondering if i can use another database for the workflow engine. I mean it comes with a database managment by default i want to know if a can use another one (SQL server)

    Hi,
    We have been using jtds driver , which is free and the fastest and without any bugs until now, we have been using it for 4 months now.
    The part below explain how to set up your mssql server with jtds driver.
    create a db lets call is bpel
    then run these queries on it. basically to create the tables, these files are
    domain_sqlserver.ddl
    server_sqlserver.ddl
    workflow_sqlserver.sql
    sensor_sqlserver.sql
    located at
    /OraBPELPM_1/integration/orabpel/system/database/scripts
    After that download the jtds driver for sql server.
    We do not use the microsofts jdbc driver for mssql, although we have tried it.
    It doesnt work properly, with the bpel process manager, basically it has some problem with select image and blob types from DB.
    Anyways, the best one we found was for jtds, it works great and is the fastest I beleive.
    We used data direct's jdbc driver but its not free and after doing some benchmark tests we found jtds was the fastest.
    mkdir -p jdbc/jTDS/unzip
    cd jdbc/jTDS/unzip
    download the jtds-1.2-dist.zip from
    wget http://surfnet.dl.sourceforge.net/sourceforge/jtds/jtds-1.2-dist.zip
    unzip jtds-1.2-dist.zip
    cd unzip
    cp jtds-1.2.jar OraHome_1/integration/orabpel/system/appserver/oc4j/j2ee/home/applib/
    You will now have to configure MsSQL in your data-sources.xml file.
    Microsoft SQL Server Database Configuration
    Oracle Bpel now needs to be configured to use Microsoft SQL Server, using the JDBC drivers.
    cd OraHome_1/integration/orabpel/system/appserver/oc4j/j2ee/home/config/
    vi data-sources.xml
    You must then place the following xml within the file:
    <data-source class="net.sourceforge.jtds.jdbcx.JtdsDataSource"
    name="BPELServerDataSource"
    location="jdbc/BPELServerDataSourceWorkflow"
    xa-location="BPELServerDataSource"
    ejb-location="jdbc/BPELServerDataSource"
    connection-driver="net.sourceforge.jtds.jdbc.Driver"
    username="BPEL_user"
    password="bpeluser!">
    <property name="serverName" value="server_name"/>
    <property name="databaseName" value="database_name"/>
    <property name="portNumber" value="1433"/>
    </data-source>
    <data-source class="net.sourceforge.jtds.jdbcx.JtdsDataSource"
    name="AdminConsoleDateSource"
    location="jdbc/AdminConsoleDateSource"
    xa-location="AdminConsoleDateSource"
    ejb-location="jdbc/AdminConsoleDateSource"
    connection-driver="net.sourceforge.jtds.jdbc.Driver"
    username="user_name"
    password="password">
    <property name="serverName" value="server_name"/>
    <property name="databaseName" value="database_name"/>
    <property name="portNumber" value="1433"/>
    </data-source>
    <data-source class="net.sourceforge.jtds.jdbcx.JtdsDataSource"
    name="BPELSamplesDataSource"
    location="jdbc/BPELSamplesDataSource"
    xa-location="BPELSamplesDataSource"
    ejb-location="jdbc/BPELSamplesDataSource"
    connection-driver="net.sourceforge.jtds.jdbc.Driver"
    username="user_name"
    password="password">
    <property name="serverName" value="server_name"/>
    <property name="databaseName" value="database_name"/>
    <property name="portNumber" value="1433"/>
    </data-source>
    Run the BPEL server and everything should work fine.

  • How to use query-database() function in transformation?

    Hi All,
    How to use query-database() function in transformation?
    It is giving four fields but if i write select query in sqlquery field it is saying select node is not found....
    plz help me out
    Regards
    Pavankumar
    Edited by: [email protected] on Jul 29, 2009 2:49 AM

    Hi,
    To answer your query:-
    http://abhishek-soablog.blogspot.com/2008/08/orclquery-database.html
    Cheers,
    Abhi...

  • How can let oc4j use my database schema file?

    I wrote a mysql.xml in config\database-schemas.
    But when I deploy a ejb application, It reported:
    2005-2-20 4:11:03 com.evermind.server.Application getDatabaseSchema
    Warning: Exception occurred getting database schema. Exception: java.sql.
    SQLException: Can't call commit when autocommit=true
    2005-2-20 4:11:04 com.evermind.server.Application getDatabaseSchema
    Warning: Warning: Exception occurred getting database schema. Exception: java.sql.
    SQLException: Can't call commit when autocommit=true
    05/02/20 04:11:05 Auto-deploying - compiling and loading...
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -deprecation for details.
    05/02/20 04:11:22
    Auto-creating table: create table Student_ejb1_ejb1 (id BIGINT not null primary
    key, name SET(255) null)
    05/02/20 04:11:22 Error creating table: You have an error in your SQL syntax; ch
    eck the manual that corresponds to your MySQL server version for the right syntax....
    Do I need write schema property in data-sources.xml?

    To the data-sources.xml configuration file add a datasource element for MySQL. In the schema attribute set the schema file to database-schemas/mysql.xml.
    <data-source
        class="com.mysql.jdbc.jdbc2.optional.MysqlDatasource"
        name="OracleDS”
        schema="database-schemas/mysql.xml"
        location="jdbc/mySQLCoreDS"
        xa-location="jdbc/xa/mySQLXADS"
        ejb-location="jdbc/mySQLDS"
        connection-driver="com.mysql.jdbc.Driver"
        username=""
        password="”
        url="jdbc:mysql://localhost/test"
        />   

  • Using another database table in a query

    Hi,<BR><BR>Iam designing a report in which i have to use a table from another database<BR><BR>my query is <BR><BR>select ev_class_id,ev_id,desc,start_time from tev where start_time > today<BR><BR> and (desc like \'%f\' or desc like \'%m\' or desc like \'%yds\')<BR><BR> and ev_id not in(selct ev_id from ppbrio:race_length)<BR><BR> and ev_class_id = 23<BR><BR> union<BR><BR> select ev_class_id,ev_id,desc,start_time from tev where start_time > today<BR><BR> and ev_id not in (select ev_id from ppbrio:race_length)<BR><BR> and ev_class_id in (3,129,131,132)<BR><BR>"open bet" is a databse am using to design query and have to use a table from ppbrio(pp_race_length)<BR><BR>can some body tell me how to do this.<BR><BR>rajani<BR><BR><BR>

    Put it in the post-query trigger. Post-change is there only for backward compatibility.

  • How to use a database per customer

    Hello,
    I currently design an Application that shall be used by multiple customers. Every customer shall have a database by its own for security and performance reasons. What is the best way to do this:
    - Create a database schema per customer (no problem)
    - Create a persitence unit per customer in peristence.xml (also no problem)
    How can I select the correct persistence manager at runtime?
    @PersistenceContect(unitName="customer14") EntityManager em;
    Selects the Persistence Unit for a bean at compile time. Any idea how I can do this at runtime? I would prefer to keep with container managed Entity Managers, if this is possible.
    Thanks in advance for any help.

    stelzbock wrote:
    Ahh, wow, that was quick!
    So all of them have these features I need?
    If you mention derby, I just found Java DB which is based on derby. So whats the diference? Can anyone recommend one of them?Check them all. Try which one you like best. I think Java DB is the new name of Derby.
    Personally I prefer HSQLDB, but I choose whichever you like.
    And what about the Table control? Is JTable feasible? It should be configurable and extendible like this:This is an entirely different question, better asked in the Swing forum.
    Also, be careful to separate your DB access from your UI code (google for MVC). It will make your application a lot easier to maintain.

  • How TO use configurable Database connection with ADF BC

    I have developed a simple JSF/ ADF BC web application that connects to a database and read/display data from the db tables. I have successfully deployed the application to Tomcat 5.5.17. However, now i need to change the database the application is connecting to. My question is How can I change the Database connection without having to change the application modules or rebuild the war file ??? In other words, is there a specific file (xml) where the database connection can be changed?

    If you set up the application with a data source (I am not sure if this is possible using another app server, I use OC4J), then you would just change it there. However if you created a database connection in the JDEV and pointed your data model to that, then you will have to change and rebuild.
    You might be able to edit the xml file that contains the setttings, I am not sure my CM guys dont allow this, all of our changes have to go through our code repository.

  • How to duplicate a database schema

    You can do it with Oracle Datapump (expdp/impdp).
    1. Check if there is an oracle directory object on a drive with enough space:
    select * from all_directories;]
    If not, create one:
    create directory g_dump as 'g:\oracle\dump';]
    2. Export schema:
    expdp system/*** directory=g_dump dumpfile=<File Name> logfile=exp_<file name>
    schemas=(schema_name1,schema_name2)]
    3. Optional: If you are copying schemas to another server, repeat step 1 on the destination server, then
    copy .DMP file there. Keep folder name and directory object same as on the source server, if possible.
    4. Import into a new schema:
    impdp system/*** directory=g_dump dumpfile==<File Name> logfile=exp_<file name>
    remap_schema=<User name>:new_<user name> remap_schema=<User name>:new_<user name>]
    Use remap_schema parameter for every user you want to rename. Omit this parameter if you do not
    rename users (copying schemas to another database).
    If you want to import into separate tablespaces, create these tablespaces, and specify this in the impdp
    command line:
    remap_tablespace=<tablespace name>:new_tbs remap_tablespace=<tablespace name>:new_tbs]
    Note: If you are trying to reimport the schema into the original database
    but you are remapping the tablespace, your remap tablespace must read:
    remap_tablespace:whatever_tablespace_it_was_in_before:tablespace_you_want_it_in_now]

    I'd suggest you to create a blog and post these information on that blog. Forum is for asking questions or answering them
    Kamran Agayev A.
    Oracle ACE
    My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/

  • How to use another XSLT processor

    Hello all,
    Recently, I do need to use XSLT 2.0 processor, but how to install it to the JDK? Please give the detailed steps. And how to use it, just import the package? How to avoid the program to the old processor, because I doubt probably the old processor is part of the JDK. And how does this change impact to the java web service? And how do I change the web service about this change?
    Thank you in advance.

    >
    I want to use SaxonHE9.4.0.3 processor
    >
    Michael Kay provides extensive Installation instructions for all of his products. They are included in the documentation download.
    Here is just a small part of what was provided for the version I use
    >
    Installation of Saxon simply involves unzipping the supplied download file into a suitable directory. The procedure is the same for the Standard product and the Schema-Aware product. The two products can co-exist in the same directory or in different directories.
    One of the files that will be created in this directory is the principal JAR file. This is saxon8.jar in the case of Saxon-B, saxon8sa.jar in the case of Saxon-SA. There are additional JAR files to support optional features including the JDOM interface and the SQL interface. When running Saxon, the principal JAR file should be on the class path. The class path is normally represented by an environment variable named CLASSPATH: see your Java documentation for details. Note that the JAR file itself (not the directory that contains it) should be named on the class path.

  • How to use another java program to stop this running prpgram???

    Dear Sir:
    I have following code and I run it success,
    import java.util.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.*;
    public class CertainAndRepeatTime{
      public static void main(String[] args) throws IOException{
        int delay = 1;
        Timer timer = new Timer();
        ActionListener actionListener = new ActionListener() {
            public void actionPerformed(ActionEvent actionEvent) {
              System.out.println("Hello World Timer");
        System.out.println("What do you want (Certain time or Repeat time)?");
        System.out.print("Please enter \'C\' or \'R\' for that: ");
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String ans = in.readLine();
        System.out.print("Please enter  ans=" + ans  + " IsTrue=  " + (ans.equals("R") || ans.equals("r")) +"\n");
        if (ans.equals("C") || ans.equals("c")){
          //System.out.println("This line is printed only once start...");
          timer.schedule(new TimerTask(){
            public void run(){
              System.out.println("This line is printed only once.");
          },delay,1);
        else if(ans.equals("r") || ans.equals("R")){
            timer.scheduleAtFixedRate(new TimerTask(){
              public void run(){
                System.out.println("This line is printed repeatedly.");
            },delay, 1000);
          while(true){
               //System.out.println("Charles print This line is printed repeatedly.");          
          } //This will make your main thread hang.
        else{
          System.out.println("Invalid Entry.");
          System.exit(0);
        System.exit(0);
    }But I hope to use another java program to stop it when it is running instead of pressing CRTL + C to stop it.
    How to do it??
    Any example??
    Thanks a lot!!

    Sorry, I think i did not express cearly. It is my fault.
    I re-write my requirements again:
    I have
    Class AAA1.java,
    Class AAA2.java,
    Class AAA3.java,
    Class AAA20.java...
    etc
    they all look like the program I posted first time,, once executed, they will run for ever, and they will be stopped until I press CRTL + C;
    Now I hope to use another java class StopProgram.java to stop them 1 by 1 or at once instead of pressing CRTL + C;
    In this case, how to code this StopProgram.java ??
    Thanks

  • How to use another panels in status line

    Hi Everyone:
    Can anybody tell me how can i use another panels in the
    Console's status line, I'm using the message line but i need to
    show the user's name and Date-Tiem in another section of the
    status line and not in display controls as i'm already doing it.
    Thanks.

    Do you really need a JSF component for that? You can use h:panelGroup and some JS. But a simple div with some JS is also sufficient.

  • How to use dynamic database item in Fast formula

    Dear All
    How to use Element Pay value in Fast Formula
    Element Name: Transport_Allowance
    Input Values : Name Units User Enterable Database Item
    Pay Value Money No Yes
    Amount Money Yes Yes
    Balance Feeds : Value Name Balance Name Units
    Pay Value Transportation Amount Money
    Formula
    DEFAULT FOR ASG_SALARY IS 0
    DEFAULT FOR TRANSPORTATION_AMOUNT_ASG_RUN IS 0
    ALIAS ASG_SALARY AS Emp_Salary
    ALIAS TRANSPORTATION_AMOUNT_ASG_RUN AS Emp_Trans_Amt
    V_CALCULATED_SALARY = Emp_Salary + Emp_Trans_Amt
    RETURN V_CALCULATED_SALARY
    Using the above formula, I got only Basic Salary only
    How to get the Basic Salary + Transportation allowance in the return value
    Please help me..
    Thanks in advance

    Please check whether the priority of the element with which the fast formula is attached has a priority higher than the Transport_Allowance. If not then cahange the priority of the element to a prriority higher than Transport_Allowance.
    HTH

Maybe you are looking for

  • I only get a blank page when trying to print a web page

    I have looked up how to print a web page and did exactly as shown on the screen (I did select my printer) but when I want to print a Web page I only get a blank page. I also cannot save as PDF in the Print Dialog Box because I get a blank page there

  • Shared library randomly disconnects or disappears or doesn't show up at all

    Using an XP Pro machine to share library. Vista machine to connect to library. Half the time I start up iTunes and look on Vista the shared library is not showing up. Another half of the time it will be there and I'll be listening and bam it shuts of

  • How can I open an old file made with 2009 iWork'09?

    Some years ago I prepared a book using iWork'09 program. Two months ago the hard disk of my iMac didn't work anymore. I did the backup of my work before the beracking. My iMac war repaired and I tried to open my old work with iWork'09 but the program

  • BPM Error - Invalid XML

    Hi experts, I have the following scenarios in PI 7.0 SP20: An interface that sends a Syncronous Message to BPM (via Webservice) by using the container type S/A Brigde to response to the soap request. However, a strange error occurs when the XML get i

  • RFC o Proxy PI 7.1.1

    Hi all, in previous versions on SAP PI SAP recommends the use of PROXYS than RFC, but what about PI 7.1.1 with AAE and the PI protocol (XI3.0) was added to SOAP Adapter? How can we decided if choose Proxys than RFC adapter since both run in the AAE a