Problem Deploying a Table in not default schema from NWDS

Hello Experts,
I've a webService that works on a Table deployed in my Portal DB..
I deployed it from my NWDS using an archive file created in a Dictionary Project.
Now I've created a new Datasource (type VendorSQL) with a new Schema..
How can I deploy my Tables in the NEW custom Schema??
Could you help me?
Best Regards
Alessandro

Hello Alessandro,
  You will have to manually deploy this. The SQLJ and Java Dictionary capabilities that is used to deploy only is possible in the default database schema as far as I know
Hope that helps
Abdul

Similar Messages

  • How to create Default Schema from within the application

    Hi friends
    I am creating users using the following within my application using this syntax
    BEGIN
    APEX_UTIL.CREATE_USER
    (:P124_USER_ID, :P124_USER_NAME,:P124_USER_FIRST_NAME,:P124_USER_LAST_NAME,' ',:P124_USER_EMAIL_ID,'xxxx');
    END;
    The default workspace for the user is set as blanks. I would like to set it to be the default workspace as per the current logged in user.
    Can you help me with the syntax for this
    thank you in advance
    Laxmi

    Laxmi,
    The subject of the post is "How to create Default Schema from within the application".
    But your question asks how to set the "default workspace" for a newly created user.
    Those are different questions and not the ones I think you need answered.
    Let me answer this question "How can you set the default schema for an account when creating the account and set it to the same value used for the default schema attribute of the administrator account used to authenticate to the currently running application?".
    In the apex_util.create_user call use named parameter notation and fetch the information about the currently logged-in user first, e.g.,declare
      l_workspace               varchar2(256);
      l_user_name               varchar2(256);
      l_first_name              varchar2(256);
      l_last_name               varchar2(256);
      l_web_password            varchar2(256);
      l_email_address           varchar2(256);
      l_start_date              varchar2(256);
      l_end_date                varchar2(256);
      l_employee_id             varchar2(256);
      l_allow_access_to_schemas varchar2(256);
      l_person_type             varchar2(256);
      l_default_schema          varchar2(256);
      l_groups                  varchar2(256);
      l_developer_role          varchar2(256);
      l_description             varchar2(256);
    begin
    apex_util.fetch_user (
      p_user_id                  => apex_util.get_current_user_id,
      p_workspace                => l_workspace,
      p_user_name                => l_user_name,
      p_first_name               => l_first_name,
      p_last_name                => l_last_name,
      p_web_password             => l_web_password,
      p_email_address            => l_email_address,
      p_start_date               => l_start_date,
      p_end_date                 => l_end_date,
      p_employee_id              => l_employee_id,
      p_allow_access_to_schemas  => l_allow_access_to_schemas,
      p_person_type              => l_person_type,
      p_default_schema           => l_default_schema,
      p_groups                   => l_groups,
      p_developer_role           => l_developer_role,
      p_description              => l_description);
    apex_util.create_user(
      p_user_id        => :P124_USER_ID,
      p_user_name      => :P124_USER_NAME,
      p_first_name     => :P124_USER_FIRST_NAME,
      p_last_name      => :P124_USER_LAST_NAME,
      p_email_address  => :P124_USER_EMAIL_ID,
      p_web_password   => 'xxxx',
      p_default_schema => l_default_schema);
    end;Scott

  • Seam (EJB3/JSF) App Deploys - but tables are not created, populated

    Please let me know if you've run across this or have an inkling of an idea of what is going on here.
    Description: I have created the JDBC Data Source and this deploys successfully. The JNDI Name for this data source is: "seam-jee5-ds".
    I am using this JDNI name as the data source in my persistence.xml for the application. This data source is found when the application deploys. The data source itself is an embedded HSQLDB database, but I have also tried this with H2 and the result is the same.
    The application works, I can open the page...but anytime there is a transaction with the database, the transaction fails. The error is that it can't find the table to query from, and fails w/ this exception:
    javax.el.ELException: javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: javax.persistence.PersistenceException: org.h
    ibernate.exception.SQLGrammarException: could not execute query; nested exception is: javax.persistence.PersistenceException: org.hibernate.exception.
    SQLGrammarException: could not execute query
    +Caused by: java.sql.SQLException: Table not found in statement [select user0_.username as username2_, user0_.name as name2_, user0_.password as passwo+
    +rd2_ from Customer user0_ where user0_.username=? and user0_.password=?]+
    at org.hsqldb.jdbc.Util.throwError(Unknown Source)
    The EJBs are recognized/discovered; example:
    Aug 15, 2009 7:35:29 PM org.hibernate.cfg.annotations.EntityBinder bindTable
    INFO: Bind entity org.jboss.seam.example.booking.Booking on table Booking
    The persistence unit is configured:
    Aug 15, 2009 7:35:29 PM org.hibernate.ejb.Ejb3Configuration configure
    +INFO: Processing PersistenceUnitInfo [+
    name: bookingDatabase
    +...]+
    Problem: When I then check the database (HSQLDB or H2), none of the tables that should be created and populated as a result of the EJBs are there.
    The only two issues/warnings that I see are:
    Aug 15, 2009 7:35:29 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
    INFO: Not binding factory to JNDI, no JNDI name configured+
    Aug 15, 2009 7:35:29 PM org.hibernate.util.NamingHelper getInitialContext+
    INFO: JNDI InitialContext properties:{}+
    Aug 15, 2009 7:35:32 PM com.sun.faces.config.ConfigureListener contextInitialized
    INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for context '/seam-jee5-booking'
    Aug 15, 2009 7:35:34 PM org.jboss.seam.servlet.SeamListener contextInitialized
    INFO: Welcome to Seam 2.1.2
    Aug 15, 2009 7:35:34 PM org.jboss.seam.util.Resources getRealFile
    WARNING: Unable to determine real path from servlet context for "/WEB-INF/classes" path does not exist.
    Aug 15, 2009 7:35:34 PM org.jboss.seam.util.Resources getRealFile
    WARNING: Unable to determine real path from servlet context for "/WEB-INF/dev" path does not exist.
    Stack: JDK 1.6_011; WebLogic 10.3.1 (11g); Seam 2.1.2; Windows XP; HSQLDB 1.8
    Any help you can provide would be much appreciated.
    The app's persistence.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
    version="1.0">
    <persistence-unit name="bookingDatabase">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>seam-jee5-ds</jta-data-source>
    <properties>
         <!--<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>-->
         <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
         <property name="hibernate.transaction.manager_lookup_class"
              value="org.hibernate.transaction.WeblogicTransactionManagerLookup"/>
    </properties>
    </persistence-unit>
    </persistence>
    Edited by: user447661 on Aug 17, 2009 9:41 AM
    Edited by: user447661 on Aug 17, 2009 9:45 AM
    Edited by: user447661 on Aug 17, 2009 9:47 AM

    Nevermind, the issue was that my persistence.xml did not contain the following property:
    <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
    Therefore, the tables were not being created upon deployment.
    Still, I would expect to see entity beans listed in the WebLogic console.

  • Problem with ALV-Table: attruibut not found

    Hello experts,
    I've created an input-view with an alv-table as output list.
    I've mapped the alv-table called 'daten' with the component controller 'daten'.
    Check is ok, but when I start the application I get shortdump:
    attribut 'daten' not found.
    Method: IF_WD_CONTEXT_NODE_INFO~GET_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: IF_WD_CONTEXT_ELEMENT~GET_ATTRIBUTE of program CL_WDR_CONTEXT_ELEMENT========CP
    Method: GET_ATTRIBUTE_INTERNAL of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    Has anybody an idea what this could be  ?
    Thanks
    Gerd

    Hi,
    this is all code I've yet written:
    METHOD wddoinit .
    data lr_node type ref to if_wd_context_node.
    Data lt_el_datensaetze type wdr_context_element_set.
    lr_node = wd_context->get_child_node( 'DATENSAETZE' ).
    lt_el_datensaetze = lr_node->get_elements( ).
      DATA: ls_smot005t TYPE smot005t,
            lt_smot005t TYPE TABLE OF smot005t.
      DATA lo_nd_laender TYPE REF TO if_wd_context_node.
      navigate from <CONTEXT> to <OPPORTUNITY_STATUS> via lead selection
      lo_nd_laender = wd_context->get_child_node( name =
      wd_this->wdctx_laender ).
    Länderkennzeichen auslesen und an Context übergeben
      SELECT * FROM smot005t INTO ls_smot005t WHERE spras = 'DE' ORDER BY
    landx ASCENDING.
        IF sy-subrc = 0.
          APPEND ls_smot005t TO lt_smot005t.
        ENDIF.
      ENDSELECT.
      lo_nd_laender->bind_table( new_items = lt_smot005t ).
      lo_nd_laender->set_lead_selection_index( index = 40 ).
    ENDMETHOD.
    BR
    Gerd

  • An interesting problem in emp table of scott/tiger schema, kindly help

    I want to write SQL which can give me the result in columns
    ENAME, EMPNO, DEPTNO, DEPT_WISE_PCT_OF_EMP_SAL,
    CMP_WISE_PCT_OF_EMP_SAL
    i write a sql by using multiple select statements like
    select ename, ename, emp.deptno, sal, (sal/a.cmp_sal )*100 cmp_sal_pct, (sal/dept_sal.dept_sal)*100 dept_sal_pct
    from emp, (select sum(sal) cmp_sal from emp) a,
    (select deptno, sum(sal) dept_sal from emp group by deptno) dept_sal
    where dept_sal.deptno = emp.deptno
    ENAME ENAME DEPTNO SAL CMP_SAL_PCT DEPT_SAL_PCT
    CLARK CLARK 10 2450 8.4409991386736 28
    KING KING 10 5000 17.226528854436 57.142857142857
    MILLER MILLER 10 1300 4.4788975021533 14.857142857143
    SMITH SMITH 20 800 2.7562446167097 7.3563218390805
    ADAMS ADAMS 20 1100 3.7898363479759 10.114942528736
    FORD FORD 20 3000 10.335917312661 27.586206896552
    SCOTT SCOTT 20 3000 10.335917312661 27.586206896552
    JONES JONES 20 2975 10.249784668389 27.35632183908
    ALLEN ALLEN 30 1600 5.5124892334195 17.021276595745
    BLAKE BLAKE 30 2850 9.8191214470284 30.31914893617
    MARTIN MARTIN 30 1250 4.306632213609 13.297872340426
    JAMES JAMES 30 950 3.2730404823428 10.106382978723
    TURNER TURNER 30 1500 5.1679586563307 15.957446808511
    WARD WARD 30 1250 4.306632213609 13.297872340426
    but i want to solve this problem using single sql
    i write the required sql but i unable to get the salary on company basis(total sal of all emp)
    select emp.ename, emp.deptno, emp.empno, emp.sal,
    (emp.sal/sum(dept_emp.sal))*100 dept_sal_pct
    from emp, emp dept_emp
    where emp.deptno = dept_emp.deptno
    group by emp.ename,emp.deptno, emp.empno, emp.sal
    ENAME DEPTNO EMPNO SAL DEPT_SAL_PCT
    CLARK 10 7782 2450 28
    KING 10 7839 5000 57.142857142857
    MILLER 10 7934 1300 14.857142857143
    ADAMS 20 7876 1100 10.114942528736
    FORD 20 7902 3000 27.586206896552
    JONES 20 7566 2975 27.35632183908
    SCOTT 20 7788 3000 27.586206896552
    SMITH 20 7369 800 7.3563218390805
    ALLEN 30 7499 1600 17.021276595745
    BLAKE 30 7698 2850 30.31914893617
    JAMES 30 7900 950 10.106382978723
    MARTIN 30 7654 1250 13.297872340426
    TURNER 30 7844 1500 15.957446808511
    WARD 30 7521 1250 13.297872340426
    thanks in advance

    Try this (untested)
    select ename, ename, emp.deptno, sal,
      RATIO_TO_REPORT(sal) OVER ()*100 cmp_sal_pct,
      RATIO_TO_REPORT(sal) OVER (PARTITION BY dept)*100 dept_sal_pct
    from empRATIO_TO_REPORT is the key. If this doesn't work then check the docs.

  • Problem in ADF Table Sorting Accessor Fields Generated from EJB 3

    Here are the things that I have done:
    1) created EJB entities for Employee and Department based on the HR schema
    2) created an HRFacade session bean
    3) generated DataControl
    4) created a browse page
    5) created an adf read only table with the following fields: employeeId, lastname, and departmentName with row selection, filtering and sorting enaabled.
    when I invoke sorting for the employeeId and lastname fields, the table sorts fine, but...
    when I invoke sorting on the departmentName field (an accessor field), the following error occured:
    WARNING: ADF: Adding the following JSF error message: Definition departmentName of type Attribute is not found in employeesFindAll.
    oracle.jbo.NoDefException: JBO-25058: Definition departmentName of type Attribute is not found in employeesFindAll.
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:589)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.findAttributeDef(JUCtrlValueBinding.java:559)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding.__setSortCriteria(FacesCtrlRangeBinding.java:247)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setSortCriteria(FacesCtrlHierBinding.java:346)
         at org.apache.myfaces.trinidad.component.UIXCollection.setSortCriteria(UIXCollection.java:464)
         at org.apache.myfaces.trinidad.component.UIXTable.setSortCriteria(UIXTable.java:196)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:260)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:140)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:364)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:271)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:140)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:364)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:787)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:280)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Is this a bug or a not supported feature?
    We been stack on this... Help!!!

    I have a similar problem but related to the creation of Project Gantt Chart.
    oracle.jbo.NoDefException: JBO-25058: No se ha encontrado la definición XXXView2 del tipo Atributo en YYYView1.
    this is happened when i try to create a Project Gantt Chart whit 2 view objects that have a parent-child relationship where XXXView2 (SUBTASKS) is the child and YYYView1 (TASK) is the parent.
    still not find the solution.
    This is the bug?

  • I have given up on Mozilla to solve my problem which is I can not view videos from any website. I have lost my patience with so called fixes that do not work .

    continued, so I have removed Mozilla from my pc and will not return until you fix this problem, so Goodbye from rxman 1975

    Okay, goodbye. For cross-reference, here's your earlier thread: https://support.mozilla.org/questions/965903

  • Can I change the default schema from "sql"

    I wish to switch between several sets of identical tables under different schemas/owners in the same database - say dev1, dev2, test, prod schemas.
    The (single) user I connect with (say - called Reader1) has granted select to all these tables, and now i wish to do something like:
    alter session set schema='dev1'
    select count(*) from customers
    select count(*) from sales
    alter session set schema='test'
    select count(*) from customers
    select count(*) from sales
    The database should then translate it to something like:
    select count(*) from dev1.customers
    select count(*) from dev1.sales
    select count(*) from prod.customers
    select count(*) from prod.sales
    Is this possible or does anyone have alternative suggestions ?

    This sure sounds like what "private synonyms" are supposed to be used for...
    -- User Reader1 needs the system privilege "create synonym"
    -- to create private synonyms
    create synonym flex_customers for dev1.customers ;
    create synonym flex_sales for dev1.sales ;
    select count(*) from flex_customers ;
    select count(*) from flex_sales ;
    drop synonym flex_customers ;
    drop synonym flex_sales ;
    create synonym flex_customers for test.customers ;
    create synonym flex_sales for test.sales ;
    select count(*) from flex_customers ;
    select count(*) from flex_sales ;
    drop synonym flex_customers ;
    drop synonym flex_sales ;
    Hope that helps,
    Stan

  • Table where notes are stored from pb60

    Hy guys i need to create a report from the notes that u can add in every activity in pb60, (Maintain applicant Activities).
    so i need to search in wich table the text(note) is stored,
    must be relaeted with pb4003, the fiels notex is the flag that tell u wich activity has a note
    any ideas?

    Hello,
      Its not stored in SAP tables.
    You can get the logic from standard program.You need to debug it.
    Main Program - SAPMPAP3
    there is a perform in include program.
    PERFORM fill_text_header.
    Debug it.you will get the logic.
    Regards,
    Manoj.

  • Dynamic Table Sorting not working going from MX to 8

    I have a table with a repeat region and had buttons to sort
    any of the columns on the page.. This was working in Dreamweaver MX
    but since upgrading to 8 it doesn't.
    The way I did it in MX was to create two variables:
    varName - DateSubmitted (default value which is db field
    name) - Request.QueryString("order") (runtime value)
    varSort - ASC (default value) - Request.QueryString("sort")
    (runtime value)
    And my SQL statement:
    SELECT *
    FROM TableName
    ORDER BY varName varSort
    How can I dynamically sort tables in Dreamweaver 8??
    Thanks much

    In many cases you are better off sorting on the client side
    JS rather than server side. Just search the web and you'll find
    plenty of code examples.

  • Extending the default schema from install to add few new atttributes

    We use sun ldap5.2 with OAM 10.1.4.2. The LDAP schema that we currently use is from the install that was extended from the default Sun LDAP schema by Oracle. I have been asked to extend this schema to provide more attibutes like Challenge question, challenge answer and role. I'm hesistant for couple of reasons
    1) I have a feeling that challenge question and challenge answers must be available already. If so, how do I use it.
    2) Is it a best practice to reuse some already present attributes like say TELEX (I believe no body uses telex any more) or create new ones
    3) my understanding of extending schema involves create new object classes (say customInetOrgPerson class). If I were to implement this new requirement in production environment, what happens to existing users that were created using InetOrgPerson class from the date of installation
    Many thanks in advance for guidance.
    Sri

    It is considered poor practice to use an attribute for a purpose other than that which is obvious by it's name.
    Therefore, the best practice is to enrich your person objects with an AUX class or to build a new structural class to include the attributes required. AUX class is your most flexible option especially if your OAM is already installed against inetorgperson.
    I usually create a class like mycoChallengeResponseUser with mycoChallengePhrase and mycoChallengeResponse attributes where myco is some sensible prefix for the organization.
    Hope that helps.
    Mark

  • Free Goods Condition table records not getting downloaded from R/3 to CRM

    Hi Friends,
    I'm trying to download free goods condition records from R/3 to CRM. i have already downloaded condition techique, procedure, condition type, access sequece.
    Now i am tryin to download Free goods condition table for Example: KOTN602 to CRM. I created new condition adapter ZDNL_COND_N602 by coping standared adapter DNL_COND_N010 and changed to table table. now i have the following tables in table section.
    KONDN
    KONDNS
    KOTN602
    TMC1K
    No filter has been set as we have only one record in table KOTN602 in R/3.
    i had run initial load of this adapter ZDNL_COND_N602 thr R3AS, then I checked in R3AM, the status is canged to Green. but when I checked in CRM table /1CN/CCFCUS602, no data available in this table ( NO download happens).
    Can you please suggest what could be the reason and what is missing?
    Thanks
    Bharthi

    Hello Bharti,
    Please make sure in txn R3AC5, for you Z* adapter object, under the tab 'Mapping Modules: R/3 to CRM', you just have
    single entry of CND_MAP_MAST_EXCHANGE_MAIN_MBD.
    If there are double entries please delete the duplicate.
    Also, you can check the logs using txn CND_MAP_LOG_DISPLAY
    Object : COND_EXCHANGE
    Sub-Object: CONDITIONS
    Please give the 'From' and 'To' correctly, to get the correct log messages.
    This will give you some hint.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Accessing tables in other than default schema.

    Hi Experts,
    I am using an Enterprise Bean (Stateless) that uses Common JDBC
    to connect to the Java Schema of the WAS. I have created a
    DataSource alias (created on Default Datasource) and using it for connection.
    My requirement is to <b>get a list of all tables created in the Default schema</b>.
    But when I use DatabaseMetadta.getTables() method, for this type of connection
    it throws out the following exception:
    <b>java.lang.UnsupportedOperationException: Method getTables() not supported by Common JDBC</b>
    I have even tried using the query "Select * from USER_TABLES", but with this one,
    an SQL Exception is thrown saying:
    <b>com.sap.sql.log.OpenSQLException: The SQL statement "SELECT "TABLE_NAME" FROM "USER_TABLES"" contains
    the semantics error[s]: table "USER_TABLES" unknown</b>
    Please tell my how can I use tables in other than the default schema.
    Regards,
    Alka.

    Hi Alka,
    from your post, it is not entirely clear to me what you are atempting to do.
    1) Do you need help with accessing tables in a non-default schema?
    2) Do you want to determine all tables in the default schema?
    If 1), please follow the hints given by Vladimir Pavlov.
    If 2), currently, the method DatabaseMetaData.getTables() is unfortunately not supported in Open SQL/JDBC. We are currently preparing a new download of the NetWeaver Java EE 5 edition. In this version, the getTables() method will be supported.
    Or do you just want to check for the existence of a specific database table in the default schema?
    I hope this helps,
    Best regards,
    Adrian

  • Default schema names in multi-tier landscape

    Hi folks,
    We have an interesting problem due to having different named default schemas in each of our 3 hana systems.  For example lets say these are our default schemas in our development, staging, and production HANA systems;
    DEV_SCHEMA
    QA_SCHEMA
    PROD_SCHEMA
    Each of these replicating data from their corresponding SAP source systems.
    Now, we have a view that is developed on DEV hana box and uses DEV_SCHEMA.  When this view content is imported to QA or PROD we handle easily with schema mapping.  All is well and good although we are not really a fan of this different naming and us developers did not choose this naming (self defense plea here for us brilliant developers whom never make such mistakes... PS: HI LARS! - Go Germany!)
    Now we are setting up a connection from BW into HANA using system connection and inside this is a parameter called 'db user'.  Although it's called db user it's actually looking for a SCHEMA name.  If BW DEV is querying from HANA DEV this schema name would be DEV_SCHEMA.  However if BW_QA is querying from HANA_QA then the name would need to be QA_SCHEMA but in our BW landscape we are locked in QA and PROD and normally can not and/or do not want to edit objects in non-native systems.  Ideally what we need is our default schemas in HANA to have the same exact name throughout the HANA landscape.
    All this said, I can see that it would be great to re-name our entire HANA landscape however that would be a HUGE monumental undertaking as all systems would need to be re-replicated again (at least I think).
    Just curious if anybody else has named their schemas differently on each tier?  What are most people doing?  Naming the default schemas the same consistently or are you using schema mapping?
    Thanks,
    -Patrick

    Hi Luke,
    I am new to the project and there seems to be no original version.  At some point a bunch of the destination field names were changed on the admin console and errors resulted from it both due to mismatched joins and the use of two word field names.  I have documentation of the names for the set of tables in the function area but am having trouble with how everything matches up in the bottom half..  I'll keep working on it
    Z

  • Table does not exist in system after DB Connect

    Hi Everyone,
    I must extract data from a oracle db.  I create a source system with DB Connect and it's connect successful.
    Later, i create a datasource for that source system. but it show the table does not exist in system. I'm sure the table is correct. why?
    Thanks!

    Check the schema names & ensure it is with the same owner/name as in the DB source table/view. You can also use a simple lookup table which checks table/views in your schema from other standard tables.

