‎2010 Jul 07 5:43 AM
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.
‎2010 Jul 07 5:55 AM
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
‎2010 Jul 07 5:59 AM
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