Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to bold the comment ?

Former Member
0 Kudos

hi friends...

i am using selection screen..

in that screen i want to bold the comment..

for eg

SELECTION-SCREEN COMMENT 40(32) text-100.

text-100 is SAP..

i want this word SAP in bold ie bigger in size

5 REPLIES 5

former_member223537
Active Contributor
0 Kudos

SAP doesnt support such kind of formatting.

Former Member
0 Kudos

hi,

it is not possible but u can change the color using format.

rgds

Former Member
0 Kudos

Hi Deva,

You can show the comment in Blue

For that use the below code.

SELECTION-SCREEN : BEGIN OF BLOCK GRP1 WITH FRAME TITLE TEXT-001.

SELECTION-SCREEN COMMENT 1(65) TEXT-001 MODIF ID SC1.

PARAMETERS : p_text(50) type c.

SELECTION-SCREEN: END OF BLOCK GRP1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'SC1'.

SCREEN-INTENSIFIED = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

*Note

*TEXT-001 = 'Hello'.

0 Kudos

hi Velangini Showry Maria Kumar Bandanadham..

some what my problem solved...

thanks 4 ur effort

Former Member
0 Kudos

HI,

PARAMETERS p_bukrs(10) type c.

SELECTION-SCREEN: COMMENT /10(65) TEXT-005 FOR FIELD P_BUKRS MODIF ID SC1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'SC1'.

scREEN-INTENSIFIED = 1.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

when scREEN-INTENSIFIED = 1 YOUR COMMENT WOULD BE IN blue,

scREEN-INTENSIFIED = 0 your comment would be in black.

plz reward points if it helps

rgds