2008 Oct 03 11:39 AM
Hi all,
i'm working on a report.
in selection screen i got one field called
type---- where i can enter 1a and 1b or any of this values..when i execute values should be based on this condition. this is my first set of value..
in second set i can enter 5a, 5b, 5c or combination of these and it should not accept 1a and 1b..when i execute values should be based on this condition.
please help me to get the logic
2008 Oct 03 12:31 PM
u can use AT SELECTION-SCREEN event for above purpose
where u mention
IF field <> '5a' or field <> '5b' or field <> '5c'
then display the error message
regards
sateesh
2008 Oct 03 12:31 PM
u can use AT SELECTION-SCREEN event for above purpose
where u mention
IF field <> '5a' or field <> '5b' or field <> '5c'
then display the error message
regards
sateesh
2008 Oct 03 12:37 PM
Hi,
I guess you have defined a select-option for this.
Loop at the select-option and look for the first character of low and high values, if all are same, then its ok otherwise throw an error message. Do this in AT-SELECTION SCREEN.
example :
1a 1b 1c so loop at this and see if all the entries have 1 as the first character and give error message otherwise.
regards,
Advait