Overcome the default limit of 30 characters to parameters/select-options text on selection screen
On selection screen we can display up to 30 characters of parameters/select-options text.
However with the help of “SELECTION-SCREEN COMMENT [text] FOR FIELD sel”, we can overcome this limit of 30 characters upto 83 characters.
1. Go to transaction code SE38 and create sample program.
2. Let’s say we need to create two radio buttons R1 and R2 with the texts “Service Tax liability Register for manufracturing “and “Service Tax liability Register for services ”, respectively.
3. Usual way of doing it is with the help of GOTO->TEXT ELEMEMTS->SELECTION TEXTS.
a. Create two radio buttons as below.
b. Now assign the texts to these radio buttons GOTO->TEXT ELEMEMTS->SELECTION TEXTS
c. Enter the corresponding text here
d. Activate and execute the program.
It will not allow us to write more than 30 characters.
4. Let’s see how this can be achieved.
a. Write below code and activate the program
b. Maintain the texts TEXT-001 and TEXT-002 [Goto->Text elements-> Text Symbols] and activate the texts.
c. Execute the program.
And it’s DONE..