cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

i am calling a method that has one exporting parameter with type ANY TABLE.

My problem is that abap won't let me activate the code because of the incompatible actual parameter:

    data: lt_dynamic type ref to data,

            lo_node type ref to if_wd_context_node,

    field-symbols: <ls_dynamic> type any table.

*   create data lt_dynamic type ?

    lo_node->get_static_attributes_table( importing table = lt_dynamic ). <-- not activating

    lo_node->get_static_attributes_table( importing table = <lt_dynamic> ). <-- activating but the field symbol is not assigned

I need the reference of the table "table" of the method "get_static_attributes_table" in this example.

Regards

Ioan.

0 Likes
View Entire Topic
Former Member
0 Likes

Hello,

i just found out, what i am trying i not possible. The method GET_STATIC_ATTRIBUTES_TABLE also uses the exporting parameter to determine the type of the table .

And generally i don't think that this is possible. The <lt_dynamic> field symbol has to be assigned and for that you need a variable/memory area, that can store any table. I don't have too much time now to look but in my opinion is not possible ... for now at least