Connecting to CSV/Excel
Good Morning,
I'm working with a back-up admin on setting up the CSV/Excel JDBC drivers to enable me to connect VC models to CSV/Excel data.
Can anyone provide a step-by-step (or more detailed description) for the setup steps at: <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/jdbcConnectionSetup&.">SDN VC - JDBC Connection Setup</a>
After navigating to the described service, the admin is not sure of the next step.
Are the above steps at SDN for NW04s?
Thanks
There is a whole section in the WIKI with links to setup for different BI connectors:
https://wiki.sdn.sap.com/wiki/display/VC/Setup+connections
And yes, those are all valid for NW04s.
Similar Messages
-
How can I create an csv/excel file using pl/sql and then sending that file
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.968776 wrote:
How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
Whay do you want database (pl/sql) code to do these things?
Anyhow, you may be interested in :
{message:id=9360007}
{message:id=9984244} -
Csv/excel not showing vertical . it is displaying horizontally plus
hi i have this code that displays html, pdf or csv/excel
download.
htmll report and pdf is ok but the csv/excel download
displays/ works but
it shows accross instead of down.
on my html to csv it is not dispalying vertically /down and
it shows the html on the excel download
also
per cel it has both the plotid and the ceenum. it displays
horizontally.
Help
Thanks in advance.
<!-------------------- here are the code in 2 .cfm pages.
here is the first page where the user selects
html
pdf
escel/csv----------then it goes to a action page act_lop.cfm
<h1>LOP Reports </h1>
<div align="center">
<form name="theForm" action="act_lop.cfm"
method="post"><BR />
Sorted by:
<select name="Orderby" size="1">
<option value="CEEnum">CEE num</option>
<option value="Plot">plot No</option>
</select>
<br />
<br />
Output Format:
<input type="radio" name="outputFormat" value="HTML"
checked="checked" />
HTML
<input type="radio" name="outputFormat" value="PDF" />
PDF
<input type="radio" name="outputFormat" value="CSV" />
Download/Open Excel Spreadsheet <BR />
<br />
<input name="Submit" type="Submit" value="Generate Report"
/>
<BR />
<BR />
<BR />
</form>
</div>
</body>
</html>
<!--------- act_lop.cfm the action page. Html and pdf is
working ok but the problem is the excel sheet.
<cfquery name="getlop" datasource="oracdb10">
select
tabTee.CEEnum,
tabTee.Plot,
FROM
tabTee
ORDER BY
<cfswitch expression="#Form.orderBy#">
<cfcase value="CEEnum">
tabTee.CEEnum
</cfcase>
<cfcase value="Plot">
tabTee.Plot
</cfcase>
</cfswitch>
</cfquery>
<!---html report--->
<cfswitch expression="#Form.outputFormat#">
<cfcase value="HTML,PDF">
<cfsavecontent variable="htmlData">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>lop</title>
</head>
<style type="text/css">
td{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
th{
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
background-color:#FFFF99;
h2{
font-family:Arial, Helvetica, sans-serif;
font-size:14px;
h3{
font-family:Arial, Helvetica, sans-serif;
font-size:15px;
</style>
<body>
<cfoutput>
<table border="0" cellpadding="3" cellspacing="0">
<tr>
<td align="center">
<h3>lop</h3><br><br></td>
</tr>
<tr>
<td align="center">
</h2>Your report returned #getlop.RecordCount#
records</h2></td>
</tr>
<tr>
<td>
<table border="2" cellpadding="2" cellspacing="0">
<tr>
<th>Record Number</th>
<th width="120">CEE num</th>
<TH>plot No</TH>
</tr>
<cfloop query="getlop">
<tr bgcolor="<cfif currentrow mod
2>GHOSTWHITE<cfelse>WHITE</cfif>">
<td>#CurrentRow#</td>
<Td>#CEEnum#</td>
<td>#Plot#</td>
</tr>
</cfloop>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
</cfoutput>
</cfsavecontent>
<cfswitch expression="#Form.outputFormat#">
<cfcase value="HTML">
<cfoutput>
#htmldata#
</cfoutput>
</cfcase>
<cfcase value="PDF">
PDF
<cfdocument format="pdf">
<cfoutput>
#htmldata#
</cfoutput>
</cfdocument>
</cfcase>
</cfswitch>
</cfcase>
<cfcase value="CSV">
<CFHEADER NAME="Content-Disposition" VALUE="attachment;
filename=lop.csv">
<cfcontent type="application/msexcel">"Cee Num","plot
No"
<cfoutput query="getlop"> #ltrim(CeeNum)#, #PLOT#
</cfoutput>
<cfabort>
</cfcase>
</cfswitch>
<!-----------here is the las page
------------------------csv---------------------------->
<cfquery name="getlop" datasource="oracdb10">
select
tabTee.CEEnum,
tabTee.Plot,
FROM
tabTee
ORDER BY
tabTee.CEEnum
</cfquery>
<CFHEADER NAME="Content-Disposition" VALUE="attachment;
filename=lop.csv">
<cfcontent type="application/msexcel">"CEE num","plot
No"
<cfoutput query="getlop">#CEEnum#,#Plot#
</cfoutput>CSV interpreted format expects a carriage return/line feed at
the end of the row. Try
<cfcontent type="application/msexcel">
"CEE num","plot
No"<cfoutput>#chr(13)&chr(10)#</cfoutput>
<cfoutput
query="getlop">#CEEnum#,#Plot##chr(13)&chr(10)#
</cfoutput>
HTH, -
The dreaded "Cannot connect to Microsft Excel..."
Hello everyone,
First time back in a couple of years apart from the sporadic visit. I am upgrading to SAP Dashoards 4.1 and currently running the SP5 trial.
After trying a couple of templates to make sure all was ok, and it seemed to work fine, I first got a runtime error. Now I get the dreaded 3Cannot connect to Microsoft Excel...programme must close." error. I was running Dashboards standalone, as Admin. I don't seem to be able to get back in.
I am finding it difficult to find my way around the forum format, but I did do a search and found a post that suggested Office 2013 was the issue (supposedly to be solved in SP5 but it obviously hasn't been) and it was best to downgrade Office. Surely there must be a more up to date answer.
Would you please let me know what I should do? Or of course, point me in the direction of a prior post (I will get to grips with the way the forum displays and the search function, I promise).
Thank you for your suggestions.
Chris
Windows 8.1 x64
Excel 2013
Dashboards 4.& SP5 TrialHi Chris,
Office 2013 is supported with Dashboards 4.1.
Check if the issue is intermittent and if not then try below steps.
Hi Petrut,
Rename the strat page in folder Dashboards Installation dir\Program files\SAP BusinessObjects\Xcelsius 4.0\assets\startPage
Also set value of
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer->NoRecentDocsHistory
value to 0.
Also uninstall microsoft office and install it once again.
If it again fails then try below steps.
1.Turn off the anti-virus and the firewall.
2.Uninstall the Dashboards.
3.Then take the backup of the registry.
4.In the registry please go to hkeylocalmachine--->Software------>Wow6432node------>SAP BusinessObjects------>SuiteXI 4.0------>Xcelsius .Delete this Xcelsius folder
5.Change the user account control settings to never notify in case when you are using Windows 7.
6.Check in program files if there are any leftover installation folders for Xcelsius.If so delete them
7.Run the setup by running it as administrator.
8.Please use the key for the departmental edition of Dashboards.
Regards,
Amit Kulkarni
Support Engineer
SAP Active Global Support -
DSN Entry for Connection to an Excel-Sheet
hi,
i must create a DSN entry on unix to connect to an excel sheet. adding a new dsn entry on windows is the following way: Start | Settings | Control Panel | Administrative
Tools and so on. Has anybody an idea how to create a dsn entry on unix?
regards,
thomasas far as I know, UNIX does not natively support ODBC.
check for other solution such as open source at link:
http://en.wikipedia.org/wiki/UnixODBC
Good luck. -
Unable to refresh a crystal report on BOE which connect to an excel
Hi,
I have a crystal report which connect to an excel sheet on network. I am able to open it locally and refresh it. But after I upload it to the BOE, open it from infoview, I am not able to refresh it. it prompts for the database connection info.
I created an ODBC connection (choose MS excel and point to the excel file on network drive) on the BOE Server, it did not ask me for the login info and the server is responding. I also added this connection to BOE. But when I refresh the report from either infoview or CMC, it ask me for the database connection info with user login.
What should I do to solve this?
Thanks,
VickyHi,
The data source is an excel sheet in a network drive. I am able to refresh this report from my client computer, but after upload it to BOE, the report cannot be refreshed. The datasource configuration of this report is like the following:
Server:
server1\folder\excel.xls
Database:
server1\folder\excel.xls
User:
Password:
Because no user name and password are required to open the excel, I leave it blank. But when I refresh the report, it said that "the database logon information for this report is either incomplete or incorrect."
How can I be able to refresh this report from BOE?
Thanks,
Vicky -
Have base station and added extender for downstairs. Worked great upon initial setup, but now it won't connect despite an "excellent" signal. All i get is a blinking amber light; only get green if I bring it into the same room as the base. Both units are the latest models; purchased 2 months ago. What's wrong? Thanks!!
Power off both the AirPort Extreme and AirPort Express
Wait a minute
Power up the AirPort Extreme and let it run for a few minutes
Now locate the AirPort Express about half way between the AirPort Extreme and the general area where you need more wireless signal coverage, and report on your results.
The more that you can minimize obstructions between the AirPorts like walls, ceilings, etc. the better the wireless will operate. -
Establishing DSN less connection to .csv file
Hello to all,
I need to establish dsn less connection to .csv file, can anybody suggest me the solution.
Please treat this matter as urgency,
Thanks in advance.
Y_mailHi Mohammad,
it would be easier for us all if you would continue one of your previous topics about the same problem:
http://forum.java.sun.com/thread.jsp?forum=48&thread=194701
http://forum.java.sun.com/thread.jsp?forum=48&thread=193727
http://forum.java.sun.com/thread.jsp?forum=48&thread=194147
http://forum.java.sun.com/thread.jsp?forum=48&thread=190876
Also changing your userprofile doesn't help much.
If you watch the replies to your topics, you see that in this one
http://forum.java.sun.com/thread.jsp?forum=48&thread=193727
we're about to work out a solution for reading a csv file with BufferedReader. The JDBC connection mentioned there is only for putting the retrieved values into Access afterwards; for your task this part can be ignored.
So I think you should find your solution there.
If not, please ask again - but please (!) don't start a new topic or user again for that same problem. -
Hi All,
I want to connect to Excel from Oracle using Generic Connectivity.
Is it possible?
can anyone please explain the format of a table in excel.
I am able to connect from oracle to msacess and sql server.
How to set the column name and tablename in an excel workbook?
Please guide me.
Thansk & Regards
Salih KMYou can use Generic Connectivity to connect to an Excel spreadsheet.
If memory serves (been a couple months since I've done this), the workbook name is the table name and the first row of values are the column names.
Justin -
Hi all,
I would like to have a data connection file used by excel to extract data form a SQL Server DB (so that change in location of the DB needs only a change to the single data connection file). The excel file will retrieve data from only a single database,
but there are multiple queries (30+) stored on SQL server that are used - each SQL server views' data is returned to a pivot table in an excel worksheet, which has an associated chart with various slicers on the main dashboard worksheet.
Do I need a seperate data conenction file for each SQL server query being retrieved, or can a single connection file be created as all data comes from a single database?
(all my attempts and research on the net have led me to believe that a seperate file is needed for each view, but this seems unnecessary)Hi, im learning my way with this, so apologies if I am providing too much or too little info.
There are 8 source files which are very loosely related in that they capture infromation regarding what has happened within a metro railway over a day. However there are only a few relationships between the contents of tehse files.
These tables are imported into SQL Server using SSIS where I have developed a number of views that query these 8 source tables to generate a number of metrics to provide insight into the service provided to the passengers. Some examples of metrics are: Number
of passengers in transit at any given time, time taken to travel between adjacent stations, how much power was used during the day, what distance did the trains travel during the day, etc. Some views provide only a handful of rows, some provide 1M plus. There
are now approx 40 seperate views created.
I have then used a spreadsheet with a worksheet associated with each SQL server view. Each worksheet is set up as a pivot table, which allows the related chart on the main dashboard worksheet to use standard excel capability to slice and present the data
in different ways.
At the moment if the server on which teh database is stored moves, I have had to recreate the spreadsheet from scratch as I dont know how to change the connection information in any other way. Ideally I would like to have connection info in a single place
to reduce ongoing maintenance, particularly as I would like to place the spreadsheet on a SharePoint server to distribute it to other users.
Thanks -
Hi All,
I'm new to SharePoint and Power BI.
I've to use share point 2013 lists to create power view reports. For that, I need to create Power Pivot in Excel 2013.
I'm fine with the above. We normally take a data feed of a list and create connection to that. We need to create a connection file (.odc) and export it into a excel file connection library of Share point. The connection to be made to share point list. The
power pivot will be having multiple related lists.
How can I create a connection file which is referring to share point list
Please suggest.
Regards,
JulieHi All,
Finally, I could find the answer for this question after a long search.
First of all, open a new excel file in server.
Data-->From other connection-->From data connection wizard-->data feed-->Location of the data feed-->
http://sharepointsite/sitename/_vti_bin/ListData.svc
-->next-->select the lists which you need-->next-->only create connection-->properties--->export connection file
-->ok
The connection file has been created and .odc file exported to the specified location.
Open power pivot and check the connection in existing connections.
Exported file has to be uploaded in Excel file connection library of share point 2013. So that you can refer the same in this excel file when you upload it into share point.
Regards,
Julie -
Hi!
I'm using excels pivot table function to grab data from my MS access db through ODBC connection.
I've set up the connections with parameters for my selection criteria or the "where" clause if you read the SQL statement. The parameters I use refer to cell values on in my workbook.
My problem is that the parameters are empty every time I reopen the workbook. This creates several problems. If I attempt to refresh the connection Excel crashes. If I attempt to save the workbook excel will crash.
So I have to manually re-input the parameters for each connection I have in the workbook. The parameters function and the ability to use cell values as the parameters is great and opens up for great possibilities. But it seems it's not working?
I even opened the xml file in the .xlsx container and found where the information for the parameters reference is stored. And it was present the connections.xml as:
<parameter name="From YYYYMM" sqlType="4" parameterType="cell" cell="Admin!$C$5" />
Which tells me there is nothing wrong with my saved xlsx file.
Is there any way around the problem?
Regards, ErikHi Jaynet, thanks for your reply.
My cells do contain values so that's no problem. It's a very simple setup where I have 2x6 cells with a couple of parameters that are to be used by all my connections in the workbook.
Using vb code to update the "forgotten" parameters inside the connections was something I also was thinking could be a solution. Just felt it would be a shame when the functionality for what I'm trying to do cleary has been built
in to excel in a very simple way through the UI.
Before I go down the vb route I'm gonna see if I can find more info about any fixes for this bug in excel, maybe a hot patch or something like that. (I can't speak vb so building such a thing is going to take a while for me as I have to take bits
and pieces I find around the web to get stuff working) :) -
Mime mapping in web.xml not working for csv/excel
I am using the weblogic 8.1 app server. I want to serve up some static content
from an "exploded" web application (dir structure instead of a war file). This
static content includes html files and csv files that cause the browser to give
an option to the user to open the file in excel or download to disk. I have inserted
the following mapping inside web.xml in the exploded directory structure...
<web-app>
<mime-mapping>
<extension>csv</extension>
<mime-type>application/vnd.ms-excel</mime-type>
</mime-mapping>
</web-app>
I redeployed the "web application". When I try to access a csv file, instead of
giving me the save/open dialog, the browser displays the ASCII contents of the
csv in the browser like an HTML file. Am I missing a step? Is the xml above not
for the functionality that I am trying to implement here?
Thanks.Hi All:
Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
Could you please help and can you point me to any specific link.
Thanks & Regards
Sridhar Doki -
Using an existing connection in the Excel 2013 file in Power Query
Hi,
I've created an Excel workbook and a SQL Server data connection in this workbook.
When I open Power Query I cannot to use this created data connection.
In general, inside Power Query can I use a data connection created in the original Excel workbook?
Many thanksFollowing on from Ehren's advice please find the following screen shot and link; -
https://support.office.com/en-gb/article/Connect-to-a-SQL-Server-database-Power-Query-e5004318-0f2e-46a3-8b15-1559aa3c04db?ui=en-US&rs=en-GB&ad=GB
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/ -
Replace the connection string in Excel MDS file
I had MDS solution from one SQL Server 2012 to another - SQL Server 2014. I have configured Excel file with connection to MDS. How can I safely to replace the connection string in my Excel MDS file and the tables is not broken?
from Moscow with moneyHi,
Excel is just used to manage data and create new entities and attributes. Why not first publish and close your excel before MDS upgraded to 2014? After the upgrade, reconnect new solution in your excel.
thanks,
Jerry
Maybe you are looking for
-
How to Calculate Line items Total of Matrix Column
hai experts, Im facing a problem like 1. i have a matrix with a column Labour Costs in that im taking some cost. 2. in footer a have a Edit Text like Total Labour Cost 3 when i enter amount i
-
Hi, I recently bought an Imac G5 from a friend (1,9 ghz, 17" Isight). After running the update manager, the Mac won't boot anymore. It's tuck in the blue screen with the apple logo, in which the blue status bar should appear. I tried to zap the PRAM,
-
How do I remove songs from ipad?
and leave them on the cloud?
-
Address Book Spinning Beach Ball of Death Crashes -- Lost Address Book Data
Over the past three weeks Address Book has suffered spinning beach ball crashes three times. Each time resulting in total loss of the data in the address book. I can understand that from time to time an application might crash, but there is NO excuse
-
Exception code: 0xc0000005 while installing application using ClickOnce
I am trying to install a .Net application using ClickOnce technology. The software is hosted on a webserver and is installed on my local machine. After downloading the package, the installer exits without a message. On checking the windows event logs