‎2009 Jun 04 11:59 AM
HI,
there is exception class @ method that i can use for table select
with messages like no_entry_found and so on
Best regards
Nina
‎2009 Jun 04 12:35 PM
Hello Nina
I do not think that such a class exists because the interface would need to look different for every table (or you have a fully dynamic selection with will make the interface quite complex on the other hand).
The SELECT statement does not raise any exception in case nothing is found but just sets
SY-SUBRC = 4
SY-DBCNT = 0Regards
Uwe
‎2009 Jun 04 12:35 PM
Hello Nina
I do not think that such a class exists because the interface would need to look different for every table (or you have a fully dynamic selection with will make the interface quite complex on the other hand).
The SELECT statement does not raise any exception in case nothing is found but just sets
SY-SUBRC = 4
SY-DBCNT = 0Regards
Uwe
‎2009 Jun 05 7:41 AM
hai nina,
based on sy-subrc value after select statment u can write ur own messages
regards
afzal