How to download a pristine Settings.sts file?
I think I might have corrupted my settings.sts file in Frame 12. How do I download a new one without re-installing Framemaker?
Thanks
Duh!
There's a "new" button right on the Publish pad . . .
Compiled this time, just fine. Now, on to the next step . . .
{more soon, no doubt}
Similar Messages
-
HOW TO DOWNLOAD SAP OUTPUT TO EXCEL FILE
Hi SAP Gurus,
I would like to ask if you have any Function Module or codes on how to download SAP Output into Excel file. Thanks! Hope you could help me.You can transfer the contents of internal table to excel using this code..
data: begin of itab occurs 0,
vbeln like vbak-vbeln,
posnr like vbap-posnr,
end of itab.
select vbeln
posnr
from vbap
up to 20 rows
into table itab.
* EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
* handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_WORK TYPE OLE2_OBJECT,
H_SHEET TYPE OLE2_OBJECT,
H_CELL TYPE OLE2_OBJECT,
V_COL LIKE SY-TABIX. " column number of the cell
DATA:
V_STEP(30),
V_FILE LIKE RLGRAP-FILENAME.
* tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
* PERCENTAGE = 0
TEXT = 'Creating Excel...'
EXCEPTIONS
OTHERS = 1.
* start Excel
V_STEP = 'Starting Excel'.
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
* CALL METHOD OF H_EXCEL 'OPEN' EXPORTING #1 = 'C:DMC_REC.XLS'.
* PERFORM ERR_HDL.
* tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
* PERCENTAGE = 0
TEXT = 'Adding Data to Excel...'
EXCEPTIONS
OTHERS = 1.
* Get the list of workbooks
V_STEP = 'Preaparing Excel'.
CALL METHOD OF H_EXCEL 'WORKBOOKS' = H_WORK.
PERFORM ERR_HDL.
** Add new workbook (create a file)
CALL METHOD OF H_WORK 'ADD'.
PERFORM ERR_HDL.
* Get the created worksheet
************************Sheet Number
CALL METHOD OF H_EXCEL 'WORKSHEETS' = H_SHEET EXPORTING #1 = 3.
************************Sheet Number
PERFORM ERR_HDL.
* Activate (select) the first sheet
CALL METHOD OF H_SHEET 'ACTIVATE'.
PERFORM ERR_HDL.
* tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
* PERCENTAGE = 0
TEXT = 'Adding Data to Excel...'
EXCEPTIONS
OTHERS = 1.
* output column headings to active Excel sheet
V_STEP = 'Adding data to Excel'.
LOOP AT ITAB.
V_COL = SY-TABIX.
PERFORM FILL_CELL USING 1 V_COL ITAB-vbeln.
PERFORM FILL_CELL USING 2 V_COL ITAB-posnr.
ENDLOOP.
V_STEP = 'Releasing Excel'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
H_EXCEL-HANDLE = -1.
*& Form ERR_HDL
* text
* --> p1 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Error in processing Excel File:', V_STEP.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
*& Form FILL_CELL
* text
* -->P_1 text
* -->P_1 text
* -->P_1 text
FORM FILL_CELL USING ROW COL VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_CELL
EXPORTING #1 = ROW #2 = COL.
PERFORM ERR_HDL.
SET PROPERTY OF H_CELL 'Value' = VAL .
PERFORM ERR_HDL.
ENDFORM. " FILL_CELL -
How to download module for opening raw files from D80o. I have CS6
How to download a module for opening raw files from Nikon D800? I just bought a CS6 not containing this possibility
Adobe Camera RAW 6.7 and upwards support Nikon D800 RAW files.
You can download Adobe Camera Raw (ACR) 7.1 from here:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5390 - Mac
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5391 - Windows
Download & Install it. You can open RAW from D800. -
How to download dunning letter to PDF file in background?
Hi experts:
Now my user have a request to download dunning letter to PDF file.
What I want to know is if there is any way to config to solve this problem or I must develop a program to download?hello
check standard program RSTXPDFT4
or use function module
CONVERT_OTFSPOOLJOB_2_PDF
Thanks
Anirudh -
Hi,
I am doing an upgrade for a customer from windows 8.1 to 8.1 enterprise via ISO,
according to Microsoft TMB, you can save settings, personal files, and applications doing the upgrade, see http://technet.microsoft.com/en-us/library/jj203353.aspx#EightOne
However, when I am trying to upgrade from 8.1 (same language, same architecture),
I only get two options:
1. Keep personal files.
2. Nothing.
(see screenshot).
Why is that? what am I doing wrong?Yes. Please see:
Add features: FAQ
Windows 8.1 Pro Pack
Carey Frisch -
How to download connector Quickstart distribution .jar file to connect H2 databse
Hi,
I am using CQ5.4 version and i want to connect H2 Database with my cq5 instance. From the tutorial i got to know that i need to download connector Quickstart distribution .jar file.
But i am not able to figure out where i can get this file.
I have already downloaded H2 databse.
Plz help me as i need to complete this task as soon as possible
Thanks in Advance....If you are refering to JDBC connector [1] I would recommend not to use it. The connector has been in beta mode and we are in the process of correcting/removing the page for the JDBC connector. Instead use the respective JDBC driver and convert it into an OSGI bundle which can then be referenced in your custom JDBC client code to perform all DB activities. More details refer [2].
[1] http://dev.day.com/docs/en/crx/connectors/jdbc/current.html
[2] http://dev.day.com/content/kb/home/cq5/Development/HowToConfigureSlingDatasource.html -
How to download data into a text file format ?
Hi, all.
My situation now is: I have a report pogram which can retrieve data from database, and I would like to export or download those data to outside as a text file (.txt) in my local computer.
So, does anyone know how to do it? i mean my report coding should add on or enhance with what coding in order to do like that.
Thanks in advance.Hi,
Use GUI_DOWNLOAD Function module.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = 'FILEPATH'*
FILETYPE = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X' (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 = ' '
IMPORTING
FILELENGTH =
tables
data_tab = t_customer ( give internal tablename )
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. " IF SY-SUBRC -
How to download and convert RTF/DOC file in DMS into PDF file
Hello.
We're on ECC6.0. We have a requirement to get the *.doc or *.rtf file checked in DMS, convert it to pdf format and download it as *.pdf file. The document data is stored in DRAO-ORBLK (LRAW data type). Has anyone programmatically done this? What is the process to achieve this? I've read in the forum that you should first convert RTF(.doc) data to OTF format using CONVERT_RTF_TO_ITF and then you will get the script format from rtf data. Generate the spool using the script data. Convert the spool to PDF using CONVERT_OTFSPOOLJOB_2_PDF. However, the fm CONVERT_RTF_TO_ITF uses RAW data type. There's also fm CONVERT_OTF_2_PDF but I don't know how to implement this for my purpose.
Also, if Adobe Distiller is installed on the SAP application server, can it be used from an ABAP pgm?
Thanks in advance for your inputs.Hi Maria,
I realize this a rather old post, but was wondering if you managed to do this as I am having a similar requirement. Appreciate if you could share any solution or findings.
Thanks,
Lashan -
How to download & convert .f4f video streaming files into flv/mp4 files
Below is the website for which I am asking this query
http://www.startv.in/show/devon-ke-dev-mahadev/352
These are .f4f videos which I can view online.
I am not able to download & play them in their original format.
I also would like to download & play them either as flv / mp4 files.
Kindly provide a solution.
Thank you.According to Adobe, F4F file is Flash MP4 Video Fragment created and used by Adobe Media Server for HTTP Dynamic streaming. As F4F files are separating video clips and F4F is not a so common video format, it is incompatible with most video media players, portable devices or editing software.
To improve the compatibility, it is a quite good choice to convert f4f to a more popular video format like convert F4F to MP4, convert F4F to AVI, convert F4F to FLV, convert F4F to MP3 and etc. The following article will show you a professional F4F Converter and a step by step guide on how to convert F4F video files on Mac or Windows.
For more information, please visit:http://www.bigasoft.com/articles/f4f-converter-joiner.html -
How to download the low resolution proxy files
After scanning a device , FCS has placed the proxy files on my devicde but I cannot see the indiviudal proxy files , they are all merged in a bundle file proxies.bundle . Any one who can guide me how can I download the proxy files at my desktop while are proxies are merged into one bundle file ; is there any way , pl guide
Thank you, grigpm. But actually I want the user to select the file that he wants to download rather than setting it in the configuration file. If it is possible, let me see the sample code of FileManager servlet. I've tried with some ways but I can only download from the same server with the application server. I want to download from different server. I hope someone can help me with sample code....
Best regards,
Phyo -
How to download Documentaion of a Text file to a Report
Hi Friends,
Please guide me on this,
I want to download Documentation of a Report into a text file,
Problem is how to get/capture the Documentaion.
Regards,
Sowjanya
Edited by: sowjanya s on Dec 31, 2008 12:35 PMhi,
DOKHL - Documentation: Headers
DOKTL - Documentation - text lines
DOKIL - Index for Documentation Table DOKH
Use the FM:
SRTU1_GET_REPORT_DOCUMENTATION
Pass the language.
And in the tables IT_REPORTS pass the report name. -
How to download a text, bat, excel file from a page
Hi All,
I have written a jsp code that will list all the present in a particular folder. Those are displayed as links and on click, I want to download the file (pop-up message with the option to open or save it)...
But this is working properly for files like .exe, .pdf, .so etc. But when I am trying to download a .txt, .dat, .xls or .jpg (even .bat or .zip) files, it's getting opened in the same browser (files like .doc, .xls or .zip are opening in unreadable format). Even if, I right click on the link and click on 'Save Target As...', the file is getting saved as .html format.
I am attaching the jsp code:
<%@ page import = "java.io.File"%>
<h3><u>Right-click on the link and select 'Save Target As...' to download</u></h3>
<%
String directory = "C:/My Drive/my_context/my testings/file upload 2/files/";
File file = new File(directory);
File[] content = file.listFiles();
for (int i=0; i<content.length; i++)
%>
<a href="./files/<%=content.getName()%>"><%=content[i].getName()%></a>
<br>
<%
%>
<br><br>
BACK
But I don't think that there is anything to do with the code. Can anybody help me on this.
Thanks in Advance,
UjjalHi All,
I have written a jsp code that will list all the present in a particular folder. Those are displayed as links and on click, I want to download the file (pop-up message with the option to open or save it)...
But this is working properly for files like .exe, .pdf, .so etc. But when I am trying to download a .txt, .dat, .xls or .jpg (even .bat or .zip) files, it's getting opened in the same browser (files like .doc, .xls or .zip are opening in unreadable format). Even if, I right click on the link and click on 'Save Target As...', the file is getting saved as .html format.
I am attaching the jsp code:
<%@ page import = "java.io.File"%>
<h3><u>Right-click on the link and select 'Save Target As...' to download</u></h3>
<%
String directory = "C:/My Drive/my_context/my testings/file upload 2/files/";
File file = new File(directory);
File[] content = file.listFiles();
for (int i=0; i<content.length; i++)
%>
<a href="./files/<%=content.getName()%>"><%=content[i].getName()%></a>
<br>
<%
%>
<br><br>
BACK
But I don't think that there is anything to do with the code. Can anybody help me on this.
Thanks in Advance,
Ujjal -
How to download internal structure in Excel file ?
Hi,
In a ABAP 4.7 program, we need to download internal table/structures in a excel file. Automatically (as manually with breakpoint and Excel export button),
The SAP_CONVERT_TO_XLS_FORMAT doesn't work (empty file) certainly cause non STANDARD TABLE used.
There is various internal tables/structures, see one below
TYPES:
BEGIN OF gty_rup,
kunnr LIKE bsid-kunnr,
xref1 LIKE bsid-xref1,
xref3 LIKE bsid-xref3,
END OF gty_rup.
TYPES:
BEGIN OF gty_rup_tiers,
zztie LIKE bseg-zztie,
zzdat LIKE bseg-zzdat,
zzsea LIKE bseg-zzsea,
END OF gty_rup_tiers.
TYPES:
BEGIN OF gty_data_solde,
wrbtr LIKE bsid-wrbtr,
shkzg LIKE bsid-shkzg,
belnr LIKE bsid-belnr,
hkont LIKE bsid-hkont,
buzei LIKE bsid-buzei,
bldat LIKE bsid-bldat,
gjahr LIKE bsid-gjahr,
blart LIKE bsid-blart,
END OF gty_data_solde,
DATA:
BEGIN OF lt_prps OCCURS 0,
key_client TYPE gty_rup,
key_tiers TYPE gty_rup_tiers,
data TYPE gty_data_solde,
END OF lt_prps.
Does someone know function working with only the table/structure name as parameter ?
Thanks
Hervehere's what I did....I opened the xfile2.txt with Excel 2007 and stepped through the import wizard as a tab-delimited file. You're quite right it seems about the XLS function module.... I couldn't get a file downloaded that I could open with that thing. So I dropped it and just did the following:
TYPES: BEGIN OF gtypx.
INCLUDE TYPE gty_rup.
INCLUDE TYPE gty_rup_tiers.
INCLUDE TYPE gty_data_solde.
TYPES END OF gtypx.
DATA: lt_prps TYPE STANDARD TABLE OF gtypx WITH HEADER LINE.
START-OF-SELECTION.
lt_prps-kunnr = '1234'.
APPEND lt_prps.
LOOP AT lt_prps.
WRITE:/ lt_prps-kunnr.
ENDLOOP.
DATA: lv_filen type string value 'c:\xfile2.txt'.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = lv_filen
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* 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 = ' '
* WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
* SHOW_TRANSFER_STATUS = ABAP_TRUE
* IMPORTING
* FILELENGTH =
tables
data_tab = lt_prps
* 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. -
How to download a report into CSV file format?.
Hello all,
I have a requirement like this.
I have one custom Report. I need to download this report output into CSV format. In the selection screen, i am giving the pathname where report output need to be saved. Please let me know how to do it..
Thanks in advance....
Regards
RaviTYPE-POOLS: truxs.
TYPES:
BEGIN OF ty_Line,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
END OF ty_Line.
ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY.
DATA: itab TYPE ty_Lines.
DATA: itab1 TYPE truxs_t_text_data.
SELECT
vbeln
posnr
UP TO 10 ROWS
FROM vbap
INTO TABLE itab.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
i_field_seperator = ';'
TABLES
i_tab_sap_data = itab
CHANGING
i_tab_converted_data = itab1
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.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\TEMP\test.txt'
TABLES
data_tab = itab1
EXCEPTIONS
OTHERS = 1.
I found this in the blogs ....reward if it helps -
How to download report output to excel file??
Hi all,
I have a problem with downloading a report output to an excel file? May i know is there any functions or methods to do it?
My situation is like this. I used Write function to print out the report. After user click on the execute button. The report output will show to the user in a table format. And there is one button 'Save To Excel' in the report output dipslay screen for user to click to save it into excel format.
Appreciate if you could help.
Thanks.
Regards,
RachelHi Rachel,
You can use FM GUI_DOWNLOAD for transferring the data from your report program into excel sheet.
And while saving give the filename extension as .xls.
Reward if helpful.
With regards,
Syed
Maybe you are looking for
-
How to record simultaneous datalines each playing in its own thread?
Hi, I have a program where multiple tracks of audio play simultaneously. Each track plays in its own thread to its own sourceDataLine. If I wanted to write all sourceDataLines currently playing to a file, how can I go about this? Is there someway to
-
Hi, I need to upload sales orders from MS-excel spread-sheets. The upload process has to take place in Production once the system is live. LSMW does not seem to be a good option here as the user is going to run this upload process after go-live. We d
-
Deployment problem: Inner class not included
Hi, All: I am trying to deploy my Java application using JDeveloper 3.2. I was be able to successfully deployed it when I first designed the project, even some of the files also have inner classes. Now I have added some new inner classes to a public
-
SEM-BCS Equity Holding Adjustment
Hi, When I try to input Equity Holding Adjustment using AFD, there is an error said : <u>No consolidation units with accounting technique "equity method"</u>. I am already assign the consolidation unit to Equity Method in the accounting techinque. Wh
-
Does Airport express can be used for other non-apple products, such as lenovo laptop?
Can someone plesase help me? I am so confuse on the apple products?