Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding to smartforms

Former Member
0 Likes
497

Hi Guru's

i want to convert smartforms output into word. there is any standered program to convert smartforms to word.

rewarded answer accepted.

regard.

sam.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
475

Hi Amit,

I think You can print a Smart Form in PDF.

For the procedure go through this link.

http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/frameset.htm

Thanks

NItesh

3 REPLIES 3
Read only

Former Member
0 Likes
475

Please refer following SAP notes:742662

SAP has not provided the feature as in PDF for MS word.

Read only

Former Member
0 Likes
475

use this, its working in script, dont know abt SF

call function 'CONVERT_OTF'

exporting

format = 'ASCII'

max_linewidth = 132

tables

otf = gt_itcoo

lines = gt_tline1

exceptions

err_max_linewidth = 1

err_format = 2

err_conv_not_possible = 3

others = 4.

.

if sy-subrc <> 0.

exit.

endif.

loop at gt_tline1.

move-corresponding gt_tline1 to gt_tline2.

append gt_tline2.

clear gt_tline2.

endloop.

call function 'DOWNLOAD'

exporting

filename = 'C:\Commercial Invoice.txt'

filetype = 'DAT'

tables

data_tab = gt_tline2.

Read only

Former Member
0 Likes
476

Hi Amit,

I think You can print a Smart Form in PDF.

For the procedure go through this link.

http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/frameset.htm

Thanks

NItesh