Maybe you are looking for

  • Dvd for dvd player through TV set

    I have iMovie 7.1.4, which I am assuming is iMovie 8. Is there a way to take a slide show with music from iPhoto and make an iMovie version that will play on a DVD player through the television? I have made and burned a DVD that plays on Macs and PC'

  • How to refer to an IB controller instance from code???

    Hi all. I know this must be simple but I have just never run into this before. When you drag an array controller from IB's palette into your top-level window, it instantiates it, right? All well and good - it's controlling my array and updating the t

  • Sigma X3F to DNG conversion - suggested workflow?

    Now the latest version of Adobe Camera Raw 6.1 supports all Sigma cameras (DP1, DP1s, DP2, SD9,  SD10, SD14). http://www.adobe.com/products/photoshop/cameraraw.html Do I have to tick the linear DNG in options of Camera Raw 6.1 ? Sigma/Foveon X3F imag

  • It doesn't want to reinstall OS X Mavericks to my MacBook Pro after restoring it.

    I have a macbook pro (2011) I had already installed OS X Mavericks but I changed the date and time so when I was going to change it again it would´t let me. So I restored it to factory settings but when Im going to reinstall OS X Mavericks it won't l

  • How subquery works?

    Hi All, Can anyone explain different types of subquery and how it works? With example would be great. Thanks, Kothan.