<?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: module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482286#M837219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTALL / DESELECT ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create the table control you would have give a variable for column selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection col. name GV_LINESEL..I am assuming it to be GV_LINESEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a column called LINSEL in your internal table ITAB for the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULES CODE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-LINESEL = GV_LINESEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB INDEX tc_crossover-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SELECTALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB TRANSPORTING LINESEL WHERE LINESEL IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'DESELECTALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB TRANSPORTING LINESEL WHERE NOT LINESEL IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB WITH CONTROL TC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CHECK.&lt;/P&gt;&lt;P&gt;GV_LINESEL = ITAB-LINESEL.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2008 06:57:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-28T06:57:08Z</dc:date>
    <item>
      <title>module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482285#M837218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to handle select all and deselect all in table control , i declared the set pf-status. inthat i declared application tool bar icons are select all and deselect all. how handle these function codes in abap program i need this very urgent please help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 06:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482285#M837218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T06:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482286#M837219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTALL / DESELECT ALL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create the table control you would have give a variable for column selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection col. name GV_LINESEL..I am assuming it to be GV_LINESEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a column called LINSEL in your internal table ITAB for the table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULES CODE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-LINESEL = GV_LINESEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB INDEX tc_crossover-current_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SELECTALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB TRANSPORTING LINESEL WHERE LINESEL IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'DESELECTALL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB TRANSPORTING LINESEL WHERE NOT LINESEL IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCASE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB WITH CONTROL TC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE SET_CHECK.&lt;/P&gt;&lt;P&gt;GV_LINESEL = ITAB-LINESEL.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prashanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 06:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482286#M837219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T06:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482287#M837220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey dude i got you . but ther is one problem with this right now i am using lfa1 table fields in internal table it is not posiible to declare linesel field in this internal table so , tell me how to gefine linesel foeld in internal table itab . plzz reply me little bit early .&lt;/P&gt;&lt;P&gt;  advance thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 07:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482287#M837220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482288#M837221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is not necessary to have it in the internal table instead use this logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control called tbl_skill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when the user clicks on the SELLALL or DESELLALL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Include the following code in the PAI(outsides the Loop..End Loop):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE ok_code.&lt;/P&gt;&lt;P&gt;    WHEN 'SELALL'.&lt;/P&gt;&lt;P&gt;      LOOP AT tbl_skil INTO wa_skil.&lt;/P&gt;&lt;P&gt;        APPEND wa_skil TO tbl_sel_skil.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;    WHEN 'DESELALL'.&lt;/P&gt;&lt;P&gt;      CLEAR tbl_sel_skil.&lt;/P&gt;&lt;P&gt;      REFRESH tbl_sel_skil.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PBO:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add the following code within the loop:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE set_select OUTPUT.&lt;/P&gt;&lt;P&gt;READ TABLE tbl_sel_skil INTO wa_sel_skil WITH KEY posnr = wa_skil-posnr.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    list_index = 'X'.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    list_index = space.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where LIST_INDEX is the Selection col.Name of the Table Control and POSNR is the Key of the Table used in the TC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavithra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavithra Lakshmi Kesavaram on Feb 28, 2008 8:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 07:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482288#M837221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T07:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482289#M837222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey pavithra thank you for ur reply can you send me total code that you have , i cant understand this peace of code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 08:02:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482289#M837222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T08:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482290#M837223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sxsx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2008 09:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3482290#M837223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-28T09:33:33Z</dc:date>
    </item>
  </channel>
</rss>

