‎2012 Aug 14 2:54 PM
Hi everyone,
i have a requirement in which i'm asked to transfer data flow between two frameworks, from WD Component to another. The problem is that i have to transfer internal tables with generic types. i used the import/ export from database approache but in that way i get an error message saying "Object references and data references not yet supported".
Here is my code to extract a generic internal table from memory.
DATA l_table_f4 TYPE TABLE OF REF TO data.
FIELD-SYMBOLS: <l_table_f4> TYPE STANDARD TABLE.
DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
DATA: ls_indx TYPE indx.
lo_componentcontroller = wd_this->get_componentcontroller_ctr( ).
lo_componentcontroller->fire_vh_search_action_evt( ).
ASSIGN l_table_f4 TO <l_table_f4>.
*-- Import table for Help F4
IMPORT l_table_f4 TO <l_table_f4> FROM DATABASE indx(v1) TO ls_indx ID 'table_help_f4_ID'.
The error message is desplayed when last instruction is executed " IMPORT l_table_f4...".
I saw another post facing the same problem but never solved "Generic Type for import Database".
Please can anyone help ?
Thanks & Kind regards.
‎2012 Aug 17 9:50 PM
Since you mention 'WD' and I can't understand much of the post, I'm guessing this is a Web Dynpro question. There is a separate area for Web Dynpro: http://scn.sap.com/community/web-dynpro-abap
You might want to post it there. If you chose to post in ABAP General, you might want to add to the subject that this is a Web Dynpro question. This would attract the folks who have a clue (unlike me ). Otherwise my first thought was that this is another newbie post on how to use ASSIGN. The same problem with the other post, I guess, hence no response.
Good luck.