cancel
Showing results for 
Search instead for 
Did you mean: 

How to send multiple row data into an internal table??

Former Member
0 Kudos

I have a view with table control.i want to select multiple row and send all the row data into an internal table.i am able to select multiple row but all the selected row data is not going to the internal table.....only a particular row data which is lead selected is going.

Do anyone can help me regarding this issue?

Thanks in advance,

Subhasis.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

answered

Former Member
0 Kudos

Hi Subhasis,

Please let me know, if this thread has solved your question. If yes, kindly award the points, or else if facing some issues, please mention them.

Cheers!

Ashish.

Former Member
0 Kudos

Hey,

Some code example:

  • declaring an internal table and work area to get all the elements from the node.

data : lt_Elements type WDR_CONTEXT_ELEMENT_SET,

ls_Element type WDR_CONTEXT_ELEMENT_SET,

  • considering flights is my node.

lt_data type sflight.

  • Node_Flights is the ref of the node to which ur table is binded.

  • Use Code Inspector to read the node.

lt_Element = Node_Flights->GET_ELEMENTS

loop at lt_elements into ls_Element.

l_bollean = ls_elements->is_selected ( returns abap true/false ).

if l_bollean IS INITIAL.

append ls_Element to lt_data.

endif.

Hope this would help.

Cheers,

Ashish

Former Member
0 Kudos

Check the attributes on the NODE regarding selected elements.

You can retrieve all selected elements.

regards

Phil