Data source issue in new app creation

Using Hyp. 9.3 I am trying to create a new application. The data source for the new app was created in sql server and it was used to create a new app. The problem is after going throught the create new app wizard, the new app was there but no db. I think I may have refreshed instead of create. Anyway I went ahead and deleted the app and tried to start fresh to create the new app. But when I went to select the data source it is no longer there. I checked the sql server connection and it seems fine. So what could have happened to the data source?

If the essbase database does not exist and you click refresh it will create the database.
Anyway can you not just create a new datasource.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • New Planning instance - data source issue

    Hello everyone,
    I am trying to setup a new instance of planning and when I try to create DATA SOURCE I get the following error, any help to resolve this is much appreciated.
    ++C:\Hyperion\AnalyticServices\bin>del C:\Users\Admin\AppData\Local\Temp.\srvtmp.r++
    ++eg++
    ++In HspDBPropertiesLocationPanel constructor++
    ++In HspDBPropertiesLocationPanel queryEnter++
    ++Resource Bundle is java.util.PropertyResourceBundle@221c75++
    ++Product Name in file is PLANNING++
    ++Availability Date is 20051231++
    ++Creating rebind thread to RMI++
    ++Resource Bundle is java.util.PropertyResourceBundle@221c75++
    ++Product Name in file is PLANNING++
    ++Availability Date is 20051231++
    ++$$$$$$$$$$$$$ dname is PlnInstance2++
    ++Resource Bundle is java.util.PropertyResourceBundle@221c75++
    ++Product Name in file is PLANNING++
    ++Availability Date is 20051231++
    ++Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no HspEss++
    ++baseEnv in java.library.path++
    ++at java.lang.ClassLoader.loadLibrary(Unknown Source)++
    ++at java.lang.Runtime.loadLibrary0(Unknown Source)++
    ++at java.lang.System.loadLibrary(Unknown Source)++
    ++at com.hyperion.planning.olap.HspEssbaseEnv.<clinit>(Unknown Source)++
    ++at com.hyperion.planning.olap.HspEssbaseJniOlap.<clinit>(Unknown Source)++
    ++at com.hyperion.planning.HspJSHomeImpl.TestEssConnection(Unknown Source)++
    ++at com.hyperion.planning.HspDSEssbasePanelManager.TestEssConnection(HspD++
    ++SEssbasePanelManager.java:156)++
    ++at com.hyperion.planning.HspDSEssbasePanelManager.queryExit(HspDSEssbase++
    ++PanelManager.java:132)++
    ++at com.hyperion.cis.config.wizard.ProductCustomInputPanel.queryExit(Prod++
    ++uctCustomInputPanel.java:114)++
    ++at com.installshield.wizard.awt.AWTWizardUI.doNext(Unknown Source)++
    ++at com.installshield.wizard.awt.AWTWizardUI.actionPerformed(Unknown Sour++
    ++ce)++
    ++at com.installshield.wizard.swing.SwingWizardUI.actionPerformed(Unknown++
    ++Source)++
    ++at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationControlle++
    ++r.notifyListeners(Unknown Source)++
    ++at com.installshield.wizard.swing.SwingWizardUI$SwingNavigationControlle++
    ++r.actionPerformed(Unknown Source)++
    ++at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)++
    ++at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)++
    ++at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)++
    ++at javax.swing.DefaultButtonModel.setPressed(Unknown Source)++
    ++at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour++
    ++ce)++

    I thought this might be a useful info, the behind dos shell messages
    Launching Hyperion Configuration Utility Program
    HYPERION_HOME: C:\Hyperion
    In HspDBPropertiesLocationPanel constructor
    In HspDBPropertiesLocationPanel queryEnter
    Resource Bundle is java.util.PropertyResourceBundle@1707653
    Product Name in file is PLANNING
    Availability Date is 20051231
    Creating rebind thread to RMI
    Resource Bundle is java.util.PropertyResourceBundle@1707653
    Product Name in file is PLANNING
    Availability Date is 20051231
    *$$$$$$$$$$$$$ dname is*
    Resource Bundle is java.util.PropertyResourceBundle@1707653
    Product Name in file is PLANNING
    Availability Date is 20051231
    Setting Arbor path to: C:\Hyperion\common\EssbaseRTC\9.3.1
    Error code returned during the test connection=1051293
    Error code returned during the test connection=1051293
    Error code returned during the test connection=1051293
    Error code returned during the test connection=1051293
    Thank you!

  • Automatic Creation of ODBC Data Source From Within Java App

    Good Day Good People :)
    I was wondering if it were possible for a java application to automatically set up an ODBC data source for a JDBC connection in a windows environment.
    This is the method I call to initialise a connection to my database:
    public void initialiseLocalConnection ()
    url = "jdbc:odbc:ICUDB";
    try
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    icuCon = DriverManager.getConnection (url);
    catch (Exception e)
    JOptionPane.showMessageDialog (null, "Error Creating Connection to ICU Database!\n" +
    "Please set up an ODBC data source pointing\n" +
    "to the icudb.mdb file located in the data\n" +
    "folder of the ICU directory and call the\n" +
    "connection 'ICUDB'.", "Database Connection Error", JOptionPane.ERROR_MESSAGE);
    Is it possible to create the ODBC data source ICUDB if it does not exist from within my application.
    All information regarding the possibilty and the application of doing this would be greatly appreciated.
    Kind Regards
    Matt

    Thank you.
    During my search I for dsn-less connections I found the soloution:
    url = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=" +
    System.getProperty ("user.dir") + System.getProperty ("file.separator") +
    "data" + System.getProperty ("file.separator") + "icudb.mdb";
    try
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    icuCon = DriverManager.getConnection (url);
    This works.
    Thanks for the replies.
    Matt :)

  • Not able to add an excel file as data source to create new values in the mapped domain

    Hi
    I am trying to use some sample data from an Excel file to improve the quality of a Knowledge Base I have created in the Data Quality Client. I followed the following steps:
    Knowledge Discovery
    Data Source: Excel File
    Browsed to the Excel File on my local drive.
    I'm getting the following error: Failed reading Excel File
    I have checked the security settings, and provided full control to the user. I'm not sure as to what is the issue here. I
    am totally new in this field and with my little knowledge trying to build a Knowledge Base. But the hurdle stopped me.
    Thanks in Advance

    Hi
    You can add a  Excel file as the data source for a universe,  below are the steps.
    Ensure that the following steps are done before inserting a table from Excel sheet into a universe.
    1. Go to Excel and highlight all the cells that you want in the same table.
    2. Go to the Name box from Insert->Name->Define and give a name (in Designer, you see this name as a table of all the values you have selected).
    3. Go to Designer and pop up the table browser. You have to drag and drop the name you gave.
    and check the SP of ur BO.
    you can use .xls file as datasource but you cannot use .xlsx(windows 2007) .
    Regards,
    Rajesh

  • Data Source Issue - Plz help

    Hi all,
    We are using a cluster environment for our E2E testing. We hav OSB Server and SOA Server. But the data source named mds-owsm, soaLocalXt datasource keeps on suspending on and off showing unpredictable behaviour. Because of this our server gets shut down automatically which was badly affecting our testing. Kindly help us resolving this issue.
    When we track our osb managed server log, we see the following error:
    [2011-04-10T21:24:08.159-05:00] [osb_server1] [NOTIFICATION] [] [oracle.mds] [tid: MDSPollingThread-[owsm, jdbc/mds/owsm]] [userId: <anonymous>] [ecid: 0000Iwxj3gJ6QPD5nBL6iZ1DcJMm00000A,1:18925] [APP: wsm-pm] [[
    oracle.mds.exception.MDSRuntimeException: weblogic.common.resourcepool.ResourceDisabledException: Pool mds-owsm is Suspended, cannot allocate resources to applications..
         at oracle.mds.internal.persistence.db.BaseReposAccess.<init>(BaseReposAccess.java:360)
         at oracle.mds.internal.persistence.db.shredded.ShreddedReposAccess.<init>(ShreddedReposAccess.java:274)
         at oracle.mds.internal.persistence.db.shredded.ShreddedDBMSConnection.createReposAccess(ShreddedDBMSConnection.java:444)
         at oracle.mds.internal.persistence.db.BaseDBMSConnection.getOrCreateReposAccess(BaseDBMSConnection.java:2072)
         at oracle.mds.internal.persistence.db.BaseDBMSConnection.queryStoreForLatestCommitNumber(BaseDBMSConnection.java:2503)
         at oracle.mds.internal.persistence.db.DBDocumentChangeProvider.queryStoreForLatestCommitNumber(DBDocumentChangeProvider.java:330)
         at oracle.mds.internal.persistence.db.DBDocumentChangeProvider.getChanges(DBDocumentChangeProvider.java:81)
         at oracle.mds.persistence.stores.db.DBMetadataStoreCommunicator.signalChanges(DBMetadataStoreCommunicator.java:134)
         at oracle.mds.internal.persistence.db.ChangePollingThread.run(ChangePollingThread.java:81)
    Caused by: oracle.mds.internal.persistence.db.fcf.MDSDBIOException: weblogic.common.resourcepool.ResourceDisabledException: Pool mds-owsm is Suspended, cannot allocate resources to applications..
         at oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl.fetchConnection(JNDIConnectionManagerImpl.java:96)
         at oracle.mds.internal.persistence.db.ConnectionManager.getConnection(ConnectionManager.java:347)
         at oracle.mds.internal.persistence.db.BaseReposAccess.<init>(BaseReposAccess.java:347)
         ... 8 more
    Caused by: weblogic.jdbc.extensions.PoolDisabledSQLException: weblogic.common.resourcepool.ResourceDisabledException: Pool mds-owsm is Suspended, cannot allocate resources to applications..
         at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:251)
         at weblogic.jdbc.common.internal.RmiDataSource.getPoolConnection(RmiDataSource.java:344)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:360)
         at oracle.mds.internal.persistence.db.JNDIConnectionManagerImpl.fetchConnection(JNDIConnectionManagerImpl.java:91)
         ... 10 more
    Thanks & Regards
    Prabhu

    Because of this our server gets shut down automatically No. Just because connection pool got suspended, server should not go down. There is any other issue which you did not notice. For Data Source to function properly, make sure that intial and maximum connections limit has been set appropriately (preferably both should be equal) and make sure that database is up and running always and has that many connections open. Check with the DBA for DB connection limit settings.
    Raise a SR with support if you are not able to figure out the exact issue.
    Regards,
    Anuj

  • OIM Data Source Configuration in JBoss App Server

    Hi experts,
    I have deployed OIM on JBoss Application Server. Physical machine on which database is hosted was relocated and its IP address is also get changed.
    I have made changes in xlConfig.xml to point to new DB (IP Address).
    But DB connections are set in the App server Data Source as well
    I made changes in Data Source as well to point to new IP address of DB machine.
    Managed to start OIM .
    But getting database connection exception in log. similar exception is given in post:
    ERROR [DATABASE] Class/Method: tcDataBase/writeStatement encountersome prob
    Thanks,
    Pallavi
    Edited by: Pallavi Chaudhari on Aug 10, 2011 9:47 AM

    You should update it in these files,
    xlconfig.xml
    JBOSS/deploy/xell-ds.xml
    \Oracle\xellerate\Profiles\Jboss.profile
    Thanks
    M

  • 2LIS_04_P_COMP Data Source Issue

    Hello Experts,
    I am having a issue while loading the data  into the DSO using the 2LIS_04_P_COMP Datasource.
    in this Data source we do have a field BDMNG( for Required Qty).
    There is a Start Routine in the Update rules( we have maintained the 3.x Data Source)
    The data is coming correctly when the modify data package
    statement is executed the data in the data package internal take is same as below,
    I had verified the same in the debugging..
    I also verifeied the data in the PSA it is having
    same data which is mention below
    But is updating in the DSO differently any clues ???
    Suppose data in the change is as below in general
    Production order    Material       BDMNG       usage
    101                          ABC            100             50    New image(N)
    101                          ABC           -100           -50    Before Image(x)
    101                          ABC            100             80    After Image (' ')
    But in my DSO the Change log as well as the active table hold the data as below
    Production order    Material      BDMNG       usage
    101                          ABC             100           50    New image(N)
    101                          ABC            -100          -50    Before Image(x)
    101                          ABC             -100           80    After Image (' ')
    Which i am not under standing why i am getting the value as -100 instead of 100 Thanks in Advance
    Regards
    KK
    Edited by: KK on Feb 4, 2010 10:45 AM

    Hello Experts
    Kindly let me know what may cause this. or let me know if any one is also facing the same issue.
    Regards

  • Connection/data source caching in JSC App Server?

    Tried to change the data source for one of my apps (changed all data sources on all row sets). I got a connection error despite the fact that the IDE could see the data source.
    I restarted the app server to no avail.
    I finally stopped the app server AND restarted JSC and eveything started working again (except for the Conversion error I'm tracking down :-) ...

    Did the connection error occur at runtime ?
    If so, then it's not recommended to change the datasource
    especially if you change databases. It's not impossible to make
    the changes - you need to edit the Page bean constructor and the
    constructor in the SessionBean and anywhere else you
    initialize the rowset with the URL.
    If you changed the database, then because vendors
    map JDBC types differently, you may need to make
    changes . Typically you'll see conversion errors when changing
    the database.
    JDBC Type (which we call SQL Type) --> Java Type:
    =========================================
    CHAR --> java.lang.String
    VARCHAR --> java.lang.String
    LONGVARCHAR --> java.lang.String
    NUMERIC --> java.math.BigDecimal
    DECIMAL --> java.math.BigDecimal
    BIT --> boolean
    BOOLEAN --> boolean
    TINYINT --> byte
    SMALLINT --> short
    INTEGER --> int
    BIGINT --> long
    REAL --> float
    FLOAT --> double
    DOUBLE --> double
    BINARY --> byte[]
    VARBINARY --> byte[]
    LONGVARBINARY --> byte[]
    DATE --> java.sql.Date
    TIME --> java.sql.Time
    TIMESTAMP --> java.sql.Timestamp
    CLOB --> java.sql.Clob
    BLOB --> java.sql.Blob
    ARRAY --> java.sql.Array
    DISTINCT --> (mapping of underlying type)
    STRUCT --> java.sql.Struct
    REF --> java.sql.Ref
    DATALINK --> java.net.URL
    JAVA_OBJECT --> (underlying Java class)
    Source: JDBC 3.0 Specification, Appendix B
    Also, see this post for more info :
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=47015
    John
    JSC QA

  • Generic Data Source issue in CRM.

    Hi Guru's,
    Generic Data Source with Table gave an issue "invalid Extracture structure template XXXXX of Data source  XXXXX"
    Generic Data source with Function Module gave an issue "Units field VOLUM_U for field VOLUME of DataSource ZTEST_XYZ is hidden"
    Generic Data Source with View configured successfully but the data is not coming in Extractor Checker.
    Three tables has taken in to consideration. I think there might be some issue with Join condition.
    Can any one through light on this incident.  Your help will be appreciated.
    Thanks in Advance.
    Venkat.

    Hi Praveen,
    yes you are right.  I took reference field as VOLUM_U.
    I have created Generic Table.  Do you need me to take same table in the reference Table.
    Thanks
    Venkat.

  • Data source issue in RSA7???? urgent plz

    hi experts,
    unfortunately i have deleted my data source from RSA7, i want to extract new records and push to BI. but its deleted. what is the procedure to make my data source available... my update method is QUEUED DELTA..
    plz provide me the solution....
    regards
    vadlamudi

    Reference: SDN FAQ's--> RSA7
    Question 9:
    What is the purpose of the function 'Delete Data and Meta Data in a Queue' in RSA7? What exactly is deleted?
    Answer:
    You should act with extreme caution when you use the delete function in the delta queue. It is comparable to deleting an InitDelta in the BW System and should preferably be executed there. Not only do you delete all data of this DataSource for the affected BW System, but you also lose all the information concerning the delta initialization. Then you can only request new deltas after another delta initialization.
    When you delete the data, this confirms the LUWs kept in the qRFC queue for the corresponding target system. Physical deletion only takes place in the qRFC outbound queue if there are no more references to the LUWs.
    The delete function is intended for example, for cases where the BW System, from which the delta initialization was originally executed, no longer exists or can no longer be accessed.

  • Data sources in deploying web app. to Oracle Application Server

    I am using simple web application - JSP with BC4J (JDeveloper 9.0.5.1).
    I want to configure my application to use Data Source instead of JDeveloper connection and deploy it to production database, so DB administrator will take care of username and password.
    First, I create a new application module configuration that uses a data source instead of a JDeveloper connection with BC config. name TestAppModuleWithDS.
    Then I modify my application client (DataBindings.cpx) to use the new configuration (TestAppModuleWithDS).
    After that I create deployment profile and deploy to application server connection and try to test it on standalone server, and on production server together with my DBA.
    But the application is not running, always displaying error messages...
    Please what is the procedure and how to set Config of ApplModule.
    It is working properly with embeded server, but on standalone server there is an error:
    java.lang.UnsupportedClassVersionError: oracle/jdeveloper/cm/ConnectionDescriptor (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1154)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.findClass(ContextClassLoader.java:390)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:138)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:271)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:473)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:165)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:817)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:169)
         at lastcoil.jspService(_testjsp.java:52)
         [SRC:/testjsp.jsp:11]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Unknown Source)
    Application module in testjsp.jsp (_testjsp.java) is:
    oracle.jbo.html.jsp.datatags.ApplicationModuleTag __jsp_taghandler_1=(oracle.jbo.html.jsp.datatags.ApplicationModuleTag)OracleJspRuntime.getTagHandler(pageContext,oracle.jbo.html.jsp.datatags.ApplicationModuleTag.class,"oracle.jbo.html.jsp.datatags.ApplicationModuleTag id configname releasemode");
    __jsp_taghandler_1.setParent(null);
    __jsp_taghandler_1.setId("TestAppModule");
    __jsp_taghandler_1.setConfigname("test.TestAppModule.TestAppModuleWithDS");
    __jsp_taghandler_1.setReleasemode("Stateful");
    __jsp_tag_starteval=__jsp_taghandler_1.doStartTag();
    if (OracleJspRuntime.checkStartTagEval(__jsp_tag_starteval))
    DataBindings.cpx is configured like this:
    ?xml version='1.0' encoding='windows-1252' ?>
    <JboProject
    id="DataBindings"
    xmlns="http://xmlns.oracle.com/adfm/application"
    version="9.0.5.15.88"
    SeparateXMLFiles="false"
    Package=""
    ClientType="JClient" >
    <Contents >
    <DataControl
    id="TestAppModule"
    SubType="DCBC4J"
    SupportsFindMode="true"
    SupportsTransactions="true"
    Package="test"
    FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
    Configuration="TestAppModuleWithDS" >
    <Parameters >
    <Parameter
    name="Sync"
    value="Batch" >
    </Parameter>
    </Parameters>
    </DataControl>
    </Contents>
    </JboProject>
    D:\JDeveloper10\j2ee\home\config\data-sources.xml je:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE data-sources PUBLIC "Orion data-sources" "http://xmlns.oracle.com/ias/dtds/data-sources.dtd">
    <data-sources>
         <!--
              An example/default DataSource that uses
              Oracle JDBC-driver to create the connections.
              This tag creates all the needed kinds
              of data-sources, transactional, pooled and EJB-aware sources.
              The source generally used in application code is the "EJB"
              one - it provides transactional safety and connection
              pooling. Oracle thin driver could be used as well,
              like below.
              url="jdbc:oracle:thin:@host:port:sid"
         -->
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="tiger"
              url="jdbc:oracle:thin:@localhost:5521:oracle"
              inactivity-timeout="30"
         />
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="TestAppModuleWithDS"
              location="jdbc/hmlCoreDS"
              xa-location="jdbc/xa/hmlXADS"
              ejb-location="jdbc/hmlDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="user1"
              password="psw1234"
              url="jdbc:oracle:thin:@server.com:1521:sidname"
              inactivity-timeout="30"
         />
    D:\HotStripMill Projects\bc4j\src\lastcoil\common\bc4j.xcfg
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
    <AppModuleConfigBag>
    <AppModuleConfig name="TestAppModuleWithDS">
    <DeployPlatform>LOCAL</DeployPlatform>
    <JDBCDataSource>jdbc/hmlCoreDS</JDBCDataSource>
    <jbo.project>bc4j</jbo.project>
    <AppModuleJndiName>test.TestAppModule</AppModuleJndiName>
    <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
    <ApplicationName>test.TestAppModule</ApplicationName>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <ConnectionDefinition name="hml">
    <ENTRY name="JDBC_PORT" value="1521"/>
    <ENTRY name="ConnectionType" value="JDBC"/>
    <ENTRY name="HOSTNAME" value="server.com"/>
    <ENTRY name="user" value="user1"/>
    <ENTRY name="ConnectionName" value="hml"/>
    <ENTRY name="SID" value="sidname"/>
    <ENTRY name="JdbcDriver" value="oracle.jdbc.driver.OracleDriver"/>
    <ENTRY name="password">{904}05437B2C11AE10318B521E7C6EE279666E</ENTRY>
    <ENTRY name="ORACLE_JDBC_TYPE" value="thin"/>
    <ENTRY name="DeployPassword" value="true"/>
    </ConnectionDefinition>
    </BC4JConfig>
    </data-sources>
    Thanks!

    iAS 1.0.x is StoneAge Technology (TM).
    Using the E-Business Suite you should look into the newer versions of the Application Server. I believe that 10.1.2.x supports the EBS, otherwise 9.04 should do the trick. Webservice support is much better in the newer versions. 1.0.x is from around 2000/2001 so the Webservice technology back than was "different" :-)
    cu
    Andreas

  • CO_PA DATA SOURCE ISSUE

    Hi,
    I am trying to display a COPA data source, i have given proper operating concern name and tried with costing based and account based it is throwing below error message:
    Table entry missing for data source.
    when i look into the details it is showing below information.
    an attempt was made to extract data using this data source.
    this is not possible due to missing of control entries in the system tables.
    System Response:
    The process was terminated.
    Procedure:
    if the data source was transported into this system, check the import logs for errors.
    I tried to debug it from KEB2, here also i am getting same error message.
    Please provide me the answer to over come this issue.

    Hello,
    The administration of the delta method for CO-PA DataSources occurs in part in the OLTP system. In particular, the time up until which the data has already been extracted is stored in the control tables of the DataSource. Since the control tables for the delta method for the extractor are managed in the OLTP system, certain restrictions apply.
    There can only ever be one valid initial package for a DataSource. If, for the same DataSource, a separate initialization is scheduled for different selections, for example, and data is posted to the operating concern between the individual initializations, data inconsistencies could occur between SAP BW and OLTP. The reason for this is that, with each initialization, the time stamp of the DataSource in the OLTP system is set to the current value. Consequently, records from a previous selection are no longer selected with the next delta upload if they were posted with a different selection prior to the last initial run.
    See this doc for more info [How to Connect Between CO-PA and SAP BW for a Replication Model|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6]
    Also see
    [How to Connect Between CO-PA and SAP BW for Data Retraction|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806]
    [SAP Network Blog: Best Practices for Profitability Management with SAP Business Profitability Management and CO-PA|/people/community.user/blog/2007/09/10/best-practices-for-profitability-management-with-sap-business-profitability-management-and-co-pa]
    [SAP Network Blog: Configuration Characteristics in Profitability Analysis|/people/udo.werner/blog/2007/05/10/configuration-characteristics-in-profitability-analysis]
    Thanks
    Chandran

  • XML Data Source Issue

    Post Author: MrJames
    CA Forum: Semantic Layer and Data Connectivity
    I'm sure the issue is my lack of understanding on how this should work.  I've created a report using an XML data source.  The fields on my report come from the XML file schema, and all fields having to do with quantities selected from the schema show as numeric fields in the report designer.  However, when I try to use the SUM function on these fields I only get a count, and not a sum.
    When I view the XML file using XML Notepad 2007, the viewer shows these fields as text fields.  So as near as I can tell, I'm reading text data into a field defined as numeric.
    I can directly connect to the table in SQL Server 2005 and the sum functions work fine, however, the sum function will not sum when using the XML table. 
    Apparently I'm missing something here??

    Hi,
    Which product are you using and in which version?
    Didier

  • 0CLM_INVOICE data source issue

    HI Experts,
    I have been testing data source 0CLM_INVOICE and noticed discrepancies when extracting data using RSA3. I have used the selection for Company Code, Fiscal Year and Customer and when i display the list of extracted data, records for other customers (aside from my selection) are showing. It looks like my selections are not working. Also, in the SAP documentation for this data source,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/e11ceb47fc4069a46b91efcf5f6abb/frameset.htm
    the POSTING_DATE and INV_DATE are said to be derived from BSEG-BUDAT and BSEG-BLDAT, respectively. The trouble is that I can't find these fields in the BSEG table.
    Can anyone enlighten me on this? Or if you have encountered similar issues on this data source, please let me know how it was resolved.
    Thanks!
    JL

    Hi JL:
    Check if any of the SAP Notes below is applicable to your system.
    1459106 - "No invoice data for initial BI extraction"
    1444730 - "Different results despite the same import parameters"
    Regards,
    Francisco Milán.

  • Z data source issue for creating packets

    Hi I have created a Z data source (function module) .
    My issue is I am not able to create data record packets all the data is coming in one packet only.
    The is code is as show below is some one can please assist me how can I change the code so that is can create multiple packets for the option given in Tcode RSA3.
    FUNCTION ZBW_MATERIAL_GROUP_HIE.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
    *" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *" VALUE(I_REMOTE_CALL) TYPE SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *" TABLES
    *" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *" E_T_DATA STRUCTURE ZBW_MAT_GRP_HIER OPTIONAL
    *" EXCEPTIONS
    *" NO_MORE_DATA
    *" ERROR_PASSED_TO_MESS_HANDLER
    TABLES : /BI0/HMATL_GROUP.
    DATA : BEGIN OF t_hmat OCCURS 0,
    hieid LIKE /BI0/HMATL_GROUP-hieid,
    objvers LIKE /BI0/HMATL_GROUP-objvers,
    iobjnm LIKE /BI0/HMATL_GROUP-iobjnm,
    nodeid LIKE /BI0/HMATL_GROUP-nodeid,
    nodename LIKE /BI0/HMATL_GROUP-nodename,
    tlevel LIKE /BI0/HMATL_GROUP-tlevel,
    parentid LIKE /BI0/HMATL_GROUP-parentid,
    END OF t_hmat.
    DATA : BEGIN OF t_flathier,
    hieid LIKE /BI0/HMATL_GROUP-hieid,
    lv2_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv2_name LIKE /BI0/HMATL_GROUP-nodename,
    lv3_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv3_name LIKE /BI0/HMATL_GROUP-nodename,
    lv4_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv4_name LIKE /BI0/HMATL_GROUP-nodename,
    lv5_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv5_name LIKE /BI0/HMATL_GROUP-nodename,
    lv6_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv6_name LIKE /BI0/HMATL_GROUP-nodename,
    lv7_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv7_name LIKE /BI0/HMATL_GROUP-nodename,
    lv8_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv8_name LIKE /BI0/HMATL_GROUP-nodename,
    lv9_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv9_name LIKE /BI0/HMATL_GROUP-nodename,
    lv10_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv10_name LIKE /BI0/HMATL_GROUP-nodename,
    lv11_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv11_name LIKE /BI0/HMATL_GROUP-nodename,
    material LIKE /BI0/HMATL_GROUP-nodename,
    END OF t_flathier.
    FIELD-SYMBOLS: <f> LIKE LINE OF t_hmat,
    <Level> TYPE ANY.
    data : count(2) type c,
    lv_level(20) type c.
    DATA : lv_count TYPE n.
    DATA : lv_id LIKE /BI0/HMATL_GROUP-nodeid,
    lv_hieid LIKE /BI0/HMATL_GROUP-hieid.
    Auxiliary Selection criteria structure
    DATA: l_s_select TYPE srsc_s_select.
    Maximum number of lines for DB table
    STATICS: s_s_if TYPE srsc_s_if_simple,
    counter
    s_counter_datapakid LIKE sy-tabix,
    cursor
    s_cursor TYPE cursor.
    Select ranges
    RANGES: l_r_nodename FOR /BI0/HMATL_GROUP-nodename,
    l_r_hieid FOR /BI0/HMATL_GROUP-hieid.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
    IF i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
    buffer input parameters
    prepare data selection
    Check DataSource validity
    CASE i_dsource.
    WHEN 'ZMATERIAL_GROUP_HIE'.
    WHEN OTHERS.
    IF 1 = 2. MESSAGE e009(r3). ENDIF.
    this is a typical log call. Please write every error message like this
    log_write 'E' "message type
    'R3' "message class
    '009' "message number
    i_dsource "message variable 1
    ' '. "message variable 2
    RAISE error_passed_to_mess_handler.
    ENDCASE.
    APPEND LINES OF i_t_select TO s_s_if-t_select.
    Fill parameter buffer for data extraction calls
    s_s_if-requnr = i_requnr.
    s_s_if-dsource = i_dsource.
    s_s_if-maxsize = i_maxsize.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
    APPEND LINES OF i_t_fields TO s_s_if-t_fields.
    ELSE. "Initialization mode or data extraction ?
    Data transfer: First Call OPEN CURSOR + FETCH
    Following Calls FETCH only
    First data package -> OPEN CURSOR
    IF s_counter_datapakid = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
    LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = '0MATERIAL'.
    MOVE-CORRESPONDING l_s_select TO l_r_nodename.
    APPEND l_r_nodename.
    ENDLOOP.
    LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'HIEID'.
    MOVE-CORRESPONDING l_s_select TO l_r_hieid.
    APPEND l_r_hieid.
    ENDLOOP.
    Get the data from Hierarchy table
    SELECT * FROM /BI0/HMATL_GROUP INTO CORRESPONDING FIELDS OF
    TABLE t_hmat
    WHERE hieid IN l_r_hieid
    AND objvers = 'A' .
    ENDIF.
    loop through all the 0MATERIAL entries to get all the hirarchy levels.
    Start of change.
    LOOP AT t_hmat ASSIGNING <f>
    WHERE iobjnm = '0MATL_GROUP'
    AND nodename IN l_r_nodename.
    LOOP AT t_hmat ASSIGNING <f>
    WHERE nodename IN l_r_nodename.
    End of change
    lv_count = <f>-tlevel.
    "refresh t_flathier.
    CLEAR: t_flathier. ", lv_level, count.
    MOVE :
    <f>-hieid TO lv_hieid ,
    <f>-nodename TO t_flathier-material,
    <f>-parentid TO lv_id.
    if <f>-iobjnm <> '0MATL_GROUP' .
    move <f>-nodename+3 to t_flathier-material .
    else.
    move <f>-nodename to t_flathier-material .
    endif.
    Added for Last level.
    if lv_count = '1' .
    *t_flathier-lv1_name = t_flathier-material .
    elseif lv_count = '2' .
    t_flathier-lv2_name = t_flathier-material .
    elseif lv_count = '3' .
    t_flathier-lv3_name = t_flathier-material .
    elseif lv_count = '4' .
    t_flathier-lv4_name = t_flathier-material .
    elseif lv_count = '5' .
    t_flathier-lv5_name = t_flathier-material .
    elseif lv_count = '6' .
    t_flathier-lv6_name = t_flathier-material .
    elseif lv_count = '7' .
    t_flathier-lv7_name = t_flathier-material .
    elseif lv_count = '8' .
    t_flathier-lv8_name = t_flathier-material .
    elseif lv_count = '9' .
    t_flathier-lv9_name = t_flathier-material .
    elseif lv_count = '10' .
    t_flathier-lv10_name = t_flathier-material .
    endif.
    DO lv_count TIMES .
    lv_count = lv_count - 1.
    IF lv_count = 1.
    EXIT.
    ENDIF.
    READ TABLE t_hmat WITH KEY
    hieid = lv_hieid
    nodeid = lv_id.
    IF sy-subrc = 0.
    CLEAR lv_id.
    CASE lv_count.
    WHEN '11' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv11_name,
    t_hmat-parentid TO lv_id.
    WHEN '10' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv10_name,
    t_hmat-parentid TO lv_id.
    WHEN '9' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv9_name,
    t_hmat-parentid TO lv_id.
    WHEN '8' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv8_name,
    t_hmat-parentid TO lv_id.
    WHEN '7' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv7_name,
    t_hmat-parentid TO lv_id.
    WHEN '6' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv6_name,
    t_hmat-parentid TO lv_id.
    WHEN '5' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv5_name,
    t_hmat-parentid TO lv_id.
    WHEN '4' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv4_name,
    t_hmat-parentid TO lv_id.
    WHEN '3' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv3_name,
    t_hmat-parentid TO lv_id.
    WHEN '2' .
    MOVE : t_hmat-nodename+3 TO t_flathier-lv2_name.
    ENDCASE.
    ENDIF.
    ENDDO.
    Populate data for level 1 (Class Type)
    READ TABLE t_hmat WITH KEY
    hieid = lv_hieid
    tlevel = 1.
    IF sy-subrc = 0.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    EXPORTING
    input = t_hmat-nodename
    IMPORTING
    output = e_t_data-0class_type.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = e_t_data-0class_type
    IMPORTING
    output = e_t_data-0class_type.
    ENDIF.
    populate data to extraction structure ( removing prefixe 'class type')
    MOVE : lv_hieid TO e_t_data-hieid,
    t_flathier-lv2_name TO e_t_data-xhier_lv1,
    t_flathier-lv3_name TO e_t_data-xhier_lv2,
    t_flathier-lv4_name TO e_t_data-xhier_lv3,
    t_flathier-lv5_name TO e_t_data-xhier_lv4,
    t_flathier-lv6_name TO e_t_data-xhier_lv5,
    t_flathier-lv7_name TO e_t_data-xhier_lv6,
    t_flathier-lv8_name TO e_t_data-xhier_lv7,
    t_flathier-lv9_name TO e_t_data-xhier_lv8,
    t_flathier-lv10_name TO e_t_data-xhier_lv9,
    t_flathier-lv11_name TO e_t_data-xhie_lv10,
    t_flathier-material TO e_t_data-0MATL_GROUP.
    APPEND e_t_data.
    CLEAR e_t_data.
    ENDLOOP.
    s_counter_datapakid = s_counter_datapakid + 1.
    IF s_counter_datapakid > 1 .
    RAISE no_more_data.
    ENDIF.
    ENDIF. "Initialization mode or data extraction ?
    ENDFUNCTION.
    As now when I run it in Tcode RSA3 it give only one data packet of some 5k to 6k records.
    Thanks in advance for your help.
    Pawan.

    Hi PS,
    Instead of
    SELECT * FROM /BI0/HMATL_GROUP INTO CORRESPONDING FIELDS OF
    TABLE t_hmat
    WHERE hieid IN l_r_hieid
    AND objvers = 'A' .
    code should look like this .
          OPEN CURSOR WITH HOLD S_CURSOR FOR
          SELECT (S_S_IF-T_FIELDS) FROM /BI0/HMATL_GROUP
        FETCH NEXT CURSOR S_CURSOR
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE E_T_DATA
                   PACKAGE SIZE S_S_IF-MAXSIZE.
    For more information refer to sample code of fm "RSAX_BIW_GET_DATA_SIMPLE"
    Hope that helps.
    Regards
    Mr Kapadia
    ***Assigning points is the way to say thanks in SDN.***

Maybe you are looking for

  • Querying on a value and using that to pull other data in the same query

    I am having some issues pulling the correct data in a query. There is a table that houses application decision data that has a certain decision code in it, WA, for a particular population of applicants. These applicants also may have other records in

  • Creating a new folder containing links to files or applications

    I am creating a portable workstation for a group of people using a Macbook. To make their job easier to find relevant tutorials, I wanted to give them a way to access the tutorials grouped in different ways. I was planning on adding a number of folde

  • Need some help in logic

    Hi, Need help in logic..My requirement is to calculate percentage of marks based on their grade..for example if we have marks like M1,M2,M3,M4,M5 and grades like A1,A2 ,A3 ..when grade is A1.. I want percentage of marks for M1,M4 and when grade is A2

  • How to set password for dbxml in java program

    When I calling XmlManager.openContainer() by a XmlContainerConfig object set to XmlContainerConfig.setEncrypted("mypass") it always says: BDB XML: Database environment not configured for encryption but I can not find the way to construct the Environm

  • My 5th-g iPod won't recognize videos?

    Alright... so my new 5th generation iPod synched with my library... so it has all of my music on it now... but when it tries to synch with my videos, I get this error message: "Some of the items in the iTunes library, including __insert video name he