2007 Jul 20 11:42 PM
Hi,
I have a screen , it has table control along other fields. If the user does not enter any data in the table control, i have to raise error message and i have to make table control input enabled.
Thanks in advance
2007 Jul 21 12:30 AM
Hi,
Try to put your error message statement withing Chain .. endchain.
Regards,
Devendra
2007 Jul 21 3:27 AM
in the PAI within the LOOP and ENDLOOP of table control.
DECLARE
CHAIN
FIELDS <all row fields of the table control>
MODULE check_empty_fields.
ENDCHAIN.
withthin this module put the code:
MODULE check_empty_fields.
IF <Your table control field 1> IS INITIAL
AND <Your table control field 2> IS INITIAL
AND ...list all fields.
message 'Your message type <b>E</b> .
ENDIF.
ENDMODULE.
Regards,
A.Singh