Hi frens
i am getting a dump when i try to activate my Z program . Usually , either error message or warnings are displayed on activation ...Moreover , iam getting a dump even wen i try to display (F7) my program.
The error analysis in ST22 states "An SQL error occured when accessing a table" .
Error analysis :
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure
"PREPARE_FOR_DISPLAY" "(FORM)"
The dump point is listed below for reference ....
002830
002840 * Inactive objects
002850 DESCRIBE TABLE l_objectlist LINES sy-tabix.
002860 IF sy-tabix > 0.
002870 SORT l_objectlist.
002880 DELETE ADJACENT DUPLICATES FROM l_objectlist.
-
> SELECT object obj_name FROM dwinactiv INTO TABLE l_inactivetab
002900 FOR ALL ENTRIES IN l_objectlist
002910 WHERE obj_name = l_objectlist-obj_name
002920 * AND object = l_objectlist-object " commented
002930 .
002940 SORT l_inactivetab.
002950 ENDIF.
The entries in l_objectlist are the names of the developments objects (screens , includes , subroutines etc) used in the programs ..
Any pointer on the above issue would be of help...
Regards
Pankaj