Results Multiplied When Using Command Data Sources
I'm using Dynamic (Non-Cascading) Parameters on two fields, either of which may have a NULL or Empty String. Since I want the user to also be able to select those Null/ES values specifically as well (and they only show up in a "regular" Dynamic parameter prompt as a blank space), I'm using a Command Data Source (CDS) to display the unique field values as well as to substitute "!Unknown" for the Null/ES entries - this works fine in other reports.
When I run the report with the CDS-based parameters, I get multiple records back where there should only be one. When I replace the CDS-based parameters with a "regular" Dynamic parameter based on the same fields, and select Distinct Records Only, I get the correct number of records back. I am unable to select Distinct Records Only when I use the 2 CDS.
I am only (inner) joining 2 tables and not joining the 2 CDS.
Thanks for any assistance
Yeah, that was my next option. I've noticed something similar recently where, even after removing all references to a data source (CMD, Table, or View), there are still fields checked as being in use until the program is closed and re-opened. That's not the specific case here, but that was where I was going to go next. Not the best possible option, but it's not a no-can-do at least (just a PITA).
LMAO! Wouldn't you know - NOT a report issue! After additional investigation it turns out that the table (which was Application/Server data) that I thought only had servers that had applications, didn't - it had everything. As soon as the inappropriate records (servers with no apps) were removed, the report returns the correct data.
Gotta luv our DBA's
Edited by: Dragon77 on May 14, 2010 1:04 PM
Similar Messages
-
Error deploying in Studio when using 2 data sources
I have built a cube using multiple datasources in Essbase Studio. The sources are Oracle database and EPMA dimension server. When I deploy the cube, I receive the following error. However, when I deploy using one source and specify DSN, it works. It is giving me these error when the option is ODBC (Essbase dynamically creates ODBC connection string) which I can't control when there are two sources. Any help is greatly appreciated.
Failed to deploy Essbase cube.
Caused by: Failed to build Essbase cube dimension: (Account) .
Caused by: Cannot get async process state. Essbase Error(1021001): Failed to Establish Connection With SQL Database Server. See log for more informationHey Gunter,
Thanks much, that did work.
The other error I spoke of was fixed with the new database, so apparently the two errors I spoke of weren't related.
You seem to be a good help to this forum, thank you for that.... fixing my problem relieved me from much stress.
Cheers,
Derek Miller
Dreamweaver Enthusiast -
How to create a report using XML data source from Crystal Report Designer
Hi,
Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
Thank you in advance.
Regards,
Chanaka
XML
<?xml version="1.0" encoding="UTF-8"?>
<CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
<CUSTOMER_ORDER_CONF_REP>
<ORDER_NO>D555809</ORDER_NO>
<PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
<AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
<CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
<CUST_NAME>Mr.Johan Matts</CUST_NAME>
<SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
<SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
<SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
<SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
<BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
<BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
<BILL_ADDR_3>Watthala</BILL_ADDR_3>
<BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
<CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
<CUSTOMER_FAX>112984639</CUSTOMER_FAX>
<CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
<ORDER_LINES>
<ORDER_LINE>
<LINE_NO>1</LINE_NO>
<CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
<PRICE_TOTAL>1200</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID xsi:nil="1"/>
<CHARACTERISTIC_VALUE xsi:nil="1"/>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>2</LINE_NO>
<CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1500</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>3</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>3</LINE_NO>
<CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
<PRICE_TOTAL>1000</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>4</LINE_NO>
<CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
<PRICE_TOTAL>1350</PRICE_TOTAL>
<DISCOUNT>10</DISCOUNT>
<PRICE_QTY>1</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
<ORDER_LINE>
<LINE_NO>5</LINE_NO>
<CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
<CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
<SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
<PRICE_TOTAL>400</PRICE_TOTAL>
<DISCOUNT>0</DISCOUNT>
<PRICE_QTY>2</PRICE_QTY>
<ORDER_LINE_CHARACTERSTICS>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ITEM>
<CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
<CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
</CHARACTERISTIC_ITEM>
</ORDER_LINE_CHARACTERSTICS>
</ORDER_LINE>
</ORDER_LINES>
</CUSTOMER_ORDER_CONF_REP>
</CUSTOMER_ORDER_CONF_REP_REQUEST>
XSD
<?xml version="1.0" encoding="UTF-8"?>
<?report module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
<xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
<xs:complexType>
<xs:all minOccurs="1" maxOccurs="1">
<xs:element name="CUSTOMER_ORDER_CONF_REP">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="50">
<xs:element name="ORDER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
<xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUST_NAME" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="ORDER_LINE">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="39">
<xs:element name="LINE_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
<xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="CHARACTERISTIC_ITEM">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="6">
<xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>Hi Sourashree,
Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
1. New Report
2. From Create New Connection-> XML
3. Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
4. Provide the u201CLocal Schema Fileu201D -> Finish
Then I can see the following under XML
+ CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
And from here if I add the following three I can get all the fields I need to the report
CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
Date
Order number Authorized code
Customer No
Name
Phone
Fax email
Shipping address 1 Billing Address 1
Shipping address 2 Billing Address 2
Shipping address 3 Billing Address 3
Shipping address 4 Billing Address 4
Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026 LINE_NO CUSTOMER_PART_NO CUSTOMER_PART_DESC SALE_UNIT_PRICE PRICE_QTY DISCOUNT PRICE_TOTAL
Characteristic details belonging to Order line 1 CHARACTERISTIC_ID 1 CHARACTERISTIC_VALUE1
CHARACTERISTIC_ID 2 CHARACTERISTIC_VALUE2
CHARACTERISTIC_ID 3 CHARACTERISTIC_VALUE3
Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 2
Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 3
Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 4
Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
Characteristic details belonging to Order line 5
How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
Regards,
Chanaka -
Using different data source and connection name
Hi,
We have a requirement where the data source for our application is already configured on the server by name like MyDBDataSource. But the database connection name in our application is like My_DB. So application module is using data source name like My_DBDS. If i change data source name in application module configuration manually to be MyDBDataSource, then it fails at runtime. This has been identified as bug as mentioned in this post
http://andrejusb.blogspot.in/2009/01/practical-adf-security-deployment-on.html
Is this still valid? I am using 11.1.1.6 version. Also want to know if there is any workaround for this ? If i change the name in web.xml at deployment time using script, will it work ?
ThanksHi Ami,
Is your issue get solved ?
I would like to mention few things about the database connection in application & data source in Weblogic.
1. When you create a database connection in Application (for example say connection name as hr) then in the Application Module Database Configurations in the bc4j.xcfg File Custom JDBCDataSource will be set as <Custom JDBCDataSource="java:comp/env/jdbc/hrDS"/> for both ApplnModule shared & Local. So when you create data source in weblogic it is better to create the JNDI Name like jdbc/hrDS ( ie between the '/' and 'DS' you have to specify the name of database connection you created in the application ).What ever the Data source name is no matter.
2.If you change the JNDI name of data source later like jdbc/hrconnectionDS then it is better to delete the old hr connection from application and recreate a connection as hrconnection. After that you have to edit bc4j.xcfg file in the Application Module--> Configurations and set Custom JDBCDataSource as below for both local & shared config.
<Custom JDBCDataSource="java:comp/env/jdbc/hrconnectionDS"/>
I hope this will help you.
Gijith. -
Any examples of a data template using multiple data sources?
I'm looking for an example report using multiple data sources. I've seen one where they do a master/detail but I'm just looking to combine results in sorted order (sorted across all data sources). The master/detail used a bind variable to link the two defined queries, I'm thinking what I want won't have that, so I'm lost on how to make that happen. I have reports using multiple sql queries and there is a way in the data source pulldown to tell it to combine the data sources. It appears to be a more manual process with data templates, if it's even possible.
Any pointers/links would be appreciated.
GaffHi Vetsrini :
That's just it. Mine is simpler than that. There is no master/detail relationship between the two queries. I have the same exact query that I run in two databases and I want to merge the results (ordered, by, say eventTime) in one report. So I think my results are going to be two separate groups (one for each data source) which I'll have to let BI merge vis XSLT or whatever it uses. That's fine for small result sets but for larger ones, it would be nice if the database did the sorting/merging.
Gaff -
Error while importing the tables from MySQL using the data source connection
Hi,
I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
OLE DB or ODBC error.
An error occurred while processing table 'XXXXXXXXXX'.
The current operation was cancelled because another operation in the transaction failed.Hi Bharat17an,
Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
Regards,
Elvis Long
TechNet Community Support -
How to define data-sources-alias.xml to use Oracle data source
Hi,
I created Oracle jdbc Data Source named "MYDS" in Visual Admin. I added the alias = MYDS_ALIAS. I set the Initial Connection to 2. On the Monitor tab, I see a green line running across the screen. The datasource MYDS is connected to the Oracle.
Now, I would like to define "data-sources-alias.xml" to use MYDS.
When creating data-source-aliases.xml it creates the alias by default on ${com.sap.datasource.default} which is the default DB.
I followed the link --> How to point data-source-aliases.xml to another Datasource
and my data-sources-alias.xml is now:
<data-source-aliases>
<aliases>
<data-source-name>$</data-source-name>
<alias>BRANCH50DS</alias>
</aliases>
</data-source-aliases>
The "EAR generatation has finished successfully", but when "Deploy to J2EE Engine", I got the error below:
1) How to define data-sources-alias.xml to use Oracle data source?
2) I found the link (SDA Deployment error) talking about "sda-dd.xml". How to create "sda-dd.xml" and make it use substitution variables "MYDS"
Dec 20, 2005 3:53:41 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:
[003]Additional log information about the deployment
<!LOGHEADER[START]/>
<!HELP[Manual modification of the header may cause parsing problem!]/>
<!LOGGINGVERSION[1.5.3.7181 - 630_SP]/>
<!NAME[C:\usr\sap\J2E\JC00\SDM\program\log\sdmcl20051220205339.log]/>
<!PATTERN[sdmcl20051220205339.log]/>
<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>
<!ENCODING[Cp1252]/>
<!LOGHEADER[END]/>
Dec 20, 2005 3:53:39 PM Info: -
Starting deployment -
Dec 20, 2005 3:53:39 PM Info: Loading selected archives...
Dec 20, 2005 3:53:39 PM Info: Loading archive 'C:\usr\sap\J2E\JC00\SDM\program\temp\temp856850022Ear.ear'
Dec 20, 2005 3:53:40 PM Info: Selected archives successfully loaded.
Dec 20, 2005 3:53:40 PM Info: Actions per selected component:
Dec 20, 2005 3:53:40 PM Info: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
Dec 20, 2005 3:53:40 PM Info: Saved current Engine state.
Dec 20, 2005 3:53:40 PM Info: Error handling strategy: OnErrorStop
Dec 20, 2005 3:53:40 PM Info: Update strategy: UpdateAllVersions
Dec 20, 2005 3:53:40 PM Info: Starting: Update: Selected development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28' updates currently deployed development component '50022Ear'/'sap.com'/'localhost'/'2005.12.19.18.39.12'.
Dec 20, 2005 3:53:40 PM Info: SDA to be deployed: C:\usr\sap\J2E\JC00\SDM\root\origin\sap.com\50022Ear\localhost\2005.12.20.15.53.28\temp856850022Ear.ear
Dec 20, 2005 3:53:40 PM Info: Software type of SDA: J2EE
Dec 20, 2005 3:53:40 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Dec 20, 2005 3:53:41 PM Info: Begin of log messages of the target system:
05/12/20 15:53:40 - ***********************************************************
05/12/20 15:53:41 - Start updating EAR file...
05/12/20 15:53:41 - start-up mode is lazy
05/12/20 15:53:41 - com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
at com.sap.engine.deploy.manager.DeployManagerImpl.makeTempEar(DeployManagerImpl.java:3727)
at com.sap.engine.deploy.manager.DeployManagerImpl.makeNewEar1(DeployManagerImpl.java:3695)
at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:523)
at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:512)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:196)
at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)
at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)
at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)
at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)
at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:46)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)
at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)
at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)
at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:127)
at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:96)
at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)
at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)
at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:81)
at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)
at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)
at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:280)
at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)
at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)
at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)
at java.lang.Thread.run(Thread.java:534)
05/12/20 15:53:41 - ***********************************************************
Dec 20, 2005 3:53:41 PM Info: End of log messages of the target system.
Dec 20, 2005 3:53:41 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****
Dec 20, 2005 3:53:41 PM Error: Aborted: development component '50022Ear'/'sap.com'/'localhost'/'2005.12.20.15.53.28':
Caught exception during application deployment from SAP J2EE Engine's deploy API:
com.sap.engine.deploy.manager.MissingSubstitutionException: Missing substitution value for variable [MYDS].
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
Dec 20, 2005 3:53:41 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.
Dec 20, 2005 3:53:41 PM Error: -
At least one of the Deployments failed -Hi,
If you remove the $ and braces (as shown below) it will work.
<data-source-aliases>
<aliases>
<data-source-name>MYDS</data-source-name>
<alias>BRANCH50DS</alias>
</aliases>
</data-source-aliases>
Regards,
S.Divakar -
Using JDBC Data Sources with ADFBC, NoInitialContextException
Using JDBC Data Sources with ADF Business Components, NoInitialContextException
I follow the instruction in the link below to create an ADF Swing application using datasource. I am using JDeveloper version 10.1.3.
http://www.oracle.com/technology/products/jdev/howtos/10g/usingdatasources/using_datasources.html
The ADF generated code looks like this:
JUMetaObjectManager.setErrorHandler(new JUErrorHandlerDlg());
JUMetaObjectManager mgr = JUMetaObjectManager.getJUMom();
mgr.setJClientDefFactory(null);
BindingContext ctx = new BindingContext();
ctx.put(DataControlFactory.APP_PARAM_ENV_INFO, new JUEnvInfoProvider());
ctx.setLocaleContext(new DefLocaleContext(null));
HashMap map = new HashMap(4);
map.put(DataControlFactory.APP_PARAMS_BINDING_CONTEXT, ctx);
mgr.loadCpx("datasource.view.DataBindings.cpx" , map);
final FormMain frame = new FormMain();
frame.setBindingContext(ctx);
I got this error when executing the last line: frame.setBindingContext(ctx);
(oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (datasource.datamodel.AppModuleDS) failed to checkout an application module due to the following exception:
----- LEVEL 1: DETAIL 0 -----
(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/xe_hrDS
----- LEVEL 2: DETAIL 0 -----
(oracle.jbo.DMLException) JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/xe_hrDS
----- LEVEL 3: DETAIL 0 -----
(javax.naming.NoInitialContextException) Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
If I configure the application module connection type as JDBC URL, everything works.
If the connection type is JDBC Datasource, I got the above error.
Can someone show me how to adjust the generated code by ADF to use datasource?ADF BC has a bug. With Data Source in Application Module, application module does not connect. Use JDBC Connection URL.
Also refer
ADF BC: JDBC URL vs JDBC DataSource -
Failed to Authenticate - Submitting Document using Remote Data Source
This is the error in PTSpy when I try and submit a document in a folder using the Data Source.
This is on a development server, our production server works fine with the settings in the Data Source/Web Service and Remote Server. Where else should I look to resolve this issue?
We have checked all the user permissions for the user named in the Data Source.
Does anyone have any suggestions?
RegardsJeremy Thake
*** COM exception caught *** Error info: IDispatch error #19876 (0x80044fa4): [SOAP fault: faultcode='soap:Server' faultstring='System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Plumtree.Remote.ServiceException: Failed to impersonate. at com.plumtree.ntfilecws.provider.Provider.PerformImpersonation(DataSourceInfo dataSourceInfo) at com.plumtree.ntfilecws.crawler.CrawlerProvider.Initialize(DataSourceInfo dataSourceInfo, ICrawlerLog crawlerLog) at com.plumtree.remote.crawler.NativeDocumentProvider.Initialize(XPNamedValue[] dsInfo, XPCWSLogger logger) at com.plumtree.remote.crawler.xp.XPDocumentProvider.Initialize(XPNamedValue[] dsInfo) at Plumtree.Remote.Crawler.Soap.DocumentProviderSoapBinding.Initialize(NamedValueHolder DataSourceInfo) --- End of inner exception stack trace ---'] (322,Connection.cpp)I am having the same problem when trying to set up or use the "File System" data source. I get the following error:
An error occurred while validating the remote XUI service. Verify the Web Service settings, including the SOAP Encoding Style.
At the bottom of the page, there is another error:
<TD noWraplign=left colSpan=2>User logon failed. <TD noWraplign=left colSpan=2>Verify the user name and password are correct. <TD noWraplign=left colSpan=2>Verify the user has "Log on as a Batch Job" user-right on remote server.
The user does have 'Log on as a Batch Job' priveleges. I have checked everything I can think of, but I am still getting this error. Turned on debug for the service and got the following:
LogonUser failed with Error:[1314] A required privilege is not held by the client.
Can anyone help?
Banging my head against the wall,Chris Stoffel------- Davin Hanlon wrote on 5/4/04 4:48 AM -------
Hi Jeremy,
Make sure the user has 'Log on as a Batch Job' rights on the CWS machine. Also, ensure the CWS machine is in the same domain as the user it is trying to impersonate, or a domain that trusts the domain of that user.
Also, there is logging available. Amend the web.config file (\plumtree\ptntcws\5.0\webapp\ntcws). Change the line:
<level value="INFO" />
to be
<level value="DEBUG" />
The log will be output to D:\Program Files\plumtree\ptntcws\5.0\settings\logs\log.txt (this is the default value, again this is set in the web.config file). This will help you get more information on the error.
Let me know how you get on.
Thanks
Davin -
Delta using generic data source
Hi experts !
How can i create a delta using generic data source ? i am using BW 7.0.
Thanks.Dear FABRICIO VAZ DE SOUZA ,
Generic extraction
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
step by step procedure for generic extraction delta
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Refer:
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
http://help.sap.com/saphelp_nw04/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Generic Extraction via Function Module
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Hope it helps you,Revert me back if you have any queries
Assign points if helpful
Regards
Bala -
ERROR WHEN GENERATING EXPORT DATA SOURCE
Dear Members,
I am getting an error when generating export data source for Info Cube. I'm creating an Info Cube based on already existed info cube. Literally I am copying all the settings of an info cube to new Info Cube. The scenario is to load the data from one Info Cube to the other. The creation of Info Cube from an Info Cube is successful. But the problem is when I am generating export data source the following error is occurred.
Error: Data Source 81c_svrr does not exist in source system B3TCLNT800 of version A.
what could be the reason for the error?
Please let me know.
Thanks in advance.Dear Venkat,
The problem is because of error in the Myself Connection , Check the Myself connection in the source systems and the activate and restore the connection and try, it should work..
Thanks,
Krish -
Is it possible to use same data source for two info cube
Hi,
My Problem is in BW we can not have value of material at storage location level.In R/3 also value is maintained at plant level.
Then we searched and we found out one hot to doc for summarized display of stock values on storage location level.
Problem is that we have gone live in last December and we are using " 0AFMM_C02 " and it contains around 1,81,26,000 records. and according to note we have to use
"0IC_C03".
Both the cube uses same data sources for the data.So, how to get the data for "0IC_C03".
and how to delete the data of existing info cube.And is it possible to delete data selectively from the info cube.
Pls. help.
Regards,
viren.Hi,
You can't create update rule from PSA.You can create from the infosource or from ODS or from cube to cube or ODS to ODS.
In your scenario, what you can do is create update rules from the ODS to the new cube and then transfer the data from there. Or from the Infosource create rules to the new data target and then upload the full data and then set up the delta.
Third option is to create update rules from the existing cube to the new cube and then load all the data one time. Then you can deactivate the update rules as that was needed only for 1 time data transfer.
Cheers,
Kedar -
Code Page Setting while extracting data using Generic Data Source
Hi,
Can anybody tell me about the Code Page setting used in Generic Data Source in SAP BW 3.5?
I am extracting data from a Master Table using Generic data Source, but the data which is in Ukrane language is getting loaded as "#". Where do we set the Code Page for it?
Regards,
YK.To continue with earlier question, is there any particular setting for a master data, to load non english data as a text of master data?
I want to load TEXT of a master in Ukraine language. I am extracting this text from the P table of same master (From Description Field). But TEXT is not getting populated whenever it is Ukraine language. English TEXT is populated correctly.
Please share your experiences...
Thanks,
YK. -
Problem during extraction using generic data sources
Hi
While performing extraction(master data) using generic data sources I am getting a problem.
while selecting application component, I am unable to find SD to select it.What should I do?
I selected CRM as application component and did the extraction , it is successful.
But what about if we want to select SD? I am guessing it as an installation problem ... Anyone plz help me
Thank you
DeepthiHi Deepthi,
Looks like the RFC connection between source system and BW system is broken..
Contact your basis team to check the connection what went wrong.
once the connection is re-established you can gohead ...
Try out this procedure
Type Transaction SM59.
a.) Open the RFC Destinations.
b.) Find your Source System and double click on it.
c.) Technical setting should contain information regarding your source
system
d.) Logon Information should contain source system client and name &
password for you remote logon.
**Suggestion : our remote name for our R/3 was ALEREMOTE. We use
BWREMOTE so that we can monitor without confusion.
e.) Execute your 'Test Connection' & 'Remote Logon'. You connection
should be You should NOT be prompted for a password.
f.) Repeat above to verify RFCs for other systems
regards
KP
Edited by: KP on Dec 14, 2009 12:11 PM -
Jdeveloper using containers data-sources
Hi,
Could some one please help me. I developed an application in jdeveloper using BC4J. It uses jdevelopers database connections. I deployed it to a remote 9iAS Application server. Now, i want the application to use containers data-sources instead of using jdev's format. I configured data-sources in the container, defined resource reference mapping for this application but still it seems to be not using containers data-sources.
Any one of you have any ideas please?
Thanks,
KavithaRepost
Maybe you are looking for
-
I have an iMac, and iPhone. I've had my Apple ID for a few years. My wife got an iPhone 4S a few months back and the salesperson at Verizon set her Apple ID the same as mine, but gave her a different password. I don't know if this was ok, but that
-
Uploading excel file in Web Dynpro for ABAP
Hello Gurus, I need to upload a excel file in my Web Dynpro (ABAP) program. Can anyone please tell me how do i do this. Kindly help. Regards, Aditya.
-
Deskjet 3050A/3056A "Please Upgrade Product"
There is currently an issue with the Deskjet 3050A or 3056A where it is asking you to upgrade the product when enabling web services. This issue has just recently started occuring, and happens to also be at the same time as the Black Friday sales. Cu
-
Hi Experts, I'm going through this nice article on PIVOT but the PIVOT XML doesn't seem to work as demonstrated. ORACLE-BASE - PIVOT and UNPIVOT Operators in Oracle Database 11g Release 1 ranit@XE11GR2>> ed Wrote file c:\rb\1.sql 1 select * from (
-
Mighty Mouse makes non-stop click noise, inducing violent madness
Brand spanking new Mac Pro, fresh out of the box as of 6 hours ago. As soon as I plugged in my wired Mighty Mouse, Exposé began going bananas. I quickly deactivated Button 4, but it makes an endless clicking sound from its internal speaker whenever a