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

How to save smartform ?

Former Member
0 Likes
1,822

hi

i have smartform which display employee appraisal. Is there a way that the user will save the smartform to local file?

or a function that does it ?

thanks

1 ACCEPTED SOLUTION
Read only

MaruthiKona217
Participant
0 Likes
1,370

Hi ,

Please go throug the below sample to download SMARTFORM Output into you local file .

[Smartform To PDF Download|http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadSMARTFORMoutputtoPDF+file.]

Regards,

Maruthi

6 REPLIES 6
Read only

Former Member
0 Likes
1,370

Hi,

You can use report RSTXPDFT4 to convert the spool number to a PDF file or try the PDF! function code. It has to be entered in the command field of the smart form print preview screen. It converts the smart form to PDF and displays it using the default PDF viewer, from there you can download the file (or print it).

Regards,

Sudheendra.

Read only

madhu_vadlamani
Active Contributor
0 Likes
1,370

Hi,

Get the spool request no and keep in report RSTXPDFT4 and save on desktop. check there are no of threads available on this topic.

Regards,

Madhu.

Read only

sjeevan
Active Contributor
0 Likes
1,370

ANOTHER SOLUTION: You can follow the solution I mentioned

You can skip the ME9F part because it's printing purchase orders and apply the above solution to your TCode of interest .

Edited by: Jeevan Sagar on Oct 30, 2011 9:42 PM

Read only

Arun_Prabhu_K
Active Contributor
0 Likes
1,370

Open the smartform via tcode smartforms.

Go to Utilities -> Download Form to save it.

The downloaded file will be in XML format.

The same file can be reused later if u had done any wrong editing in the smartform ( Utilities -> Upload ) .

Cheers.

Read only

MaruthiKona217
Participant
0 Likes
1,371

Hi ,

Please go throug the below sample to download SMARTFORM Output into you local file .

[Smartform To PDF Download|http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadSMARTFORMoutputtoPDF+file.]

Regards,

Maruthi

Read only

Former Member
0 Likes
1,370

HI,

Please refer the following link ..

http://allaboutsap.blogspot.com/2007/09/convert-smartforms-to-pdf-and-save-as.html

Regards

Rajashiva Ramalingam