cancel
Showing results for 
Search instead for 
Did you mean: 

Push the parameters to other view controller

former_member300754
Participant
0 Kudos

Dear All,

i'm now working on WDA which i want to send the parameters' value.

at the time the WDA fires the plug, i want to send the parameter value through outbound plug to another view controller. in this case, i want to parse the elements (type ref to if_wd_context_element) /node (type ref to if_wd_context_node) /internal table.

is it possible? i found out the system says

Note that you cannot use types from type pools for RFC-enabled function modules. When assigning a type using the LIKE typ method, you cannot use types from type pools either. Additionally you can use the internal ABAP types C, I, N, X, P, D, T, F, and the TABLE type - to an extent in generic form.

Thank you very much for your effort,

Peerasit

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member300754
Participant
0 Kudos

Using the following code to reference to VIEW controllers:


data: ls_items    type if_[view name]=>elements_[node name],
      ls_item     like line of ls_items.

Then do anything you want.

If you like to bind itab to node, follow the code below.


  node->bind_table( new_items = ls_items ).

former_member300754
Participant
0 Kudos

Using the following code to reference to VIEW controllers:


data: ls_items    type if_[view name]=>elements_[node name],
      ls_item     like line of ls_items.

Then do anything you want.

If you like to bind itab to node, follow the code below.


  node->bind_table( new_items = ls_items ).