Skip to Content
0
Former Member
Jun 10, 2005 at 08:23 AM

set cursor on a parameter

242 Views

Hi,

I want my ABAP program to diplay an error message whenever a particular paramater is left blank. This will happen if a checkbox will be checked. If the error message will be displayed I also want the cursor to be put on that blank parameter. However if a checkbox will not be check there is no need to display an error message message.

PARAMETERS: p_error(200) TYPE c,

cb_check AS CHECKBOX.

AT SELECTION-SCREEN.

IF cb_check = 'X'.

IF p_error = space.

???????????????????????.

MESSAGE e055(00). "Error message

ENDIF.

ENDIF.

Question: what statement should be placed in ????????????????????????? part...

Thanks in Advance....!