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

making fields as visible in table control

Former Member
0 Likes
777

Hi Guru,

I have one table control wizard in which i have 10 fields. Based on radio button clicked on previous screen one field should be disable.How to do that. Please help me.

Thanks,

Sandeep Garg

Hi Guru,

I have one table control wizard in which i have 10 fields. Based on radio button clicked on previous screen one field should be disable.How to do that. Please help me.

Thanks,

Sandeep Garg

5 REPLIES 5
Read only

Former Member
0 Likes
709

To hide input fields on the selection screen, use:

SELECT-OPTIONS <selcrit> FOR <f> ... NO DISPLAY ..............

Regards

Sowmya

Read only

Former Member
0 Likes
709

Hi Sandeep Garg,

Write the code in the PBO as below:

LOOP AT SCREEN.

IF r_button1(which radio button name u r going to select) EQ 'X'

IF screen-name = 'I_ITEMS-MATNR' (The fiels name on the screen).

screen-input = 0.

ENDIF.

ENDLOOP.

Regards,

rama.

Read only

Former Member
0 Likes
709

Hi,

You can try looping on screen in PBO of the table control screen.

Based on the radio button choosen and set the value of the scrren field invisible.

Try like below:


 if r_button = 'X'.       "Radio Button selected
 loop at screen.
  if screen-name = 'FIELDNAME'.
    screen-input = '0'.
   screen-invisible = 'x'.
  modify screen
endif.

regards,

Himanshu Verma

Read only

0 Likes
709

I tried the same.

But it is not working.

Read only

Former Member
0 Likes
709

u can use this concept code:

if r_button = 'X'. explanation: if Radio Button selected

loop at screen.

if screen-name = 'FIELDNAME'.

screen-input = ' 0'.

screen-invisible = 'x'.

modify screen

endif.

***plz award points***