Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Extended Program Check Errors

Former Member
0 Likes
523

I am running SLIN against some code. I am getting 240 red error messages, like the one shown below. The line number noted does not correspond to anything in my source code. In fact, in a lot of cases, it corresponds to a line containing only a comment.

How should I interpret these messages? Could they be reporting on obsolete code in type group source modules, etc, that my code is referring to?

For instance, no where in my source code do I use "OCCURS", yet that is being flagged.


The current ABAP command is obsolete and problematic, especially so in ABAP
Objects
The addition OCCURS is no longer supported in the OO context. Use "TABLE OF ...
INITIAL SIZE" instead.
The message can be hidden with "#EC *)

2 REPLIES 2
Read only

Former Member
0 Likes
414

That definition of internal table might be in any include. so search globally for OCCURS, as you are telling double click on that error is not giving any good information.

Thanks,

Srikanth.

Read only

Former Member
0 Likes
414

Hi,

In abap OO context you can not create a table with header line.

It seems you are usingtables with header line in Object Oriented context of your code, that is the reason its giving such error.

You can avoid such error messages by declaring the tables with out header line or the message hidden by "#EC *

Regards,

Azaz.