Skip to Content
0
Former Member
Jun 28, 2007 at 05:57 PM

Extended Program check: Need help with error messages

301 Views

Hi,

I am getting the following error message several time on different internal table declarations:

"Tables with headers are no longer supported in the OO context."

This is the data declaration that it refers to:

I_ZDAILY_MVMT TYPE TABLE OF ZDAILY_MVMT WITH HEADER LINE.

Also, I am getting the following:

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

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

This is for the following data declaration:

RANGES: I_WERKS FOR EBAN-WERKS, "PLANT RANGE

I_VTWEG FOR I_TVTW-VTWEG,

I_VTWEG2 FOR I_TVTW-VTWEG,

I_VKORG FOR I_TVKO-VKORG,

I_AUART FOR I_TVAK-AUART.

What do I change and then how do i populate them?

Thanks,

John

Message was edited by:

John Damion