Skip to Content
0
Former Member
Feb 26, 2007 at 01:24 PM

Extended Program Check

304 Views

Hi all,

the following error occured in the extended program check

<b> Messages for Obsolete Statements(Error)

The current ABAP command is obsolete

You cannot use the "RANGES" statement within classes. Instead, use the "DATA"

statement with the type "TYPE/LIKE RANGE OF" . . . . . . . . .

Internal Message Code: RANGES 004

(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET

EXTENDED CHECK OFF/ON)</b>

the following lines were used in the program for which the above error occured

data: lgtyp type lgtyp.

ranges: r_lgtyp for lgtyp.

Please give me some solution

Thanks in advance