You are on page 1of 5

1.

Pretty Printer:

 Code beautifier
 Helps to standardize the layout of the program
 Short cut – SHIFT + F1

2. Standard Texts:

 Transaction code – SO10


 Standard text is used when the text to be reusable
 Standard texts are globally stored and standard texts can be access anywhere in the program

Usage of Standard text:

 Standard texts are created for printing documents or inserting contents of the mail body

Steps to create Standard text:

1. Transaction code  SO10 Enter the Text name (“ZXXXYYY”), Text ID (“ST”) and
Language(“EN”)  Click Create button
2. Go to  Change Editor  Enter the Texts which want to display
3. Save & Activate

How to read or use standard text in program?

 Using “READ_TEXT” we can use standard text in the program

3. Message Class:

 Container which holds a number of different messages


 Each message in the message class is identified with unique message number
Message Types:

 I - Program continuous immediately after the message statement. Displayed in Dialog Box
 E - Program terminates after the error message
 S - Program continuous normally after the message statement. Displayed in Status Bar
 W - Program terminates after the warning message
 X - No message displayed. Program terminates with short dump
 A - Program terminates. when user confirms the message, control returns to main menu

Creation:

1. Transaction code – SE91


2. Enter the message class name & click Create button
3. Maintain messages texts with message id
4. Save & Activate

Syntax:

 MESSAGE <S/E/W><message no> ( < Message class > )


 MESSAGE <S/E/W><message no> ( < Message class > ) WITH < dynamic value>

4. Variants:

 Concept of saving a set of input fields with values with a particular name, so that we can use the
same set of inputs next time.
 Minimize the risk of incorrect data entry

Ways to use Variants:

o To execute a report with a same set of values every time

o When a report needs to be executed in background mode, variants are the only way to
pass values to the report.

Types of Variants:
 Static Variant
 Dynamic Variant

Static Variant:

Enter the inputs and click save button


Enter the Variant and description name and save

Dynamic Variant:

Enter the inputs and click save button

Enter the Variant name and description. Select the selection variable (T / D / X) from list.
Select the name of the variable and select any one from the list and enter the condition for the
date and save the Variant.
5. Text Elements:

 Short cut – F5
 Text elements used to maintain the program texts in different languages
 Used for maintaining List headings, selection texts and text symbols

How to create Text Elements:

 SE38  Enter the program name & Select the Text Elements radio button  Click Create
Button

Types of Text Elements:

 Text symbols
 Selection Texts
 List Headings

Text Symbols:

Dynamic Text symbols:

1. In text symbols – the value is &


2. Use REPLACE statement to replace ‘&’ with ‘Values’

Selection Texts:

 Selection texts are labels used for Inputs like Parameter, Select-options, Check box…

List Headings:

You might also like