Excel Download problem - Urgent please
Hi All,
I am using 4.6C version.
The user is downloading the ALV output to excel from the output menu
List > Save > File > Spreadsheet >
User tried saving a file to the Local drive and got a "Disk is full" error.
User realized that the export didn't complete (Partial download)
because there wasn't enough disk space to export the report.
User stated that if he had received an error message of some sort, he might have realized the problem.
He didn't receive any kind of errors.
User would like some kind of error message to come up in those situations.
Without an error message, he assumes the reports are acurate and trusts them.
<b>I have analysied and found a exit EXIT_SAPLGRAP_001 which triggres after the popup asking the file path. However this exit doesnot give me the file path</b>.
After this i think i can make use of the class CL_GUI_FRONTEND_SERVICES and method GET_FREE_SPACE_FOR_DRIVE and FILE_GET_SIZE to check for disk space full.
Kindly let me know how to get the file path given in the popup to get it in the exit EXIT_SAPLGRAP_001. Also there was no parameter id for the field.
Thanks for your help.
Senthil
Senthil,
"However in this case the sap didnot uses GUI_DOWNLOAD to download instead it uses download FM. "
What "download FM" is 4.6 using then?
The GUI_DOWNLOAD does check for a disk_full situation... I find it hard to believe that SAP made an oversight here.
I believe that the user is not telling the truth to you... or something else happened in that they have not conveyed to you.
Similar Messages
-
ALV Excel Download problem ( Special Character)
Hi,
I am unable to download completely in XLS format from ALV grid. When i tried in couple of ways there is a special character( " ) in one of the filed. Due to the same Excel download has some problem. I tested by removing those and it worked fine,
Please suggest me to solve the issue.
Thanks,
Bhanu Gattu,Data strings with special characters can not be downloaded into XLS format from ALV grid. In my case, I replaced the special character " with space and I could download the data into excel.
-
Hi,
I am trying to download ALV report to excel but the columns in the o/p is appearing in two rows.
THe ALV report has 82 columns in o/p.Is there any restriction on the no of columns that can be downloaded in excel.Please help.
Thanks,
Sutapa.Hi Sutapa,
Kindly go through this link below for ALV Excel Download:
Re: how to view alv grid output in excel format(not downloading to pc)
Hope it helps
Regrds
Mansi -
4 level masetr detail problem urgent please
hi all
i have page with 4 level master detail first as a form and other as tables my problem is when i click on a record at the last table the second table stop the partial triger so when i chose any record in table 2 it didnt change data in table 3 and data still as it in table 3 and 4 without changing i need to solve this problem very very urgent
please help me
Edited by: user554540 on 31/12/2009 11:34 صDo you have the partialTriggers set correctly on the 3rd and 4th level tables?
As an alternative, you could write a custom selection listener for table 2 and programmatically ppr the 3rd and 4th tables.. -
Hi Experts,
I display around 15 fields(columns) in ALV output. When I download it to Excel, it downloads exactly.
Then dynamically, when I increase the number of fields to be displayed in ALV it is displaying correctly. But when I download
to excel, half of the fields are coming in one line of excel sheet and remaining fields are coming in the second line of excel.
Why am I not getting all the fields in one line itself in the excel sheet?
Is it a problem in standard ALV?
I am using cl_gui_alv_grid class to display ALV output.
Thanks and regards,
Venkat.Hi!
Which function module you are using for downloading? -
ALV to excel download problem through standard tool bar
I am downloading data into excel from ALV , When there are 128 column data in execl coming as 2 row for 1 row of data in alv. This problem is not there for 78 columns report.
Kindly suggest some solution.i think there is a limit to the number of columns for ALV and which is i think 92 ..this can be the cause of the issue
amit -
Excel download problem :--- Header data duplicating in unexpected columns
Guys,
I am able to download the data onto Excel with Header data but the Header data duplicating in unexpected columns RHS upto all the line item columns below....Below is partial excerpt...
Please help....
DATA:
BEGIN OF excel_wa,
posnr TYPE vbap-posnr, "Line Item
matnr TYPE vbap-matnr, "Mat#
pmatn TYPE vbap-pmatn, "Pric Mat
zansicat TYPE zmarall-zansicat, "AnsiCat#
zansigrd TYPE zmarall-zansigrd, "Grade
zcurrvaltnarea TYPE zco002-zcurrvaltnarea,"Val Area
zcurrcstusd TYPE zco002-zcurrcstusd, "Cost$
zzbrndnm TYPE mara-zzbrndnm, "Brand
zqedscgrp TYPE zglbprc-zqedscgrp, "QE Disc Grp
mstav TYPE mara-mstav, "Status
prodh TYPE vbap-prodh, "Prod Heir
kwmeng TYPE vbap-kwmeng, "Qty
lprc TYPE konv-kbetr, "List Price ZBP1
sprc TYPE konv-kbetr, "Std Pric ZNAA,ZNAX
netpr TYPE vbap-netpr, "Quot price
mrgn TYPE konv-kbetr, "margin%
END OF excel_wa,
BEGIN OF sema_wa,
posnr LIKE ws-xxlt VALUE 'STRDFT',
matnr LIKE ws-xxlt VALUE 'STRDFT',
pmatn LIKE ws-xxlt VALUE 'STRDFT',
zansicat LIKE ws-xxlt VALUE 'STRDFT',
zansigrd LIKE ws-xxlt VALUE 'STRDFT',
zcurrvaltnarea LIKE ws-xxlt VALUE 'STRDFT',
zcurrcstusd LIKE ws-xxlt VALUE 'STRDFT',
zzbrndnm LIKE ws-xxlt VALUE 'STRDFT',
zqedscgrp LIKE ws-xxlt VALUE 'STRDFT',
mstav LIKE ws-xxlt VALUE 'STRDFT',
prodh LIKE ws-xxlt VALUE 'STRDFT',
kwmeng LIKE ws-xxlt VALUE 'N00ADD',
lprc LIKE ws-xxlt VALUE 'N02ADD',
sprc LIKE ws-xxlt VALUE 'N03ADD',
netpr LIKE ws-xxlt VALUE 'N02ADD',
mrgn LIKE ws-xxlt VALUE 'N00ADD',
END OF sema_wa,
BEGIN OF clhd_wa,
posnr LIKE ws-xxlt VALUE 'LineItem#',
matnr LIKE ws-xxlt VALUE 'Mat#',
pmatn LIKE ws-xxlt VALUE 'VC Mat#',
zansicat LIKE ws-xxlt VALUE 'AnsiCat',
zansigrd LIKE ws-xxlt VALUE 'Grade',
zcurrvaltnarea LIKE ws-xxlt VALUE 'ValnArea',
zcurrcstusd LIKE ws-xxlt VALUE 'Currency',
zzbrndnm LIKE ws-xxlt VALUE 'Brand',
zqedscgrp LIKE ws-xxlt VALUE 'QE disc',
mstav LIKE ws-xxlt VALUE 'Status',
prodh LIKE ws-xxlt VALUE 'Prod Heir',
kwmeng LIKE ws-xxlt VALUE 'Qty',
lprc LIKE ws-xxlt VALUE 'List Pric',
sprc LIKE ws-xxlt VALUE 'St.Disc',
netpr LIKE ws-xxlt VALUE 'Quote Price',
mrgn LIKE ws-xxlt VALUE 'Margin%',
END OF clhd_wa,
BEGIN OF hdtxt1_wa,
vbeln LIKE ws-xxlt VALUE 'Quotation#',
kunnr LIKE ws-xxlt VALUE 'Quote Date',
kvgr3 LIKE ws-xxlt VALUE 'Rep Date',
pltyp LIKE ws-xxlt VALUE 'Pric List Typ & Currency',
waers LIKE ws-xxlt VALUE 'Sold To',
knuma LIKE ws-xxlt VALUE 'Ship To',
datab LIKE ws-xxlt VALUE 'Top Parent',
datbi LIKE ws-xxlt VALUE 'Sales Org/Sales Dist/CPA',
note LIKE ws-xxlt VALUE 'Net Sales',
END OF hdtxt1_wa,
BEGIN OF hdtxt2_wa,
vbeln LIKE ws-xxlt VALUE '',"Quotation#',
kunnr LIKE ws-xxlt VALUE '',"Quote Date',
kvgr3 LIKE ws-xxlt VALUE '',"Rep Date',
pltyp LIKE ws-xxlt VALUE '',"Pric List Typ & Currency',
waers LIKE ws-xxlt VALUE '',"Sold To',
knuma LIKE ws-xxlt VALUE '',"Ship To',
datab LIKE ws-xxlt VALUE '',"Top Parent',
datbi LIKE ws-xxlt VALUE '',"Sales Org/Sales Dist/CPA',
note LIKE ws-xxlt VALUE '',"Net Sales',
END OF hdtxt2_wa.
DATA:
ivbap LIKE STANDARD TABLE OF ivbap_wa,
imat LIKE STANDARD TABLE OF mat_wa,
icurr LIKE STANDARD TABLE OF curr_wa,
ikonv LIKE STANDARD TABLE OF konv_wa,
ivbpa LIKE STANDARD TABLE OF ivbpa_wa,
ikna1 LIKE STANDARD TABLE OF kna1_wa,
iresult LIKE STANDARD TABLE OF result_wa,
*Excel tables
iexcel LIKE STANDARD TABLE OF excel_wa,
isema_wa LIKE gxxlt_s,
it_sema LIKE STANDARD TABLE OF gxxlt_s,
ihkey_wa LIKE gxxlt_h,
it_hkey LIKE STANDARD TABLE OF gxxlt_h,
iotxt_wa LIKE gxxlt_o,
it_otext LIKE STANDARD TABLE OF gxxlt_o,
iptxt_wa LIKE gxxlt_p,
it_ptext LIKE STANDARD TABLE OF gxxlt_p,
ivkey_wa LIKE gxxlt_v,
it_vkey LIKE STANDARD TABLE OF gxxlt_v.
*Field-Symbols
FIELD-SYMBOLS:
<vbap> LIKE ivbap_wa,
<vbpa> LIKE ivbpa_wa,
<mat> LIKE mat_wa,
<sema_wa>,
<clhd_wa>,
<hdtxt1_wa>,
<hdtxt2_wa>.
*Constants
CONSTANTS:
c_auart TYPE vbak-auart VALUE 'AG', "AG = Quotn
c_parvw1 TYPE vbpa-parvw VALUE 'AG',
c_parvw2 TYPE vbpa-parvw VALUE 'WE',
c_parvw3 TYPE vbpa-parvw VALUE 'ZT',
c_kappl TYPE konv-kappl VALUE 'V',
c_kschl1 TYPE konv-kschl VALUE 'ZBP1',
c_kschl2 TYPE konv-kschl VALUE 'ZNAX',
c_kschl3 TYPE konv-kschl VALUE 'ZNAA',
c_psize TYPE i VALUE 65535.
*& SELECTION-SCREEN.
SELECTION-SCREEN BEGIN OF BLOCK a WITH FRAME TITLE text-001.
SELECT-OPTIONS:
s_vbeln FOR ws-vbeln NO INTERVALS NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK a.
*& AT SELECTION-SCREEN.
AT SELECTION-SCREEN.
PERFORM validate_screen_entries.
START-OF-SELECTION.
PERFORM gather_quot_data.
PERFORM gather_mat_data.
PERFORM gather_ansi_data.
PERFORM gather_customer_data.
PERFORM gather_price_data.
PERFORM process_consolidate_data.
TOP-OF-PAGE.
PERFORM write_header_data.
PERFORM write_column_heading.
END-OF-SELECTION.
SET PF-STATUS 'XLS'.
PERFORM display_output.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'XLS'.
LOOP AT iresult INTO result_wa.
CLEAR excel_wa.
excel_wa-posnr = result_wa-posnr.
excel_wa-matnr = result_wa-matnr.
excel_wa-pmatn = result_wa-pmatn.
excel_wa-zansicat = result_wa-zansicat.
excel_wa-zansigrd = result_wa-zansigrd.
excel_wa-zcurrvaltnarea = result_wa-zcurrvaltnarea.
excel_wa-zcurrcstusd = result_wa-zcurrcstusd.
excel_wa-zzbrndnm = result_wa-zzbrndnm.
excel_wa-zqedscgrp = result_wa-zqedscgrp.
excel_wa-mstav = result_wa-mstav.
excel_wa-prodh = result_wa-prodh.
excel_wa-kwmeng = result_wa-kwmeng.
excel_wa-lprc = result_wa-lprc.
excel_wa-sprc = result_wa-sprc.
excel_wa-netpr = result_wa-netpr.
excel_wa-mrgn = result_wa-mrgn.
APPEND excel_wa TO iexcel.
ENDLOOP.
PERFORM set_up_xxl_structures.
PERFORM download_xxl.
WHEN OTHERS.
ENDCASE.
FREE: ivbpa, imat, ikna1, ivbap, ikonv, iresult, ws.
*& Form set_up_xxl_structures
text
FORM set_up_xxl_structures.
REFRESH: it_otext, it_sema, it_hkey, it_vkey.
CLEAR: result_wa, ivbpa_wa, it_otext, ws.
MOVE sy-repid TO ws-title-repid.
MOVE 'Section' TO ws-title-reppart.
WRITE sy-uzeit TO ws-title-uzeit USING EDIT MASK '__:__'.
MOVE ws-title TO ws-xxl-title.
READ TABLE iresult INTO result_wa
WITH KEY vbeln = s_vbeln-low.
READ TABLE ivbpa INTO ivbpa_wa
WITH KEY vbeln = s_vbeln-low
parvw = 'AG'.
CONCATENATE ivbpa_wa-kunnr '/'
ivbpa_wa-name1 INTO ws-soldto.
CLEAR ivbpa_wa.
READ TABLE ivbpa INTO ivbpa_wa
WITH KEY vbeln = s_vbeln-low
parvw = 'WE'.
CONCATENATE ivbpa_wa-kunnr '/'
ivbpa_wa-name1 INTO ws-shipto.
CLEAR ivbpa_wa.
READ TABLE ivbpa INTO ivbpa_wa
WITH KEY vbeln = s_vbeln-low
parvw = 'ZT'.
IF ivbpa_wa-kunnr EQ space.
CLEAR ivbpa_wa.
READ TABLE ivbpa INTO ivbpa_wa
WITH KEY vbeln = s_vbeln-low
parvw = 'AG'.
ENDIF.
CONCATENATE ivbpa_wa-kunnr '/'
ivbpa_wa-name1 INTO ws-tparent.
DO.
CLEAR: isema_wa, ihkey_wa, iotxt_wa, iptxt_wa, ivkey_wa.
ASSIGN COMPONENT sy-index OF STRUCTURE hdtxt1_wa TO <hdtxt1_wa>.
ASSIGN COMPONENT sy-index OF STRUCTURE hdtxt2_wa TO <hdtxt2_wa>.
IF sy-subrc <> 0.
EXIT.
ENDIF.
CASE <hdtxt1_wa>.
WHEN 'Quotation#'.
<hdtxt2_wa> = 'Quotation#'.
WHEN 'Quote Date'.
<hdtxt2_wa> = 'Quote Date'.
WHEN 'Rep Date'.
<hdtxt2_wa> = 'Rep Date'.
WHEN 'Pric List Typ & Currency'.
<hdtxt2_wa> = 'Pric List Typ & Currency'.
WHEN 'Sold To'.
<hdtxt2_wa> = 'Sold To'.
WHEN 'Ship To'.
<hdtxt2_wa> = 'Ship To'.
WHEN 'Top Parent'.
<hdtxt2_wa> = 'Top Parent'.
WHEN 'Sales Org/Sales Dist/CPA'.
<hdtxt2_wa> = 'Sales Org/Sales Dist/CPA'.
WHEN 'Net Sales'.
<hdtxt2_wa> = 'Net Sales'.
ENDCASE.
MOVE : 1 TO ihkey_wa-col_no,
sy-index TO ihkey_wa-row_no,
<hdtxt2_wa> TO ihkey_wa-col_name.
APPEND ihkey_wa TO it_hkey.
CLEAR ihkey_wa.
CASE <hdtxt1_wa>.
WHEN 'Quotation#'.
<hdtxt2_wa> = result_wa-vbeln.
WHEN 'Quote Date'.
WRITE result_wa-erdat TO ws-dat1.
<hdtxt2_wa> = ws-dat1.
WHEN 'Rep Date'.
WRITE result_wa-repdt TO ws-dat2.
<hdtxt2_wa> = ws-dat2.
WHEN 'Pric List Typ & Currency'.
CONCATENATE result_wa-pltyp '/'
result_wa-waers INTO <hdtxt2_wa>.
WHEN 'Sold To'.
<hdtxt2_wa> = ws-soldto.
WHEN 'Ship To'.
<hdtxt2_wa> = ws-shipto.
WHEN 'Top Parent'.
<hdtxt2_wa> = ws-tparent.
WHEN 'Sales Org/Sales Dist/CPA'.
CONCATENATE result_wa-vkorg '/'
result_wa-bzirk '/'
ivbpa_wa-kvgr3
INTO <hdtxt2_wa>.
WHEN 'Net Sales'.
<hdtxt2_wa> = result_wa-netwr.
ENDCASE.
MOVE : 2 TO ihkey_wa-col_no,
sy-index TO ihkey_wa-row_no,
<hdtxt2_wa> TO ihkey_wa-col_name.
APPEND ihkey_wa TO it_hkey.
ENDDO.
DO.
CLEAR: isema_wa, ihkey_wa, iotxt_wa, iptxt_wa, ivkey_wa.
ASSIGN COMPONENT sy-index OF STRUCTURE sema_wa TO <sema_wa>.
IF sy-subrc NE 0.
ASSIGN COMPONENT sy-index OF STRUCTURE clhd_wa TO <clhd_wa>.
IF sy-subrc EQ 0.
MESSAGE e193 WITH 'OFIL Structures out of synch-Contact IT'.
ENDIF.
EXIT.
ENDIF.
ASSIGN COMPONENT sy-index OF STRUCTURE clhd_wa TO <clhd_wa>.
IF NOT <sema_wa> EQ 'NOSHOW'.
ADD 1 TO ws-xxl-tabix.
MOVE: ws-xxl-tabix TO isema_wa-col_no,
<sema_wa>(3) TO isema_wa-col_typ,
<sema_wa>+3(3) TO isema_wa-col_ops,
ws-xxl-tabix TO isema_wa-col_src.
APPEND isema_wa TO it_sema.
IF ws-xxl-tabix LE ws-xxl-vrtkeys.
MOVE: ws-xxl-tabix TO ivkey_wa-col_no,
<clhd_wa> TO ivkey_wa-col_name.
APPEND ivkey_wa TO it_vkey.
ELSE.
ADD 1 TO ws-xxl-attcols.
MOVE: ws-xxl-attcols TO ihkey_wa-col_no,
10 TO ihkey_wa-row_no,
<clhd_wa> TO ihkey_wa-col_name.
APPEND ihkey_wa TO it_hkey.
ENDIF.
ENDIF.
ENDDO.
ENDFORM. " set_up_xxl_structures
*& Form download_xxl
text
-->P_IHQEXCEL text
FORM download_xxl. "TABLES iexcel STRUCTURE excel_wa.
DESCRIBE TABLE iexcel LINES ws-xxl-count.
ws-xxl-from = 1.
ws-xxl-to = c_psize.
DO.
IF ws-xxl-from GT ws-xxl-count.
EXIT.
ENDIF.
IF ws-xxl-to GT ws-xxl-count.
MOVE ws-xxl-count TO ws-xxl-to.
ENDIF.
ADD 1 TO ws-xxl-suffix.
MOVE ws-xxl-suffix TO: ws-xxl-name+6(2),
ws-xxl-title+36(2).
CALL FUNCTION 'XXL_FULL_API'
EXPORTING
n_vrt_keys = ws-xxl-vrtkeys
n_att_cols = ws-xxl-attcols
n_hrz_keys = ws-xxl-hrzkeys
data_starting_at = ws-xxl-from
data_ending_at = ws-xxl-to
filename = ws-xxl-name
header_1 = space
sema_type = 'X'
so_title = ws-xxl-title
TABLES
data = iexcel
hkey = it_hkey
online_text = it_otext
print_text = it_ptext
sema = it_sema
vkey = it_vkey
EXCEPTIONS
data_too_big = 1
file_open_error = 2
file_write_error = 3
inv_winsys = 4
inv_xxl = 5.
CASE sy-subrc.
WHEN 1.
MESSAGE e193 WITH 'dim_mismatch_data'.
WHEN 2.
MESSAGE e193 WITH 'file_open_error'.
WHEN 3.
MESSAGE e193 WITH 'file_write_error'.
WHEN 4.
MESSAGE e193 WITH 'inv_winsys'.
WHEN 5.
MESSAGE e193 WITH 'inv_xxl'.
ENDCASE.
ADD c_psize TO: ws-xxl-from,
ws-xxl-to.
ENDDO.
ENDFORM. " download_xxlHello Friend,
You can use GUI_DOWNLOAD FM to get the excel header if that's the only specific requirement.
[Download Excel including header |Download Excel including header;
Hope this helps.
BR,
Suhas -
Export JSP to Excel : Weird problem (Urgent)
Hi,
Sorry for the length of question.
I am facing a bit weired problem while exporting my JSP report to Excel.
I have multiple tables in my JSP page .( Use of Multiple tables is a requirement .).
I am using Struts and Oracle 9i JDeveloper for developement.
I have a button called "Excel" and on its click , I am opening the same JSP page in a pop up and passing reqd. parameters to it using querystring
( sometimes I am keeping the parameters into session as the length is loo large to fit into queryString. )
I am using
response.setContentType("application/vnd.ms-excel");
to transform my JSP page to Excel.
Sometimes, this works fine.
But, mant times this gives error such ( in Windows2000 Adv. Server ) as
"Memory could not be "read"."..with the tile of error-popup as "Excel.exe".
(In Windows NT , it never exports to Excel. Every time it gives "Dr. Watson Debugger" message box.)
In Windows2000 Adv. Server ,
While debugging, I observed that when I click on Excel button, the pop up opens and executes the page and again goes to the start of the page and executes again and thus tries to open the same Excel document.
As we know, we cannot open same Excel document twice. Hence it gives a popup alert that
" The file <filename with its entire path> could not be opened.
There may be several reasons :
You might be trying to open a file which does not exist.
You might be trying to open the file which is already open. ..."
etc.etc. and something like this.
Now, this is totally unpredictable. If I click Excel button, It may open the file in excel and on next try it would give error.
This is quite annoying. I searched on this forum, Google but could not find the solution yet.
I cannot use POI - HSSF . I cannot use userdefined Excel tags as well. as it will require a lot of reqork and unfortunately I don't have that much time now.
Please help me and let me know how would I be able to successfully and predictably export my JSP pages to Excel.
Thanks,
Swipsy.Hi,
Why don�t you save as attachment? (use -> <% response.setHeader("Content-Disposition", "attachment; filename=\"name.xls\""); %> scriplet )...
I�m doing the same work, but I have problems to export images to Excel by this method...
Someone could help me??
thanks a lot -
Keithley to excel interfacing problem ..Please help ! !
I am currently doing project on scanning the resistance from a keithley 2700 DMM for reliability testing of thermistors.
I got the resistance value using single measurement VI.
But what i need is everytime i invoke the keithley scan based on a counter signal ,it should give the resistance value.
And all these values should get saved in an excel file one after the other along with the cycle number.
The problem i encountered is that ,"after the trigger pulse is given to keithley 2700, it gives the output only after 5 seconds. So i am not able to interface the keithley with the table and i am not able to get the previous values."
I am attaching my current VI. Here i got the 2 required outputs, but i could not import them into excel one after the other.
Please help me.
NB: here i have considered a latched boolean switch as my counter signal.
Regards
Grugh Mike
Success is Everything !!
Attachments:
gurgh.vi 170 KBNo worries. The best way to learn is to just take a look at examples. You might not know exactly why the examples are the way they are, but it will still help a lot. When I look at the ni.com/idnet page for your DMM, I get this driver:
http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=0470C9F181C02E75E0440003BA7CCD...
This driver includes an examples folder--take a look through it, and especially look at "Keithley 27XX Continuous Multi Read". I think that may do what you need, or at least a lot of it.
As to the examples, look at those links in my last post. If they don't do what you want them do, check ni.com/community and see if you can find something similar. It really comes down to how much information you need to store.
Thanks,
D Smith -
Installation problem - urgent, PLEASE help!!
I'm trying to install Java3D and somehow it doesn't seem to be working. I'm not sure whether I should be installing the opengl or the
directx version, but I've tried both with no luck. I'm running Windows
M.E.
I downloaded the JSDK beta 1.4 version (I have previously tried also
with the 1.3 version, this didn't work either), and now have the
jdk1.3.1 as a folder on my C drive ( C:\jdk1.3.1) . Then I downloaded
Java3D from the website, onto C, as an executable file. When I clicked
it, it went through the installation process (not giving me any
options for where to install it, i was just clicking on 'next') and
seemed to complete ok, but I'm trying to test it by running the
helloUniverse demo, and the file isn't even there. There's a Java3D
folder which has been created in Windows, but this just contains a
folder called uninstall_info.
On my Java plug-in control Panel, it is currently set to 'use java
plug-in default'. The other options are to use JRE or JDK, in folders
Program Files\JavaSoft or JDK1.3.1 respectively. I don't know which
one I should be choosing! I think I tried it with the JDK option
before and that didn't work either.
If anyone can please help I'd be really grateful, this is getting
quite urgent!Hi there!
Well, try installing java3d in the same directory as ur java(which is c:\jdk1.3.1 for u).
If i am not mistaken, java3d, by default, installs in c:\jdk1.2.2 directory.
U also have 2 set the path and classpath in the autoexec.bat to addr to \bin and \lib sub-directories resp. -
Excel Download. "Urgent!!"
Hi....
My requirement is to download the contents (from an intenal table) to excel. I am using "GUI_DOWNLOAD" for this.
But the records are <b>greater than 65536</b> and does not fit in 1 excel sheet.
Please guide me on how to handle the count of excel sheets at run time.
Could someone please give a sample code for this.
Thanks!
Aarti.hi
good
you can take two sheet of excel .
go through this report and use GUI_DOWNLOAD for the same requirement
*& Report ZKRIS_EXCELUPLOAD_2SHEETS
report zkris_excelupload_2sheets.
value of excel-cell
types: ty_d_itabvalue type alsmex_tabline-value,
internal table containing the excel data
ty_t_itab type alsmex_tabline occurs 0,
line type of sender table
begin of ty_s_senderline,
line(4096) type c,
end of ty_s_senderline,
sender table
ty_t_sender type ty_s_senderline occurs 0.
constants: gc_esc value '"'.
include lalsmexf01.
type-pools ole2.
start-of-selection.
parameters: filename like rlgrap-filename.
parameters: st_rw_s1 type i.
parameters: st_cl_s1 type i.
parameters: st_rw_s2 type i.
parameters: st_cl_s2 type i.
parameters: ed_rw_s1 type i.
parameters: ed_cl_s1 type i.
parameters: ed_rw_s2 type i.
parameters: ed_cl_s2 type i.
data: it_data1 type ty_t_itab.
data: it_data2 type ty_t_itab.
data: it_data_wa like line of it_data1.
DATA DECLARATION
data: excel_tab type ty_t_sender,
excel_tab1 type ty_t_sender.
data: ld_separator type c.
data: application type ole2_object,
workbook type ole2_object,
sheet type ole2_object,
range type ole2_object,
worksheet type ole2_object.
data: h_cell type ole2_object,
h_cell1 type ole2_object.
data: ld_rc type i.
MESSAGE DEFINATION
define m_message.
case sy-subrc.
when 0.
when 1.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
when others. raise upload_ole.
endcase.
end-of-definition.
PARAMETER CHECK
if st_rw_s1 > ed_rw_s1.
raise inconsistent_parameters.
endif.
if st_cl_s1 > ed_cl_s1.
raise inconsistent_parameters.
endif.
if st_rw_s2 > ed_rw_s2.
raise inconsistent_parameters.
endif.
if st_cl_s2 > ed_cl_s2.
raise inconsistent_parameters.
endif.
class cl_abap_char_utilities definition load.
ld_separator = cl_abap_char_utilities=>horizontal_tab.
OPENING EXCEL FILE
if application-header = space or application-handle = -1.
create object application 'Excel.Application'.
m_message.
endif.
call method of application 'Workbooks' = workbook.
m_message.
call method of application 'Workbooks' = workbook.
m_message.
call method of workbook 'Open' exporting #1 = filename.
m_message.
call method of application 'Worksheets' = sheet exporting #1 = 1.
m_message.
call method of application 'Worksheets' = sheet exporting #1 = 1.
m_message.
call method of sheet 'Activate'.
m_message.
get property of application 'ACTIVESHEET' = sheet.
m_message.
MARKING OF WHOLE SPREADSHEET
call method of sheet 'Cells' = h_cell
exporting #1 = st_rw_s1 #2 = st_cl_s1.
m_message.
call method of sheet 'Cells' = h_cell1
exporting #1 = ed_rw_s1 #2 = ed_cl_s1.
m_message.
call method of sheet 'RANGE' = range
exporting #1 = h_cell #2 = h_cell1.
m_message.
call method of range 'SELECT'.
m_message.
Copy marked area (SHEET1) into Clippboard
call method of range 'COPY'.
m_message.
Read clipboard into ABAP
call method cl_gui_frontend_services=>clipboard_import
importing
data = excel_tab
exceptions
cntl_error = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
if sy-subrc <> 0.
message a037(alsmex).
endif.
perform separated_to_intern_convert tables excel_tab it_data1
using ld_separator.
Clear the clipboard
refresh excel_tab.
call method cl_gui_frontend_services=>clipboard_export
importing
data = excel_tab
changing
rc = ld_rc
exceptions
cntl_error = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
Working in Second Excel Work Sheet
call method of application 'Worksheets' = sheet exporting #1 = 2.
m_message.
call method of sheet 'Activate'.
m_message.
get property of application 'ACTIVESHEET' = sheet.
m_message.
Mark Sheet2
call method of sheet 'Cells' = h_cell
exporting #1 = st_rw_s2 #2 = st_cl_s2.
m_message.
call method of sheet 'Cells' = h_cell1
exporting #1 = ed_rw_s2 #2 = ed_cl_s2.
m_message.
call method of sheet 'RANGE' = range
exporting #1 = h_cell #2 = h_cell1.
m_message.
call method of range 'SELECT'.
m_message.
Copy Marked Area (Sheet2) into Clippboard
call method of range 'COPY'.
m_message.
Read Clipboard into ABAP
call method cl_gui_frontend_services=>clipboard_import
importing
data = excel_tab1
exceptions
cntl_error = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
if sy-subrc <> 0.
message a037(alsmex).
endif.
perform separated_to_intern_convert tables excel_tab1 it_data2
using ld_separator.
Clear Clipboard
refresh excel_tab.
call method cl_gui_frontend_services=>clipboard_export
importing
data = excel_tab1
changing
rc = ld_rc
exceptions
cntl_error = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
Leaving Application
call method of application 'QUIT'.
m_message.
free object application.
m_message.
loop at it_data1 into it_data_wa.
write:/ it_data_wa.
endloop.
skip 3.
loop at it_data2 into it_data_wa.
write:/ it_data_wa.
endloop.
reward point if helpful.
thanks
mrutyun^ -
Excel download problem.
Hi,
i have developed a report using Dynamic ALV, when i used to save the output to excel, data in the output is matched with the excel. while executing the report in SAP screen it works fine. i have used REUSE_ALV_GRID.for this.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_bypassing_buffer = 'X'
i_buffer_active = ' '
i_callback_program = lv_repid
is_layout = gs_layout
it_fieldcat = gt_fieldcat
it_sort = gt_sort[]
it_events = gt_event
TABLES
t_outtab = <dyn_table>
EXCEPTIONS
program_error = 0
OTHERS = 0.
is there any settings to be done in the excel or should we add any additional parameters for local file?
pointers for this will be helpful.
Regards,
DineshHi,
What is your problem ?
If you don't see anything in Excel after download :
In Excel
first step
- Menu : Tools ->Macros->scurity
go to tab Trusted Publishers and flag Trust acces to Visual Basic Project
second step
allow execution of macro
- Menu : Tools ->Macros->scurity
go to tab security Level and choise medium or Low
Rgds -
Ipod touch restore problem *URGENT PLEASE HELP*
Ok well I just inherited an Ipod touch from my friend who upgraded to a iPhone and it has a lock code, which I don't know. I called up my friend and asked him the code, he didn't know it of course... so i just guessed passwords and it said it was locked, I only have one more try until it locks permanently. So, I tried resetting it and it didn,t work. so i put it in recovery mode and it was gonna be ok, but my problem is I have slow dial-up internet and cannot re-download the software because my internet turns off randomly and it takes about 35 hours straight to download the 280MB, my other problem is that every time the download is disrupted, what itunes has already downloaded deletes itself and I have to start over from zero. I cannot fully download the software and have no access to hi-speed internet, I need a solution please otherwise im sitting here with a $300 piece of junk.
Just bring it over to your friends house and have him reset it for you. Then bring it to your house to put your music on it.
It is as simple as that. Too bad you have dial-up still. I use broadband and it is very fast.
Timothy Z. -
ZEN MICRO FIRMWARE DOWNLOAD PROBLEM! PLEASE SOMEONE HELP!!!
I've had my 6gb micro for a little over 2 wks..and i wanted to download the free 30 day Napster to go offer that came with my package..and one of the steps before downloading Napster was updating Zen Micro's firmware..well i tried and it downloaded and after it asked me to select my language, i got a message saying: "your player's not connected, please connect your player" and my mp3 was hooked up through the USB..so i tried reconnecting and it still said the same...so at this time i skipped over updating this firmware and downloaded my subscription to Napster anyway...everything was working fine..i was downloading songs in Napster and syncing them with windows media player 0 which i already had on my comp...but about 5 days ago, my syncs began to start failing often...and I'm sure that i need these firmware updates for my mp3 to transfer files successfully but the problem is that my mp3 is not being recognized every time i try to install these firmware updates.... I'm quite stumped at this point.....DOES ANYONE HAVE ANY HELP THEY CAN OFFER ME.. ID GREATLY APPRECIATE IT by the way the firmware version that came with my player and is currently on it is 2.20.05
The firmware version you have is fine for Napster tracks, so you don't need to update. If your transfers are failing, there's something else going on.
-
ALv to excel download problems
HI friends,
Probelm I'm facing while saving an ALV report to Excel Sheet by clicking
on the 'Save as File Icon' button on the ALV output.=0D
Here data is going into a new Line after 65 columns.I've used Function
Module 'RSAQ_ALV'.This function module is ultimately using
'REUSE_ALV_GRID_DISPLAY' and 'REUSE_ALV_LIST_DISPLAY' function
modules.ALV output I'm getting correctly but when I save this ALV output
to Excel,columns are getting wrapped and going into 2nd row after 65
columns.=0D
Could anybody tell me what could be the reason ?=0D
Thanks,
Sreekanth.G
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on Jul 9, 2010 12:36 PMch_alv_layout-info_fieldname = 'COLOR'. "infofield for listoutput
ch_alv_layout-colwidth_optimize = 'X'.
try commenting the above values.and also check the Fieldcatlog.
Check the issue similar issue was resolve by checking catalog and layout:
[ALV Issue solution|Re: Problem when export ALV.]
Regards,
Gurpreet
Maybe you are looking for
-
Problem: modal JDialog and keyListeners
I have some code like this: MyDialog extends JDialog { MyDialog () { super(someFrame, "", false); add(someComponent); someComponent.addKeyListener(listener); listener receives events just as I expect. Now I need to make a modal dialog and change fals
-
Basic connection of data of oracle express with oracle BPA suite
hello, by this means I ask for its aid to be able to solve the following problem, have oracle express edition and business process architect besides business process to publisher and need that both connect to the base of express edition, can help me?
-
Choosing a hard drive enclosure for iBook
I am looking to buy a cheap enclosure for the hard drive from my (wife's) g3 700 dual USB ibook that is now dead. What are the essential specifications that I need for an enclosure to work with this hard drive. It is the 20gb model, 2.5-inch Ultra AT
-
OLE2: Calling Microsoft Word from Forms
I am writing an Forms application which requires me to be able to open a Word template file; then replace the bookmarks in the template with data from an oracle database; then to save and print the Word document. I know I can do this using the OLE2 p
-
hi i'm using windows 7 and i can't run any game on my laptop whenever i install any game and run it a windows error message occur same as when a software crash during execution game(name of file ) has stopped working i have install my windows twice i