Hi All,
I need to have an internal table declared in my start routine (2004s). When I use the OCCURS declaring an internal table I get an error saying 'Tables with headers are no longer supported in 00 context'. I think there is something wrong in the syntax in the declaration. COuld anyone tell me what is the correct way of declaring this. My code is as follows.
DATA: BEGIN OF itab_a002 occurs 0 ,
mbegda TYPE hrp1001-begda,
mendda TYPE hrp1001-endda,
morg1 TYPE hrp1001-objid,
morg2 TYPE hrp1001-sobid,
END OF itab_a002.
and down the line my logic goes like this...
SELECT aBEGDA aendda aobjid asobid into table itab_a002
FROM HRP1001 as a
where a~subty = 'A002' AND
a~sclas = 'O' AND
a~endda = '99991231'.
Thanks in advance...
Alex.