Skip to Content
0
Former Member
May 06, 2008 at 09:27 AM

Hi making fields mandatory?

26 Views

Hello Friends,

I want to make the fields mandatory i have used the dictionary table name and field name as my input output field name of my screen input/out fields. The code that i am writing is like....Where ZSINGLE is my table name Tdate is date and Patno - Picture number and Vdate is also one date. Can anyone correct themistake in my code.

IF ZSINGLE-TDATE = SPACE.

else.

IF ZSINGLE-PATNO = SPACE.

else.

IF ZSINGLE-VDATE = SPACE.

MESSAGE I002.

CALL SCREEN 500.

ELSE.

CALL SCREEN 100.

ENDIF.

ENDIF.

ENDIF.

I am able to make only one field mandatory even though if i am not giving the other 2 fields it is passing to the next screen wht it should not happen.

Thks