Convert Smartform to Word
I have a requiremnt to convert a smartform output generated to Word format. Apart from the font sizes, i have a logo generated in smartform which also needs to be converted in that word. Can anyone know about this or have done this requirement then p
Thanks & Regards,
<u>A example for you</u>
CALL FUNCTION fm_name " '/1BCDWB/SF00000031'
control_parameters = control_parameters
output_options = output_options
s_header = st_header
job_output_info = output_data
it_overdue = ITAB
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5
now convert the final document (OTF format) into PDF
CALL FUNCTION 'CONVERT_OTF'
format = 'DOC'
bin_filesize = v_pdf_len
otf = output_data-otfdata
lines = pdf_table
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
Downloading the PDF file to the local Server
CALL FUNCTION 'GUI_DOWNLOAD'
FILENAME = L_FILENAME
FILETYPE = C_BIN_FILETYPE
DATA_TAB = lt_pdf_nuc_data
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.
Hope this helps you
Hi Anil , and Hi All I am trying to display smartforms output in java webdynpro for that i have got the following code in sdn. can anybody please clarify these doubts in the below code 1) What are the mandato[More]
Hi all.. I am trying to convert smartform's output in PDF file.. I am able to convert smartforms's output in PDF but after that i can't see Print Preview.. Code is following... REPORT ZMM_R402_FORM_TEST11. TABLES : VBRK,J_1IEXCHDR. SELECTION-SCREEN :[More]
Hi, I have an issue while converting smartform output to PDF. After converting samrtform out to PDF, apostrophe(') is appearing as # in the pdf file. For example the word Indian's is getting printed as Indian#s. I'm using Helvetica font for printing[More]
Hi all, I am getting some alignment problem in converting smartform printpreview into PDF format, i.e the format of PDF is different from printpreviw of smartform. kindly suggest something so that alignment is not changed while converting to PDF. Reg[More]
Hi I am using the CONVERT_OTF function module to convert a SMARTFORM report in the "spool" to a PDF file. When I use the DOWNLOAD function module, the resulting file can be opened in acrobat. I would like to email the report in PDF format as an[More]
Hi, How to convert smartforms to pdf? How to attach this pdf to email? How to attach this pdf to the email and at the same time can print preview the smartforms? Thanks.Hi Navi, Code Snippet for Simple Mail *& Report ZZ_TEST [More]
Hi, I want to convert smartform as pdf from ABAP webdynpro. Flow: SmartForm-->Generating Function Module -->Getting Output Data --> Converting OTF to PDF --> Open/Save PDF file in ABAP webdynpro. What are the sequence of function modules to be[More]
Hi Friends, This is my requirement. Need to convert SmartForm into PDF and this PDF should be send as an email with attachment and PDF should be password protected. Can anyone plz help me???Dear Jena, This is my code. [More]
Hi, i'm converting smartform to ms word file but design is spoiled. CALL FUNCTION 'CONVERT_OTF' EXPORTING format = 'ASCII' max_linewidth = 132 IMPORTING bin_filesize = gv_fsize * bin_file [More]
Hi, I want to convert smartform to pdf from ABAP webdynpro and I want to display pdf in ABAP wedynpro view or portal iview. what are the steps needs to be followed? what are the classes and interfaces needs to be used?Hi, Please check this it might b[More]
Hi all, I need to convert smartfom spool to pdf.. When i executed the smartform it is generating a spool number and tsp01-rqdoctype = 'SMART'. To convert Spool to PDF Iam using the following function module 'CONVERT_ABAPSPOOLJOB_2_PDF' It is convert[More]
- 1 I use an Iphone 4 which had to be replaced recently. However when i did a backup it was on the new IOS version 7, but now that my phone was replaced and i am back on the old IOS version 6 i how do i restore my backup??
- 2 Customer Master download from ECC 6.0 to CRM 7.0
- 3 Dynamic Queries in ABAP?
- 4 Sale order costing for Trading goods
- 5 Safari ; can't see download size
- 6 OSX error message - the software for this printer is currently unavailable
- 7 Error: Blurb / The transparent areas will show as opaque in your book.
- 8 URGENT: JasperReport
- 9 Receiving messages on broken phone?
- 10 I upgraded to the Samsung Galaxy S5 two months ago. I'm still unable to sync or move contacts from the phone into my 2012 Toyota Camry. I've been to the dealership to have them look at my car. It also has been tried in 2 different 2014 models. I don't kno
- Converting SNP Planned Order /Purch Req to Prod.Order/Purch.Order
- Is it possible to embed fonts in a pdf without all the tools?
- ITunes 7&8 will only start once per install on Vista 64-bit.
- How to insert line numbers in InDesign CS5
- The New iTunes
- Transferring RAW photos to Iphoto
- Up-To-Date Program confirmation, over 24th hours still nothing.
- To restrict the change of quantity of component
- Changing The IPOD name
- Safari crashes as soon as I try to open it - I have Yosemite OS