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,
Ajinkya
in 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
Similar Messages
-
Download the ALV Report output into excel sheet or notepad
Hi,
how to downlaod the alv report out into excel sheet or notepad in a proper manner. program contain large number records....
Thanks in advance!!!!
Regards,
kranthi.Hi
Download a report to excel with format (border, color cell, etc)
Try this program...it may help you to change the font ..etc.
Code:
REPORT ZSIRI NO STANDARD PAGE HEADING.
this report demonstrates how to send some ABAP data to an
EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_MAPL TYPE OLE2_OBJECT, " list of workbooks
H_MAP TYPE OLE2_OBJECT, " workbook
H_ZL TYPE OLE2_OBJECT, " cell
H_F TYPE OLE2_OBJECT. " font
TABLES: SPFLI.
DATA H TYPE I.
table of flights
DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
*& Event START-OF-SELECTION
START-OF-SELECTION.
read flights
SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
display header
ULINE (61).
WRITE: / SY-VLINE NO-GAP,
(3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
ULINE /(61).
display flights
LOOP AT IT_SPFLI.
WRITE: / SY-VLINE NO-GAP,
IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
ENDLOOP.
ULINE /(61).
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-007
EXCEPTIONS
OTHERS = 1.
start Excel
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-008
EXCEPTIONS
OTHERS = 1.
get list of workbooks, initially empty
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP.
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - start
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
PERFORM ERR_HDL.
tell user what is going on
SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - end
disconnect from Excel
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:\SKV.XLS'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM FILL_CELL USING I J BOLD VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'Bold' = BOLD .
PERFORM ERR_HDL.
ENDFORM.
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
Please note that this example maybe slow at filling the excel table
(perhaps four fields per second on a 900 MHz machine - almost 30 seconds
for a short example).
To get the data on properties and methods - there is a bit of smoke and mirrors
going on here; they are EXCEL properties and methods, not sap ones - so you need
to look at excel help to determine how a particular function is structured. then
build the block in sap, as shown in the example.
If you only want to transfer the data to Excel like when you transfer the data from
ALV to Excel simply use the Function Modules:
XXL_SIMPLE_API
If you want more modifications when you transfer it to Excel use:
XXL_FULL_API -
Downloading into excel file , the is alignment is out
The reports when downloading into excel file is not what we usually getting. The alignment is out.
Hi Basavaraj,
When you are creating dynamic internal table(itab1) and fields of internal table, at the same time in the same way create one more internal table(itab2) resrict this up to 10 columns.
now
DATA : num type i,
FNAME(255) TYPE C
VALUE '/data/sapdata/filename'.
CONSTANTS : C_COMMA TYPE C VALUE ','.
DATA : BEGIN OF I_DISPLAY OCCURS 0,
REC(400),
END OF I_DISPLAY.
loop at itab1
num = num + 1.
if num le 100.
move-corresponding fields to itab2
else.
exit.
endif.
endloop.
Give column headings
itab2-col1 = 'name1'
itab2-col2 = 'name2'
itab2-col3 = 'name3'
itab2-col4 = 'name4'
itab2-col5 = 'name5'
itab2-col6 = 'name6'
itab2-col7 = 'name7'
itab2-col8 = 'name8'
itab2-col9 = 'name9'
itab2-col10 = 'name10'
INSERT itab2 INDEX 1.
CLEAR itab2.
loop itab2.
CONCATENATE
itab2-col1
itab2-col2
itab2-col3
itab2-col4
itab2-col5
itab2-col6
itab2-col7
itab2-col8
itab2-col9
itab2-col10
into I_DISPLAY-REC SEPARATED BY C_COMMA.
APPEND I_DISPLAY.
CLEAR I_DISPLAY.
ENDLOOP.
OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE.
LOOP AT I_DISPLAY.
TRANSFER I_DISPLAY TO FNAME.
ENDLOOP.
CLOSE DATASET FNAME.
endloop. -
How to export report output into excel.
Hi all
how to export report output into excel sheet can any on give me answer step by step please as soon as possible
kkHi Prashanth,
If you are executing Query from WAD ---> Right click on Table (only on Characteristics Data) --> Enhanced Menu ---> Export as --> CSV file or MS Excel
assign points if this helps,
Thanks,
Sudhakar -
Reports 6i into Excel 97 vs 98, 2000 etc
Hi,
Can anyone give the official line on which version of Excel is supported against Reports 6i.
If I create a HTML report and import into Excel 97 the result is exceptionally poor. Nothing is aligned and it is all unusuable. However in Excel 2000 the HTML gets converted in a pretty decent fashion and my data seems to be well aligned despite a few easy to fix blank columns.
Our client only has Excel 97 and I need an answer urgently on the compatibility between the two products. Does the client need to upgrade or is there a better way to get the report data into Excel?
Regards,
JohnDear John,
Can u tell me how to import HTML report output into Excel ?
With brief steps.
U can reply me on [email protected] / [email protected]
Regards
Sudhir -
How we export report data into excel in report 10g
hi can any one tell me
how we export report data into excel in report 10g (except spreadsheet)We can use TEXT_IO Package
-
Convert report output into excel file
hiii,
Can we convert output of report into excel file format?
Plz tell me the.
Thanks in advanceHello,
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_paptoexcel.htm
29 Building a Report for Spreadsheet Output
Regards -
WUO-712 : Webutil Error while downloading 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,
Ajinkya
Edited by: Ajinkya on Nov 3, 2009 10:45 PMPlease reply for this thread.......:)
-
Chinese char disorder from SAP download into Excel
Hi all,
I used t_code PA30 to input one person name and the name is '燊'. But when I use customizing report to display and download the person information into Excel,
the display is ordinary and the person name is disorder in the downloaded excel.
the '燊' changed the interrogation mark.
But I use the customizing report to download the other information, that is ordinary.
I don't know the reason, and I hope everybody help me to resolve the error.
Thanks
Ma ChaoHi,
1. WS_DOWNLOAD is obsolete. use fm GUI_DOWNLOAD
For search and replace a character in string please check this code , may this will be useful to you
DATA : find(33) TYPE c VALUE 'xx_aa_yy_zz_xx_yy_yyb_yy_yybyy_1',
len LIKE sy-fdpos.
len = 1.
WRITE:/ find.
WHILE sy-subrc = 0.
SEARCH find FOR 'yy_' STARTING AT len.
CHECK sy-subrc = 0.
len = len + sy-fdpos + 1.
REPLACE '_' WITH '*' INTO find+len(1).
ENDWHILE.
WRITE:/ find.
aRs -
OBIEE 11G report download with excel 2000 is not working properly
Hi all,
The Analytics report download is not working properly in excel 2000.
This version is no longer supported?
Is any way to workaround this problem?
Cheers
Carlos PereiraHi,
which version r u using? until obiee11.1.1.5 its bug but solve it by workaround method . also the bug fixed in obiee.11.1.1.6
11700314 REPORT NOT EXPORTED FULLY INTO EXCEL WHEN DOWNLOADING FROM PAGES OTHER THAN 1
1) stop it all u r bi serivices then take a back of u original instanconfig.xml file then do the below changes
D:\Oracle\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1
instanceconfig.xml
just add below content then
<Views>
<Pivot>
<MaxCells>6500000</MaxCells>
<MaxVisibleColumns>100</MaxVisibleColumns>
<MaxVisiblePages>1000</MaxVisiblePages>
<MaxVisibleRows>65000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>500</DefaultRowsDisplayed>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DisableAutoPreview>false</DisableAutoPreview>
</Pivot>
<Table>
<MaxCells>6500000</MaxCells>
<MaxVisiblePages>1000</MaxVisiblePages>
<MaxVisibleRows>65000</MaxVisibleRows>
<MaxVisibleSections>25</MaxVisibleSections>
<DefaultRowsDisplayed>500</DefaultRowsDisplayed>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDelivery>75</DefaultRowsDisplayedInDelivery>
<!--This Configuration setting is managed by Oracle Business Intelligence Enterprise Manager--><DefaultRowsDisplayedInDownload>64000</DefaultRowsDisplayedInDownload>
</Table>
</Views>
Restart all u r bi services..
then test it out.
Thanks
Deva -
Function module to download into excel sheet in crm
Hi,
Needed the Function module to download the data from internal table into the excel sheet in the CRM
<b></b>use
FM :- GUI_DOWNLOAD
Example Code.
lv_file_name = 'c:abcd.xls'
*----Load Detail Report Data to Excel File
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = lv_file_name
filetype = 'DAT'
write_field_separator = 'X'
codepage = '4103'
TABLES
data_tab = lt_det_report
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
ENDIF.
IF sy-subrc <> 0.
* 202 : Error Occurred while writing data to the file.
MESSAGE e202(zusm_gen) .
EXIT.
ELSE.
WRITE :/ text-042 , lv_file_name.
ENDIF.
:- lt_det_report---> is table for storing data .
it can be any type
<b>Please Reward Points & Mark Helpful Answers</b>
To mark Helpful Answers ;click radio Button next to the post.
RadioButtons
<b>o</b> Helpful Answer
<b>o</b> Very helpful Answer
<b>o</b> Problem Solved.
Click any of the above button next to the post; as per the anwers
<b>To close the thread; Click Probelm solved Radio Button next to the post , which u feel is best possible answers</b> -
ChartView and FilterView are overlapping whenever I download into Excel
Hi,
I have a report with chart view as well as filterview resides at the bottom of the chart.
Whenever am trying to download the report into Excel the Filterview is over lapping on the Chart View.
Can you guys please suggest how can i overcome this.
Thanks in advance,
PramodThis an extract from Oracle metalink..
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
Applies to:
Answers, Interactive Dashboard - Version: 10.1.3.4.1 [1900] - Release: 10g
Information in this document applies to any platform.
Symptoms
When downloading reports that have multiple charts into Excel, the charts appear overlapping. The downloaded report(excel file) looks different from what it displayed in a dashboard.
Cause
There is a defect around downloading a request to excel that has multiple views on the report
This is as per a number of bugs already raised around this issue:
Bug 8825314: TABLE VIEW OVERLAPPED WITH CHART VIEW IN THE EXCEL SHEET
Bug 8478529: DOWNLOADED EXCEL SHEET HAS VIEWS THAT OVERLAP EACH OTHER
Bug 7700214: DOWNLOADING TO EXCEL OVERLAPS THE CHART WITH THE TABLE VIEW
Bug 7501223: DOWNLOADING TO EXCEL OVERLAPS THE CHART WITH THE PIVOT TABLE
Solution
The following bugs already raised to address this issue:
Bug 8825314: TABLE VIEW OVERLAPPED WITH CHART VIEW IN THE EXCEL SHEET
Bug 8478529: DOWNLOADED EXCEL SHEET HAS VIEWS THAT OVERLAP EACH OTHER
Bug 7700214: DOWNLOADING TO EXCEL OVERLAPS THE CHART WITH THE TABLE VIEW
Bug 7501223: DOWNLOADING TO EXCEL OVERLAPS THE CHART WITH THE PIVOT TABLE
Workaround at this stage would be to use download to html/powerpoint.
Hope this helps!
Regards.. -
Doubt on ALV report download to EXCEL
Hi All,
i have written a report with ALV_GRID FM, by default we get the option to download the output to excel. But when we click on the download to excel, it displays the output
in the frist page, but it also opens so many pages like
format, header, pivot,sub1,sub1....etc.
Pls. check the SAP standard report BCALV_TEST_FULLSCREEN, does the same thing when we do download to excel.
How can i avoid opening so many pages in excel?
Thanks for the help.
SekarHi ,
prabhu here , i think check the FM wheather u r passing all these to FM. for Excel keep export.param: --> i_save only and check.
regards
prabhu -
Report exported into excel contains garbage character but is good in PDF
Issue
Report exported via CrystalReportViewer (integrated via JSP) into Excel or Word format contains garbage characters.
Based on investigation, following observation was gathered:
1. CrystalReportViewer, PDF - Good
2. CrystalReportViewer, Excel - Bad
3. CrystalReportViewer, Others - Bad
4. InfoViewer, PDF - Good
5. InfoViewer, Excel - Good
6. InfoViewer, Others - Good
Software (Platform): BEA WebLogic Server (AIX/Windows) - Crystal Report Server (Windows)
Appreciate if anyone could provide any clue which part in the integration could have gone wrong.
Thank you.Another way that might work is to remove all extra characters and whitespace outside of the <% %> tags from the jsp page that contains the viewer.
e.g.
Not Correct
<% some code %>
<% some more code %>
Correct
<% some code %><% some more code %>
(Line feeds and whitespace count too)
Also - see this kbase article:
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=4595908&sliceId=&dialogID=17986169&stateId=1%200%2017984767
a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite -
WAD reports: download to excel
Hi,
When you download your report data to excel, is there some kind of option available so that the user cannot change the data inside the excel? Or some kind of thing in the document that states that this data is original/changed. Does such a mechanism exist that can say that the data is original when you download it via the web report?
Thanks in advance!
Tomas u said u r downloading the data to excel from wad
now the output is stored in excel and if user changes this data then this change will reflect at local pc of ur user
wat i meant to say is
lets say ur query is runing thru webtemplate ww
now ur user x download the query execution thru excel to his pc xx
now if user changes this excel it will only happen at his pc xx
now if user forwards this changed excel then and only then this change spreads
otherwise watever the query execution is going to be it will remain same at all pc's
in short user can change excel at their respective pc's
if it is assigned to u to send the downloaded excel from wad to different user communities
then after downloading u can secure the excel document
u can download say result aa on day 1
after downloading use Tools in tabs and then select Options and then in dialog box u can select Security and set the password to open the document, to change the document etc.
u can set password to edit the document
this way ur forwarded excel will not get changed
or if ur doubt is if user change data in excel dowloaded from wad , does it change data at infoprovider then the answer is NO.
the data at infoprovider will not be changed.
Maybe you are looking for
-
How can I pass a variable from Test Stand to CVI by reference
Hi! I can't to pass numeric or boolean variable from Test Stand (for example: FileGlobals.StopFlag) into the step (CVI function). Function prototype: void __declspec(dllexport) __cdecl PC2_WaitWhileResponceAppear(tTestData *testData, tTestError *tes
-
How to check MWA session details in Oracle Apps R12
I am an Oracle Apps DBA. Current Issue is that sometimes users working with the RF Guns(Scanners) through telnet in MWA servers got hanged. They ask to kill their sessions. I do not know how to find the MWA loged in users sessions details. What I am
-
I have a form where there is a table, and inside the table is a row for a Check box for "Sub to Sub", a row for Work performed by Sub-Contractor Description, a row for Original $$ Amount, and a row for Final $$ Amount Paid. The Original Amount and F
-
CAN ANYONE GUIDE ME HOW TO CHECK WARRENTY ON RUNNING HOURS OR KM BASIS FOR AN VEHICLE. FROM WHERE SYSTEM WILL PICK COUNTER READING IF I AM CREATING A MASTER WARRENTY ON COUNTER KM.
-
Download error 5000 when downloading the LP for the Lifehouse Deluxe Smoke
I've been having this problem for the pass couple of days. I have been in contact with itunes and they were unable to resolve my issue. Wondering if anyone here is having this problem or had it and was able to resolve it. So anyways I downloaded the