Report download displays wrong format in excel
I have a text field that is a number, dash, then four numbers 1-2345..
in an interactive report, when I download to CSV or XLS this field is converted to a date field 1/1/2345..
If I then change format to text it divides the numbers and gives me the output..
the only workaround I can find is: save to csv.. rename extention to .txt... then when you open the txt the import wizard will run and you can change the column type to text before excel screws everything up...
tried both already.
same results opening the file..
and using ''''||FIELD as ALIAS then doesnt show the data just the '
fyi.. the field has both 1-2345 and 1-2345-B (the ones with the dash -B work correctly and they showed up when I added the ''''||FIELD)
Edited by: Merlin128 on Oct 19, 2009 4:22 PM
Similar Messages
-
How to include "password protection" in a report, downloaded in .pdf format
Hi,
The client need the reports to be password protected after downloading it to pdf format.
i.e., If a report from the dashboard is being downloaded in pdf format, then while opening it should ask to enter the password.
So this will be a secure document that can be sent over mail.
Is such feature available in OBIEE 10g/11g? If yes, please let me know.Hi,
Could somebody tell the same can do in Discoverer also?
Thanks,
Kamal -
Bug report : Navigator display wrong messages in package body
Just run some code , you can see the Navigator display wrong messages in the package body,but the package work fine in sqlplus / toad or other tools.
create or replace package SIMPLE AS
Procedure simple_proc ;
END;
create or replace package body SIMPLE AS
Procedure simple_proc
IS
v_tname varchar2(100);
begin
SELECT PERCENTILE_disc(0.5) WITHIN GROUP (ORDER BY tabtype DESC)
INTO v_tname
FROM tab;
END simple_proc;
END;
Then open the package body in the Navigator (Connection Pane==> Connection Name ==> Packages ==> Simple Body ) , and show the error message:
Unexpected token
Missing Expression
But if I just create the procedure out of the package , it work fine.
CREATE OR REPLACE
Procedure simple_proc
IS
v_tname varchar2(100);
begin
SELECT PERCENTILE_disc(0.5) WITHIN GROUP (ORDER BY tabtype DESC)
INTO v_tname
FROM tab;
END simple_proc;
/This has already been discussed a number of times (see http://forums.oracle.com/forums/search.jspa?objID=f260&q=Unexpected+token).
As I understand it, it is related to the parser that SQL Developer is using to display the package decomposition in the navigator not coping with the full PL/SQL and SQL syntax (largely analytical functions from memory). -
XML Publisher Report not displaying Chart/Graph in Excel Output
Hi All,
We are currently on Oracle EBS 11.5.10.2
I am facing an issue with XML Publisher based report when i try to fetch the output in Excel.
We have created an RTF in which i have embedded a graph. While viewing the output in PDF everything seems to work fine.
however when i try to run the report with output as Excel the Graph is not displayed.
Can you please let me know if i missed anything.
Also it would be very helpful if someone can tell me how to get the output of Excel in .XLSX format.
I have seen in various forums that you need to select the output type as Excel 2007, but i am not getting any such option while submitting the report.
I am on EBS version 11.5.10.2 do we need to install any patch to get the output option.
Regards,
SandeepHi,
Check this links that might help you..
https://forums.oracle.com/thread/1018488
http://docs.oracle.com/cd/E10091_01/doc/bip.1013/e05000/toc.htm
Here the Exact solution from Oracle
In the XML PUBLISHER ADMINISTRATOR Resp..
Click the administration..
then Click HTML Output
Then in the Base Image URI Give the url of your application for example
http://Test.Test.com:8000/OA_MEDIA/
And then
Image File Directory give this as per your application setup
/u01/app/oracle/apps/apps_st/comn/java/classes/oracle/apps/media/
Thanks & Regards
Srikkanth.M -
Report Downloading in HTML Format - Problem...
Dear All,
While I am downloading any report in HTML Format.
At that time I want to cahnge the font format in SAP.
please tell how to do this.
Regards,
DharmeshHi Dharmesh,
Send me the ZPROGRAM you have developed.
Darshan Patel -
Interactive Reports Download In Colour format in html and csv
Hi All I want to download interactive report in colour format(as it is format) in html and csv using apex 4.0.2
Regards
Roberthttp://en.wikipedia.org/wiki/Comma-separated_values
A comma-separated values (CSV) file stores tabular data (numbers and text) in plain-text form. As a result, such a file is easily human-readable (e.g., in a text editor).re: colours of html output
interestingly, there are settings in print attributes, but they have no bearing on the output... obviously nothing to do with the html output. Probably best bet is BI Publisher, where you can define your own report templates. -
Intrastat Arrivals report with a wrong format
Hello gurus,
I have problems with producing the Intrastat Arrivals part for Belgium in the correct format. The file should be SDV format (semi-colon separated). I run ENPA and choose the report relevant for BE. Then I run VE15 to get the file, but it has a weird format:
The Belgian authorities require the file to start with 19/29 depending on the type of declaration, then to list Country, Transaction, Region, Commodity code, etc.
This is not the case though. The file created consists of much more different types of data and it is not semi-colon separated.
Someone knows what might be wrong? I expected that by choosing the BE format for extended declaration I'll get one.
Thanks a lot for your help!
Regards,
DarinaHi Jurgen,
Thank you very much for you reply.
Yes, this note was already implemented in the system.
What bothers me is that I expect that if I choose country BE in ENPA, I expect the file produced to be according to the BE legislation.
Also, I see on screen that Invoice value, Tare mass, Specific unit are filled in. I expect to see them also when creating the file. The Tare mass I cannot find at all, the rest are there but not at the place I expect and without decimal comma separator (instead of 1 305, 00 it is1305).
However, the BE law requires for e.g. a file starting with 29 for extended declaration; country of origin, etc. I don't see anything like this when I run the BE Intrastat and I guess I cannot influence the format?
Regards,
Darina -
Oracle Reports 6i -- Image embeded, formatting PDF, Excel
I am using Oracle Reports 6i on Windows 2000. I run the reports from a Java application, using the RWServlet, passing in the URL all the parameters needed.
Now I need to run from my application oracle reports created by somebody else. Initially those reports were run from a client/server application in the client's Report Runtime environment. And I need at my turn to create others with the same look and feel.
The existent reports do not appear to use any template.
I was going through the Oracle Reports documentation, but I still have to clarify some things.
Here there are my questions:
1.- The company logo image
I found in the Layout Model/Main Section/Margin an image object, but I looked in the Property Palette and there is no path to the image, just under Boilerplate there is a object of Type Image.
How does the report know what to embed in the report's header?
2.- Printing reports in different formats: i.e. PDF
When the reports are run in the client/server Report Runtime environment, the user can print the report in different formats including PDF, Delimited, XML, etc.
Is there a way to print the report in PDF or any other format from my web application that uses the RWServlet?
3.- Report appearance in the browser
Run in the browser the report loses formatting as opposed to client/server.
Is there a way to make the report look good through some sort of general configuration, or should I fix each element that doesn't look god in Live Previewer, or somewhat else?
4.- Report in Excel
Is it possible to save the report to an Excel file or to generate it in Excel from Oracle Reports?
Thanks in advance,
PaulWhew...lot's of questions...let's see if I can help (at least a little)...
1. Quite possibly, the user is/was pulling the image from the database? I do this in my environment, so it might be worth a look.
2. You should be able to print in any format from the web. You may need to adjust your destype/desname/desname parameters.
3. Only thing I can think of here is that maybe the original report was not written using a standard web-friendly font?
4. There's a couple of ways you can get data into an excel file:
A. Use DDE and poke the data right into it (messy when you need to print the regular Oracle report too).
B. Add an option to print to file and set the desformat to DELIMITEDDATA. Be sure to go through the data model and set Exclude from XML Output to 'Yes' for fields you don't need. Also, be aware that this may not come out in the same order as they do on the printed report. You can read about this on Metalink.
Hopefully that helps you a little bit. :)
Chad -
Report to display PO details and download details in an excel fil
Hi,
I have been asked to develop a report for "Develop report to display PO details and download details in an excel file".
Could any one guide me technically what are the different tables i need to take to generate the report. Treat this is very urgent. Pls provide sample code too....
Thanks in advance....Purchase Order PO
Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
refer this program
REPORT ZPOCHANGE.
This is a subroutine perform in the Purchase order Layout sets.
Description : To retreive the details of changed remarks in PO output and to capture the retrival date
Additional features with the previous changed appearing. e.g. from .... to
Note : If the latest modification details required
Please Uncomment the lines mentioned under 'Last Modified Remarks only'
Information
/: PERFORM CHDATE IN PROGRAM ZPOCHANGE
/: USING &EKKO-EBELN&
/: CHANGING &RVDATE2&
/: ENDPERFORM.
/: IF &RVDATE2& EQ ' '.
/ Revision Date: NIL
/: ELSE.
/ Revision Date: &RVDATE2&
/: ENDIF.
Main Window
/E CHANGE_REMARKS
/: PERFORM CHDET IN PROGRAM ZPOCHANGE
/: USING &EKPO-EBELP&
/: USING &EKKO-EBELN&
/: USING &T166T-CHTXT&
/: USING &T166T-CTXNR&
/: CHANGING &ITAB1-F_NEW&
/: CHANGING &ITAB1-F_OLD&
/:ENDPERFORM.
/:IF &ITAB1-F_NEW& NE ' '
= &ITAB1-F_OLD(C)& CHANGED TO &ITAB1-F_NEW(C)&
/:ENDIF
You might need to apply Note 373524 - Message determination and printing
TABLES : CDSHW , "Change documents, formatting table
CDHDR , "Change document header
EKPO , "Purchasing Document Item
EKKO , "Purchasing Document Header
T166C . "Print-Relevant Purchasing Document Changes
DATA : ITAB1 LIKE CDSHW OCCURS 100 WITH HEADER LINE.
DATA : ITAB2 LIKE EKPO OCCURS 100 WITH HEADER LINE.
DATA : DOCUM LIKE EKKO OCCURS 100 WITH HEADER LINE.
DATA : TABKEY LIKE CDSHW-TABKEY.
data : begin of ctab occurs 10,
tname like t166c-tname,
fname like t166c-fname,
TABKEY LIKE CDSHW-TABKEY,
FLAG(3),
end of ctab.
DATA : VAL1(15), VAL2(15).
DATA : M1(20), M2(10), M3(10),M4(5).
DATA : RVDATE(10),RVDATE2(10) , EBELN LIKE EKKO-EBELN, COUNT TYPE I.
Text number for change text(CTXNR), CHANGE TEXT(CHTXT), Purchase order
Number and item number are passed from Layoutset
FORM CHDET *
--> ITAB *
--> OTAB *
FORM CHDET TABLES ITAB STRUCTURE ITCSY
OTAB STRUCTURE ITCSY.
LOOP AT ITAB.
CASE ITAB-NAME.
WHEN 'T166T-CHTXT'.
MOVE ITAB-VALUE TO M1.
WHEN 'T166T-CTXNR'.
MOVE ITAB-VALUE TO M2.
WHEN 'EKKO-EBELN'.
MOVE ITAB-VALUE TO M3.
WHEN 'EKPO-EBELP'.
MOVE ITAB-VALUE TO M4.
ENDCASE.
ENDLOOP.
Throught this function change details are retrived into itab1.
CALL FUNCTION 'ME_CHANGES_READ'
EXPORTING
DOCUMENT_CATEGORY = 'F'
DOCUMENT_NUMBER = M3
TABLES
XCDSHW = itab1.
SELECT SINGLE * FROM T166C WHERE CTXNR = M2.
IF SY-SUBRC = 0.
CONCATENATE M3 M4 INTO TABKEY.
********Last Modified Remarks only**********************
read table ctab with key tname = T166C-TNAME
tabkey = tabkey
fname = T166C-FNAME.
if sy-subrc ne 0.
LOOP AT ITAB1 WHERE TABNAME = T166C-TNAME
AND TABKEY+3(15) = TABKEY
AND FNAME = T166C-FNAME.
*********Last Modified Remarks only**********************
ctab-tname = t166c-tname.
ctab-fname = t166c-fname.
ctab-tabkey = tabkey.
append ctab.
delete itab1.
exit.
endloop.
Captured details are exported to Layoutset
LOOP AT OTAB.
CASE OTAB-NAME.
WHEN 'ITAB1-F_OLD'.
OTAB-VALUE = ITAB1-F_OLD.
MODIFY OTAB.
CLEAR : ITAB1-F_OLD.
WHEN 'ITAB1-F_NEW'.
OTAB-VALUE = ITAB1-F_NEW.
MODIFY OTAB.
CLEAR : ITAB1-F_NEW.
ENDCASE.
endloop.
endif.
******Last Modified Remarks only****************
ENDIF.
clear ctab.
ENDFORM.
FORM CHDATE *
--> ITAB *
--> OTAB *
Form for revision date retrival. PO no. is passed from layoutset
and in the change document header latest modified date is captured
and passed to revision date field in Layoutset.
FORM CHDATE TABLES ITAB STRUCTURE ITCSY
OTAB STRUCTURE ITCSY.
CLEAR : RVDATE, EBELN.
LOOP AT ITAB.
CASE ITAB-NAME.
WHEN 'EKKO-EBELN'.
MOVE ITAB-VALUE TO EBELN.
ENDCASE.
ENDLOOP.
SELECT UDATE INTO CDHDR-UDATE FROM CDHDR WHERE OBJECTCLAS = 'EINKBELEG'
AND OBJECTID = EBELN.
IF RVDATE < CDHDR-UDATE.
RVDATE = CDHDR-UDATE.
ENDIF.
COUNT = COUNT + 1.
ENDSELECT.
LOOP AT OTAB.
CASE OTAB-NAME.
WHEN 'RVDATE2'.
CONCATENATE RVDATE6(2) '.' RVDATE4(2) '.' RVDATE(4) INTO RVDATE2.
IF COUNT = 1.
RVDATE2 = ''.
ENDIF.
MOVE RVDATE2 TO OTAB-VALUE.
MODIFY OTAB.
ENDCASE.
ENDLOOP.
CLEAR : COUNT.
ENDFORM.
Message was edited by:
Karthikeyan Pandurangan -
Quickview displays wrong "time" format of Excel document
Here's an odd one. I have an excel document that has a row who's number format is time. Data entered and save the document. Look at the document in the finder under quickview and all the times are +3 hours. This happens in both Excel 2004 and 2008. It also happens on both my Powerbook and G5 tower. Both PPC. Both 10.5.1
Can anyone re-create this, or is it just me?
StacyHi,
There is no error from the CRM functionality. If you SAVE the excel,instead of opening it directly and then " open with "
word pad or notepad, you can see the phone no.s and fax no.s are properly transported to excel.There is a default format setting of
excel from the Microsoft, so you are getting the default format after opening the excel.
Steps:
1.Export to excel.
2.Choose the BP,PHONE and FAX columns holding the 'CTRL'key.
3.Right click on the chosen columns and choose "format cells".
4.Under the tab "number" choose 'number' and and reduce the decimal
place to '0' and click "OK".
5.Now you will be able to see the expected format.
If you are using IE then the excel file that is being generated should be an XML file which would help with the formating issue. But when there is a problem in the generation of the XML file a CSV file is created instead.
The kind of problems that can cause this could be :
- Wrong version of Excel (professional needed)
- Error in encoding (note 1560243 corrects this)
- Active X Settings on browser are not properly setup or disabled
- Other problems (some fixed in note 1457261)
I hope this helps.
Br,
Lloyd -
How to Download displayed output to Excel Using Bsp Application
Hi Experts,
please give me some idea because I am New In BSP.
How to Download displayed output to Excel Using Bsp Application.
If any sample code please do send me.
In my condition I am getting data in 2-3 table view formats on one page and i want download that in Excel.
please help me.
Regards & Thanks,
YogeshHi,
This is more a question for the BSP forum.
Anyway, as such it's realy easy since you can use HTML in order to import to Excel. All you need to do is add
runtime->server->response->set_header_field( name = 'Contnet-Type'
value = 'application/vnd.ms-excel' ).
runtime->server->response->delete_header_field( name = 'Cache-Control' ).
runtime->server->response->delete_header_field( name = 'Expires' ).
runtime->server->response->delete_header_field( name = 'Pragma' ).
Also check threads like
Download BSP data into Excel
export bsp-table to excel
Export BSP Table to Excel
Eddy
PS. Reward useful answers and earn points yourself -
Formatting of EXCEL Sheets during download
Hi all,
There is a requirement for Formatting EXCEL Sheets when downloaded into an FTP site in background.
The internal table is saved in application server with .xls extension and transferred to FTP thru RFC.
is there any way to format this EXCEL file and get it formatted in FTP when it is seen.
The report will run in background daily and every day the report has to be in same format.
Thanks in Advance..
Vivek ..Hi
You can not format EL file that is uploaded. You have to format the internal table before generation XL file from the internal table. Internal table should have all fields in char type. set char length for each field like
data: begin of itab..
field1(20) type c,
field2(20) type c,
Append header record if u want into this itab as first record.
Append all records into this itab.
Generate XL file from this itab.
I suggest you that..
Upload this itab in to application server as 'DAT' format then generate XL file from this file. Dont set .xls when you upload itab to appl. server.
Bala
Note: Award points if helpful -
Excel export (webui crm -- excel) wrong format of house number
Hi,
in an excel export (webui crm ---> Excel) is displaying the wrong format.
If the house number contains a special character such as "/" then the house number displayed in the date format in Excel.
And if in the field house number is a number and a letter such as "9 a", then the house number is displayed in time format (9:00 am) instead the house number.
Does anybody know, how can I solve this problem?
Thank you in adance.
Best regards, JasminHi,
There is no error from the CRM functionality. If you SAVE the excel,instead of opening it directly and then " open with "
word pad or notepad, you can see the phone no.s and fax no.s are properly transported to excel.There is a default format setting of
excel from the Microsoft, so you are getting the default format after opening the excel.
Steps:
1.Export to excel.
2.Choose the BP,PHONE and FAX columns holding the 'CTRL'key.
3.Right click on the chosen columns and choose "format cells".
4.Under the tab "number" choose 'number' and and reduce the decimal
place to '0' and click "OK".
5.Now you will be able to see the expected format.
If you are using IE then the excel file that is being generated should be an XML file which would help with the formating issue. But when there is a problem in the generation of the XML file a CSV file is created instead.
The kind of problems that can cause this could be :
- Wrong version of Excel (professional needed)
- Error in encoding (note 1560243 corrects this)
- Active X Settings on browser are not properly setup or disabled
- Other problems (some fixed in note 1457261)
I hope this helps.
Br,
Lloyd -
Reg. Reports download into excel
Hello Everyone,
I have installed oracle Application server 10g (10.1.2.0.2) with webutill.
But while downloading data into Excel sheet it's through an error WUO-712 randomly due to which some of the data is missed out.
We have installed webutil 10.5 with forms and reports 10g.
Please suggest some solution for the same.
Please revert for the same ASAP.
Thanks in advance
Regards,
Ajinkyain report we are using local currency and parallel currency. one colum local currency and another colum parallel currency shwoing in report, but i transfer to excel shwoig following format.
account no local currency account no paraelll currency
we need following format in excel
account no local currency parellel currency
regards
JK Rao -
Excel dates export with wrong format.
When I exported an Excel Spreadsheet with several date columns, they displayed correctly but because of wrong formatting, they didn't sort right. The cell display was, for example, 2/7/2013 but Excel treated it as 7/2/2013 because it was assigning another country's formatting. some of the cells were formatted correctly, but about half of them were wrong and they were wrong in different ways. some were Argentinian, some Carribean, some European. Any ideas how to prevent this from happening?
Go to Sequence>Settings and in the lower left use load presets.
Anything that's in the HD in the sequence will have to be reset using the remove attributes function. If you have mixed media, strange things will happen.
Also use easy setup to change your preset so any future sequences you create will be in the correct format.
Maybe you are looking for
-
How do I create a new real instrument track?
I know this question sounds stupid, but i have plugged my m-audio fasttrack usb in and i have followed ALL of the instructions. now i can't seem to be able to hear my guitar through the computer speakers, and garageband isnt picking up a guitar signa
-
[Migrated from the Syclo Resource Center] prashanthi_vangala 01/03/2012 06:44, Hi,I am working on Agentry 5.4.0I have a list screen where for one of the columns I have a rule to display images ( I use checked and unchecked images ). Earlier the ima
-
I was given a Mac mini 1.66 Duo that was not working and thought I'd see what I could do with it. At the moment when I turn it on all it does is light up indicating it's getting power and I think I can hear the optical drive moving when I first turn
-
Hi, I Have to write a procedure which takes XML data and inserts into some tables. If the XML format is fixed then i can use extract function for parsing and can insert into the tables. But the problem is there is not fixed format for the xml. Are th
-
Wireless LAN Controller- WLAN/SSID
Can we assign the smae SSID to different VLANS on the wireless lan controller?