Application Development and Automation 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: 
Read only

help in selection screen output

selvi1
Explorer
0 Likes
894

hai all,

i want sample code for selection screen parameter to be displayed in color.

how can i do this.

plz help me...

thanks..

regards,

selvi

hai all,

i want sample code for selection screen parameter to be displayed in color.

how can i do this.

plz help me...

thanks..

regards,

selvi

5 REPLIES 5
Read only

Former Member
0 Likes
853

Hi,

You can't display the selection screen paramter in color.

You can only display the Output fields in Color (from 1 to 6) using write statement

if you want the same selection screen paramter can be displayed in Color on the output of the report on the top of the data.

Reward if useful.

regards,

Anji

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
853

hi

pls see this


PARAMETERS: test1(10) TYPE c MODIF ID sc1,
            test2(10) TYPE c MODIF ID sc2,
            test3(10) TYPE c MODIF ID sc1,
            test4(10) TYPE c MODIF ID sc2.

AT SELECTION-SCREEN OUTPUT.

  LOOP AT SCREEN.
    IF screen-group1 = 'SC1'.
      screen-intensified = '1'.
      MODIFY SCREEN.
      CONTINUE.
    ENDIF.
    IF screen-group1 = 'SC2'.
      screen-intensified = '0'.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

thx

pavan

Read only

Former Member
0 Likes
853

May be you can change Color of Select-Option's description to 'Blue' from the default 'Black' color and its corresponding input box value from 'Black' to 'Red'.

For this

Loop at Screen and modifying the 'Intensified' value to '1'.

report ztest.

tables : t001w.

selection-screen begin of line.

selection-screen: comment 1(20) text-005 " Plant

for field p_werks modif id sc1.

selection-screen position pos_low.

parameters : p_werks like t001w-werks.

selection-screen end of line.

at selection-screen output.

loop at screen.

if screen-group1 = 'SC1'.

screen-intensified = 1.

modify screen.

endif.

endloop.

Read only

Former Member
0 Likes
853

hi,

u can intensify the selection-screen fields.

parameters:

p_xxx type xxx modif-id 'ABC'.

at selection-screen output.

loop at screen.

if screen-group1 eq 'ABC'.

screen-INTENSIFIED = 'X'.

endif.

modify screen.

endloop.

Read only

selvi1
Explorer
0 Likes
853

plz send me the sample report for changing the selection scree. output color.