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

Checkbox issue in module pool program

$
0
0

Hi all,

 

I have a small issue in a module pool program using checkboxes. The requirement is that my basic list should contain the data with checkboxes and as per the selection by the user, the selected records should appear in the next screen (secondary list). But after selection, all the records barring the last record is appearing in my secondary list. Below are the screenshots of my program:

 

These are the global variables I declared:

 

pic1.png

The layout for the  basic list is as shown. The function code is cbox for checkbox.

 

pic1.png

 

The flow logic :

 

pic1.png

 

The code for user-command:

 

pic1.png

 

Now on executing the program,

 

pic1.png

 

As you can see, sales orders 4970,4972,4974 and 4975 are selected. So after clicking NEXT, in the secondary list , the data for these selected sales orders from VBAP table should come up. But instead, the records from 4970, 4972 and 4974 are displayed except the last sales order which is 4975.

 

pic1.png

 

This is happening for all the records. The last selected sales order is not getting selected. Why is it so?

 

Thanks.

 

Manish


Viewing all articles
Browse latest Browse all 7790

Trending Articles



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