WAD 7.0 - Export into multiple excel sheets
Hello all,
I try to export an infofield (with filter values) and analyse table from WAD to excel. But after export both web items, infofield and analyse table, are in the same excel sheet. How can I export the infofield and analyse table in the different excel sheets?
I suppose, that the export will be executed on java-stack with java functionality. In WAD I can only define the parameters for the command "EXPORT". Is it possible to enhance this java coding?
May be, the export to multiple sheets is possible with Web Items "Javascript" or "Custom Extension" with ABAP-Class?
Best Regards
Julia
Thank you for your answer!
But I think this is not the solution for my problem.
I try to explain my problem again. I have a web template with filter, analyse table and infofield. The infofield contains the selected filter values. There is also a button for export into excel. In WAD 7.0 you have only to set several parameters for the export command and the export to excel works. However all web items will be transfered into the first excel sheet among one another.
Is it possible to export one web item into the first excel-sheet and the second web item into the second excel-sheet of the same excel workbook?
Best Regards,
Julia
Similar Messages
-
Export in multiple excel sheets
Hi,
I am using crystal XI and need to export in multiple excel sheets from crystal. How can I do that, please help me.
Thanks,
Sagarika.One of the 3rd-party Crystal Reports desktop schedulers listed at http://kenhamady.com/bookmarks.html allows you to burst a report so that each group level 1 becomes a separate excel worksheet in a single workbook. It also allows you to export a report to a worksheet inside an existing workbook.
-
How to spool data into multiple Excel sheet if result is more then 65k rows
Hi all,
Wann spool data into multiple excel sheet bocz my resultant no of rows are more then 65k.
Thanks to all in advance.....many choices
1) migrate to a newer version of Excel
2) split the files after spooling
for instance with split
split -l65000 file.txtor with perl, java, vb or what-so-ever
3) do more than one report by using rownum
spool f1
select empno,ename from (select rownum r,empno,ename from emp order by empno) where r<6 ;
spool off
spool f2
select empno,ename from (select * from (select rownum r,empno,ename from emp order by empno) where r<11) where r>5 ;
spool off
spool f3
select empno,ename from (select rownum r,empno,ename from emp order by empno) where r>10 ;
spool off -
Export to Multiple Excel Sheets
I would like to be able to export a report (or analysis) to multiple excel sheets.
I have 2 options, 'Answers' and 'BI Publisher'. Ideally I would like to use answers, but will use Publisher if necessary.
Is there an easy way to export reports to multiple excel sheets?Hi jitapong,
When a Web Intelligence document is exported to a Microsoft Excel Workbook, the export is handled by the Web Intelligence report engine. Excel is not required to be installed on the machine to execute the export. So, regardless of whether Excel 2003 , Excel 2007, or no Excel is installed, the export is performed using the parameters built into the report engine. This export is done in the Excel 97-2003 format.
A limitation of pre-2007 Excel is the inability to create a worksheet greater than 65,535 rows long. Excel 2007 overcomes that inability thus allowing users to create worksheets of much greater length.
Resolution:
Web Intelligence 3.1 versions overcome the 65,000 row limitation by exporting the document to multiple worksheets within the Excel Workbook. Each worksheet will be 65,535 rows long. For example, if a query returns 150,000 rows of data the resultant export to Microsoft Excel would produce a single workbook with 3 worksheets. 2 worksheets of 65,535 rows and 1 worksheet of 18,930 rows. This export is compatable with Excel 2003 and 2007.
Regards,
Chirag -
Generate Forms Output into multiple Excel Sheets
Hi,
I have a Forms 5.0 application which I am currently web-enabling. The application output is in Microsoft Excel. The output can span multiple sheets depending upon the parameters selected by the user. I am using text_io package to generate a html file with links and anchors for different sheets. Is it possible to generate multiple sheets directly in Excel using a text file.Thank you for your answer!
But I think this is not the solution for my problem.
I try to explain my problem again. I have a web template with filter, analyse table and infofield. The infofield contains the selected filter values. There is also a button for export into excel. In WAD 7.0 you have only to set several parameters for the export command and the export to excel works. However all web items will be transfered into the first excel sheet among one another.
Is it possible to export one web item into the first excel-sheet and the second web item into the second excel-sheet of the same excel workbook?
Best Regards,
Julia -
Download to multiple excel sheets in the backgraoud
Hi,
I am trying to download data into multiple excel sheets in the background. I was able to create comma delimited csv file in the server, which can be opened as excel file. This is good when it does not have more that one worksheets.
I have three internal table and to send these internal tables in different worksheets in the same excel file.
Is it possible to have multiple sheets excel file from the csv file?Check the following thread !!
Re: Downloading data into excel
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
Downloading data into multiple work sheets in excel
Hi All,
Could you please tell me the way of downloading data into multiple work sheets .
Now, we are downloading data into multiple excel files and after that copying all the excel file data in to different work sheets of the single excel manually.
So , here I want directly download the data into different work sheets of single excel file.
Regards,
Siddivinesh JoguHi,
Down load into three worksheets in one XL
REPORT ZKC_TEST1.
INCLUDE ole2incl.
DATA: w_cell1 TYPE ole2_object,
w_cell2 TYPE ole2_object.
*--- Ole data Declarations
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
gs_interior TYPE ole2_object, " Pattern
worksheet TYPE ole2_object,
h_cell TYPE ole2_object,
h_cell1 TYPE ole2_object,
range TYPE ole2_object,
h_sheet2 TYPE ole2_object,
h_sheet3 TYPE ole2_object,
gs_font TYPE ole2_object,
e_color TYPE ole2_object,
gs_italic TYPE ole2_object,
flg_stop(1) TYPE c.
** Internal table Declaration
DATA: BEGIN OF t_excel OCCURS 0,
MATNR type mara-matnr, "(18) type c,
ERSDA type mara-ersda, " (8) type c,
ERNAM type mara-ernam, "(12) type c,
LAEDA type mara-laeda, "(8) type c,
AENAM type mara-aenam, "(12) type c,
VPSTA type mara-vpsta, "(15) type c,
PSTAT type mara-pstat, "(15) type c,
END OF t_excel.
DATA: t_excel_bckord LIKE t_excel OCCURS 0 WITH HEADER LINE,
t_excel_bcklog LIKE t_excel OCCURS 0 WITH HEADER LINE,
t_excel_blkord LIKE t_excel OCCURS 0 WITH HEADER LINE.
data: wa_excel_bckord like line of t_excel.
TYPES: data1(1500) TYPE c,
ty TYPE TABLE OF data1.
DATA: it TYPE ty WITH HEADER LINE,
it_2 TYPE ty WITH HEADER LINE,
it_3 TYPE ty WITH HEADER LINE,
rec TYPE sy-tfill,
deli(1) TYPE c,
l_amt(18) TYPE c.
DATA: BEGIN OF hex,
tab TYPE x,
END OF hex.
FIELD-SYMBOLS: <fs> .
CONSTANTS cns_09(2) TYPE n VALUE 09.
ASSIGN deli TO <fs> TYPE 'X'.
hex-tab = cns_09.
<fs> = hex-tab.
DATA gv_sheet_name(20) TYPE c .
*---selecting into tables
select MATNR
ERSDA
ERNAM
LAEDA
AENAM
VPSTA
PSTAT
from mara into table t_excel_bckord
where pstat = 'KVELBCD'.
wa_excel_bckord-matnr = 'MATNR'.
wa_excel_bckord-ersda = 'ERSDA'.
wa_excel_bckord-ernam = 'ERNAM'.
wa_excel_bckord-laeda = 'LAEDA'.
wa_excel_bckord-aenam = 'AENAM'.
wa_excel_bckord-vpsta = 'VPSTA'.
wa_excel_bckord-pstat = 'PSTAT'.
INSERT wa_excel_bckord
INTO t_excel_bckord INDEX 1 .
select MATNR
ERSDA
ERNAM
LAEDA
AENAM
VPSTA
PSTAT
from mara into table t_excel_bcklog
where pstat = 'KVELBCDP'.
INSERT wa_excel_bckord
INTO t_excel_bcklog INDEX 1 .
select MATNR
ERSDA
ERNAM
LAEDA
AENAM
VPSTA
PSTAT
from mara into table t_excel_blkord
where pstat = 'KEBC'.
INSERT wa_excel_bckord
INTO t_excel_blkord INDEX 1 .
LOOP AT t_excel_bckord.
CONCATENATE
t_excel_bckord-MATNR
t_excel_bckord-ERSDA
t_excel_bckord-ERNAM
t_excel_bckord-laeda
t_excel_bckord-aenam
t_excel_bckord-vpsta
t_excel_bckord-pstat
INTO it
SEPARATED BY deli.
APPEND it.
CLEAR it.
ENDLOOP.
LOOP AT t_excel_bcklog.
CONCATENATE
t_excel_bcklog-matnr
t_excel_bcklog-ersda
t_excel_bcklog-ernam
t_excel_bcklog-laeda
t_excel_bcklog-aenam
t_excel_bcklog-vpsta
t_excel_bcklog-pstat
INTO it_2
SEPARATED BY deli.
APPEND it_2.
CLEAR it_2.
ENDLOOP.
LOOP AT t_excel_blkord.
CONCATENATE
t_excel_blkord-matnr
t_excel_blkord-ersda
t_excel_blkord-ernam
t_excel_blkord-laeda
t_excel_blkord-aenam
t_excel_blkord-vpsta
t_excel_blkord-pstat
INTO it_3
SEPARATED BY deli.
APPEND it_3.
CLEAR it_3.
ENDLOOP.
*--- start Excel
IF h_excel-header = space OR h_excel-handle = -1.
CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
ENDIF.
*--- get list of workbooks, initially empty
CALL METHOD OF h_excel 'Workbooks' = h_mapl.
SET PROPERTY OF h_excel 'Visible' = 1.
CALL METHOD OF h_mapl 'Add' = h_map.
gv_sheet_name = 'Back Orders'.
GET PROPERTY OF h_excel 'ACTIVESHEET' = worksheet.
SET PROPERTY OF worksheet 'Name' = gv_sheet_name .
*--Formatting the area of additional data 1 and doing the BOLD
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 50.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
SET PROPERTY OF gs_font 'Name' = 'Arial' .
GET PROPERTY OF h_cell 'Interior' = e_color.
SET PROPERTY OF e_color 'ColorIndex' = 35.
GET PROPERTY OF h_cell 'Font' = gs_italic .
SET PROPERTY OF gs_italic 'Italic' = 1 .
DATA l_rc TYPE i.
CALL METHOD cl_gui_frontend_services=>clipboard_export
IMPORTING
data = it[]
CHANGING
rc = l_rc
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Range' = range
EXPORTING
#1 = w_cell1
#2 = w_cell2.
CALL METHOD OF range 'Select'.
CALL METHOD OF worksheet 'Paste'.
gv_sheet_name = 'Backlog'.
GET PROPERTY OF h_excel 'Sheets' = h_sheet2 .
CALL METHOD OF h_sheet2 'Add' = h_map.
SET PROPERTY OF h_map 'Name' = gv_sheet_name .
GET PROPERTY OF h_excel 'ACTIVESHEET' = worksheet.
*--Formatting the area of additional data 1 and doing the BOLD
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 50.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
GET PROPERTY OF h_cell 'Interior' = e_color.
SET PROPERTY OF e_color 'ColorIndex' = 40.
CALL METHOD cl_gui_frontend_services=>clipboard_export
IMPORTING
data = it_2[]
CHANGING
rc = l_rc
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Range' = range
EXPORTING
#1 = w_cell1
#2 = w_cell2.
CALL METHOD OF range 'Select'.
CALL METHOD OF worksheet 'Paste'.
gv_sheet_name = 'Blocked Orders'.
GET PROPERTY OF h_excel 'Sheets' = h_sheet3 .
CALL METHOD OF h_sheet3 'Add' = h_map.
SET PROPERTY OF h_map 'Name' = gv_sheet_name .
GET PROPERTY OF h_excel 'ACTIVESHEET' = worksheet.
*--Formatting the area of additional data 1 and doing the BOLD
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 50.
CALL METHOD OF h_excel 'Range' = h_cell
EXPORTING
#1 = w_cell1
#2 = w_cell2.
GET PROPERTY OF h_cell 'Font' = gs_font .
SET PROPERTY OF gs_font 'Bold' = 1 .
GET PROPERTY OF h_cell 'Interior' = e_color.
SET PROPERTY OF e_color 'ColorIndex' = 45.
CALL METHOD cl_gui_frontend_services=>clipboard_export
IMPORTING
data = it_3[]
CHANGING
rc = l_rc
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD OF h_excel 'Cells' = w_cell1
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Cells' = w_cell2
EXPORTING
#1 = 1
#2 = 1.
CALL METHOD OF h_excel 'Range' = range
EXPORTING
#1 = w_cell1
#2 = w_cell2.
CALL METHOD OF range 'Select'.
CALL METHOD OF worksheet 'Paste'.
*--- disconnect from Excel
FREE OBJECT h_zl.
FREE OBJECT h_mapl.
FREE OBJECT h_map.
FREE OBJECT h_excel.
Thanks,
Krishna.. -
VF05 report screent to be copied into formated excel sheet
I would like to copy the VF05 Report screen into formatted excel sheet.
on the output screen of VF05 report, I tried settings-> Display variants: here i have selected the layout, but the data could not copied into this layout
Please help me how this can be done.
VERY URGENThello, friend.
as i understand, you want to export the data from VF05 to an excel file. if this is correct, do the following...
first exectue VF05. input the necessary data (payer, material, date ranges, billing type, etc.)
on the next screen, on the menu go to LIST > SAVE > FILE. chosse "Spreadsheet" and ENTER. specify where you want to save the file, the title and the file type (EXCEL file). click "Generate".
now, on your PC, click on the file that you saved. you will now get your report in Excel format.
hope this helped you.
regards.
jty -
How to uplaod multiple excel sheets in a program
Hi gurus,
Can anyone suggest me
how to upload multiple excel sheets in program.( not in OOPS)
my excel sheets has 5 sheets like sheet1, sheet2, sheet3 ....like this..
Thanks & Regards
kalyan.swc_container it_event_container.
swc_create_container it_event_container.
CALL FUNCTION 'SWW_WI_CONTAINER_READ'
EXPORTING
wi_id = wd_id
TABLES
wi_container = it_event_container
EXCEPTIONS
container_does_not_exist = 1
read_failed = 2
OTHERS = 3.
if sy-subrc = 0.
READ TABLE it_event_container WITH KEY element = 'name of your workflow container element'.
IF sy-subrc = 0.
w_variable= it_event_container-value.
ENDIF.
endif.
Regards
Kedar -
OBIEE Export to Predefined Excel Sheet
Hi,
When we export the analysis to Excel, OBIEE creates a new spreadsheet. Is there any way that we can force OBIEE to export report in a predefined cell of a spreadsheet which is already saved in a particular location?
--MHNo i dont think you can do that. take an example of 3 users across different parts of the world. So when user tries to export the report to excel it will open a new excel sheet with the report data in it which might be latest. But here you are trying to use the same excel sheet which is stored at some different location and embed the new populated data into the excel sheet. thats not gonna work for sure.
-
Problem while exporting data to Excel sheet.......
Hi
I have written the following code to export data to excel sheet...
data:
conv_out TYPE REF TO cl_abap_conv_out_ce,
content TYPE xstring.
data : itab_slsrl type table of znslsrlitm.
data: xml_out TYPE string.
Data:
Node_slsrl type ref to If_Wd_Context_Node,
Elem_slsrl type ref to If_Wd_Context_Element,
Stru_slsrl type ref to if_wd_context_element .
call transformation ('ID') source tab = itab_slsrl[] result xml xml_out.
CALL FUNCTION 'CRM_IC_XML_STRING2XSTRING'
EXPORTING
INSTRING = xml_out
IMPORTING
OUTXSTRING = content.
conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
DATA: lv_filename TYPE string.
conv_out->convert( exporting data = xml_out IMPORTING buffer = content ).
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'Sales_order_release.xls'
i_content = content
i_mime_type = 'application/msexcel'
i_in_new_window = i_in_new_window
i_inplace = i_inplace ).
But when i am trying to export data to excel sheet i am getting
following error...
"Switch from current encode to specified encoding is not supported"
"<?xml version="1.0" encoding='utf-16"?>"
if i change encoding utf-8 to utf-16 in my code its giving dump..
"The conversion of certain code pages is not supported"
Did i miss any step...?
How to resolve this problem please help me....
Thanks & Regards
Sowmya.....Hi Sowmya,
I do had a similar issue, but I avoided that problem temporarily by commenting the following code.
l_conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
attach the first file
l_conv_out->convert( exporting data = l_xml_out IMPORTING buffer = l_content ).
Once this is done, you can export the data to Excel and open it and see too...But this is a temporary solution only. Implement this solution to get to understand more flaws of this.
Regards
Raja Sekhar
Edited by: Raja Sekhar on Dec 26, 2007 7:51 PM -
How to save each section report into different excel sheet?
Hi all
How to save each section report into different excel sheet?
I have a report in which there are 4 sections north south west east now i need to save north in excel sheet 1 , south in sheet2, west in sheet3, and east in sheet4. under each section there is list report.
Please let me know is it possible are not if possible let me no the procedure to be followed.
Thank youIf you're running XI 3.1 you might be able to solve this as follows.
1. Create four users: east, west, north, south
2. Create a profile that filters on the variable you used for the section/break
3. Publish the report
3.1 Set users created above to be the enterprise recipients
3.2 Add personalization (the profile created above)
3.3 Check the Deliver objects to each user in Destinations
(3.4 You could use %SI_OWNER% to get a nice suffix to the report name)
This should cause four reports to be created, each with its own "personalized" contents. -
Hi Experts,
How i want to add multiple excel sheet in Xcelsius using liveoffice in single canvas.Hope i will expect good from you
Regards,
surigsHi Surigs,
Could you clarify what exactly you need? Do you mean adding multiple sheet? If yes, you can insert multiple sheet in the excel and add live office document.
Thanks,
Amit -
Error in importing multiple excel sheets to SQL Server
I have a package which imports multiple excel sheets to SQL server using a For each Container. However I am getting the following error message "Excel Source failed validation and returns validation status "VS-NEEDSNEWMETADATA".
Can you please advise me of the steps to potentially resolve this issue ?
Many thanks
ScottHi Scott,
Based on your scenario, you need to implement dynamic columns mapping which is not natively supported by managed source/destination adapters. To achieve dynamic columns mapping, we need to make use of Script Component to parse the input columns and dynamically
map them to the destination columns.
References:
http://munishbansal.wordpress.com/2009/06/09/dynamic-columns-mapping-%E2%80%93-script-component-as-destination-ssis/
http://blog.quasarinc.com/ssis/best-solution-to-load-dynamically-change-csv-file-in-ssis-etl-package/
http://stackoverflow.com/questions/13836874/script-task-in-dft-doesnt-get-excecuted
Regards,
Mike Yin
TechNet Community Support -
Loading Multiple excel sheets in to different tables in a DB
Hi All,
I have problem in loading multiple excel sheets data in to according to that excelsheets tables in a DB.
All the excel sheets are in a folder,from that folder i have to acces all excel sheets.
For this i am unsing script task and one dataflow task.
But the error is coming in script task i am not able to put the path in the script..
Is this the correct way to do like this? Or any other way?
Can u please tell me the solution for this..Thanks in advance who are responding to this mail...
Maruthi..Hi Vipin,
Here you go with this requirement
How to Load Multiple Sheets From Multiple Excel Files to Different Tables in SSIS Package?
ttps://www.youtube.com/watch?v=1WXKpkwjhX8&feature=youtu.be
I have other videos as well where you want to load all the sheets from file/s to same table
https://www.youtube.com/watch?v=F3sYO-S9icc&feature=youtu.be
Check out the last links on below links all related to Excel
http://sqlage.blogspot.com/search/label/SSIS%20Videos
How to Create Excel file with Date-time on Each Package Execution in SSIS Package?
How to Load Multiple Sheets to a SQL Server Table in SSIS Package?
How to Load Data Excel File to SQL Server Table and Solve Data Conversion Issues?
How to Load Multiple Sheets From Multiple Excel Files to Different Tables in SSIS Package?
How to Load Data to Pre-Formatted Excel Sheet (Excel Report) in SSIS Package?
All the best!
http://sqlage.blogspot.com/
Maybe you are looking for
-
Hard drive not recognized anymore
I have a 500gb My Book Pro from Western Digital connected to my iMac and it's disappeared. It worked fine before I upgraded to Leopard (the drive stopped appearing 4 days after installing Leopard). Now I can't reach any data in there. I've tried shut
-
how do we call an open dialog box when i press F4 in text field to select a file in the hard disk and the selected filename should be placed in the text field
-
How do I move my iTunes Music to an external hard drive? Please help!
I bought an external hard drive and moved the iTunes Music folder from my local hard drive to the external hard drive and now the iTunes library appears empty. I moved all my music back into the local hard drive and the libarary is now full full of m
-
Two hard drives with exact same files showing different sizes
I have two WD external drives, one which I'm trying to dedicate solely to Time Machine backups. In transferring data from the one I intend to use for that purpose to the other, I'm finding that all the files transferred but that the folders register
-
I am creating a Pages document with pictures inserted into the script. Some pictures are fine but some keep converting to a grey envelope that says placeholder. When saving the document a little box comes up with a list of images that cannot be saved