Download option in table
Hai,
I have a table UI element populated with values.
I have to download the contents thro excel file. I dont want to do in alv.
pls give some suggestions
Hi
You can use the following code to download the data.
CALL METHOD CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE
EXPORTING
I_FILENAME = 'test.xls'
I_CONTENT = lv_name
I_MIME_TYPE = 'XLS'
if you want to download some slected rows then you can read the selected rows of table. otherwise put the all data in internal table and downlaod with above method.
Regards
Naresh
Similar Messages
-
Table HRLDAP_PERNR - delta download option
Executing RPLDAP_EXTRACT_IDM with 'delta download' option does not
work. The HRLDAP_PERNR table does not get populated after a new hire
(new pernr creation).
I have run initial loads for a couple of business areas. I am also
able to run RPLDAP_EXTRACT_IDM when I specify pernrs. Now would
like to schedule the report as a job with delta download option to pick
all pernrs since the last run. But since the HRLDAP_PERNR table is not
not populated, the extract program does not pick anything.
Any ideas?
Thanks for taking the time.
Thanks
ShabnaHi Shabna,
i am using IDM 7.1 SP05 patch 1 with ECC 6.0 Ehp 4 which is what is needed.
I am doing the initial extract no problem, but the delta mode does not work.
I checked and the badi HR_LDAP_EXTRACT_PA is active but i am still getting the same error you are getting :
No personnel number found for Delta extraction.
Can you please give me some more details how you fixed yours.
Thanks in advance
Lahcen -
Downloading an internal table to presentation server from WebUI
Hi All,
We have a requirement to download an internal table as a CSV file from CRM 7.0 WebUI to the presentation server. The file path is fixed, so the user need not choose the download location. The data to be downloaded is not part of any view on the WebUI and is being collected through code from several context nodes.
We have looked at CL_BSP_UTILITY, which is not solving our purpose, as the prepared data stream gets over written by CRM 7.0 framework during execution.
Any suggestions on how we can achieve the functionality?
Regards,
MugdhaHi,
If you need to provide download window via the browser, check out this wiki - [http://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=187336093&version=6] . If you want to directly write to the presentation server, you have th efollowing ways. If you submit a report in background, you have the option of using CL_GUI_FRONTEND_SERVICES. Otherwise you can check out using a combination of javascript and activex objects ( [http://www.codingforums.com/showthread.php?t=136906] ).
Regards,
Arun Prakash -
PDF download option to be enabled
Hello All,
I am new to ISA development, and need your detailed help and advice on the requirement. Please note that I am working on ISA R3.
The requirement is to have a pdf download option on the orderstatusdetail.jsp . From backend, I am being given a RFC with binary format output in a table to accomplish this.
Please tell me how to proceed ahead.
Thanks & Regards,
VibhaNot sure if you are still waiting for an answer. Below details:
1. Add a link on your jsp to call an action
2. Implement action, bo, bo implementation, backend classes with corresponding methods and parameters
3. In your backend class call the fm to get the xstring data, convert to byte array and pass it all the way back to your action
4. Now with the byte array open a pdf file using mime type application/pdf
5. reply back if you get stuck
pradeep -
How do I block the download option on photos in my iWeb site?
I am an artist and have posted lots of photos of my art in my iWeb site. I am dismayed to see a download link show up when I click on the photos in my live site! How do I block the download option on my photos?
see this recent thread:
https://discussions.apple.com/message/15262697 -
When I open iTunes, it will not allow me to preview or download TV shows. The preview and download options are gray and will not let me view them. I have tried installing the latest Quicktime but it tells me that I have to do software update and when I do, Quicktime does not appear to need an update. I have no idea what to do
Click on your preference and check the Parental tab for possible restrictions. Open iTunes, then click the iTunes menu, select preferences after the window opens click on the Parental icon, take a look at the content restrictions section.
-
I often download tv shows on apple tv. All of a sudden, my screen does not display download options for tv shows. I can download movies no problem
and the Internet connection is good. It just no longer shows options for tv shows except for my tv shoes (already downloaded). what is going on?Welcome to the Apple Community.
Check your store location is set correctly, if this doesn't help, try restarting the Apple TV by removing ALL the cables for a 30 seconds. -
What is the corresponding option for " Table Display" in BI 7 Query Design
Hi Experts,
In 3.x Query Designer we have an Option of " Table Display" to arrange the charesterstics in the Coloums .
Please let me know the corresponding option in BI 7 Query Designer.
Thanks
Bhanuprakash.I think there is no Drill down Fesility in Report Designer. what is the option for a query with Drill down charecterstics.
-
Insert, Delete and Update options in Table control
Experts,
I have writen code for Insert, Delete and Update options in Table control. They are not working properly...
can any one send the code for the above please...
Thanks in advance..Hi,
Following steps will help you.
1.TOP-INCLUDE
DATA: ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
DATA: ITAB2 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
DATA: WA LIKE KNA1.
DATA: ANT TYPE I,CUR TYPE I.
DATA: OK_CODE TYPE SY-UCOMM.
CONTROLS: TABCTRL TYPE TABLEVIEW USING SCREEN 100.
IN FLOWLOGIC
PROCESS BEFORE OUTPUT.
LOOP AT ITAB1 CURSOR CUR WITH CONTROL TABCTRL.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE CLEAR_DATA.
LOOP AT ITAB1.
MODULE MOVE_DATA.
ENDLOOP.
ADD OK_CODE IN ELEMENT LIST. CLICK ON LAYOUT AND ADD TABLE CONTROL(name it as TABCTRL) AND PUSHBUTTONS AS FOLLOWS.
SELECT THE FIELDS FROM PROGRAM. SAVE CHECK AND ACTIVATE.
CLICK ON FLOWLOGIC EDITOR FROM APPLICATION TOOL BAR.
DOUBLE CLICK ON MODULE CLEAR_DATA.
write the in this module as below.
CLEAR ITAB2. REFRESH ITAB2.
DOUBLE CLICK ON MODULE MOVE_DATA.
write the code in this module as below.
APPEND ITAB1 TO ITAB2.
ACTIVATE PAI AND WRITE THE CODE AS BELOW.
CASE OK_CODE.
WHEN 'FETCH'.
SELECT * FROM KNA1 INTO TABLE ITAB1 UP TO 20 ROWS.
TABCTRL-LINES = SY-DBCNT.
WHEN 'ADD'.
GET CURSOR LINE CNT.
CNT = TABCTRL-TOP_LINE + CNT - 1.
CLEAR WA.
INSERT WA INTO ITAB1 INDEX CNT.
WHEN 'MODIFY'.
GET CURSOR LINE CNT.
READ TABLE ITAB2 INDEX CNT.
LOOP AT ITAB2.
MODIFY KNA1 FROM ITAB2.
ENDLOOP.
SELECT * FROM KNA1 INTO TABLE ITAB1.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
SAVE,CHECK AND ACTIVATE ALL.
CREATE TCODE AND EXECUTE.
contact if u hv any issues regarding this code.
reward points,if it is useful.
Thanks,
Chandu. -
Even with files I used to be able to see the download option with (Quicktime files) I do not see the option when I hover over it with the mouse.
Which add-ons do you have that say "incompatible with Firefox 5.0"?
Maybe something like download helper? You need to find an update for that add-on. -
I am using GUI_DOWNLOAD FM to download my internal table entries into .xls
Hi
I am using GUI_DOWNLOAD FM to download my internal table entries into .xls file. but it's not download total records in final table.
in debugging it showing total records.
exporting:
filename
filetype
field-suprater
header
tables
data_tab
fieldnames
plz help me.
thanks
SankarHi
Use as below:
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
file_name = p_file " path offile where u need to download
CREATE_PIVOT = 0
DATA_SHEET_NAME = ' '
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
TABLES
PIVOT_FIELD_TAB =
data_tab = int_data "internal table with data
fieldnames = int_head "internal table with header
EXCEPTIONS
file_not_exist = 1
filename_expected = 2
communication_error = 3
ole_object_method_error = 4
ole_object_property_error = 5
invalid_filename = 6
invalid_pivot_fields = 7
download_problem = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
Sreeram -
Downloading the internal table with header to FTP folder
Hi All,
I have one requirement in downloading the internal table details with the fixed header line to FTP folder. The header line having the fixed text of 425 characters length.
Note: We are not suppose to use WS_DOWNLOAD and GUI_DOWNLOAD function modules.
Thanks in advance for your reply.
Regards
Kamini.Hi,
I can download the internal table details successfully to FTP folder using the FTP function modules like(FTP_CONNECT, FTP_COMMAND , FTP_R/3_TO_SERVER and FTP_DISCONNECT). Here my problem is I am unable to download the internation table with some header text.
You can see the format (example) of file to be download.
Here I can successfully download the below details without the header. But I am unable to download with header line. Could you please suggest me.
seq_no|record_action|trans_date|sku|description|
1|N|2008-01-03 07:52:31|TTASA5025CBO
2|N|2008-01-03 10:28:33|411014
3|N|2008-01-03 10:01:03|TTASA6030CBO
4|N|2008-01-03 10:01:15|TTASA6630CBO
5|N|2008-01-03 10:01:25|TTASA7035CBO
6|N|2008-01-08 16:57:39|TT6G
Regards
Kamini. -
Removing Download option in Photo Album
Hello,
Im doing a web to show my photo work, Im using a photo Album, I want to remove the download option, I don´t want to give the option of downloading to the people that will visit it.
reg
AleI finally know how to do it, thanks a lot
-
Iweb photo gallery -- download option unwanted
I just created my first site using iweb and put a photo gallery on there. I noticed that there is a download option which I DO NOT want on there!! I want to make my photo galleries view ONLY! Is there a way to change the settings??
Thanks!No. There is not way to prevent any photo on a web site to not be copied. At the least a visitor can make a screenshot of it.
To make it more difficult for someone to use one of your photos as if it were one of their own put a watermark on the photos. It's not foolproof but will discourage the less sophisticated users from using them.
There are many watermarking applications that can add them in batches. Go to MacUpDate.com and search for "watermark" to find possible candidates. -
How to get the download option in Firefox 3.6.13. Earlier it was showing in the Navigation Bar just beside where we see the URL.
You can find the connection settings in Tools > Options > Advanced : Network : Connection
See "Firefox connection settings":
*[[Firefox cannot load websites but other programs can]]
Maybe you are looking for
-
Safari will not load after installing OSX 10.7.5
I recently replaced the hard drive and reinstall MAC OSX 10.7.5 and migrated the the data successfully. Did all the software updates. All software and apps work except Safari. Safari will not open. I did a few of the recommended tips on the discussio
-
i want to know in what order conditions in where clause evaluates. select * from table where emp_id and tran_year and tran_mon select * from table where tran_mon and tran_year and emp_id consider tran_year, tran_mon , emp_id are primary key and table
-
Parameter lookandfeel in formsweb.cfg
Hi! Possible values for parameter lookandfeel is *"Generic"* or *"Oracle"* in formsweb.cfg, is it possible to modify lookandfeel=Oracle more than colorscheme or is it possible to develop our own lookandfeel? Has anyone any nice GUI examples for Forms
-
Address and Geo Directories missing in SAP SMP
Hi All, We are working on Data Quality. When we run Global Address Cleanse Transform or/and Geocoder transform jobs it ends with error like "Reference files are missing". By searching in SCN we got the answer that we should downlo
-
Hi Experts, How would you create a drop down on a report which contains all the values of a property for a given dimension. My Account dimension has property called Allocation_Rule which could have Rule1, Rule2 ... values. In my report i have to giv