Downloading Problem - Dates
Hi All,
I am downloading a Project from MS Project with SAP R/3 ECC 6. When I download the duration is downloaded wrongly, like if i have given duration is 2 days in SAP and when i download it it becomes 4 days, due to which in MS Project the scheduling pushes the dates due to this wrong duration and my whole project dates are wrong.
Can anyone pls suggest me what is going wrong here.
Thanks,
Steve
Hi,
Please check the calendar which you are using. There is a high dependency on this and the calendars in both the systems should match.
Regards,
Sachin
Similar Messages
-
Facing a Problem while downloading the data from ALV Grid to Excel Sheet
Hi Friends,
Iam facing a problem while downloading the data from ALV Grid to excel sheet. This is working fine in Development server , when comes to Quality and Production servers I have this trouble.
I have nearly 11 fields in ALV Grid and out of which one is PO number of length 10 , all the ten numbers are visible in the excel sheet if we download it from development server but when we download it from Quality or Production it is showing only 9 numbers.
Can any one help me out in this case.hi...
if this problems happens dont display the same internal as u finally got.
just create new internal table without calling any standard data elements and domains... but the new internal table s similar like ur final internal table and move all the values to new int table.
for eg.
ur final internal int table for disp,
data : begin of itab occur 0,
matnr like mara-matnr,
end of itab.
create new like this,
data : begin of itab occur 0,
matnr(12) type N,
end of itab. -
Problem while downloading the data from servlet across SSL
Hi All,
I am trying to download the data with the help of servlet across https.
The below mentioned settings work fine if the application is on http.
httpservletresponse.setHeader("Cache-Control", "");
httpservletresponse.setHeader("pragma", "");
httpservletresponse.setContentType("application/text");
httpservletresponse.setHeader("Content-disposition","attachment;filename=Download"+dfileid+".txt");
But , if the application is on https the above settings is working fine if I am saving the file. But at the same time if I am trying to open I am getting the below error from Internet Explorer.
"Client( IE ) is trying to search the file from the local machine and showing an alert as listed below"
Alert from the browser
'C:\Documents and Settings\chalagen\Local Settings\Temporary Internet Files\Content.IE5\I9FGH0RI\Download196[1].csv' could not be found. Check the spelling of the file name, and verify that the file location is correct
If you are trying to open the file from your list of most recently used files on the File menu, make sure that the file has not been renamed, moved or deleted.
I have changed the options of Tools > Internet Options> Advanced > Do not save encrypted pages to disk.
Please do let me know the solutions for the above problem.
Waiting for response,
SonaShreehi...
if this problems happens dont display the same internal as u finally got.
just create new internal table without calling any standard data elements and domains... but the new internal table s similar like ur final internal table and move all the values to new int table.
for eg.
ur final internal int table for disp,
data : begin of itab occur 0,
matnr like mara-matnr,
end of itab.
create new like this,
data : begin of itab occur 0,
matnr(12) type N,
end of itab. -
Problem in Downloading the data in Excel..
Hi all,
In my report program iam getting output. In the output iam having one push button to download the data in excel-sheet.so here when i was download the data in excel sheet in one perticular column(assume D column) iam getting invoice text.
ex: Invoice text: This is good.
But that text is coming properly for some orders and for some orders it was not coming properly.(This is g).
Can any body Please tell me the way..
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 21, 2008 1:05 PMHi ,
Here i told know for some orders iam getting the invoice text:This is g.
when i click on this cell lots more data records all within that one cell. This is for only some orders.
Is there any way to resolve this problem. -
Some problem of download BSP data into excel using cl_bsp_utility= download
Hello Experts,
I have read the blog of thomas.jung for download bsp data into excel, and it's working correct, and after some try and error, now I can download the excel with multi sheets.It's all cool except one thing.....when I add a button on the standard screen of the supplier qualification of the slc to download the excel file, after the popinp up screen, the standard screen can't do any operation at all......there are no any error message and the downloaded file is all correct .
Does any one know what can I do?any ideas?
By the way, after some research, maybe the issue was caused by the setup of the button, but I don't know how to fix it...0rz
the standard code for buttton is
lv_id = mv_id && '>display'.
lo_edit_display_button = cl_thtmlb_button=>factory( id = lv_id
text = lv_button_text
tooltip = lv_button_text
enabled = 'TRUE'
onclick = lv_button_action ).
WHILE io_page_context->element_process( element = lo_edit_display_button ) = if_bsp_element=>co_element_continue.
ENDWHILE.
so I copy it and modify like this:
lv_id = mv_id && '>download'.
lo_download_excel_button = cl_thtmlb_button=>factory( id = lv_id
text = w_text
tooltip = w_text
enabled = 'TRUE'
onclick = /srmsm/if_ql_ext_ui_c=>ZC_ACTION_DOWNLOAD_EXCEL
WHILE io_page_context->element_process( element = lo_download_excel_button ) = if_bsp_element=>co_element_continue.
ENDWHILE. -
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 -
Download to Data option for Hyperlinks on Reports
Hi,
There is a column called OrderNumber which will display its values in the form of hyperlink. On Master Report Page, it is taken from a fact called Orders.OrderNumber which when clicked leads to Details Report on a new window where the value need to be passed to another factOrderDetails.OrderNumber. This was only possible by using Dashboard Url in the column formula field of Order Number. The problem is with Download Data option which shows hyperlink formula instead of value in that column.So the original value is lost. This doesnt happen when it is downloaded to Excel or Downloaded to Excel 2000.
Is there any possibility that when using Download to Data, the hyperlinks shows it values rather than formula of the hyperlink.Think about why Excel was created. In the old days, you could only pass data files in their simplest form and applications were need to parse the data. Text files, csv files, etc. were without format. Just data. Excel came along because people wanted all the formatting to go along with it, including being able to know what a hyperlink is. The files are larger because they include more information about the source file. Today, when passing Excel files are too large to do, one option that may still be available is to download in a csv file for the very reason that the file is smaller. It is smaller because you don't get any fancy stuff like nice formatting. But that is why your hyperlinks aren't coming across either.
If you want the hyperlinks, use Excel. -
How can I download the data to Application Server and Network Drive
Hi Experts
I am having problem with download the data to Application Server and Network Drive in back ground. its working in foregorund but not in back ground.please suggest me . Thanks for advance.
Thanks & Regards
RaghavaHi Experts
I am using like this
P_Back is a check box on the selection-screen.
it_fihrst_out-its internal table
sy-batch -Program is running in the background
IF sy-batch IS INITIAL.
IF p_back = 'X'.
OPEN DATASET file_01 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc = 0.
LOOP AT it_fihrst_out.
TRANSFER it_fihrst_out TO file_01.
ENDLOOP.
ENDIF.
CLOSE DATASET file_01.
CASE sy-subrc.
WHEN 0.
WRITE: / file_01, / 'successfully generated.'.
WHEN OTHERS.
WRITE: / file_01, 'Unexpected error occurred.'.
ENDCASE.
ELSE.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
filename = file_01
filetype = 'ASC'
TABLES
data_tab = it_fihrst_out
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_type = 4
no_batch = 5
unknown_error = 6
invalid_table_width = 7
gui_refuse_filetransfer = 8
customer_error = 9
OTHERS = 10.
CASE sy-subrc.
WHEN 0.
WRITE: / file_01, / 'successfully generated.'.
WHEN 2.
WRITE: / file_01, 'Output Error: File still open'.
WHEN OTHERS.
WRITE: / file_01, 'Unexpected error occurred.'.
ENDCASE.
ENDIF.
ELSE.
LOOP AT it_fihrst_out.
WRITE:/ it_fihrst_out.
ENDLOOP.
ENDIF.
This is the code . -
Error while download the data to an Excel sheet for ECC report from EP
Hi experts,
I had created a report program which will download the data to an Excel sheet using SAP OLE object
For this report i had created a tcode too. The report which i developed is perfectly working fine in SAPGUI. But if i download the data to an Excel sheet for the same report throught SAP EP.I am getting the error that "Error in excel downlaod"
I analyed by putting dubigg point and it throws exception while calling Function module.
The excpetion is " OLE object id not found".
Can any body gives a light on this why i'm not able download the excel in ep?
Thanks,
JBHello,
(by the way I came here to ask my question and is my first time visit but...)
The problem is obvious: How do you expect OLE handler can "touch" the local PC Excel through a web browser? I believe that is not possible. That means (at least for me) that I have to create the whole documents before I return them to the user. That is why I use XML Office documents generation or you can try to hack some Export to excel features of ERP reports.
Regards Otto -
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.
-
Downloading table data into Excel sheet - Webdynpro Java
Hi All,
We have developed a custom webdynpro application that executes an RFC and displays data in Table UI element. We have provided a button to download the data in excel sheet. When data is huge like, total number of rows filled up in the table are around 11,000 & columns are 32, and when user tries to download whole 11000 rows in excel sheet, the timeout occurs after 20 mins due to huge data. But when I apply filtering on the same table data and then try to download some 700 rows out of 11000 into excel, it took me around 3.36 mins.
If anyone encountered such scenario in past, please guide in this regard to speed-up the download to excel functionality or suggest any other alternative.
We are using 7.3 Portal and tableUtilities java class for export to excel functionality.
Thanks,
Amol.hi monica ,
sorry im not able to understand properly ,
The server don't restarts automatically when we uploading a huge data, onlly we open the file instead of save the file.
If we save the file the problem is that when we try to open this, the process can take hours and sometimes excel is blocked
you mean that after saving the file to your desktop , having huge data you are not able to open the file i.e the excel file. your file gets blocked or consumes more time to open the file ,
or else when you are prompted for saving or opening , on click of opening you are facing the problem ?
let me be clear with your part , here your application deals with uploading the data from webdynpro table to excel sheet and allowing the end user to save or open the file right .
Regards
Govardan Raj S -
Download organization data to Mobile
Hi,
I have problem for download organization data to Mobile (CDB). I maintain organization data by transaction PPOMA_CRM. I have 4 distribution channel '10', '20', '50' and '70'. I maintain default distibution channel at '20'.
But after I download organization data to Mobile via spro (tcode-CRMD_DOWNLOAD_OM). I used option 'initial'. I check data in SMOMITAREA , default distribution is still '10' .
Anyone can help me will be appreciated.
Regards,
CRM-MSA developer.Hi,
in case the sync between CRM org model and CDB table smomitarea is not working properly you better do the following:
- deassign the particular employee from the org model node, save
- run the sync report in Tx spro mentioned above (delta, not initial)
- check data in smomitarea for particular employee: should be empty now - but I am afraid that there still are some "waste" data
- reassign the particular employee to the org model node, save
- run the sync report in Tx spro mentioned above (delta, not initial)
- check data in smomitarea for particular employee: should be filled now (if the report has run successfully)
Regards,
Wolfhard -
** 6i Download problems - Product Management speaks **
Firstly on behalf of the 6i Product Management team let me appologise for the problems you have been experiencing with Technet and specifically with downloading 6i.
I watch this forum and answer questions time permitting whenever I can, this forum (along with comp.databases.oracle.tools and ODTUG) are monitored by Product Management.
You need to understand that Oracle is a very big company and that getting all the little parts to work seamlessly together sometimes doesn't work as well as it should, so please be assured that Tools PM is working as hard and as fast as it can to ensure that 6i is available for you to download.
I have made enquiries today to find out what is happening at Technet. This is a division of Marketing based out of the US HQ, the PM teams have no responsibility for the management or maintenance of this site, we merely monitor mail lists and post our new software when complete.
I am waiting for information on the action plan to resolve the performance and download problems being experienced by the Developer community.
In response to some of the comments posted about downloading
It is obvious that 6i has been out for a WHILEActually this is not true, it has been available for download for a while, but not orderable..
Product Release Point Dates:
(1)
Release to MFG - 24-MAR-00 (This date is used by engineering and is the start of the 16-week period for the 1st patchset.) THE PRODUCT IS NOT ORDERABLE YET.
(2)
Release to PRG - 14-APR-00 (This is the M&D hand-off date for the Tools CD Pack.) THE PRODUCT IS NOT ORDERABLE YET.
(3)
Between 6:00PM PST and midnight 27-APR-00 - R6i, Windows, was added to the Oracle Store and officially orderable.
I have seen many posted messages, iTARS, etc referencing the availability of downloading forms updates, availablity of getting patchesAs you will see from the information above, this is not possible, patch one for 6i will not be released until 16 weeks after 24-MAR-2000
How much do we have to pay and who do we have to kiss to get a freakin update from Oracle? As the author of this comment has a support contract, they will know that you do not automatically get updates for products for which you hold licences. You merely need to order the latest version of the CD. Your support Account Manager will be able to advise you how to do this.
Once again, please be assured that we value your time, effort and feedback and that we do watch this forum with great interest.
I hope you found this information useful.
Jason Pepper
Senior Product Manager
Oracle Enterprise Internet ToolsAs an update on the OTN performance problem I talked about earlier, I got some info from Global Ops
Customers are trying to download software from ftp.oracle.com, a server managed by the datacenter. The server is actually 2 servers (mirrored), with 1,400 connections (700 per machine). Bottom line is that ftp.oracle.com doesn't have enough connections to support the number of users trying to download Oracle products each day. Approval has been received for a dedicated OC3 pipe to the ftp server; it's believed this will boost the current capacity to 4-5 times what's there today.
Other improvement measures are being investigated.
Whilst this is being resolved, please consider ordering the CD which is free. I have just tested this and it worked for me ;)
Jason Pepper
Oracle Enterprise Internet Tools -
Downloading problem in background
Hi,
I have excuted report in background it created 989 pages the total records are 57000 the problem is while downloading the data in excel file it downloads only 580 recods How can i download all the dataHello,
How are you downloading the data in background? Are you writing to AL11 in background and then downloading the file manually to excel?
Vikranth -
Download problem from 'Z' table
Hi
I am facing very strange problem ,
I have created a 'Z' table and now it has 2800 records but when i download from data base it only get the 1627 records
What might me the problem ???
Technical Settings :
Data class APPL0 Master data, transparent tables
Size category 3 Data records expected: 7.700 to 31.000
then i tried other standard table to download from data base save as local file....which contains 5000 records so it get all the 5000 records
so in thisw case wat can be done ?
pls help me on this
regards
rajanDATA : IT_TAB TYPE STANDARD TABLE OF ZMM_OPENSEZ.
SELECT * FROM ZMM_OPENSEZ INTO TABLE IT_TAB .
DATA: LOC_FILENAME TYPE STRING.
LOC_FILENAME = P_FILE.
* CONCATENATE P_FILE '.XLS' INTO LOC_FILENAME.
CLEAR IT_FIELDNAMES.
REFRESH IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Client'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Start Date of Period'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Last Date of Period'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Plant'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Project Definition'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Material Number'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Valuation Type'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Valution Type Description'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'SerialNo'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'ITEM GROUP LONG TEXT'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'ANNEXURE NO'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'POST1'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Number of Material Document'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Posting Date in the Document'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Movement Type (Inventory Management)'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Material Description (Short Text)'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Account Number of Vendor or Creditor'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'NAME'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Unit of Entry'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Purchasing Document Number'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Unit Rate'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Opening Proj Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Opening Proj Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Opening CS01 Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Opening CS01 Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'RECEIPT QTY'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'RECEIPT AMT'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'ISSUE QTY'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'ISSUE AMT'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'TRANSFER QTY'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'TRANSFER AMT'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Consumed Return Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Consumed Return Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Contractor Return Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Contractor Return Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'CS01 Consump. Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'CS01 Consump. Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'CS01 Consump. Ret Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'CS01 Consump. Ret Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Work in Progress Qty'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Work in Progress Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Closing Stock with APL'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Total Closing Stock'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Total Closing Stock Amt'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'FINALUPDATE'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Modified By'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
IT_FIELDNAMES-STRING = 'Modified on'.
APPEND IT_FIELDNAMES.CLEAR IT_FIELDNAMES.
FILE_NAME = P_FILE.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
FILENAME = FILE_NAME
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = 'X'
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
* SHOW_TRANSFER_STATUS = ABAP_TRUE
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = IT_TAB
FIELDNAMES = IT_FIELDNAMES
* 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
IF SY-SUBRC = 0.
MESSAGE S229(ZMM).
ELSE.
MESSAGE S230(ZMM).
ENDIF.
it_tab contains 2800 records ..
Regards
Maybe you are looking for
-
Hi, I'm having problems with my Windows 7 OS. The problem is when I want to install OS. It appears when it tries to load hardware files it freezes. I tried to install several times but after cca 5th time I was able to install Windows 7. After 2 days
-
Newbie to JSP, Need to convert some ASP code to work for JSP
Can I get some aid in converting the following ASP code to work using JSP. I have never used JSP before but I now need to because of a recent server change. <% DIM URL URL = LCase(Request.ServerVariables("URL")) if InStr(URL, "/about/") then %> <p>Ab
-
How do I view/download my iCloud photos on my mac mini?
Mac Mini 2.26GHz Intel Core 2 Duo / 4Gb 1067 MHz DDR3 -- OSX 10.5.6 The photos are from my iPhone 4s I'm assuming I don't plug the iPhone into the computer because when I do -- nothing happens. Thanks, Fred
-
G4 imac problem- starts them dies!
I have managed to get the machine to boot , then before I can get into any settings it switches off. I can boot it into target mode OK.If I try to network boot it to reimage it won't make it through to the image select screen, any thoughts guys? G4 i
-
Show date variable in WAD Template.
HI, I want to be able to show the date variable in WAD template. To do this I used the info field web item. This web item has the option to show variables which is great, but unfortunatly for me it also shows all the other variables I am using. I ca