<?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: Push Button in Table Control Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755679#M1675832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I overlooked your question, sorry for misleading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you have to use GET CURSOR LINE statement in your PAI to know the line on which the button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try as below inside PAI;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR LINE lv_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now you can process further using the lv_line which would have the row number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2012 06:50:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-05-11T06:50:48Z</dc:date>
    <item>
      <title>Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755672#M1675825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is simple . i have a table control and i have added a push button in the table control. Suppose my table control has 2 values (ROWS) . When i press the pushbutton of the second row i want to fetch the values of only the second row. I have placed the coding within the loop but i am still not getting how to get those values as the whole loop is run. i have tried using w/sel coloumn but am not able to fetch it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help would be great . &lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Devrath Sampat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755672#M1675825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755673#M1675826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use the your_table_control_name-current_line attribute to find which row button was pressed and write code according to it. This way you can restrict the processing only to the intended row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755673#M1675826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755674#M1675827</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;the problem with current_line is that it shows that which current line is being processed in the loop at the moment . How will i come to know that button of line 2 was pressed???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755674#M1675827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755675#M1675828</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;Have u checked the program&lt;STRONG&gt; DEMO_DYNPRO_TABLE_CONTROL_2.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755675#M1675828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755676#M1675829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That prog gives the top line and the number of lines there in that table. i want to know which push button on line was clicked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755676#M1675829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755677#M1675830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls refer this link, its already answered,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/1165270"&gt;http://scn.sap.com/thread/1165270&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Function code for buttons.&amp;nbsp; &lt;/P&gt;&lt;P&gt;While debugging mode whenever button pressed, you will have the function code with line number of the table row selected.&lt;/P&gt;&lt;P&gt;Here you can write your code &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755677#M1675830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755678#M1675831</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;write one new module say "select_row" in PAI loop..endloop.&lt;/P&gt;&lt;P&gt;loop.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;module select_row.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In abap editor.&lt;/P&gt;&lt;P&gt;Data:sel type char1.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;module &lt;/SPAN&gt;select_row&lt;SPAN class="L0S52"&gt; input.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF sy-ucomm = &lt;SPAN class="L0S33"&gt;&amp;lt;your f.code&amp;gt;&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;endif.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; endmodule.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S31"&gt;" &lt;/SPAN&gt;select_row&lt;SPAN class="L0S31"&gt;&amp;nbsp; INPUT&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755678#M1675831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755679#M1675832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I overlooked your question, sorry for misleading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually you have to use GET CURSOR LINE statement in your PAI to know the line on which the button is pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try as below inside PAI;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET CURSOR LINE lv_line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now you can process further using the lv_line which would have the row number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 06:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755679#M1675832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T06:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755680#M1675833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But that starts the loop from all the rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for now i am using w/sel col but thats a temp soln. i want to know how to use push buttons in table control. I willl keep u updated if i get anything.. thanks for the help btw guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 07:55:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755680#M1675833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T07:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755681#M1675834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah! I found this thead interesting so I excursed a bit.&lt;/P&gt;&lt;P&gt;Below is my finding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use the combination of GET CURSOR LINE and table_control-top_line. The below screen tells you the story. I scrolled my table control down so that the top line displayed in&amp;nbsp; my TC is the 7th line. Then i pressed push button on the 3rd line. Which infact was the 9th line of my internal table.&lt;/P&gt;&lt;P&gt;In user command you get these values.&lt;/P&gt;&lt;P&gt;The line of your interest is tc-top_line + l_v_index - 1.&lt;/P&gt;&lt;P&gt;Rest is your own logic &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/745/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;. Do let me know. I would be interested in knowing if it really works. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/745/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/100651" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 09:56:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755681#M1675834</guid>
      <dc:creator>Private_Member_49934</dc:creator>
      <dc:date>2012-05-11T09:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755682#M1675835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i will try it out on monday as i am not in office today. surely will let you know.&lt;/P&gt;&lt;P&gt;Thank you&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/745/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 11:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755682#M1675835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T11:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755683#M1675836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i will try it out on monday. not at work dude.. thanks&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/745/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 11:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755683#M1675836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-11T11:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755684#M1675837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Dev, &lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Did you&amp;nbsp; want to fetch the values from the database table and put into the second column of the table, when you clicking the push button,&amp;nbsp; This process will do dynamically .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Is it your requirement.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2012 09:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755684#M1675837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-17T09:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Push Button in Table Control Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755685#M1675838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;THank you,,,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2012 06:28:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-table-control-module-pool/m-p/8755685#M1675838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-19T06:28:15Z</dc:date>
    </item>
  </channel>
</rss>

