2008 Jul 17 10:45 AM
Hi,
i did an slin-check for one of my includes and got the following errors shown:
Abap-command is obsolete
1st: tables with headers are not supported in OO-context anymore. (message G1D)
2nd: the appendix occurs is not supported in OO-context. use "table of.... initial size" instead.
the line were the error occurs is:
DATA: BDCDATA TYPE BDCDATA OCCURS 0 WITH HEADER LINE.
what should i do here?
\[removed by moderator\]
Edited by: Jan Stallkamp on Jul 17, 2008 12:33 PM
2008 Jul 17 10:47 AM
DATA: IT_BDCDATA TYPE TABLE OF BDCDATA,
WA_BDCDATA TYPE BDCDATA.
Work with separate workareas and table bodys. This might require some code change further down.
Thomas
2008 Jul 17 10:48 AM
Hi Sven,
Try to change your code to:
DATA: BDCDATA TYPE STANDARD TABLE OF BDCDATA.
Hope it helps,
Victor
2008 Jul 17 10:52 AM
Hi Sven Bertelmann,
Try to use this way of declaration.
TYPE: BDCDATA TYPE BDCDATA OCCURS 0 WITH HEADER LINE.
OR
DATA : BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
Hope this helps you,,
Regards,
T.Durai murugan.
2008 Jul 17 10:59 AM
Hi
Use
DATA: BDCDATA TYPE TABLE OF BDCDATA.
(OR)
DATA: BDCDATA TYPE <table_kind> TABLE OF BDCDATA.
(<table_kind> = Standard / Sorted / Hashed )
Hope this would help you.
Murthy