Unable to change data source of any report
Hello there,
I am using the Crystal Reports Eclipse plugin. I added a datasource to Eclipse 3.3 which connects to a Oracle database using JDBC.
Now I want to change the data source of a report. I get a popup window which displays the old data source with all tables and columns on the left side. On the right side of the window I see the name of the new data source at the top, but a list of "remove" options below it with a red cross in front (see screenshot).
It does not matter if I want to change an existing report or a new report.
I can create a new report with a datasource, but even when I want to change to the same datasource as already assigned to the report, I get the problem described above.
I already followed some tips found in this forum, e.g. expanding all used tables in the data source explorer etc., but this did not help.
I know that there was also a possibility to remove the "data source" information completely from the query (as mentioned at http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=2F140BDBA03E8E97EEF1E15F84964F12?cmd=displayKC&docType=kc&externalId=c2017570&sliceId=&dialogID=13402443&stateId=1%200%2013406567), but I cannot find this option in Crystal reports for Eclipse. I see a field "qualified name" in the properties of each table of my report, but this field is read-only...
Doesn't anyone have an answer to this problem? I would just like to change the datasource of a report. But I am not able to do so, because the only option I have in the dialog is to remove all tables.
I just saw that the screenshot is missing. See it here:
http://img119.imageshack.us/img119/4999/pic1dh1.png
Similar Messages
-
Unable to change data source at runtime
I have a simple Crystal Report based on a MS-SQL stored procedure that takes one parameter. I developed it against my dev database, so when I run the application, I want to point it at our production database, but no matter what I do, it always calls the stored proc in my dev database. Here's what my code looks like:
// Code to set data source and launch report in viewer
CrystalDecisions.Web.Report cr = new CrystalDecisions.Web.Report();
cr.FileName = "UniformSizesByProject.rp";
this.crsource1.Report = cr;
this.crviewer1.RefreshReport();
this.crviewer1.EnableDatabaseLogonPrompt = false;
ParameterFields pfs = new ParameterFields();
ParameterField pf = CreateParameterField("@Project_ID", _projectID);
pfs.Add(pf);
this.crviewer1.ParameterFieldInfo = pfs;
this.crviewer1.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None;
this.crviewer1.LogOnInfo.Clear();
CrystalDecisions.Shared.TableLogOnInfo logon = GetReportLogonInfo(ConfigurationManager.ConnectionStrings["PMEntities"].ConnectionString);
this.crviewer1.LogOnInfo.Add(logon);
private CrystalDecisions.Shared.TableLogOnInfo GetReportLogonInfo(string ConnectionString)
CrystalDecisions.Shared.TableLogOnInfo logon = new CrystalDecisions.Shared.TableLogOnInfo();
CrystalDecisions.Shared.ConnectionInfo connInfo = new CrystalDecisions.Shared.ConnectionInfo();
connInfo.ServerName = "(MyServerName)"
connInfo.DatabaseName = "(MyDatabaseName)"
connInfo.UserID = "(MyUserId)"
connInfo.Password = "****"
return logon;
When I debug, I can verify that the LogOnInfo object is set to use my production server, the resulting output proves it is still running against my dev server. I haven't run into this in similar apps I'm working with and the only difference with this one is that it's using a stored proc rather than command SQL or hitting the tables directly.
- Robert -Hi Robert,
Take a look at the SAP Note "[1553921 - Is there a utility that would help in writing database logon code?"|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333933323331%7D.do]
The utility provided in above SAp Note will generate the logon code for your existing report, update the logon information of the target database in the code.
Also search for the sample application 'change database at runtime' in top right corner search box.
Hope it helps,
Thanks,
Bhushan. -
Error ora-24338 happened when change data source on crystal report
Hi Guys:
I made a report on my test envariment (this report involve stored procedure and it return a ref cursor from oracle database to the report). after i test it, i decided to move this report to the production database. However when i updated the database location, it shows me the following error:
database connector error: 'ORA-24338': statement handle not executed [database wender code: 24338]
then it shows:
some tables could not be replaced, as no match was found in the new data source. please spacify the table required for any unmodified tables.
then it shows:
database connection error
all the tables and code in test database and production database are same.
anyone can help me?
thanks
Howardafter you went to database
set datasource location
updated it.
did a mapping box come up
did you then verify the database to pull in the new records or tables?
i would run the query on the server to see if it returns values.
you may also need to set your overqualified table name
database
set datasource
locate the table or sp in the top box
the + next to the sp or table
click
open properities +
overqualified table name F2
enter the table or sp in there
then verify your database and try to run against the prod server -
Change data source on exisiting report - how?
Hello! I have an existing report that I want to use with a different company, so I need to change the datasource but have absolutely NO IDEA how. I'm searching and searching for answers here and on the internet. I have no IT support and no programming experience. I am the accountant.
I found something where you expand the properties in the datasource window and just edit, but I don't know how to find the name of the database I want to use.
Please help or point me in the right direction. Thank you.you said report... which report ?
If its crystal report follow below steps:
1) open the crystal report goto-> database - >setdatasourse location
2) click on --> Create a Newconnection under Replace with window
3) select your dataconnection from the list.
4) then update the tables or procedures.
5) Save the report in repository
-Anil -
Hi,
I am getting below error in SharePoint PPS 2013 Dashboard Designer. While create the Analysis Service by using "PROVIDER="MSOLAP";DATA SOURCE="http://testpivot2013:9090/Source%20Documents/TestSSource.xlsx"
"An error occurred connecting to this data source. Please check the data source for any unsaved changes and click on Test Data Source button to confirm connection to the data source. "
I have checked all the Sites and done all the steps also. But still getting the error.Its frustrating like anything. Everything is configured correctly but still getting this error.
Thanks in advance.
Poomani SankaranHi Poomani,
Thanks for posting your issue,
you must have to Install SQL Server 2012 ADOMD.Net on your machine and find the browse the below mentioned URL to create SharePoint Dashboard with Analysis service step by step.
http://www.c-sharpcorner.com/UploadFile/a9d961/create-an-analysis-service-data-source-connection-using-shar/
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
Crystal Report runtime error while changing Data Source Location
Dear All
We are using "Crystal reports for SAP Business one".The Crystal reports version is 12.1.
We built a report in another database with another server.
As we are importing the report in another database of another server,
I am not able to change the Data Source location.
When I am trying to change it,it gives Runtime error and closed automatically.
How can i resolve and change the data source location?hi kambadasan,
is your CR version the same from which you design the report and to the another server? also did you import your report directly to SBO without changing the data source first? in the case you should update first your Data Source in Crystal Report IDE before importing it to SBO.
regards,
Fidel -
Unable to find data source null [Caused by: jdbc/Apps1DataSource not found]
Hi,
I am using OA Adapter which listens to an EBiz HRMS event, and I am encountering the following error in $Home\j2ee\oc4j_soa\log\oc4j_soa_default_group_1\oc4j\log.xml while registering the ESB service.
Error details:
<MSG_TEXT>Failed to process control event for Service "DefaultSystem.SyncWorkerPartyEbizOAAdapter" due to an error while adding the Service! Reason : oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: An unhandled exception has been thrown in the ESB system. The exception reported is: "ORABPEL-12517
AdapterFrameworkImpl::endpointActivation - Endpoint Activation Error.
The Resource Adapter Oracle Applications Resource Adapter was unable to activate the endpoint oracle.tip.adapter.apps.AppsWFBesQueueDequeueActivationSpec:{MessageSelectorRule=tab.user_data.event_name = 'oracle.apps.per.api.person.update_person', QueueName=WF_BPEL_Q, Consumer=ORA_6krj2dpn70s36c1g6h1k8dhi8h, DatabaseSchema=APPS, AppsEventSchema=ANY_SCHEMA} due to the following reason: javax.resource.ResourceException: Unable to find data source null Caused by: jdbc/Apps1DataSource not found
Please correct the reported issue and redeploy the BPEL process.
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:566)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateInboundJcaEndpoint(ESBActivationAgent.java:390)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.performEndpointActivation(ESBActivationAgent.java:306)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:236)
at oracle.tip.esb.server.service.impl.inadapter.ESBActivationAgent.activateEndpoint(ESBActivationAgent.java:209)
at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateEndpoint(InboundAdapterService.java:177)
at oracle.tip.esb.server.service.impl.inadapter.InboundAdapterService.activateService(InboundAdapterService.java:119)
at oracle.tip.esb.server.service.EsbServiceFactory.activateEsbService(EsbServiceFactory.java:222)
at oracle.tip.esb.server.service.EsbServiceFactory.addEsbService(EsbServiceFactory.java:240)
at oracle.tip.esb.server.common.RuntimeESBSystem.addService(RuntimeESBSystem.java:211)
at oracle.tip.esb.common.system.ServiceEventsHandler.handleCreateService(ServiceEventsHandler.java:72)
at oracle.tip.esb.common.system.MetadataChangeListener.handleServiceEvent(MetadataChangeListener.java:136)
at oracle.tip.esb.common.system.MetadataChangeListener.onMetadataChange(MetadataChangeListener.java:85)
at oracle.tip.esb.common.control.ControlMessageHandler.handleMessage(ControlMessageHandler.java:115)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: Unable to find data source null
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:411)
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getConnection(AppsManagedConnectionFactory.java:288)
at oracle.tip.adapter.apps.AppsManagedConnection.getConnection(AppsManagedConnection.java:85)
at oracle.tip.adapter.apps.AppsConnection.getJdbcConnection(AppsConnection.java:70)
at oracle_tip_adapter_apps_AppsConnection_Proxy.getJdbcConnection()
at oracle.tip.adapter.aq.database.MessageReader.establishDBconnection(MessageReader.java:358)
at oracle.tip.adapter.aq.database.MessageReader.<init>(MessageReader.java:265)
at oracle.tip.adapter.aq.inbound.AQActivationSpecDequeuer.init(AQActivationSpecDequeuer.java:142)
at oracle.tip.adapter.aq.AQEndpoint.<init>(AQEndpoint.java:99)
at oracle.tip.adapter.aq.AQResourceAdapter.endpointActivation(AQResourceAdapter.java:73)
at oracle.tip.adapter.apps.AppsResourceAdapter.endpointActivation(AppsResourceAdapter.java:147)
at oracle.tip.adapter.fw.jca.AdapterFrameworkImpl.endpointActivation(AdapterFrameworkImpl.java:541)
... 20 more
Caused by: javax.naming.NameNotFoundException: jdbc/Apps1DataSource not found
at com.evermind.server.rmi.RMIServerContext.lookup(RMIServerContext.java:207)
at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:257)
at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at oracle.tip.adapter.apps.AppsManagedConnectionFactory.getDataSourceConnection(AppsManagedConnectionFactory.java:408)
... 31 more
</MSG_TEXT>
I have added the connection properties in $Home\j2ee\oc4j_soa\application-deployments\defaul\oc4j-ra.xml as follows:
<connector-factory location="eis/Apps/apps1" connector-name="Oracle Applications Adapter">
<config-property name="xADataSourceName" value="jdbc/AIADataSource"/>
<config-property name="dataSourceName" value=""/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>
</connector-factory>
Please correct me if the connection properties are wrong.
I tried AppsEventSchema with 'NO-SCHEMA' and 'ANY-SCHEMA' also.
If I use File Adapter I was able to register the ESB and instances were created successfully.
My versions:
JDEV: 10.1.3.3.0
SOA: 10.1.3.3.0
I have done a lot of research on this but in vain. Is there any patch for rectifying this error?
Help me on this issue pl.
Regards
RKYou need to check your datasource name jdbc/AIADataSource
Check out your data-sources.xml to make sure you didn't mistype it. -
Changing Data Source for command objects
Hi,
My report (designed in CR 10) is running based on the Stored Procedure call using a command object; which is running successfully in the DEV environment. The report data source connectivity is a DSN.
Now i want to switch it to QA environment with different DSN name. When i tried to update the Change Data Source option, it doesn't allows to update the existing command with a new command!!!!
I don't know how to fix this. Could any one of you have idea, pls. share it here???
Thanks
ViswaIf you have same table structure in new data source then you can change the datasource connection.
Follow the steps in this article
KBase Article ID:c2016958
Article refers to:Crystal Reports 10
Symptom
In Crystal Reports (CR) 10, can you change the database connection of an existing command object to use a different database connection without the use of a Crystal Repository?
Resolution
Yes, you can change the database connection of an existing command object to use a different database connection without the use of a Crystal Repository by using the following steps:
====================
NOTE:
You must apply the CR 10 Monthly Hot Fix (cr10win_en.zip) and the CR 10 Database and Export Drivers Monthly Hot Fix (dbex10win_en.zip) before starting the steps below.
You can download these hot fixes at http://support.businessobjects.com/search
====================
1. Open a report with a command object.
2. Go the 'Database' menu and click 'Set Datasource Location'.
3. In the 'Set Datasource Location' dialog box, select the connection for the command object (the connection appears as a cylinder with a plug).
4. In the lower window, select the new connection and log on to the database.
5. Ensure the connection is highlighted for the command object in the top window, and the connection is highlighted for the new command object in the bottom window.
6. Click Update.
The database connection for the command object now changes to use the new database connection information.
Regards,
Raghavendra -
JNDI failure. Unable to lookup Data Source
Dear all
I'm running my ADF application from the jdeveloper integrated web logic server and every thing is ok.
My project contains BC and a bounded tasklflow that contains two views.
the problem happened when I changed the connection type of the application module from "JDBC Datasource" to "JDBC URL".
The name of the jdbc url is "jdbc/pmsDS"
I made this because I want to deploy my application to weblogic server and I created a datasource with the same name "jdbc/pmsDS" in weblogic server.
I tried to test and run the application on my local jdeveloper , it fails and this error occurs
oracle.jbo.DMLException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/pmsDS
Can any one plese tell me what is the problem. Whay my application can not identify the JNDI.
Thanksuser answer here,
What does this message mean?
No credential mapper entry found for password indirection user =hr Issue:-
http://madnanhashmi.blogspot.com/2010/05/weblogiccommonresourceexception.html
Edited by: Erp on Oct 20, 2011 4:50 AM -
I can not map field after changing data source location
Hi
I have a small problem that I got a report file and database from my customer, after that I setup database, open the file and change data source to my setting. but some filed can not map. The field mapping widonw does not display all field in the table. Of course I have checked the missing fields are existing in the table.
OS:Windows7
DB:Oracle11
CR:XI Release 2
Does anyone have an idea?hi,
In Map Fields window, there is an option "Match Type".
Please Unchek that option, so that you will be able to see all the fields from that table.
Also, while mapping please verify the datatypes of source and target fields.
Regards,
Vamsee -
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 -
Unable to change Date Created in Metadata
Please help with my first post...
Unable to change Date Created field in Metadata.
I am a newspaper photographer sending .jpg pics with captions to my office from my iMac. They are viewed at the office on Windows PCs using SCC MediaGrid.
When changing Date Created in Metadata Invalid Format warning appears "Format should be ISO 8601 XML compliant, that is YYYY-MM-DDThh:mm[:ss][tz] (eg 2006-07-11T13:14:30-07:00)"
If 2009-09-26, for example, is entered then exported pictures opened up in Photoshop or shown on SCC MediaGrid do not display the date.
To get dates to show up I first have to open a pic in Photoshop, go to File Info, enter 26/9/09 in Date Created and Save As.
Next I have to Import this into Aperture where the Date Created shows as "20090926".
Using Lift Metadata and Stamp Metadata the date can be transferred to other pics.
Now when I export these pics the date does show up in Photoshop and SCC MediaGrid.
Can Date Created be typed straight into field in Aperture?...Very important when pics go into archive on a server.
Also if I hit Return key in a Metadata Caption, to type on the next line, both lines will appear as one with a small square in-between them when viewed on SCC MediaGrid on a Windows PC.
Thanks in anticipation.Nick I don't generallt use the IPTC metadata, so I'm not sure I will be too much help.
What version of Aperture are you using? I tried both things and I didn't have any problems with the latest version of Aperture on my Mac.
I was able to enter a date into "Date Created" both with and without the time-zone adjustment. Can you tell us the exact string you tried to enter into the "Date Created" and exactly when you get the error? I tried to enter my time zone (eastern US) as "-5:00", but Aperture wouldn't let me enter the 5 and popped up the error message when I typed that key. I had to use "-05:00".
As for the caption, when I hit return, Aperture ends my edit. I cannot reproduce your described behavior of actually getting a new-line into the field. I suspect your problem (although I don't know how you get to your problem) is one of the following:
1) The IPTC standard doesn't tell if the software should use a Unix-style end-of-line (which is a line-feed), or a DOS/Windows style end-of-line (which is carriage-return followed by line-feed). Aperture may put in the Unix-style and your Windows programs don't know what to do with it.
2) The IPTC standard does indicate the end-of-line style, but either Aperture or your other programs don't follow it.
or
3) IPTC Metadata doesn't actually support end-of-line, so Aperture should not allow you to enter multiple lines, but it has a bug so it does allow you to do that.
Can you tell us where exactly you are editing the caption? I tried it in the inspector pane (on the left) in the "Metadata" tab, and then I hit the "IPTC" button at the bottom of the tab.
nathan -
Using Web Service as Data source (Pluggable Data Source) in Oracle Reports
Anyone using Webservice as a pluggable data source in oracle 10g reports.(Report builder version:10.1.2.0.2)? We need to be able to use web service as one of the data source to create reports.Tried the following and ran into issues:
Imported the wspds.jar fle from oracle plugin exchage. When tried using it received the following error in oracle reports trace file.
04/26 22:27:22 java.lang.NoSuchMethodError: oracle.xml.parser.schema.XSDBuilder.build([Loracle/xml/parser/v2/XMLDocument;Ljava/net/URL;)Ljava/lang/Object;
By troubleshooting issue found out that xmlparserv2.jar in 10g is newer than xmlparserv2.jar in 9i. wspds.jar is using xmlparserv2.jar in 9i as it was developed and tested for 9i only. Believe there is no newer wspds.jar file developed specifically for 10g?
Is there a better/standard solution to use webservice as data source in oracle 10g reports? Does later version of oracle reports supports webservice as a data source without any additional plugins? Any suggestion would be helpful.Please provide support for the above request.
It appears that Oracle 10g reports doesn't support Web Service as pluggable data source. Is this option is available in Oracle 11g Reports or Oracle Discoverer Or OBIEE? -
Report painter -output parameters,Data source,Extract parameter, report
Hi expert,
1)What report painter -output parameters,Data source,Extract parameter, report mean for and what are the difference?
2)I have create new report painter and transport to Test server using T-code:GCTR and I find that the T-code always point to old report. As I had check the SE93 the D_SREPOVARI-REPORT is point to report group.Why this happen?
3) Does creation of new report or modification of the report always need to select the extraction option so that it will able to display the relected changes? Because, I have done modification on the report but it is not reflected the changes even i save until i have to create the extraction is able to display the report but every time i run the report need to select the extraction with option to choose new extract or old. Kindly advice how to save and create the report painter and save will display reflected result .
Please helpHi BR Christian,
Thank you for the prompt reply.
I have few querys as below:
1)Do we every time create new report by copying the existing report painter need to select output parameter, data source and extract parameter in order to be able to display the new report?
2)when modify existing report painter and save it do we need to select output parameter, data source and extract parameter in order to be able to display the modify report correctly?
3) What are the different between right click copy the report inreport painter compare with create report painter with copy GRR1?
4) What are the T-code for modify the report group?
5) When I create a new report with the right click copy in GRR1 and modify the report painter column only and everything remain the same just the report name different why when execute the report it always appear in the selection screen with report button which have option button to select the 2 version of report which one is the destination report that I copy from and one is the new report? How to set the report when execute will only display the new report only without need to select the option with just new report only?
6)For transferring reports you can use GR37 (export) and GR38 (import) can be use to transport from one client to another client? What is difference between GR37 compare with GCTR?
7) If I use GR37 and GR38 it is mean no need to create the transport request which as usual we create transport se10?
we can directly import to another client ussing GR38?
8)When we create a new report with copy with the existing report with just modify the report colunm and the report name difference only what are the setting example: report,report group need to be selected to be include to export/transport to another client?
9) What are the difference between library and report group?
10) Can we set Se93 to execute only report not report group? How?
11) when using GR37 to transport it is also include the report group,library and the particular report?
12) Can I include the variable in the column header to display fiscal year which I have selected from the selection screen?
How and which variable should i use?
please help.
many thanks
Edited by: KH on Jun 18, 2011 6:52 AM
Edited by: KH on Jun 18, 2011 6:55 AM
Edited by: KH on Jun 18, 2011 7:06 AM -
2.5 GB CSV file as data source for Crystal report
Hi Experts,
I was asked to create a crystal report using crystal report as datasource(CSV file that is pretty huge (2.4Gb)). Could you help with me any doc that expalins the steps mainly with data connectivity.
Objective is to create Crystal Report using that csv file as data source, save the report as .rpt with the data and send the results to customer to be read with Crystal Reports Viewer or save the results to PDF.
Please help and suggest me steps as I am new to crystal reports and CSV as source.
BR, Nanda KishoreNanda,
The issue of having some records with comma and some with a semi colon will need to be resolved before you can do an import. Assuming that there are no semi colons in any of the text values of the report, you could do a "Find & Replace" to convert the semi colons to commas.
If find & replace isn't an option, you'll need to get the files separately.
I've never used the Import Export Wizzard myself. I've always used the BULK INSERT command
It would look something like this...
BULK INSERT SQLServerTableName
FROM 'c:\My_CSV_File.csv'
WITH (FIELDTERMINATOR = ',')
This of course implies that your table has the same columns, in the same order as the csv files and that each column is the correct data type to accept the incoming data.
If you continue to have issues getting your data into SQL Server Express, please post in one of these two forums
[Transact-SQL|http://social.msdn.microsoft.com/Forums/en-US/transactsql/threads]
[SQL Server Express|http://social.msdn.microsoft.com/Forums/en-US/sqlexpress/threads]
The Transact-SQL forum has some VERY knowledgeable people (including MVPs and book authors) posing answers.
I've never posed to the SQL Server Express but I'm sure they can trouble shoot your issues with the Import Export Wizard.
If you post in one of them, please copy the post link back to this thread you I can continue to to help.
Jason
Maybe you are looking for
-
Problem with uploading a file in Clustered Environment
Hi, I have a problem with uploading a file in a clustered environment. I have an iview component which facilitates an upload action of an xml config file. The problem is that the upload of the modified XML file is reflected only in the central instan
-
How to set value in selectOnemenu using binding
hi all. i have bind htmlSelectOneMenu. it contains some value. I want to set or display a value after a process. How to change value i have tried using setValue method of both binding property and value property of htmlSelectOneMenu. Same issue is wi
-
Error when installing sap solution manager
Dear all, When i am installing SAP solution manager (SAP SOLMAN 7.0 EHP1SR1 WINDOWS_X86_64), I meet the following error: An error occurred while processing option SAP Solution Manager 7.0 EhP1 > SAP Systems > MS SQL Server > Central System > Central
-
Hi there, Looking at the recent article on the sunset clause for SQL Reporting on Oct 3, I'm wondering if I can still purchase SQL Server Reporting Services (SSRS) running on a Azure Virtual Machines (VM)? I actually want to point a reporting solutio
-
HELP - Look at my desktop!
One of our clients on our system had a major crash while searching through Finder. Any ideas? Different logins have same results. Names within finder are fine, spotlight search results are ok, but HD name, any finder options, apple options are all sc