Application Development 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: 

Print preview problem while executing the smart form

Former Member
0 Kudos

When clicking print preview for checking the smart form getting below error.please help.

8 REPLIES 8

former_member209119
Active Participant
0 Kudos

Hi Raj,

first check if you have assigned form and program to output type or not? If not then do that through NACE transaction.

for print preview issue, in the driver program where the smart form is being called, you need to set the TDNOPREV (SSFCOMPOP) to SPACE and set PREVIEW, NO_DIALOG of SSFCTRLOP to 'X'. Then the system will throw the preview dialog box.

please check this link for more info. This might help you!

https://scn.sap.com/thread/111770

Reward if useful.

0 Kudos

No its not working.

Former Member
0 Kudos

Hi Raj,

Are you using some function module to show the smartform preview into pdf ? I guess you might be using SSFCOMP_PDF_PREVIEW for print preview of the smartform. Debug and check the sy-subrc of the function module.

Also check the version of the Acrobat reader installed on the machine and later you can check the GUI on the machine.

Hope this helps.

Thanks,

Tooshar Bendale

0 Kudos

No its not working.

Former Member
0 Kudos

Hi Rajdatt,

Have you attached the smartform in some standard tcode or is it a customized one?

Regards

Purnand

0 Kudos

No its not working.

Former Member
0 Kudos

Hi Rajdatt,

Please check what kind of output method do you use.

As I can see, it is probably that you are using a PDF export tool. It may need to access some website.

gouravkumar64
Active Contributor
0 Kudos

Hi Rajdatt,

Your problem Says that "this program cannot display the webpage" in smartforms.

Run Standard program FP_TEST_00 To check pdf based form correctly configured or not

http://help.sap.com/saphelp_nwpi711/helpdata/EN/43/f3228482221595e10000000a1553f7/content.htm

Check this thread for some gui related help.

https://scn.sap.com/thread/1263920.

Also see sap notes

Note 685571 - Printing PDF-based forms

Note 1444342 - Device type-independent printing of ADS forms

Note 738927 - HTMLViewer: moniker protocol is disabled in WinXP SP2

also remember For pdf based web forms, You need proper printer with relevant device type & must configured adobe live cycle designer.

Thanks

Gourav.