How to convert the output of smartforms into doc format
Hi friends,
I want the output of smartform to be saved in doc format. I don't want to view the printpreview screen and then save it. The way we save the output in pdf format I want it to be done in doc format. Please don't suggest this option
After the print preview, Select the menu Goto->List Display.
Now select the menu System->List->Save->Local File.
Now you can select the radio buttion Rich Text Format.
Now you save the document as a .doc file (say test.doc)
Regards,
Satabdi
Hi friends,
I want the output of smartform to be saved in doc format. I don't want to view the printpreview screen and then save it. The way we save the output in pdf format I want it to be done in doc format. Please don't suggest this option
After the print preview, Select the menu Goto->List Display.
Now select the menu System->List->Save->Local File.
Now you can select the radio buttion Rich Text Format.
Now you save the document as a .doc file (say test.doc)
Regards,
Satabdi
Similar Messages
-
How to convert the alv list data into pdf format
Hi Expersts,
Is it possible to convert the alv list output data into PDF format? if yes, then please help me with this issue.
thanks in advance,
Regards,
Samadhii samad,
you can go through these link.i hope it ll solve your purpose
How to convert list output to PDF
Display ALV list output in PDF format
regards,
Shweta -
Does anyone know how to convert the output from the standard report to xml?
Does anyone know how to convert the output from the standard SAP report to xml?
since it a standard report which you cannot modify you can only do the following.
submit report exporting list to memory
then
list from memory and then
use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list . -
Converting the output of FS10N into smartforms
Hi Experts,
I have a requirement to convert the output of the tcode FS10N into a smartform and append it with a cover sheet.
Kindly guide me
Regards,
Manjusha S
Edited by: manjusha srinivasan on May 20, 2009 7:00 AMYes Multiple selctions Possible.
For this: Based on the input populate the accounts to a Internal Table.
After that use the below steps
Loop at <ITAB>
USE BAPI_GL_GETGLACCPERIODBALANCES
Process table account_balances infor to other iternal table in required fromat.
Endloop.
NOTE: During calculation of Begining Balance part for period 1 balance_carried_forward
is the key. just include this condition also.
IF Period EQ 1.
Beg_balance = Beg_balance + balance_carried_forward value.
ENDIF.
BR,
Rajani -
Hi All,
I want to convert the output of Applescript which is in object format to string or text format, am running Applescript with Java, I need to display the output of applescript in Eclipse Java Console, since its object format the output is not properly displayed..
Pls suggest.. I used the below code
repeat with i in allContents
if class of i is button then set the end of allStaticText to contents of i
end repeat
Applscript ouptput
{button 1 of window "Player Installer" of application process "Install Player" of application "System Events", button 2 of window "Player Installer" of application process "Install Player" of application "System Events", button 3 of window "Player Installer" of application process "Install Player" of application "System Events", button "Finish" of UI element 1 of scroll area 1 of window "Player Installer" of application process "Install Player" of application "System Events"}
Java output
<NSAppleEventDescriptor: 'obj '{ 'form':'indx', 'want':'butT', 'seld':1, 'from':'obj '{ 'form':'name', 'want':'cwin', 'seld':'utxt'(" Player Installer"), 'from':'obj '{ 'form':'name', 'want':'pcap', 'seld':'utxt'("Install Player"), 'from':'null'() } } }>Here's an improved version of the previous script, where the handler now returns "button 2 of window \"Untitled\" of application process \"TextEdit\" of application \"System Events\"" instead of "button \"2\" of window \"Untitled\" of application process \"TextEdit\" of application \"System Events\"":
tell application "System Events"
get button 2 of window 1 of process "TextEdit"
my objectToText(result) --> "button 2 of window \"Untitled\" of application process \"TextEdit\" of application \"System Events\""
end tell
on objectToText(UI_element)
set theText to ""
tell application "System Events"
repeat
if exists attribute "AXParent" of UI_element then
set theParent to value of attribute "AXParent" of UI_element
set theClass to class of UI_element
if name of UI_element exists then
set theName to name of UI_element
set theText to theText & (theClass as text) & " \"" & theName & "\" of "
else
set k to 0
get UI elements of theParent whose class is theClass
repeat with thisItem in result
set k to k + 1
if contents of thisItem is UI_element then exit repeat
end repeat
set theIndex to k
set theText to theText & (theClass as text) & " " & theIndex & " of "
end if
set UI_element to theParent
else
set theClass to class of UI_element
set theName to name of UI_element
set theText to theText & (theClass as text) & " \"" & theName & "\" of application \"System Events\""
exit repeat
end if
end repeat
end tell
return theText
end objectToText
Message was edited by: Pierre L. -
How to convert the x/y pixel into Lat/Lon?
Does anyone know how to covert the X/Y coord into Lat?lon coord system? What is the formular?
Thanks!!!
MingDepends on the projection your map is using.
-
Download the output of smartform into excell sheet
Hi Experts,
We have one smartform for list out the Shipment packing list.
Now the requirement is we need to download into excel file output of the samrtform when we issue the output.
Please help on this issue to resolved.
Thanks and regards,
Amjad Hussain,Hi,
As per my knowledge, it is not possible to download into Excel , but we can store as PDF or faxing or mail with PDF attachement is possible.
Bye -
Experts,
I want to download a pdf file stored in a DMS Server into Desktop using webdynpro for abap.
First i want to convert the PDF file into XSTRING, so that i can use file download UI Element in Webdynpro to download the document...
Im searching for any function modules for past two days, i cant able to find it.. I dont even have any idea to proceed.
I tried using CV120_START_APPLICATION in webdynpro,but it results in vain...
I object submission date is nearing, please help me brothers and sisters...
Thanks,
James...Hi James,
please see the thread
Very Urgent Convert DMS document to XSTRING/ download
which deals with exactly the same issue. Maybe we can close one thread and handle this within the second one.
Best regards,
Christoph -
How to convert the compund case statement into decode statement
(CASE
WHEN FRCST = 0 AND SALE = 0 THEN 'No transaction '
WHEN FRCST = 0 AND SALE <>0 THEN 'Sale ag. Nil Forecast : '||SALE||' Kgs'
WHEN FRCST<> 0 AND SALE = 0 THEN 'No Sale ag. Forecast : '||FRCST||' Kgs'
WHEN FRCST<>0 AND SALE<>0 AND DIFF=0 THEN 'No Variance'
ELSE TO_CHAR(ROUND((DIFF/FRCST),2))||'%'
END)VARIANCE
How to convert this tatement to decode statement ?
YogeshDecode(FRCST,0,DECODE(SALE,0,'nO TRANSACTION','SALE AGAINST NIL FORECAST'),DECODE(SALE,0,'NO SALE AGAINST FORECAST',
DECODE(|SALE-FORECAST|,0,'NO VARIANCE',TO_CHAR(ROUND((DIFF/FRCST),2))||'%')))As per me whole case can be replaced by above decode -
How to convert the output of the report (program) to PDF file , Please HELP
Good Morning, ALL
I have done a small program in ABAP that lets the employee enters his information. Once the emplyee enters the information and executes the program, I want the result to be saved in a PDF file (in any kind of format). I did try to do this action BUT I couldn't. ( ABAP Beginner LOL ).
This is the code ( The main thing ):
SELECTION-SCREEN BEGIN OF BLOCK Yours WITH FRAME TITLE text-001.
PARAMETERS: NAME(15) TYPE C OBLIGATORY lower case,
CITY LIKE NAME OBLIGATORY ,
DATE LIKE SY-DATUM DEFAULT SY-DATUM MODIF ID ZZZ,
ID# TYPE C LENGTH 9,
PHONE TYPE C LENGTH 10.
SKIP 4.
SELECTION-SCREEN END OF BLOCK Yours.
SELECTION-SCREEN BEGIN OF BLOCK More WITH FRAME TITLE text-002.
PARAMETERS: MALE RADIOBUTTON GROUP G1 DEFAULT 'X',
FEMALE RADIOBUTTON GROUP G1.
SELECTION-SCREEN END OF BLOCK More.
SELECTION-SCREEN BEGIN OF BLOCK Details WITH FRAME TITLE text-003.
PARAMETERS: P_DATE TYPE DATUM,
Locate TYPE C LENGTH 30.
SELECTION-SCREEN END OF BLOCK Details.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ZZZ'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Any useful help will be appreciated, THANK YOUHi
Try the below code.
REPORT ztest_notepad.
"Variables
DATA:
l_lay TYPE pri_params-paart,
l_lines TYPE pri_params-linct,
l_cols TYPE pri_params-linsz,
l_val TYPE c,
l_no_of_bytes TYPE i,
l_pdf_spoolid LIKE tsp01-rqident,
l_jobname LIKE tbtcjob-jobname,
l_jobcount LIKE tbtcjob-jobcount,
spoolno TYPE tsp01-rqident.
*Types
TYPES:
t_pripar TYPE pri_params,
t_arcpar TYPE arc_params.
"Work areas
DATA:
lw_pripar TYPE t_pripar,
lw_arcpar TYPE t_arcpar.
DATA:
it_t100 TYPE t100 OCCURS 0 WITH HEADER LINE,
it_pdf TYPE tline OCCURS 0 WITH HEADER LINE.
"Start-of-selection.
START-OF-SELECTION.
l_lay = 'X_65_132'.
l_lines = 65.
l_cols = 132.
"Read, determine, change spool print parameters and archive parameters
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
in_archive_parameters = lw_arcpar
in_parameters = lw_pripar
layout = l_lay
line_count = l_lines
line_size = l_cols
no_dialog = 'X'
IMPORTING
out_archive_parameters = lw_arcpar
out_parameters = lw_pripar
valid = l_val
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF l_val space AND sy-subrc = 0.
lw_pripar-prrel = space.
lw_pripar-primm = space.
NEW-PAGE PRINT ON
NEW-SECTION
PARAMETERS lw_pripar
ARCHIVE PARAMETERS lw_arcpar
NO DIALOG.
ENDIF.
"Get data
SELECT *
FROM t100
INTO TABLE it_t100
UP TO 100 ROWS
WHERE sprsl = sy-langu.
" Writing to Spool
LOOP AT it_t100.
WRITE:/ it_t100.
ENDLOOP.
NEW-PAGE PRINT OFF.
CALL FUNCTION 'ABAP4_COMMIT_WORK'.
spoolno = sy-spono.
"Convert spool to PDF
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = spoolno
no_dialog = ' '
IMPORTING
pdf_bytecount = l_no_of_bytes
pdf_spoolid = l_pdf_spoolid
btc_jobname = l_jobname
btc_jobcount = l_jobcount
TABLES
pdf = it_pdf.
"Download PDF file C Drive
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:\itab_to_pdf.pdf'
filetype = 'BIN'
TABLES
data_tab = it_pdf
Hope this helps you. -
How to convert the flat file data into sap tables . ?
how to upload flat file data into sap table . before upload mapping is also there in some filds . any one can give me some steps how to upload and mapping . ?
Hi
See the sample code
REPORT zmmupload.
Internal Table for Upload Data
DATA: i_mara like MARA occurs 0 with header line
PARAMETERS: p_file LIKE ibipparms-path. " Filename
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Upload the File into internal Table
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = i_mara
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Upload the Data from Internal Table
MODIFY MARA from TABLE i_MARA.
Regards
Anji. -
How to convert the sql query result into xml ? PLease..Please..
I have a table Submission Record which contain a field with mix with text string and xml data type.
Table name: Submission Record
Field name: RCA
Jason
Tomato
<Record>AA</Record>
Fish
Brother
<Record>BB</Record>
<Record>CC</Record>
Tom is a girl
Its mixing with text and xml data.
I wish to convert all into xml data as per request from management.
my select statement is like below...but i think it may contain syntax error. Wish to get help from here.
sqltestagain = "select '<DATA>' || RCA || '</DATA>' from Submission Record".
Expect below will display
<DATA>Jason</DATA>
<DATA>Tomato</DATA>
<DATA><Record>AA</Record></DATA>
or any other solution for it ??
I've tried FOR XML....DBMS_XML......but none of it worked.....also look at xmlelement
SQL> select xmlelement("DATA", rca).getstringval() from
2 (
3 select 'Jason' RCA from dual union all
4 select 'Tomato' from dual union all
5 select '<Record>AA</Record>' from dual
6 )
7 /
XMLELEMENT("DATA",RCA).GETSTRI
<DATA>Jason</DATA>
<DATA>Tomato</DATA>
<DATA><Record>AA</Record></DATA>
SQL> -
How to Convert the Stream of strings into ArrayList Integer
I have a String st = "12 54 456 76ASD 243 646"
what I want to do is print it like this from the ArrayList<Integer>:
12
54
456
243
646
It should catch the "76ASD" exception as it contain String Character.
This is how I am doing, which it seems to work but when it reaches the 76ASD it catches the exception so it is not adding the rest to the Arraylist, therefore I could not print in sequence.
public static void main(String[] args) {
// TODO code application logic here
getDatas(testString);
for (int i = 0; i < at.size(); ++i) {
System.out.println(at.get(i));
private static ArrayList<Integer> getDatas(String aString) {
StringTokenizer st = new StringTokenizer(aString);
try {
while (st.hasMoreTokens()) {
String sts = "";
sts = st.nextToken();
at.add(Integer.parseInt(sts));
} catch (Exception e) {
System.out.println("Error: " + e);
return at;
}Please guide me where I am going
Thankspaulcw wrote:
This is one of the few cases where I'd say catching an exception as part of the design is acceptable. When parsing, either something parses, or it doesn't. Using parseInt, we're parsing the string and using the result of the parse. By using a regular expression, we're parsing it twice, in two different ways, which may get out of sync. Not only that, if you have a more complicated case, like negative numbers and decimals, the regex gets really ugly.
I agree this is exactly the case where it is appropriate to try, catch, handle, move on. I sometimes wish there were an Integer.isValid(String) method, but even if there were, we'd call it, and if it returned true, we'd then call parseInt anyway, which would repeat the same work that isValid did. All it would buy us would be an if test instead of a try/catch. -
How to convert the Report Builder output to .xls
Dear All,
Let me please know how to convert the Report Builder output to Excel Format.
As there are having the facility to convert the output in .PDF or .HTML format but i want to convert that into Excel Sheet......
Please Guide me in this regards
Thanks in advance
Regards,
Vishal......Hello,
If your question is about the format spreadsheet, it is not possible from Reports Builder :
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/output/output_a_simpleexcel.htm
Restrictions
It is not possible to generate spreadsheet output directly from Reports Builder. Instead, on the command line, you can run the report using rwrun or Reports Server clients (rwservlet, rwclient, rwcgi), with DESFORMAT=SPREADSHEET. You cannot store DESFORMAT=SPREADSHEET as a system parameter value in the report definition (.rdf file).
Regards -
Converting the script and smartforms to OTF and RDI format.
How to convert the script and smartforms to OTF and RDI format. Please suggest all possible ways.
Please don't cross-post or duplicate-post.
It increases the chances that both threads are deleted faster than what it increases the chances of getting "double-good" answers...
I deleted the other thread.
Thanks,
Julius
Maybe you are looking for
-
How to change the icon for print dialog?
Hello, I have a JTable, and with the print() method, I'm able to bring up the Print dialog and successfully print the contents of the table. Example: myTable.print( JTable.PrintMode.FIT_WIDTH, myHeaderFormat, myFooterFormat );This works great, but on
-
Need to create a validation Function Module
Hi, I need to create a Validation Function Module. I have a ITAB into which data comes. FIELD-SYMBOLS : <ITAB> TYPE ANY , key TYPE ANY, char TYPE ANY. <ITAB> = local_file. there is a f
-
Receiving Day / Shipping Point
Hi Experts! When delivering e.g. to Spain from a German shipping point there is a calendar assigned on customer site that has no holiday at all combined with a fixed receiving day "Friday". The German calendar is assigned to the shipping point. Becau
-
Hi, I understand that I should get some Apple Hardware Tests to solve freezing applications problems I already had before upgrading to Lion to Leopard to mountain lion. I do not succeed to follow the directions I've been provided i.e. turn off the co
-
I cannot download the latest QuickTime 7 plug-in for Firefox on Windows 7
This all started when a website I go to frequently told me that my QuickTime plugin 7.3.1.70 in FireFox was "vulnerable". I told Firefox to update it and got to a dialog box asking me if I wanted to "Save file" to save the installer binary. I pushed