Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8392

UI Element GRoup -> select line and get line information

$
0
0

Hi guys,

 

I want to create a webdynpro application. Actually I have a problem with the UI Element GRoup and I have no Idea where the problem is.

 

Here is the screen with two group element

 

dynpro.JPG

 

The problem is that the user have to select a line in the first table. But it isn't possible. But in the second table it is possible .

 

I create the first table with the following code:

 

 

  cl_wd_matrix_layout=>new_matrix_layout( container = lr_container ).

  CALL METHOD WD_NODE_INFO->ADD_NEW_CHILD_NODE
EXPORTING
NAME                        
= STRUCTURE_NAME
IS_MULTIPLE                 
= ABAP_true
IS_INITIALIZE_LEAD_SELECTION
= ABAP_false
*          is_mandatory = abap_true
*          is_mandatory_selection = abap_true
RECEIVING
CHILD_NODE_INFO             
= wd_node_info.

 

    CALL METHOD CL_WD_table=>new_table
EXPORTING
bind_data_source
= STRUCTURE_NAME
*        BIND_ROW_SELECTABLE = abap_true
ID               = 'TABLE'
RECEIVING
control          = lr_table.



The  second table I create the table wit the "same" code


CALL METHOD WD_NODE_INFO->ADD_NEW_CHILD_NODE
EXPORTING
NAME                        
= STRUCTURE_NAME
IS_MULTIPLE                 
= ABAP_TRUE
IS_INITIALIZE_LEAD_SELECTION
= ABAP_FALSE
RECEIVING
CHILD_NODE_INFO             
= wd_node_info.

cl_wd_matrix_layout
=>new_matrix_layout( container = lr_container ).

" Creating internal table with the same structure as our dynamic context node
CALL METHOD CL_WD_table=>new_table
EXPORTING
bind_data_source
= STRUCTURE_NAME
ID               = 'RDLTABLE'
RECEIVING
control          = lr_table.



------->>>>>>> I think here is no different


The Only different I think are the layout settings


layout.JPG


1. I want to select one line in the first table(TABLE_GROUP). How can I mark only one line in this table ?

2. If the user mark one line I want to read/get the information of this line. I don't know how ?


Thanks for your assistance.

Wolfgang


Viewing all articles
Browse latest Browse all 8392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>