‎2009 Mar 23 8:12 AM
Hi i have enabled multiple selection option in table control.Now i have some records in table control.In PAI i have raised an error message if user do not select any record from table control.If you do not select any record and press submit button, i got an error message aftr that i am not able to select the record. Cursor is not going to tabl econtrol.
‎2009 Mar 23 9:11 AM
Hi,
Its better to follow : if no records are selected and user clicks SUBMIT button, then display a warning message, instead of error message.
MESSAGE 'No Record(s) Selected' TYPE 'W'.Hope this helps you.
Regards,
Tarun
‎2009 Mar 23 8:19 AM
hi
raise a warning message instaead of error , but display like i .
if user not selected any line,
message 'info' display like e.
flag = 'x'.
endif.
then
when user clicks submit,
check flag is initial" means user should select a line.
then dispaly the message again.
set cusror in the table control.
regards,
Ramya
‎2009 Mar 23 8:58 AM
Use message:
If not selected.
MESSAGE 'XXXX' type 'S' Display like 'E'.
ENDIF.Regards,
Gurpreet
‎2009 Mar 23 9:11 AM
Hi,
Its better to follow : if no records are selected and user clicks SUBMIT button, then display a warning message, instead of error message.
MESSAGE 'No Record(s) Selected' TYPE 'W'.Hope this helps you.
Regards,
Tarun