Skip to Content
0
Former Member
Feb 09, 2006 at 02:58 PM

Which statement presents there is no record in dtab?

1368 Views

Hi all,

does anybody know how I can check whether there is data record in current table.

I use now

SELECT COUNT(*)

FROM dtab.

if sy-subrc eq 4.

write:'no record'.

endif.

But it seems ugly.Any better solution?

Thanks

B.R.

Liying

Message was edited by: Liying Wang