Skip to Content
Jan 26, 2007 at 07:40 PM

Screen-Required and error messages


Hi all,

I have a question with the "screen-required" component of a selection screen. I have a checkbox (p_hist) that when checked, controls whether or not another field (pdate) is mandatory. The problem is, if you check p_hist accidentally and then uncheck it without populating pdate, SAP raises an error message that you need to populate all required fields.

Is there a way around this besides not using screen-required and instead just checking that the pdate is not initial if p_hist is not initial? I know that will work, but I'd rather give the user some visual clue that the field is now required before giving an error message.