<?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: table control with checkbox in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402271#M1842703</link>
    <description>Hello, While we're happy that you've come to SAP Community to get an answer to your question, you posted your question as an answer in an old thread.&lt;BR /&gt;I've converted your answer to a comment, but even so -- posting in older threads is not the best way to get guidance.&lt;BR /&gt;If you're looking for help, you should ask a new question: &lt;A href="https://answers.sap.com/questions/ask.html" target="test_blank"&gt;https://answers.sap.com/questions/ask.html&lt;/A&gt;.&lt;BR /&gt;Here are some tips to help you craft an effective question for our community: &lt;A href="https://community.sap.com/resources/questions-and-answers" target="test_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;, &lt;A href="https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609" target="test_blank"&gt;https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609&lt;/A&gt;.&lt;BR /&gt;I encourage you to follow this guidance, as I'd really like to see you get a solution to your problem.&lt;BR /&gt;I hope you find this advice useful!</description>
    <pubDate>Sun, 23 Jul 2023 11:40:33 GMT</pubDate>
    <dc:creator>moshenaveh</dc:creator>
    <dc:date>2023-07-23T11:40:33Z</dc:date>
    <item>
      <title>table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402257#M1842689</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 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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the 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/478405" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 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/478445" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screenshot for the layout. Here I have inserted a function code for the checkbox as CBOX. &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/478489" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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/478499" 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/478500" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic list is fine as shown.&amp;nbsp; Here 4970 and 4972 are selected:&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/478501" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the secondary list is displaying all the values from the basic list, not the selected values. &lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_emote jive_macro" src="https://community.sap.com/906/images/emoticons/confused.gif"&gt;&lt;/SPAN&gt; Why?&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/478505" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 13:18:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402257#M1842689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-18T13:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402258#M1842690</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;While CBOX action the selected records to be maintain in another internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_vBAK into wa_vbak where check = 'X'.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;APPEND WA_VBAK TO IT_VBAK1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MODFIY IT_VBAK FROM WA_VBAK INDEX SY-TABIX TRANSPORTING CHECK.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use IT_VBAK1 internal table in for all entries select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 13:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402258#M1842690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-18T13:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402259#M1842691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;I tried your approach. This is wat you told me to do:&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/478770" width="450" /&gt;&lt;/P&gt;&lt;P&gt;However it's giving problems. The secondary list is not displaying the output correctly.&lt;/P&gt;&lt;P&gt;On selecting the sales orders:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/478771" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The secondary list produces the incorrect output as shown. Sales order 4974 is not displayed at all.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/478817" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 18:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402259#M1842691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-18T18:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402260#M1842692</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;Did the Sales order 4974 having entries in VBAP....? Please check once. Try to check different orders in screen 9000 and perform NEXT action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 19:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402260#M1842692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-18T19:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402261#M1842693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Ashok, there are entries for sales order 4974. In fact all the sales orders from 4969 to 4974 have records in the VBAP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to add a minor detail, I modified internal table &lt;STRONG&gt;IT_VBAK1&lt;/STRONG&gt; instead of &lt;STRONG&gt;IT_VBAK&lt;/STRONG&gt; as u specified in your post. The reason being that IT_VBAK is not needed in the FOR ALL ENTRIES&amp;nbsp; part. Even when I modified &lt;STRONG&gt;IT_VBAK&lt;/STRONG&gt; (as per your suggestion), the output did not come correctly. &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 08:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402261#M1842693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-19T08:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402262#M1842694</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;Can you please share you declaration part of IT_VBAK structures both internal table and work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 13:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402262#M1842694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-19T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402263#M1842695</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;Can you please check IT_VBAK1 and IT_VBAP internal table entries in debugging mode after for all entries select statement while NEXT action. How many entries does IT_VBAP exits when you select&lt;/P&gt;&lt;P&gt;4974 and 4975 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 14:21:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402263#M1842695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-19T14:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402264#M1842696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my post, I have already attached the screenshot of all the variables which I had declared. Nevertheless, I am pasting the screenshot again. &lt;STRONG&gt;(Please not that IT_VBAK1 is not shown in the screenshot, but I have declared it as well ,which is of type TY_VBAK).&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/480690" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I debugged, I found out that after selecting 4974 and 4975, IT_VBAP consists of all the entries starting from 4969 to 4975 from the select-options. &lt;STRONG&gt;This means that the selection part in the basic list (checkbox) is not working properly.&lt;/STRONG&gt; I saw while debugging that when I am using the for all entries statement based on &lt;STRONG&gt;IT_VBAK1&lt;/STRONG&gt;, the selected records are not coming up, but all the records from 4969 to 4975. &lt;STRONG&gt;So the part WA_VBAK-CHECK = 'X'&lt;/STRONG&gt; is not functioning properly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this answers your question.&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, 20 Jun 2014 13:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402264#M1842696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-20T13:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402265#M1842697</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;Can you please refer this program.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DEMO_DYNPRO_TABCONT_LOOP_AT &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove check box column, the standard SAP provides us check box option, Please see the attachment, you can assign wa_vbak-check(check &lt;STRONG&gt;w/Selcolumn&lt;/STRONG&gt;)&amp;nbsp;&amp;nbsp; field on highlighted spot. And mean while CBOX action not required i think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use below code under NEXT action, place this code before for all entries statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;refresh it_vbak1[ ].&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;loop at it_VBAK into wa_vbak where check = 'X'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;APPEND WA_VBAK TO IT_VBAK1.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ENDLOOP.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if IT_VBAK1 is not initial.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;for all entries.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;endif.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 14:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402265#M1842697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-20T14:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402266#M1842698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly I would like to tell you that I found the program &lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/STRONG&gt;&lt;/SPAN&gt; confusing in some areas. It used the global structure as a work area and I am not quite aware of that &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;. I did try the same approach in my program, but I &lt;STRONG&gt;did not get any value&lt;/STRONG&gt; in the secondary list.&lt;/P&gt;&lt;P&gt;Below are the screenshots of how I approached the program after taking some reference from &lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created 2 global structures for VBAK and VBAP:&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/481253" 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/481254" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the variables 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/481255" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the layout and inserted the global structure name in selcol as per &lt;SPAN style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG&gt;DEMO_DYNPRO_TABCONT_LOOP_AT&lt;/STRONG&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/481256" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I typed 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/481257" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the secondary list, &lt;STRONG&gt;no values &lt;/STRONG&gt;from VBAP table are displayed; this means that the marked records from the basic list are not being selected, as a result not a single value is displayed in the secondary list as IT_VBAK1 is initial. So IT_VBAK1 is not holding the selected records which I found out while debugging. Why is this so and how can it be 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>Sun, 22 Jun 2014 13:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402266#M1842698</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-22T13:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402267#M1842699</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;At table control screen field you should assign &lt;STRONG&gt;w/SelCcolumn&lt;/STRONG&gt; as WA_VBAK-MARK field instead of ZVBAKSTR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this time it should be working fine, please check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 12:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402267#M1842699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-23T12:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402268#M1842700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just check your code for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHEN 'CBOX'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOO AT IT_VBAK INTO WA_VBAK WHERE CHECK = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODIFY IT_VBAK FROM WA_VBAK INDEX SY-TABIX TRANSPORTING CHECK.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ENDLOOP.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this loop why IT_VBAK is modified? You are transporting CHECK field, but this field contents&lt;/P&gt;&lt;P&gt;will be same like as they are existing in IT_VBAK. If you really want to modify IT_VBAK then set&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA_VBAK-CHECK = &amp;lt;&amp;lt;Some Value&amp;gt;&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without using the statement&amp;nbsp; &lt;STRONG&gt;WA_VBAK-CHECK = &amp;lt;&amp;lt;Some Value&amp;gt;&amp;gt;. &lt;/STRONG&gt;no need modify IT_VBAK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rafi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402268#M1842700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402269#M1842701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafi,&lt;/P&gt;&lt;P&gt;Yes, I modified the code later. Actually the issue was resolved in the thread &lt;A __default_attr="3577153" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Checkbox issue in module pool program" href="https://community.sap.com/"&gt;&lt;/A&gt;. It works perfect. &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>Sat, 05 Jul 2014 08:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402269#M1842701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-05T08:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402270#M1842702</link>
      <description>&lt;P&gt;Hi Manish&lt;/P&gt;&lt;P&gt;I also stuck with the same point ,Can u please provide the modified code.&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2023 11:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402270#M1842702</guid>
      <dc:creator>former_member929093</dc:creator>
      <dc:date>2023-07-23T11:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: table control with checkbox in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402271#M1842703</link>
      <description>Hello, While we're happy that you've come to SAP Community to get an answer to your question, you posted your question as an answer in an old thread.&lt;BR /&gt;I've converted your answer to a comment, but even so -- posting in older threads is not the best way to get guidance.&lt;BR /&gt;If you're looking for help, you should ask a new question: &lt;A href="https://answers.sap.com/questions/ask.html" target="test_blank"&gt;https://answers.sap.com/questions/ask.html&lt;/A&gt;.&lt;BR /&gt;Here are some tips to help you craft an effective question for our community: &lt;A href="https://community.sap.com/resources/questions-and-answers" target="test_blank"&gt;https://community.sap.com/resources/questions-and-answers&lt;/A&gt;, &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;, &lt;A href="https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609" target="test_blank"&gt;https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609&lt;/A&gt;.&lt;BR /&gt;I encourage you to follow this guidance, as I'd really like to see you get a solution to your problem.&lt;BR /&gt;I hope you find this advice useful!</description>
      <pubDate>Sun, 23 Jul 2023 11:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-with-checkbox-in-module-pool/m-p/10402271#M1842703</guid>
      <dc:creator>moshenaveh</dc:creator>
      <dc:date>2023-07-23T11:40:33Z</dc:date>
    </item>
  </channel>
</rss>

