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

Hiding selection-screen

Former Member
0 Likes
561

Hi All,

I have a requirment to hide a selection-screen block based on the radio button option displayed in selection-screen.

I am able to do this, but in this block there are some mandatory fields to be filled .

So every time when i change the radio button , i have to fill the mandatory fields in order to hide it .

Pls let me know how to hide a block without entering the mandatory fields in it .

Thanks & Regards,

Rajasekhar.

2 REPLIES 2
Read only

anup_deshmukh4
Active Contributor
0 Likes
523

When you Do loop at screen on the according to the radio button selection there is a field in Structure SCREEN-REQUIRED just set it to flase ...for your mandatory fields ( in AT SELECTION-SCREEN OUTPUT )

Hope it should Help

Edited by: Anup Deshmukh on Jul 7, 2010 6:56 AM

Read only

birendra_chatterjee
Active Participant
0 Likes
523

Hi Rajasekhar,

Either remove the 'obligatory' keyword from the syntax when you declare the mandatory fields, rather, check in your program, whether these fields are filled for suitable radio-button corresponding to that block, and if these are empty, give error message 'Fill in required fields'. Thus while hiding the block for a different radio-button You do not require to fill these fields.

Else, just code some default values in the program to these mandatory fields, so that You need not enter the values to these fields before hiding the block.

Regards,

Birendra