Hashed to Standard table conversion

Advertisement

Hashed to Standard table conversion
Hi.
I want download the a table via gui_download method. This method only accepts table of type standard.
I have hashed table and i wan to conver to standard one.
This statement does not work : ANY OTHER ?
T_wA IS A HASHED TABLE.
Data: twa_stnd like STANDARD TABLE OF T_wA.
twa_stnd = T_wa.
Please help.
Repaly
You could define your standard table in a similar way to your hashed table - so something like:
DATA: lth_test LIKE HASHED TABLE OF t000 WITH UNIQUE KEY mandt,
      lts_test LIKE STANDARD TABLE OF t000 WITH NON-UNIQUE KEY table_line.
lts_test = lth_test
Alternatively, define an intermediate type:
TYPES: wa_stnd_type like line of t_wa.
DATA twa_stnd like STANDARD TABLE OF wa_stnd_type.
twa_stnd = T_wa.
matt
Read More: The other 6 answers