<?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 a table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254525#M145784</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huseyin,&lt;/P&gt;&lt;P&gt;   If you are trying to simulate something like a row_selection sort of thing, then you may refer the program DEMO_DYNPRO_TABLE_CONTROL_2.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2006 15:37:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-09T15:37:09Z</dc:date>
    <item>
      <title>push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254524#M145783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an internal table and showing this itab with dialog programing. I have inserted a new column in table, I need that when client has pressed such as 5th line I want to get 5th line's information. I have created a field which's length is one character and gived this field's name as 'see' in itab and I gave the button name as itab-see. But, when user pressed any line I see that the itab-see field has not changed such as a radio button or checkbox. How can I get which line's button has pressed and that line's table information.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 15:29:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254524#M145783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T15:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254525#M145784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huseyin,&lt;/P&gt;&lt;P&gt;   If you are trying to simulate something like a row_selection sort of thing, then you may refer the program DEMO_DYNPRO_TABLE_CONTROL_2.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 15:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254525#M145784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T15:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254526#M145785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How your populating the internal table on screen. If your using a Table control then gohead and add a field like CHK(1) in your internal table. Goto Screen design and double click on table control and select row select, column select check boxes in attributes and in properties of row select give the new field name CHK. &lt;/P&gt;&lt;P&gt;In runtime ths field hold the record selected by user.&lt;/P&gt;&lt;P&gt;This filed holds the value 'X' for the records selected in internal table. Just Loop the internal table where CHK = 'X', you will get the row seleted in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itabl where CHK = 'X'.&lt;/P&gt;&lt;P&gt;You will get the row what you selected.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Suresh Revuru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 15:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254526#M145785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T15:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254527#M145786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you solutiutons, but I need to put into button in table and get the which table's line is clicked by button. How can I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 15:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254527#M145786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254528#M145787</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;you can do it with ALV GRID Control(OO), i hope you are talking about alv box field. it is very simple using ALV GRID Control(OO).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vijay Babu Dudla&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 16:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254528#M145787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T16:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254529#M145788</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;Check this demo Program it helps you a lot.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;RSDEMO02&amp;lt;/b&amp;gt; it is using table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you have button, and you can get idea if you look at this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 16:12:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254529#M145788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T16:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254530#M145789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vijay, but I can not see button in RSDDEMO02 program. I need like;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ID     NAME    SNAME     CLICK
1      JOHN    EVOT      &amp;lt;button&amp;gt;
2      SARAH   KLIMATO   &amp;lt;button&amp;gt;
3      ADAM    MURATTE   &amp;lt;button&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I can put the buttons into table, but when I have clicked, I can not see which line's button has clicked.&lt;/P&gt;&lt;P&gt;How can I do my desire?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 19:11:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254530#M145789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T19:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254531#M145790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are using a table-control you can use a pai module like this:&lt;/P&gt;&lt;P&gt;MODULE PICK_UP.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;establish which line was selected on the first time through&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  IF SY-STEPL EQ 1.&lt;/P&gt;&lt;P&gt;    GET CURSOR LINE w_selected_line.&lt;/P&gt;&lt;P&gt;    IF W_selected_line = 0.&lt;/P&gt;&lt;P&gt;      W_selected_line = 1.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;convert the relative line to the actual line number in the table by referring to the table-control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    w_absolute_line = w_selected_line + tc_???-top_line - 1.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;In your screen's flow logic you need something like this in the PAI section:&lt;/P&gt;&lt;P&gt;  LOOP AT your_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODULE pickup.&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;&lt;/P&gt;&lt;P&gt;However, If you are using a steploop I'm not sure how you do it and am interested in the answer myself!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 22:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254531#M145790</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-03-09T22:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254532#M145791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying that instead of a button to select a line, you want an actual pushbutton of some sort in each line of the table control and when that button is pressed, you display details of that line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, the normal way to do that would be to have a simple check button as the others have suggested (allowing only one line to be selected) and a pushbutton at the top of the screen that the user presses after the line is selected and that then displays the lines details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do I not understand yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 23:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254532#M145791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T23:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254533#M145792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what Huseyin is asking for is the actual element within the table-control to appear as a pushbutton, maybe with an icon, and when that is clicked the action will take place. This is something I have done, it means a one-step process, the user does not have to select a line and then click a button on the tool bar but can just click on exactly the line he's interested in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 23:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254533#M145792</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-03-09T23:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254534#M145793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I thought. I've seen that sort of thing in an ALV grid program but I've not used it myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 23:15:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254534#M145793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-09T23:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: push button in a table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254535#M145794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, as it happens I'm trying to use that same technique in a program I'm changing which uses a steploop. But the get cursor doesn't work. I don't really want to convert it to use a table-control instead but can't see any way round it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2006 23:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/push-button-in-a-table/m-p/1254535#M145794</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-03-09T23:22:39Z</dc:date>
    </item>
  </channel>
</rss>

