Abstract:
As we are aware, we can print the text in different colors as required in smartforms. It is easy to print the text in colors using the color feature in smart styles. Imagine there is a form, which is developed using SAP scripts and is been used for a quite long time. And now if there is a requirement to print some text in the form to print in a particular color, the only option available is to migrate to smartforms.
It would be of great help if this can be achieved with a little effort using the SAP scripts itself. Unfortunately there is no direct way provided by SAP as in smartforms to do the same, which gave me an opportunity to find out a way to do the same using SAP scripts.
This document explains how to print text in different colors in SAP scripts, what are all the different steps to be followed to achieve this.
1. Color Printing in Smartforms:Before going to the actual topic, we will see how to do this in smartforms. The color printing in smartforms is an easy & direct way provided by SAP to print the text in different colors.The option to choose the color is available in Smart Style as shown below.
Screen 1: Choose color in Smart Style
2. Color Printing in SAP Scripts:
As we are aware, there is no such option provided by SAP in scripts to print the text in different colors. So some work around is done to achieve this functionality.
The form can be printed in color as shown below.
Screen 2: Output of the Form
Best Regards,
Sireesha Ch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
5 | |
4 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |