Data download in excel based on conditions
Hi ,
I need to download data in excel for selected months from report .
These are the following examples:
A. If on selection screen month is given 4 to 5, then data for 4 and 5 month should be downloaded in
excel and rest other month should'nt downloaded.
B. If on selection screen month is given 1 to 12, then data for 1 to 12 month should be downloaded in
excel( means all month data should be downloaded).
Please suggest me any logic.
Thanks in advance.
Have a good day!
Gaurav
Hi,
As far as my knowledge, below are the Suggestions.
1. You need to declare a special Excel download button(New) in the GUI status of your report.
2. handle the above Button Functionality in the User command of your ALV report.
3. For handling the data: In the User command,,,
Loop at the Final Output table, Inside the Loop, check for the entries in the Selection screen Month Entry & Filter the data into another Table.
4. Download the above data in to the Excel file by using custom Download FM's.
Ex: FM: GUI_DOWNLOAD
Note: Also use F4_FILENAME for asking the user for the Path to download excel file.
If this way of solution is Ok for you, Please revert me for any more Help.
Chaitanya...
Similar Messages
-
Report data download to excel file
Hi experts,
My requirement is report data download to excel file and that file should be an attachment to send email to specified people.
first i want to to download data to excel file and that file should be an attachment.
Regards
V.VenuHi venu,
Before posting the question, just search for the related query, more number of post has been posted related to your query,
any ways check this below links, it will solve your problem.
<<linkfarm removed>>
Cheers
NZAB
Edited by: kishan P on Jan 10, 2012 4:51 PM -
Issue with Data download to excel from ALV
Hi,
I am trying to download data to excel from ALV.
The number of records are 26000.
When I am trying to download I am getting an error displaying a pop up saying that
problems came up in the following areas during the load
TABLE
The log displayed is not clear.
I need to know the limitations while downloading to excel... I tried in SDN but of no use. I am using office 2007.
What is the max downloading limit(MB)
What must be the Length of line that can be downloaded.
RegardsHi ,
First check whether your ALV grid OUTPUT is Consistent or Not .
if there are any inconsistency then you need to rectify that .
for Checking COnsistency / Inconsistency .do following steps
1) execute ALV report
2) Press Shift+Mouse Right Button (Twice) in blank area of report
3) you will get result whether ALV is good or not .
regards
Deepak. -
hi all,
i am getting right output.But while downloading iam not
getting the data for name1 field from lfa1 table to be displayed & also while downloading the negative sign is not coming for the amount values.
Modify the below code.
REPORT zvenageing1 NO STANDARD PAGE HEADING
LINE-SIZE 300
LINE-COUNT 65(3).
TABLES DECLARATION
TABLES : bsik, "Accounting: Secondary index for vendors
bsak, "Accounting: Secondary index for vendors (cleared
items)
lfa1.
INTERNAL TABLE
DATA : BEGIN OF itab OCCURS 0,
saknr LIKE bsik-saknr,
lifnr LIKE bsik-lifnr,
name1 LIKE lfa1-name1,
umskz LIKE bsik-umskz,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
bldat LIKE bsik-bldat,
zfbdt LIKE bsik-zfbdt,
ageing TYPE i,
duedate LIKE itab-zfbdt,
zbd1t LIKE bsik-zbd1t,
waers LIKE bsik-waers,
wrbtr LIKE bsik-wrbtr,
pswsl LIKE bsik-pswsl,
dmbtr LIKE bsik-dmbtr,
sgtxt LIKE bsik-sgtxt,
shkzg LIKE bsik-shkzg,
END OF itab.
HEADER DETAILS
DATA : BEGIN OF itab_head OCCURS 0,
name1(20) TYPE c,
name2(20) TYPE c,
name3(50) TYPE c,
name4(20) TYPE c,
name5(20) TYPE c,
name6(20) TYPE c,
name7(20) TYPE c,
name8(20) TYPE c,
name9(20) TYPE c,
name10(20) TYPE c,
name11(20) TYPE c,
name12(20) TYPE c,
name13(20) TYPE c,
name14(20) TYPE c,
name15(20) TYPE c,
name16(20) TYPE c,
END OF itab_head.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_bukrs FOR bsik-bukrs,
s_saknr FOR bsik-saknr,
s_lifnr FOR bsik-lifnr.
PARAMETERS : p_date1 LIKE itab-zfbdt." value sy-datum.
SELECTION-SCREEN END OF BLOCK b1.
*p_date1 = sy-datum.
SET PF-STATUS '100'.
PERFORM head.
SELECT saknr lifnr belnr bldat zfbdt zbd1t waers wrbtr pswsl dmbtr
sgtxt shkzg blart umskz
INTO CORRESPONDING FIELDS OF TABLE itab
FROM bsik
WHERE bukrs IN s_bukrs
AND saknr IN s_saknr
AND lifnr IN s_lifnr
AND zfbdt LE p_date1
AND budat LE p_date1
AND umskz NE 'F'.
SELECT saknr lifnr belnr bldat zfbdt zbd1t waers wrbtr pswsl dmbtr
sgtxt shkzg blart umskz
FROM bsak
APPENDING CORRESPONDING FIELDS OF TABLE itab
WHERE bukrs IN s_bukrs
AND saknr IN s_saknr
AND lifnr IN s_lifnr
AND zfbdt LE p_date1
AND augdt GT p_date1
AND budat LE p_date1.
LOOP AT itab.
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_date1
i_datum_von = itab-zfbdt
I_KZ_EXCL_VON = '0'
I_KZ_INCL_BIS = '0'
I_KZ_ULT_BIS = ' '
I_KZ_ULT_VON = ' '
I_STGMETH = '0'
I_SZBMETH = '1'
IMPORTING
e_tage = itab-ageing
EXCEPTIONS
days_method_not_defined = 1
OTHERS = 2.
MODIFY itab.
CLEAR itab.
ENDLOOP.
LOOP AT itab.
CLEAR lfa1.
SELECT SINGLE name1 FROM lfa1
INTO (itab-name1)
WHERE lifnr = itab-lifnr.
IF itab-shkzg EQ 'H'.
itab-wrbtr = itab-wrbtr * -1.
itab-dmbtr = itab-dmbtr * -1.
ENDIF.
DATA : total(16) TYPE p DECIMALS 2.
total = total + itab-dmbtr.
itab-duedate = itab-zfbdt + itab-zbd1t.
WRITE : /2(10) itab-saknr,
12(10) itab-lifnr,
24(35) itab-name1,
61(1) itab-umskz,
70(10) itab-belnr,
82(2) itab-blart,
86(10) itab-bldat,
98(10) itab-zfbdt,
110(4) itab-ageing,
116(10) itab-duedate,
130(3) itab-zbd1t,
146(5) itab-waers,
152(13) itab-wrbtr,
166(5) itab-pswsl,
174(13) itab-dmbtr,
190(50) itab-sgtxt.
243(25) itab-xblnr.
AT LAST.
SKIP 1.
ULINE.
WRITE : /2 'GRAND TOTAL' COLOR 3,155 total COLOR 3.
ULINE.
CLEAR total.
ENDAT.
ENDLOOP.
FORM HEAD *
FORM head.
ULINE.
WRITE :/15 'V E N D O R O P E N I T E M S A S O N : ', p_date1
COLOR 3 INTENSIFIED ON.
ULINE.
FORMAT COLOR 2 INTENSIFIED OFF.
ULINE.
WRITE : /2 'RECON.A/C',
12 'VENDOR NO.',
24 'VENDOR NAME',
61 'SP.GL',
73 'DOC.NO',
81 'DT',
85 'DOC.DATE',
95 'INV.RCD.DATE',
109 'AGE DAYS',
119 'DUE DATE',
132 'CREDIT PERIOD',
148 'CURR',
156 'AMT.IN.DOC',
167 'LOC.CUR',
176 'AMT.IN.LOCA',
192 'TEXT'.
ULINE : /(300).
ENDFORM.
AT USER-COMMAND.
IF sy-ucomm = 'EXCEL'.
WHEN 'EXCEL'.
PERFORM downloadexcel.
ENDIF.
FORM DOWNLOADEXCEL *
FORM downloadexcel.
DATA : b_file1 LIKE rlgrap-filename.
REFRESH itab_head.
MOVE : 'REC A/C' TO itab_head-name1,
'VEN A/C' TO itab_head-name2,
'VEN NAME' TO itab_head-name3,
'SP G/L' TO itab_head-name4,
'DOC NO' TO itab_head-name5,
'DT' TO itab_head-name6,
'DOC DATE' TO itab_head-name7,
'INV.RCD.DATE' TO itab_head-name8,
'AGEING DAYS' TO itab_head-name9,
'DUE DATE' TO itab_head-name10,
'CR DAYS' TO itab_head-name11,
'DOC CURR' TO itab_head-name12,
'DOC CURR AMT' TO itab_head-name13,
'LOC CURR' TO itab_head-name14,
'LOC CURR AMT' TO itab_head-name15,
'TEXT' TO itab_head-name16.
APPEND itab_head.
CLEAR itab_head.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
def_filename = ' '
def_path = 'C:\'
mask = ',.,..'
mode = 'S'
title = 'Save this file as '
IMPORTING
filename = b_file1
RC =
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
codepage = 'IBM'
filename = b_file1
filetype = 'DAT'
MODE = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab_head
FIELDNAMES =
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_table_width = 4
invalid_type = 5
no_batch = 6
unknown_error = 7
gui_refuse_filetransfer = 8
OTHERS = 9.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = ' '
codepage = 'IBM'
filename = b_file1
filetype = 'DAT'
mode = 'A'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab
FIELDNAMES =
EXCEPTIONS
file_open_error = 1
file_write_error = 2
invalid_filesize = 3
invalid_table_width = 4
invalid_type = 5
no_batch = 6
unknown_error = 7
gui_refuse_filetransfer = 8
OTHERS = 9.
ENDFORM.hi Sanjeev,
Use GUI_DOWNLOAD in this way ..
DATA: W_WSD_FILENAME01 TYPE STRING,
W_WSD_FILETYPE01 TYPE CHAR10.
W_WSD_FILENAME01 = P_OUT1.
W_WSD_FILETYPE01 = 'DAT'.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
FILENAME = W_WSD_FILENAME01
FILETYPE = W_WSD_FILETYPE01
* APPEND = ' '
* WRITE_FIELD_SEPARATOR = ' '
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* 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 = ' '
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = ITAB_VBAK
* 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 ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Hi Friends,
I m using FM 'gui download' to download data into excel sheet.
everything gets downloaded in the proper format.
But the last column output gets compressed and
the result shows hash in output.
if i manually increase the column length, output is seen in the correct format.
But what i need to do is to download the data itself in the correct uncompressed form.
How can i do this ?
Please reply to my query.
Regards,
Sapna AgarwalHi Sapna,
need to handle the data from abap
code for the filed as below
1 and 14 are the length. at 14 give your field length
CONCATENATE '=REPLACE("' wa_zpp13-order_date '",1,14,"'
wa_zpp13-order_date '")' INTO lv_datetime1 . -
APEX Report Data Download in Excel and PDF format
Hi,
Can someone please guide me how to download APEX report data in Excel and PDF format.I know this is possible through BI Publisher but that is extra Licence cost for client so i don't want to use that option.
Thanks in advance.
Regards
Prabhat Mishra1005844 wrote:
Hi ,
Thanks for Reply,
I am using APEX 4.2 but when i am trying to download the IR data then getting 3 options only(CSV,HTML and Email).
PrabhatWell, Excel should understand the .csv format for offloads. Perform web seraches to see what can be done for pdfs -
Data download (for excel) ISSUE!
hi
i use GUI_DOWNLOAD function download inter table data generated xls format.
in inter table data have ID FIeld which consist of numeric!
example:
35000078297773587
when download the field will change:3.50001E+16
i want to avoid it!
in sap stardand provide a mothod:
run REUSE_ALV_GRID_DISPLAY function to display
data.
in REUSE_ALV_GRID_DISPLAY screen:
go to list>export>sprresheet
choice excel(in MHTML format) will download data what i want!
who know which function is executed in REUSE_ALV_GRID_DISPLAY .
or exist other method to solve this issue!
help!
thank you advance!HI
DATA:PLINE TYPE I,CLINE TYPE I.
REFRESH IT_S.
REFRESH: itab,GT_S.
CALL FUNCTION 'NAMETAB_GET'
EXPORTING
langu = sy-langu
tabname = itoper-tabname
TABLES
nametab = itab
EXCEPTIONS
no_texts_found = 1.
IF sy-subrc = 1.
MESSAGE 'STOP,CREATE TABLE ERROR' TYPE 'E'.
ENDIF.
DESCRIBE TABLE itab LINES pline.
LOOP AT <F_FS> ASSIGNING <F_FS5>.
CLEAR CLINE.
LOOP AT itab.
CLINE = sy-tabix.
ASSIGN COMPONENT itab-fieldname OF STRUCTURE <F_FS5> TO <F_FS6>.
IF SY-SUBRC = 0.
IF CLINE = 1.
WA_S = <F_FS6>.
ELSE.
CONCATENATE WA_S <F_FS6> INTO WA_S separated by con_tab.
IF CLINE = pline.
concatenate WA_S con_cret into WA_S.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
REFRESH IT_S.
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = WA_S
IMPORTING
LENGTH =
TABLES
FTEXT_TAB = IT_S
APPEND LINES OF IT_S TO GT_S.
APPEND WA_S TO IT_S.
ENDLOOP.
IF <F_FS5> IS ASSIGNED.
UNASSIGN <F_FS5>.
ENDIF.
IF <F_FS6> IS ASSIGNED.
UNASSIGN <F_FS6>.
ENDIF.
WHEN RUN:
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
TEXT = WA_S
IMPORTING
LENGTH =
TABLES
FTEXT_TAB = IT_S
Will dump out!
TYPES:S_STRING TYPE STRING.
DATA:WA_S TYPE S_STRING,
IT_S TYPE TABLE OF S_STRING WITH HEADER LINE,
GT_S TYPE TABLE OF S_STRING WITH HEADER LINE. -
Issue with data download to excel
Hi all,
iam downloading data from table to excel sheet.
when i see in the excel sheet i don't see the leading zero's
say if i have value in table as 0001234 but in excel when i download i see as 1234
instead i want it exactly it is in my table
this is the code
data : begin of it_heading occurs 0,
line(30) type c,
end of it_heading.
it_heading-line = 'ABC'.
append it_headING.
it_headING-line = 'XYZ'.
append it_headING.
call function 'WS_DOWNLOAD'
exporting
BIN_FILESIZE = ' '
CODEPAGE = ' '
filename = p_file
filetype = 'DAT'
mode = ' '
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_data
fieldnames = it_heading
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
if sy-subrc eq 0.
endif.
Thanks
KajolThe date field has nothing to do with the progarm, only with excel sheet. you can try increasing the length in the progam for the date field before pushing to excel and check it.
gui_download has got some extra features when compared to ws_download.
You can check this for some info
http://help.sap.com/saphelp_erp2005/helpdata/en/79/c554a3b3dc11d5993800508b6b8b11/frameset.htm
http://www.sapdevelopment.co.uk/file/file_otherpc.htm
WS_UPLOAD and WS_DOWNLOAD, the function modules used until now are not part of the standard set of ABAP commands. They are used to display the file interface on the presentation server. WS_UPLOAD and WS_DOWNLOAD are not compatible with USs and have been replaced by GUI_UPLOAD and GUI_DOWNLOAD.
The new function modules, GUI_UPLOAD and GUI_DOWNLOAD, have an interface that also allows you to write Unicode format to the local hard drive. For a description of these interfaces, refer to the documentation for each function module, available under SAP Easy Access " Development " Function Builder " Goto " Documentation.
Instead of using the function modules, you can use the static methods GUI_UPLOAD and GUI_DOWNLOAD of the global class CL_GUI_FRONTEND_SERVICES.
award points if it helps. -
Filling data into same itab based on condition.
hi to all
my problem is that i have a itab which has matner and mtart now i want to post the stock in the same itab .my query is as below
data : begin of it5 occurs 0,
matnrfg like stpox-idnrk,
matnrsf like stpox-idnrk,
mtart like stpox-mtart,
labst like mard-labst,
lbkum like mbew-lbkum,
labst_final like mard-labst,
end of it5.
if t_stb1-mtart = 'HALB'.
move t_stb1-idnrk to it5-matnrsf.
append it5.
SELECT labst FROM mard INTO
corresponding fields of table it5
WHERE matnr = it5-matnrsf and
lgort = 'A400'.
SELECT lbkum FROM mbew INTO
corresponding fields of table it5
WHERE matnr = it5-matnrsf.
it5-labst_final = it5-lbkum - it5-labst.
but it is not working can anybody help ,it is urgent plz .pointe will be rewarded
Message was edited by:
sarabjit kaurHi,
Create a temperory table as same as IT5 as IT5_temp.
data : begin of it5 occurs 0,
matnrfg like stpox-idnrk,
matnrsf like stpox-idnrk,
mtart like stpox-mtart,
labst like mard-labst,
lbkum like mbew-lbkum,
labst_final like mard-labst,
end of it5.
data : begin of it5_temp occurs 0,
matnrfg like stpox-idnrk,
matnrsf like stpox-idnrk,
mtart like stpox-mtart,
labst like mard-labst,
lbkum like mbew-lbkum,
labst_final like mard-labst,
end of it5_temp.
if t_stb1-mtart = 'HALB'.
move t_stb1-idnrk to it5-matnrsf.
append it5.
data : v_labst like mard-labst.
data : v_lbkum like mbew-lbkum.
SELECT single labst FROM mard INTO v_labst
WHERE matnr = it5-matnrsf and
lgort = 'A400'.
it5-labst = v_labst.
SELECT single lbkum FROM mbew INTO v_lbkum
WHERE matnr = it5-matnrsf.
it5-lbkum = v_lbkum.
it5-labst_final = it5-lbkum - it5-labst.
move it5 to it5_temp.
append it5_temp.
clear it5. "<<<<<<<< clear it5
All further needs you can use it5_temp.
a® -
Download to Excel with Header but one field data is repeating
Hi All,
I'm downloading to Excel with Header. But One field is repeating and another is not. This is happening only when I use 'CONCATENATE ' . With Out this key usage data download to excel is correct. But CONCATENATE is required as constant need to add before the one field.
My coding is as below.
DATA: BEGIN OF IT_FINAL OCCURS 0,
P1(10) TYPE C,
SI(19) type c,
END OF IT_FINAL.
DATA : BEGIN OF IT_HEADER OCCURS 0,
TITLE(100) TYPE C,
END OF IT_HEADER,WA_HEADER LIKE IT_HEADER.
loop at it_final.
CONCATENATE '894412' it_final-SI INTO IT_FINAL.
modify it_final.
endloop.
CLEAR:WA_HEADER.
WA_HEADER-TITLE = 'Mat No'.
APPEND WA_HEADER TO IT_HEADER.
CLEAR:WA_HEADER.
WA_HEADER-TITLE = 'Serial'.
APPEND WA_HEADER TO IT_HEADER.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = P_FILE " path offile where u need to download
TABLES
DATA_TAB = IT_FINAL
FIELDNAMES = IT_HEADER.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = P_FILE " path offile where u need to download
TABLES
DATA_TAB = IT_FINAL
FIELDNAMES = IT_HEADER.
Excel OUT PUT:
Mat No Serial
11Z52321 8944126000
11Z52394 8944126000
11Z52395 8944126000
Thank You,
Pranithahi,
it would have been better if u hve opt for creating workarea for ur internal table.
Try to use "clear it_final" after
CONCATENATE '894412' it_final-SI INTO IT_FINAL.
n also change the modify statement :
modify it_final transporting SI .
hope this will surely help you
Regards,
Punit
Edited by: punit raval on Aug 26, 2011 2:55 PM -
Data download from CRM from standard browser based transactions
This is, I'm afraid, rather a general question. I'm doing some R&D for a software development company (SAP Partner), and we're looking for a few use cases for where data is downloaded from CRM, specifically from browser based transactions. We're not interested in anything that downloads from ALV - we've got that covered. Our main concern is other download mechanism that might be available in standard CRM functionality.
If anyone can point to some use cases, involving data download from a browser front end (web dynpro, presumably), that would be very useful.Hello Matthieu,
As far as CRM7.0 is concerned (which is bsp-based) here are a few applications where users can download information from sap to local pc:
- Take any result list table and hit the "download to excel button".
- Start the "data import tool" that is available in UTIL_SALES business role, you'll be able to download an Excel file as well
- Click any link to attached documents to a business object (sales order transaction for example)
- Etc.
If you need help to start one of those application just let me know.
Regards
Nicolas. -
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 -
Download to excel using GUI_DOWNLOAD : Date format
Hi Gurus,
I am downloading the data from an internal table to excel file using FM gui_download. The date field in my internal table is in the format MM-DD-YYYY (stored as Char 10 field). But when it downloads to excel, the date format changes to MM/DD/YYYY. I want to keep original format of MM-DD-YYYY in excel.
Please help, sure points for helpful answers.
should i use FM gui_download only, or is there some Other useful FM.
Regards,
AbhishekHi,
Check the code below:
v_date = sy-datum.
IF v_date CA '/'.
REPLACE '/' WITH '-' INTO v_date.
ENDIF.
Regards
Kannaiah -
How to download the ALV Hierchial Tree Data to an Excel sheet.
Hi All,
Can any body please let me ,if there is any possibility to know How to download the ALV Hierchial Tree Data to an Excel sheet.
If yes, please let me know how could this can b acheived.
Regards,
Rohini.Hi Rohini
There is no such functionality provided by SAP to download ALV Tree Hierarichal Tree into excel sheet .
If you had this kind of senario then i can propose one solution create two radio buttons one is to display in ALV Tree Format and the other is classical report which you can download it for futher process
Regards
Hitesh Batra -
Stop download to Excel from converting string of digits & dashes into date
Hi,
How can I stop BI and Excel data from converting a column of string data that is comprised of numbers and dashes into a date format when it is downloaded into Excel?
I'd like to solve this problem in BI, so that any users can download the data from a BI report into Excel without having to change the Excel date column back into a string column.
Thanks,
DarcyHi Again Darcy,
hmmm... That is very interesting. I just tried on OBIEE 10.1.3.2 ( a version before yours) on Windows XP with Office 2003 and an Oracle 11g DB backend and it did not have any problems pulling the value as text and not a DATE
Can you try something for me? In a new report, add any old dimensional (year, month name, etc) field twice into the report and change the second column formula to be following: '7001-2'
Try to export that report and see if that value comes through as text or a date. If it is something about the SQL server data set, then the above test should come through as text object in your excel download because we aren't pulling it from SQL Server, we'll creating it directly in OBIEE. If the above test does come through as a date, then it should mean that SQL Server isn't the issue. And if that is the case, I am starting to wonder if there's a setting in Office to can be enabled/disabled to avoid any data casting.
Best regards,
-Joe
Maybe you are looking for
-
Yoga 3 Pro Touchpad "Momentum" or "Inertia"
The Yoga 3 Pro appears to use a Synaptics touchpad driver. I have used a Dell at work and an HP at home both using Synaptics touchpads as well as my wife's Toshiba Satellite. The device drivers for these offered "Momentum" which, once you get used to
-
HT204053 Using different Apple ID's. One for iCloud the other for purchase.
I created an Apple ID for iCloud and sut up my husbands Apple ID for purchase. When I set up my husbands iPhone I used his Apple ID for both. Why did all of my contacts upload to his phone?
-
Printing more than one greeting card at a time?
Does anyone know whether iPhoto 6 lets you print more than one greetings card at a time to save on postage? The postage changes for one type of card if you order 10 or more copies so I was wondering whether you could order 9 different cards (ie with
-
How do I connect my HP Laptop to Samsung TV
I have HP Laptop Pavilion zd8007ea, operating system Windows XP. I have Samsung 32" Flat screen TV which I wish to connect to. I have SVGA cable that connects PC to TV. When I select the source on the TV to PC, the screen in just blank, but if I then
-
What is the audio format and bitrate for the MixRa...
Regarding the MixRadio+ "high quality": What is the audio format (AAC/MP3/WMA/etc.) ? What is the bitrate (192/256/320kbps etc.) ? Thanks