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

Selection screen program name should be grayed out.

UmaArjunan
Active Participant
0 Likes
547

In the selection screen , i need the program name to be displayed

like

program : ZZ_PROGRAM

number : input box.

calculation is got to be done based on the input number.

Without using screen painter i have to create using

the parameter or any other abap statements.

The program name should be grayed out.

name of the program should be in the box (as we do for parameters)

Please suggest how to achieve this

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
530

Hi,

PARAMETERS : p_text(50) MODIF ID 'ABC',

p_number TYPE I.

INITIALIZATION.

p_TEXT = 'YOUR PROGRAM NAME'.

AT SELECTION SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-NAME = 'P_TEXT'

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

4 REPLIES 4
Read only

Former Member
0 Likes
531

Hi,

PARAMETERS : p_text(50) MODIF ID 'ABC',

p_number TYPE I.

INITIALIZATION.

p_TEXT = 'YOUR PROGRAM NAME'.

AT SELECTION SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-NAME = 'P_TEXT'

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

Former Member
0 Likes
530

Hi

PARAMETERS : p_ststrt(15) MODIF ID gra.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-group1 = 'GRA'.

screen-input = '0'.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

Read only

Former Member
0 Likes
530

See the following ex:

parameters: p_repid like sy-repid default sy-repid modif id MD1,

s_count type i.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'MD1'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

0 Likes
530

Thank you experts.