Skip to Content
0
Former Member
Sep 17, 2007 at 02:09 PM

SELECT .... INTO CORRESPONDING - Internal table

342 Views

How do everyone,

I have the following work areas and internal table defintion:

TYPES: BEGIN OF equi_rec,

equnr, " Registration

herst, " Make

typbz, " Model

zzdept, " Department

zzoperator, " Operator

zzregdate, " Registration Date

END OF equi_rec.

DATA: equi_wa TYPE equi_rec,

equi_tab TYPE TABLE OF equi_rec.

In the code:

SELECT *

INTO CORRESPONDING FIELDS OF TABLE equi_tab

FROM

equi.

The ABAP is falling over at runtime. I have since found out that if

I comment out the ZZREGDATE in the EQUI_REC above, the program works.

The ZZREGDATE is defined as a date in the dicionary.

Can anyone tell me why the program is falling over when I am trying to

move the date field??

Any help much apprectaied.

Thanks in advance

Andy