2008 Dec 05 3:40 PM
Hi,
can anybody tell me, how to convert an old internal table with header into a new internal table without header. My first idea was to copy all records, but it might be memory expensive.
I worte a method that has a changing parameter:
CHANGING
data_tab TYPE STANDARD TABLE
...
CALL METHOD lcl_downloader=>download
EXPORTING
filename = datei
filetype = 'DAT'
CHANGING
data_tab = aus_tab.
When I am calling the method, I get this error:
AUS_TAB is not type-compatible with formal parameter DATA_TAB.
The DATA_TAB was created in a peace of old ABAP code.
DATA: BEGIN OF aus_tab OCCURS 100, ...
Please let me know, if there is a possibility to cast the tables.
Best regards!
Adalbert
2008 Dec 05 3:49 PM
2008 Dec 05 3:49 PM