<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Checkbox issue in module pool program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391957#M1841748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have modified the code but there are still a couple of things which are confusing me. In the below screenshot you can see the modified version of the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487152" /&gt;&lt;/P&gt;&lt;P&gt;Now to see what is going wrong, I tried to debug the code. I placed the breakpoint on 'NEXT' as shown. Then I selected the following sales orders and pressed NEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487155" width="450" /&gt;&lt;/P&gt;&lt;P&gt;In the debugger, IT_VBAK1 correctly holds the 2 selected values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487157" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IT_VBAP displays the values correctly as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487159" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487165" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now, this is where the issue is.&lt;/STRONG&gt; On clicking the BACK button and selecting another sales order (4974):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487170" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VBAK1 holds the additional sales order 4974 along with the previous ones as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487180" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VBAP also displays the values accordingly as per the debugger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487183" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the table control, the sales order 4974 is not displayed. Only the initial sales orders are displayed. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487185" width="450" /&gt;&lt;/P&gt;&lt;P&gt;1) There is nothing wrong with the code as the debugger shows the records are held and displayed correctly by the internal tables. &lt;STRONG&gt;So what could be the reason for the data not to be displayed correctly in the table control?&lt;/STRONG&gt; I also tried refreshing IT_VBAP after the BACK button, but still it isnt working.&lt;SPAN __jive_emoticon_name="angry" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/angry.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Also, another thing I've seen that is after clicking the BACK button, when I select the sales orders, &lt;STRONG&gt;only data from 2 sales orders are displayed in the secondary list. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For example, if I select &lt;STRONG&gt;any number of sales orders&lt;/STRONG&gt; and press NEXT, then all the data are &lt;STRONG&gt;displayed correctly&lt;/STRONG&gt; in the secondary list. Once I click the BACK button and deselect all of them and then I checkbox 3 sales orders &lt;STRONG&gt;(more than 2)&lt;/STRONG&gt;, then only the records for 2 sales orders are displayed, not the 3rd one. &lt;SPAN __jive_emoticon_name="cry" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/cry.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; Why is this happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2014 12:49:31 GMT</pubDate>
    <dc:creator>manish_malakar0316</dc:creator>
    <dc:date>2014-06-30T12:49:31Z</dc:date>
    <item>
      <title>Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391947#M1841738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the global variables I declared:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/483753" /&gt;&lt;/P&gt;&lt;P&gt;The layout for the&amp;nbsp; basic list is as shown. The function code is cbox for checkbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/483754" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The flow logic :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/483785" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code for user-command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/483786" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now on executing the program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/483787" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/483792" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is happening for all the records. The last selected sales order is not getting selected. Why is it so?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 10:45:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391947#M1841738</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-06-25T10:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391948#M1841739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After selecting the check box, just press enter and then click NEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it ll helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 10:59:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391948#M1841739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-25T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391949#M1841740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instead of writing the code for CBOX, write it in NEXT.&lt;/P&gt;&lt;P&gt;Also,&lt;/P&gt;&lt;P&gt;after appending the wa_vbak to it_vbak1&lt;/P&gt;&lt;P&gt;i see the modify statement irrelevant. remove it and try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391949#M1841740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-25T11:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391950#M1841741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope its is problem with internal table index (Sy-tabix).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Review &amp;amp; Debug the code while the ucomm is CBOX and DSEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'NEXT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refresh : IT_VBAK1[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VBAK1[] = IT_VBAK[].&lt;/P&gt;&lt;P&gt;DELETE IT_VBAK1 where CHECK NE 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Velmurugan B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391950#M1841741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-25T11:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391951#M1841742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are you doing in READ_THIS? might be passing X in to your internal table so call USER_COMMAND_9000 after READ_THIS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 11:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391951#M1841742</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-06-25T11:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391952#M1841743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, I corrected that part and almost the entire issue has been resolved. This is what I did as per your suggestion. The code at MODULE READ_THIS is &lt;STRONG&gt;MODIFY IT_VBAK FROM WA_VBAK INDEX TC1-CURRENT_LINE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/485870" /&gt;&lt;/P&gt;&lt;P&gt;However, there is a slight problem. Initially when I select the sales orders from the basic list :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/485871" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I am getting the correct output in the secondary list:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/485872" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I go back to the basic list and select another sales order (here it is 4974):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/485876" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No data comes up for 4974. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; The initial records are only displayed as before in the secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/485877" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me how to rectify this? My issue will be resolved if this is corrected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:18:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391952#M1841743</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-06-27T13:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391953#M1841744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was due to the module READ_THIS. I corrected it. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391953#M1841744</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-06-27T13:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391954#M1841745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I did that earlier, but it didnt work. I have to use the function code for checkbox else the program doesnt work at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 13:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391954#M1841745</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-06-27T13:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391955#M1841746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.On CBOX user command you are always appending wa_vbak into it_vbak1 what do you think happens if I uncheck the check box? It_vbak1 will hold the record even if you uncheck. you didnt write any code for removing the record after unchecking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Better you just prepare it_vbak1 in next command just before the selct on vbap. no need to prepare the itab for every check and un check. Do as velmurugan coded. That should resolve.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 19:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391955#M1841746</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-06-27T19:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391956#M1841747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Manish&lt;/P&gt;&lt;P&gt;this is only caused by your code, which the selected lines are not got correcly.&lt;/P&gt;&lt;P&gt;please checked the internal table and find out correct logic to fetch your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 02:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391956#M1841747</guid>
      <dc:creator>Aiolos</dc:creator>
      <dc:date>2014-06-28T02:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391957#M1841748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have modified the code but there are still a couple of things which are confusing me. In the below screenshot you can see the modified version of the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487152" /&gt;&lt;/P&gt;&lt;P&gt;Now to see what is going wrong, I tried to debug the code. I placed the breakpoint on 'NEXT' as shown. Then I selected the following sales orders and pressed NEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487155" width="450" /&gt;&lt;/P&gt;&lt;P&gt;In the debugger, IT_VBAK1 correctly holds the 2 selected values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487157" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IT_VBAP displays the values correctly as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487159" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487165" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now, this is where the issue is.&lt;/STRONG&gt; On clicking the BACK button and selecting another sales order (4974):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487170" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VBAK1 holds the additional sales order 4974 along with the previous ones as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487180" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_VBAP also displays the values accordingly as per the debugger:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487183" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in the table control, the sales order 4974 is not displayed. Only the initial sales orders are displayed. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/487185" width="450" /&gt;&lt;/P&gt;&lt;P&gt;1) There is nothing wrong with the code as the debugger shows the records are held and displayed correctly by the internal tables. &lt;STRONG&gt;So what could be the reason for the data not to be displayed correctly in the table control?&lt;/STRONG&gt; I also tried refreshing IT_VBAP after the BACK button, but still it isnt working.&lt;SPAN __jive_emoticon_name="angry" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/angry.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Also, another thing I've seen that is after clicking the BACK button, when I select the sales orders, &lt;STRONG&gt;only data from 2 sales orders are displayed in the secondary list. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For example, if I select &lt;STRONG&gt;any number of sales orders&lt;/STRONG&gt; and press NEXT, then all the data are &lt;STRONG&gt;displayed correctly&lt;/STRONG&gt; in the secondary list. Once I click the BACK button and deselect all of them and then I checkbox 3 sales orders &lt;STRONG&gt;(more than 2)&lt;/STRONG&gt;, then only the records for 2 sales orders are displayed, not the 3rd one. &lt;SPAN __jive_emoticon_name="cry" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/cry.gif"&gt;&lt;/SPAN&gt;&amp;nbsp; Why is this happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 12:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391957#M1841748</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-06-30T12:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391958#M1841749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aiolos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is nothing wrong with the logic. Its just that the updated values are not displayed in the table control. Please go though the latest post regarding my issues above. It will be clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 12:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391958#M1841749</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-06-30T12:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391959#M1841750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the problem is not resolved yet please paste the code from screen 9001.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 07:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391959#M1841750</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-07-03T07:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391960#M1841751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only code written for screen 9001 is for the BACK button which is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-UCOMM = 'BACK'.&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 07:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391960#M1841751</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-07-03T07:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391961#M1841752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about the PBO of you table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REFRESH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;CONTROL &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'K_VBAP' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FROM &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;SCREEN &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'0100'. " Use this to refresh the data in table control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT&amp;nbsp; &lt;/SPAN&gt;ITAB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;WA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;CONTROL &lt;/SPAN&gt;K_VBAP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CURSOR &lt;/SPAN&gt;K_VBAP&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;CURRENT_LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;K_VBAP_MOVE.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDLOOP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;K_VBAP_MOVE &lt;SPAN class="L0S52"&gt;OUTPUT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;WA &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;VBAP.&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDMODULE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 07:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391961#M1841752</guid>
      <dc:creator>former_member183073</dc:creator>
      <dc:date>2014-07-03T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391962#M1841753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its working fine now..surprisingly! &lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/laugh.gif"&gt;&lt;/SPAN&gt; The above part of your code is not required. The issue is resolved fully. Thanks a lot for your help. I appreciate it. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 13:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391962#M1841753</guid>
      <dc:creator>manish_malakar0316</dc:creator>
      <dc:date>2014-07-03T13:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox issue in module pool program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391963#M1841754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Mar 2016 07:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox-issue-in-module-pool-program/m-p/10391963#M1841754</guid>
      <dc:creator>shubham_banerjee</dc:creator>
      <dc:date>2016-03-21T07:22:29Z</dc:date>
    </item>
  </channel>
</rss>

