Skip to Content
Author's profile photo Harshad Bhingarkar

Tips & Tricks : Smartform Development for Pre-Printed Paper

Over the time, Form printing solutions in SAP got the needed maturity and became very developer friendly compared to the old solutions like SAP Script. One of solutions, Smartforms provides an effortless design option in building the forms with colors, tabular structure, bar code printing etc.

But still there comes the situation, where even after having these nice tools, developers face problem in development due to very nature of the requirement. One very typical example of such problem is “Development of the Form solution for a Pre-Printed Stationary/Paper”. Here, developer just has to print the actual values as all the tabular structures or the various texts, Logo are already available on the pre-printed stationary. Here, developer’s problems get multiplied if development is happening at a remote location like offshore center where specific printer / stationary is not available. Such situations are very common in projects.

In this case, normally Development team receives the requirement in the soft copy which generally has a scanned copy of the pre-printed stationary. All the tabular structures, texts and Logo will be already available on the Stationary and a developer will need to develop a form which should take care of existing prints on the paper along with actual data printing. Developer starts with his own understanding of the paper size and alignments and lot of time is wasted till final testing, as every time for testing one need to take the print on actual stationary to check the alignments.

               In such scenarios, the valuable testing time can be saved if the development is happening in the Smartform. There is very simple solution to resolve the issue to a great extend… though sign off has to be earned by taking the print on actual Stationary . Lets see how one can save testing time to a great extend. –

In the normal development, developer will create a smartform solution with his presumption and a sample output of the development will look something like below screenshot

               Before - Output.JPG

With this out-put, its hardly possible to say whether development is on right track or not… till one actually print it on the actual paper. In a remote development team case, its add some more issues to this problem and unnecessarily eat up the valuable development time.

To a certain extend this can be reduced. What one need to do is to make a .bmp file of scanned copy of the Pre-Printed stationary and load that image in SAP using Transaction SE78. Then by adjusting the resolution, assign this uploaded image as a Background Image in Smartform Page definition as shown below.

Page Setting.JPG

               While attaching the image as a background image remember one important thing — we need to set the Output Mode as “Print Preview”. This way, you will be able to see the data along with the Background image only in Print Preview. But it will not print the background image as a output. With these settings, one will get the sample output in Print preview option as below

               After - Output.JPG

I hope this helps you in your future developments.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Simple... But still a very useful Tip

      Author's profile photo Chintu Gupta
      Chintu Gupta

      very very useful tip

      Author's profile photo Former Member
      Former Member

      Excellant tip.. will definitely help in future developments 🙂

      Author's profile photo Harshad Bhingarkar
      Harshad Bhingarkar
      Blog Post Author

      Thank you guys for the comments

      Author's profile photo Former Member
      Former Member

      Very Useful Tip. Thanks for sharing.

      Author's profile photo Former Member
      Former Member

      Wonderful !!!

      Author's profile photo Former Member
      Former Member

      It made my life simpler. Thanks a TON!

      Author's profile photo Shankarnarayan K
      Shankarnarayan K


      Author's profile photo David Liu
      David Liu

      Good Post!


      Author's profile photo Jyotirmaya Mallick
      Jyotirmaya Mallick

      Nice will reduce the paper waste

      Thank you very much.

      Author's profile photo Raj Kumar
      Raj Kumar

      Useful article for smartforms...

      Author's profile photo Former Member
      Former Member

      Hi Harshad,

      I have a similar requirement to create a smartform to print data on pre printed paper which has tables with fields.

      When scanning the pre printed paper and converting it into a BMP file,how do I know what dimensions to use for the BMP file(it is in DPI whereas when scanning the pre printed paper I can meniton the size of the paper in the scan settings in the printer)??

      Author's profile photo Florian Henninger
      Florian Henninger

      Just scan it with 300dpi so you can just use the exact same dimension in Smartforms again. If you face problems, ask a colleague with some experience in GIMP/Photoshop or something similar. He/she will know what to do.


      Author's profile photo Darren Deng
      Darren Deng

      That's Great! Very Useful

      Author's profile photo Mohammed Misbahuddin
      Mohammed Misbahuddin

      Very useful tip.