2009 Jun 25 5:48 PM
Hello,
I have writen a report and on its selection screen, the logic is if checkbox is checked, one parameter field should be made as "required".
I did it at selection screen output and using screen-required field as '1'. It works.
But if user un-checks the checkbox after checking it, still the parameter field stays as required. It does not become a optional field.
What should I do to remove this required parameter?
I tried at-selection-screen on field for both checkbox and parameter field. But it does not work.
Pls advice.
Thanks,
Rupali.
2009 Jun 25 5:57 PM
Hi,
Try clearing the field after the operation is finished.
Regards,
Abhinab Mishra
Hello,
I have writen a report and on its selection screen, the logic is if checkbox is checked, one parameter field should be made as "required".
I did it at selection screen output and using screen-required field as '1'. It works.
But if user un-checks the checkbox after checking it, still the parameter field stays as required. It does not become a optional field.
What should I do to remove this required parameter?
I tried at-selection-screen on field for both checkbox and parameter field. But it does not work.
Pls advice.
Thanks,
Rupali.
2009 Jun 25 5:57 PM
Hi,
Try clearing the field after the operation is finished.
Regards,
Abhinab Mishra
2009 Jun 25 6:21 PM
Sorry. But I did not get your answer.
I am still on the selection-screen.
1) When I check the checkbox, the field becoms required. I get the message to enter some value for that field, when I press F8. ( Which is correct.).
2) I decide not to enter any value. But I uncheck the checkbox.
3) Still the parameter field is required entry field. But I do not know what value to enter into that.
So I am stuck at selection-screen.
Thanks.
2009 Jun 25 7:03 PM
I believe you must be playing with the SCREEN internal Table for making the input field Mandatory.
You must be making the Input Field Mandatory in the At-Selection Screen output.
For Making the Field Optional in case the User uncheck the checkbox, please update the SCREEN internal Table in the At Selection Screen on CheckBox.