Skip to Content
Author's profile photo K Jogeswara Rao

Easy PDF convert of smartform preview

For quite sometime for pdf outputs of smartforms, I used to include pdf convert codes in smartform driver program or use spool number in pdf convert program etc.

Recently, I came to know about a very easy method of converting a smartform print preview into a pdf file.

This is how it works:

Type PDF! (‘PDF’ with Excalamtion mark) in the command bar of the smartform preview screen and press enter.

A pdf pop-up appears and you can save it. Given below is an example screen-capture.

Ours is ECC6.0, Ido not know whether  this feature is available in all versions or only in recent ones.

/wp-content/uploads/2013/06/untitled1_228408.jpg

Jogeswara Rao K

Assigned Tags

      18 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jelena Perfiljeva
      Jelena Perfiljeva

      Thanks for sharing but this was actually already posted in Output Management space almost a year ago: http://scn.sap.com/community/output-management/blog/2012/07/08/play-with-print-preview

      Please don't let this to discourage you from posting, but you might want to search first to make sure it's not a re-post.

      Thank you.

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      Thank you for the information!

      In fact, I had a brief search in Google with String 'PDF!' . After not getting any desired SCN threads, I prepared this document and posted in Blog instead of in Documents, because of some element of doubt that people might be knowing this.

      The central objective is to give exposure to more people about such knowledge, who did not know this and are unlucky to reach the place you've referred, as I was.

      It is quite possible that, the origin from where this information flown to me was the same link you've referred.

      That was my first Blog post.

      Thank you, I've learnt something from you post.

      Jogeswara Rao K

      Author's profile photo Former Member
      Former Member

      Hello!  So I knew about this functionaity at my old company, but at my new company it is not working.  Any thoughts?  What are the rules around it?  What works and what won't?

      Thank you! 🙂

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      Greetings Steffanie,

      Whether you are putting /n etc before pdf! . That is not required.

      Also this might depend on the ECC versions. Ours is ECC6.0 EHP0.

      May compare your old and new versions.

      Not have much idea in this direction.

      Jogeswara Rao K

      Author's profile photo Amala Srinivasa Rao
      Amala Srinivasa Rao

      Nice One, 🙂

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      Thanks Srinivas !

      Author's profile photo Former Member
      Former Member

      Dear Jogeswara Rao,

      There was a problem by using PDF! what exactly that one if the smart form first page is main page and next page is copy of the first page it will not print copy page.

      Regards,

      Harsha.

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      Is it? I haven't ever experienced it. But logically it should not be like that. Isn't it?

      Anyway, thanks Pradeep for the information.

      -Jogeswara Rao K

      Author's profile photo Former Member
      Former Member

      Hi Srinivas,

      Thanks for sharing link.

      Best Regards,

      Kishore Kamarthapu

      Author's profile photo Former Member
      Former Member

      Thanks for sharing knowledge.

      Regards

      Chirag

      Author's profile photo Former Member
      Former Member

      Hi Jogeswara Rao,

      Thankyou,

      And some time back you had created a document for displaying image @ selection-screen, which i am not able to access anymore. Is there anyway i can access it, since it was very well explained with illustrations and code?

      Regards,

      KS

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      I'm sorry KS,

      Due to some constraints that document is not available on SCN.

      Regards

      Jogeswara Rao K

      Author's profile photo Former Member
      Former Member

      Useful One...Many Thanks.

      Best Regards,

      Naresh K.

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      Thank you Sir

      Author's profile photo Srinu S
      Srinu S

      Very useful document. thanks for sharing. 🙂

      Author's profile photo Janagar Sundaramoorthy
      Janagar Sundaramoorthy

      Do you have any idea why PDF! is not working in NWBC client but it is working in GUI?

      Author's profile photo K Jogeswara Rao
      K Jogeswara Rao
      Blog Post Author

      It is working for me. (NWBC 5.0). Investigate local causes, like pdf reader re-install etc.

      Author's profile photo Former Member
      Former Member

      Thank you very much for sharing this command with us. We have ECC6.0

      I was starting to convert the Smartforms into Adobe Forms just to have the option to Save the pdf file into to the disc.