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

disability radiobutton

former_member582701
Contributor
0 Likes
490

Hello!

I have 2 radiobuttons:

SELECTION-SCREEN BEGIN OF BLOCK bloq2 WITH FRAME TITLE text-002.

PARAMETERS: p_kunnr TYPE c RADIOBUTTON GROUP rd,

p_lifnr TYPE c RADIOBUTTON GROUP rd.

SELECTION-SCREEN END OF BLOCK bloq2.

I want disability p_lifnr for always. I can't delete it because other code use this variable. How i can do it?

thx in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
468

Hi

use NO-display for that p_LIFNR declaration at the end

or use the following code

LOOP AT SCREEN.

IF screen-name = p_lifnr.

screen-input = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

reward if useful

regards

Anji

Message was edited by:

Anji Reddy Vangala

3 REPLIES 3
Read only

alex_m
Active Contributor
0 Likes
468

Use NO DISPLAY addition.

Read only

Former Member
0 Likes
469

Hi

use NO-display for that p_LIFNR declaration at the end

or use the following code

LOOP AT SCREEN.

IF screen-name = p_lifnr.

screen-input = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.

reward if useful

regards

Anji

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
468

NO DISPLAY will not show the radio-button.

Use the following code for disabling :

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-name = p_lifnr.

screen-input = 0.

ENDIF.

MODIFY SCREEN.

ENDLOOP.