Download data from Screen to local disk
Hi all,
I have developed a Module pool program. I want to download the data from Screen to local disk in Word format.
Example :-
Name XYZ Surname ABC Date of Birth 00/00/9999
Address XXXXXXXXX
Number of Dependent
1) ABC LLL CCC 00/00/0000
2) XYZ ABC XXX 00/00/0000
3) ABC LLL CCC 00/00/0000
Is there any function module which does this
Thanks in Adv
Hi,
the simplest and easiest answer that I can think of is :
1. Press Ctrl Y.
2. Select the area of the screen you want.
3. Press Ctrl C
4. Press Ctrl V on your word document.
5. :-).
Regards,
Anand Mandalika.
P.S. Alternatively, you can use the print screen option on your keyboard.
Similar Messages
-
Download data from IT to Locl Server
Hi Friends,
I have writte the entire code for my purposr. All i have to do is download data from an Internal table to the local server as a text file.
I am having problems in appending statement.
I am not getting the proper data into it_outfile.
*Tables
TABLES : zz0010.
*Internal tables Decleration
DATA : it_zz0010 LIKE zz0010 OCCURS 0 WITH HEADER LINE.
DATA : g_repid LIKE sy-repid.
DATA : it_outfile(200) OCCURS 0 WITH HEADER LINE.
*Selection-Screen
SELECTION-SCREEN: BEGIN OF BLOCK 1 WITH FRAME TITLE text-001.
PARAMETERS : p_file LIKE rlgrap-filename.
SELECTION-SCREEN: END OF BLOCK 1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = g_repid
IMPORTING
file_name = p_file.
START-OF-SELECTION.
SELECT *
FROM zz0010
INTO TABLE it_zz0010.
END-OF-SELECTION.
LOOP AT it_zz0010.
it_outfile = it_zz0010-mandt.
it_outfile+(3) = it_zz0010-matnr.
it_outfile+(21) = it_zz0010-auart.
it_outfile+(25) = it_zz0010-datab.
it_outfile+(33) = it_zz0010-datbi.
it_outfile+(41) = it_zz0010-zzcoe.
it_outfile+(45) = it_zz0010-zzend.
it_outfile+(63) = it_zz0010-zzfide.
it_outfile+(73) = it_zz0010-zzdos.
it_outfile+(88) = it_zz0010-zzusl.
APPEND it_outfile.
CLEAR : it_outfile.
ENDLOOP.
*Local File
CALL FUNCTION 'DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'ASC'
TABLES
data_tab = it_outfile
EXCEPTIONS
invalid_filesize = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
customer_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Any suggestions or changes to the code.
Shejal.Hi,
I think it should like this.
LOOP AT it_zz0010.
<b>it_outfile(3) = it_zz0010-mandt.
it_outfile+3(18) = it_zz0010-matnr.
it_outfile+21(4) = it_zz0010-auart.</b>
APPEND it_outfile.
CLEAR : it_outfile.
Regards,
Ferry Lianto -
Help required - "Failed to download the folio to your local disk"
Hi
(Warning: first time poster :-)
I am having difficulty downloading my published folio. Over the last 24hrs I repeatedly get the following error (after a long wait with status “Preparing content for download...”) on different computers (Mac/PC) and browsers:
An error has occurred while exporting the folio
Failed to download the folio to your local disk
My first version is being delivered to an Android app (created using the Viewer Builder) and was embedded into an iOS app (also created using the View Builder). This all worked without any problems and I can export this now.
To optimize the folio for the new iPad I decided to use the PDF option which required me to rebuild the folio again. The content is identical bar a couple of dates changed from 2011 to 2012. I just need to export the folio so I can embed it into an updated iOS app. The folio will not be (at this stage) delivered to the Android app.
I hope somebody can help :-)
Andrew
Edit: Using the new Adobe Content Viewer I see TWO versions of folio - one with the blue lightening bolt - but maybe that is normal?Hi Andrew,
can't help unfortunatly, but I get the same error when trying to download a retina display folio using a normal dps account. Download is "prepared" for about 5 minutes after which I get the error message:
An error has occurred while exporting the folio.
Failed to download the folio to your local disk.
[downloadIssueFailed]
However, normal resolution folios can be exported and exporting a retina folio from a professional DPS account works.
Best greetings,
Philip -
How to download data from abap-ouput to excel sheet with logo
how to download data from abap-ouput to excel sheet with standard logo
Edited by: Harish Kasyap on Nov 18, 2008 8:19 AM
Edited by: Harish Kasyap on Nov 18, 2008 8:20 AMFor saving the report you can goto System -> List -> Save -> Local File -> Location where you want to save in your presentation server.
You can also give a option in your selection screen to save the file to Presentation server using FM GUI_DOWNLOAD.
Hope it helps.
Thanks,
Jayant. -
How to download data from an internal table to a text
Hi All,
I want to download data from an internal table to a text file.
The fields should be pipe(|) separated. I have tried GUI_DOWNLOAD but it is not taking the field separator.
The sample of the desired data that i require should be this way:-
13456TR|M|COUP|MATERIAL|KGS
Thanks in advance.
Regards
Satish.Hi,
Try this..
REPORT zc1download message-id zc1dwnmsg.
*& Declaration Section for the Tables *
TABLES: makt.
*& Declaration Section for the Internal Tables
DATA: intab TYPE TABLE OF makt,
wa_intab LIKE LINE OF intab,
no_of_rec TYPE i,
count TYPE i.
DATA: BEGIN OF f_intab,
str(255) TYPE c,
END OF f_intab.
DATA: t_intab LIKE TABLE OF f_intab,
w_intab LIKE LINE OF t_intab,
temp(255) TYPE c.
FIELD-SYMBOLS: <f> TYPE ANY.
*& Selection ScreenSection for the file download
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: file TYPE rlgrap-filename MEMORY ID file,
tab RADIOBUTTON GROUP rad1 DEFAULT 'X',
others RADIOBUTTON GROUP rad1,
delimit TYPE c.
SELECTION-SCREEN END OF BLOCK b1.
START-OF-SELECTION.
IF file IS INITIAL. " check to ensure file.
MESSAGE i001.
EXIT.
ENDIF.
IF others = 'X'. " check to ensure delimiter.
IF delimit = ' '.
MESSAGE i002.
EXIT.
ENDIF.
ENDIF.
SELECT * FROM makt INTO TABLE intab.
IF tab = 'X'. " default delimiter tab is used
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
filename = file
filetype = 'DAT'
mode = 'A'
TABLES
data_tab = intab
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
no_authority = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE. " If user defind delimiter is to be used
Counts the number of fields *
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE wa_intab TO <f>.
IF sy-subrc <> 0.
EXIT.
ELSE.
count = count + 1.
ENDIF.
ENDDO.
LOOP AT intab INTO wa_intab.
DO count TIMES. " Adding the delimiter in required places
ASSIGN COMPONENT sy-index OF STRUCTURE wa_intab TO <f>.
CONCATENATE temp delimit <f> INTO temp.
ENDDO.
SHIFT temp.
APPEND temp TO t_intab.
CLEAR temp.
ENDLOOP.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
filename = file
filetype = 'ASC'
mode = 'A'
TABLES
data_tab = t_intab
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
no_authority = 10
OTHERS = 11.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
WRITE:/ 'The Data has been tranfered to :', file.
Cheers
Kathir!~ -
Download Data From Excel - VBA Code to SAP Using BDC
Hi ,
I am Sudhir Dure, working with Satyam Computers.
I need help on the below query:
I have an excel file which download data from Excel to SAP using RFC function & with the help of VBA interface.
In this VBA code I have used BDC recording of SAP Transaction KE21N to post data into SAP.
Now I am facing problem to find sub screen (tab page screen ) in SAP from VBA code .
How to pass BDC Subscreen details from VBA code to SAP using below code?
BDCTABLE.Rows.Add
BDCTABLE.Cell(J, "PROGRAM") = PROGRAMNAME
BDCTABLE.Cell(J, "DYNPRO") = "0200"
BDCTABLE.Cell(J, "DYNBEGIN") = "X"
BDCTABLE.Cell(J, "FNAM") = "BDC_OKCODE"
BDCTABLE.Cell(J, "FVAL") = "=NEXT"
Thanks,
Sudhir Dure
9972097464can anyone tell me how to get the PurchaseOrder number and item quantity from the Salesorder...? what are the fields here as given below..??
For Each oItem In oSalesOrder.items
wsTemplate.Range(cols(3) & Indexv).Value = oItem.material.material
'wsTemplate.Range(cols(4) & Indexv).Value = ' I need item quantity here ????
wsTemplate.Range(cols(1) & Indexv).Value = sapSoNumber
wsTemplate.Range(cols(2) & Indexv).Value = ' I need purchase order number here>???
Indexv = (Indexv + 1)
Next
reply fast. please .. thanks -
Hi,
My client wants me to download all the data in infotypes(std and custom) from production client. Then they will migrate this data to their new system. What would be the approach for downloading?
1. Through SE16N (we are not authorized to use SE11/SE16)? But couldnt save the data to local file when we use se16n.
even i get se11 authorization -> we can download only 64,000 records in excel. Do i need to split? or any other way?
2. Write custom progms to download data from infotypes.
3. Any data migration tools ?
4. Basis can do client copy?
Thanks!Hi,
U can write a report to donwload data, but my preferde way is to use the hr toolbox (Transaction PU12), it's very simple to use .
Here is a link to know how ti use it :
http://shafiq.us/sap/index.php?option=com_content&view=article&id=47:hr-interface-toolbox-pu12&catid=36:pu12tutorial&Itemid=14
i Hope it helps u. -
Regarding how download data from integration repository
Hi all:
Could u pls tell me how download data from integration repository, eg, download data types, mapping under a software component as a local file?
Thank u very much for any ur helpHi jingying,
To download a TPZ file in ESR (Integration Repository), Go to Tools--> Export design objects
Step 1. (Select Source) Use the mode as Transport using File system & Check the checkbox for "Download File to Client"
Step 2. (Select Objects) In Object Set, choose according to your requirement, like Individual Objects to export only a data type or All Objects of Individual Namespaces etc.
Step 3. Click on finish Button
Step 4. Save the desired objects as a .tpz file on your local machine which can again be imported back on the ESR of any PI system.
Step 5. A pop-up "Export Successful" appears which confirms the export of the objects as a .tpz file. Click on Close button.
I hope this helps.
Regards, Gaurav. -
Download data from interactive report
Hi all. I'm on apex 3.1.1.00.09.
I have this problem: when I download data from interactive report I can download only in CSV and PDF. If I try to download into pdf it creates a file of only 1 KB.
I would know if I must configure my apex in order to download correctly in pdf and if I must configure it in order to download in doc and xls format.
Thanks all for collaboration,
FabrizioThank you for your reply.
I am able to download the csv file, but my problem is: I don't want the column headings to show.
Is it possible to download only the data, not the column headings? -
How to download data from a an external hard drive ?j
How to download data from an external hd ?
You need to copy the data onto your computer and transfer it via that (either via iTunes, or if the app that you want to transfer the data to supports, via wifi). Like the previous reply said, you can't do it directly without a computer being involved.
-
Error while downloading data from internal table into XML file
hi all,
i developed a program to download data from into internal table to xml file like this.
tables: mara.
parameters: p_matnr like mara-matnr.
data: begin of itab_mara occurs 0,
matnr like mara-matnr,
ernam like mara-ernam,
aenam like mara-aenam,
vpsta like mara-vpsta,
end of itab_mara.
data: lv_field_seperator type c, " value 'X',
lv_xml_doc_name(30) type c, " string value my xml file,
lv_result type i.
lv_field_seperator = 'x'.
lv_xml_doc_name = 'my xml file'.
types: begin of truxs_xml_line,
data(256) type x,
end of truxs_xml_line.
types:truxs_xml_table type table of truxs_xml_line.
data:lv_tab_converted_data type truxs_xml_line,
lt_tab_converted_data type truxs_xml_table.
data: lv_xml_file type rlgrap-filename value 'c:\simp.xml'.
select matnr ernam aenam vpsta from mara into table itab_mara up to 5
rows where matnr = p_matnr.
CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = lv_field_seperator
I_LINE_HEADER =
I_FILENAME =
I_APPL_KEEP = ' '
I_XML_DOC_NAME = lv_xml_doc_name
IMPORTING
PE_BIN_FILESIZE = lv_result
TABLES
I_TAB_SAP_DATA = itab_mara
CHANGING
I_TAB_CONVERTED_DATA = lt_tab_converted_data
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
open dataset lv_xml_file for output in binary mode.
loop at lt_tab_converted_data into lv_tab_converted_data.
transfer lv_tab_converted_data to lv_xml_file.
endloop.
close dataset lv_xml_file.
this program is syntactically correct and getting executed, but when i open the target xml file it is showing the following error.
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
XML document must have a top level element. Error processing resource 'file:///C:/simp.xml'.
will anyone show me the possible solution to rectify this error
thanks and regards,
anil.Hi,
Here is a small sample program to convert data in an internal table into XML format and display it.
DATA: itab TYPE TABLE OF spfli,
l_xml TYPE REF TO cl_xml_document.
* Read data into a ITAB
SELECT * FROM spfli INTO TABLE itab.
* Create the XML Object
CREATE OBJECT l_xml.
* Convert data in ITAB to XML
CALL METHOD l_xml->create_with_data( name = 'Test1'
dataobject = t_goal[] ).
* Display XML Document
CALL METHOD l_xml->display.
Here are some other sample SAP programs to handle XML in ABAP:
BCCIIXMLT1, BCCIIXMLT2, and BCCIIXMLT3.
Hope this helps,
Sumant. -
Error message: when downloading data from 2nd display tag table
I am using disaply tag to display data in jsp page. I am using three different section to display the data with three display tag table. The data is displaying correctlly. The display tag downlod excel sheet is working for first display tag table. When i am trying to download data from 2nd and 3rd display tag table i am getting following error:
Exception: [.TableTag] Unable to reset response before returning exported data. You are not using an export filter. Be sure that no other jsp tags are used before display:table or refer to the displaytag documentation on how to configure the export filter (requires j2ee 1.3).
at org.displaytag.tags.TableTag.writeExport(TableTag.java:1438)
at org.displaytag.tags.TableTag.doExport(TableTag.java:1364)
at org.displaytag.tags.TableTag.doEndTag(TableTag.java:1215)
at org.apache.jsp.InstalBase_005fReport_jsp._jspService(InstalBase_005fReport_jsp.java:974)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
As per the Exception i don't have any jsp tag before the display tag.
Please help me if any body has any solution for the above exception.
Thanks in advance.
Smruti..See also http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html
-
Downloading data from internal table to xls file leading zeros are not disp
Hai abap gurus,
when i am downloading data from internal table to excle file. some field values in a column are with leading zeros and some others dont have leading zeros.but in the output it is showing without leading zeros. then how to get with exact values.
Ex:
<b>ECC Code.</b>
045234
88567
098456
but output is giving like this:
45234
88567
98456
how to get the actual values.....
plz help me in this matter.Dear Kiran,
Those field in the internal table having Leading Zeroes, make those fields' datatype as character.
Then use the function module to download the content of the internal table to the excel file.
Regards,
Abir
Don't forget to Reward Points * -
Downloading data from a different carrier
is it possible to set the iphone to download date from a different network,
im with telstra who have horrible data prices, so i i could manage to get a prepaid data pack through someone else it would be helpful. Otherwise ill just try to shut out 3g data from the phone and just do wifi.
thanksHello noboo79,
And welcome to Apple Discussions!
On the computer you have initially the set the iPod up on and for, you can enable the "manually manage music and videos" option from under the iPod's Summary tab in iTunes. This will allow you to sync contect to the iPod from multiple computers. Otherwise, there is no other way.
Here is more on using your iPod with multiple computers as well as manually managing your iPod's contents.
[Using iPod with multiple computers|http://support.apple.com/kb/ht1202]
[Managing content manually on iPhone, iPad, and iPod|http://support.apple.com/kb/HT1535]
B-rock -
Downloading data from a BLOB Field using mod_plsql
Hi,
I am trying to use the mod_plsql to download data from a blob field, I have a web page where I can pick the file name to be downloaded from the documents table This table has the BLOB field that has the Data formatted in a text file format(contains carriage returns), when I open it up in the browser it is displaying it correctly , but when I right click on the file name and choose "Save Target As" and save it as text file it is ignoring the carriage returns and displaying entire blob in one line.
Can somebody help me figure out why it's not recognizing the carriage returns?
Any help would be greatly appreciated.
ThanksHi and welcome to the forum.
Is there a way to retrieve data from a blob field and save it to temp table.Why would you want to do that?
Can you provide some more details regarding your requirement?
(Don't forget to mention your database version as well)
Also, I wonder why you've added a 'decompress' tag to your question?
edit, after seeing Tubby's reply
Dang, the connection must be frozen here ;)
Edited by: hoek on Jan 6, 2010 9:06 PM
Maybe you are looking for
-
My new iphone 4S I am unable to get my voicemail without calling it and using the pw
I am unable to retrieve my voicemail messages with my new iphone 4S. I went to Sprint and they told me I had bad software but apple was working on it and I should just keep checking for updates. Is this not correct and should I ask for a new phone.
-
17!" Studio Display connected & recognised but no picture?
Hi I have an iBook G4 & have connected it to a 17" Studio LCD. It shows up in "about this Mac & in System Prefs/ Displays but no picture. When I press the power touch sensitive swith on the front that lights up white. Same when I touch it again. Hard
-
Internal Mail Routing Between HUB servers Is Not Working Correctly
Howdy, Been scratching my head on this one for a while. First off, running Exchange 2010 Sp3 RU5 across the board. I have attached a diagram of our environment for visual aid. Please take a look as it makes more sense. I have drawn the correct mai
-
I had the pleasure (and pain) to use the z10 for a few days. But because of two absolutely no-goes I changed to another device. 1. No-Go: I have to communicate via text-messaging (sms) with customers and need very basic functionality like word-wrappi
-
Hi, I have a panel which is displayed depending on the button clicked which includes the menu stuff also.So when I switch the buttons I am not getting the updated menus can someone help me out please......