Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

table control with checkbox in module pool

$
0
0

Hi all,

 

I have a slight issue in my table control with checkbox. My requirement is that in the basic list the user can checkbox a few sales orders and in the selected sales orders will be displayed in the secondary list. However, the problem is that in spite of the sales orders that are selected, the secondary list is displaying all the sales orders from the basic list and not the ones that are selected. So, it seems that the internal table in the basic list is not getting modified accordingly. I have attached the screenshots for your reference. Please help me identify the error.

 

These are the variables I declared:

 

pic1.png

 

For the basic list:

 

pic1.png

 

Screenshot for the layout. Here I have inserted a function code for the checkbox as CBOX.

 

pic1.png

 

Code for user command:

 

pic1.png

 

pic1.png

 

The basic list is fine as shown.  Here 4970 and 4972 are selected:

 

pic1.png

 

However, the secondary list is displaying all the values from the basic list, not the selected values. Why?

 

pic1.png


Viewing all articles
Browse latest Browse all 8332

Trending Articles