<?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: Pushbutton in Table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373676#M183533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason, even though you selected 'Problem Solved' button, it is not showing the status as 'Answered'. Instead it is still showing 'This is marked as a question'. It is normal that sometimes these things don't work and then they correct themselves after a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you don't have to worry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Jun 2006 20:05:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-13T20:05:28Z</dc:date>
    <item>
      <title>Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373669#M183526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use a pushbutton into a table control.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing this generate's one push button by table row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is I can't determine on which table row the button was pressed from the screen's PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone help me please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Eric Meunier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 20:19:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373669#M183526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T20:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373670#M183527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this logic in the PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 get cursor field  cursor-cursorfield
            offset cursor-pos_cucol  
            line   cursor-pos_curow. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cursor is defined as follows&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: begin of cursor_type,
         next_cucol type sy-cucol,
         next_curow type sy-curow,
         cursorfield(30),
         pos_cucol type sy-cucol,
         pos_curow type sy-curow,
       end of cursor_type.
data: cursor type cursor_type.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can use any field. 'GET CURSOR' is the key statement for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jun 2006 20:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373670#M183527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-12T20:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373671#M183528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;To select rows on the Table Control there is one procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow these steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Declare ur Internal table which u want to display on Table control like this.&lt;/P&gt;&lt;P&gt;  BEGIN OF i_it0002 OCCURS 0,&lt;/P&gt;&lt;P&gt;    Mark    type c,&amp;lt;b&amp;gt;This is the field to capture the selected row&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;    applnno(10),           &lt;/P&gt;&lt;P&gt;    vorna       TYPE pa0002-vorna, &lt;/P&gt;&lt;P&gt;    nachn       TYPE pa0002-nachn,&lt;/P&gt;&lt;P&gt;    rufnm       TYPE pa0002-rufnm, &lt;/P&gt;&lt;P&gt;    gbdat       LIKE pa0002-gbdat,&lt;/P&gt;&lt;P&gt;    gbort       TYPE pa0002-gbort,&lt;/P&gt;&lt;P&gt;  END OF i_it0002,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Go to ur Screen=&amp;gt;Click on LAYOUT=&amp;gt;Double click on ur Table Control&lt;/P&gt;&lt;P&gt;In Table control Attributes u see &lt;/P&gt;&lt;P&gt;Check box for &amp;lt;b&amp;gt;w/SelColumn&amp;lt;/b&amp;gt; .Check that checkbox and give i_it0002-mark in the i/o field.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;3&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Come back and see ur Table control ,u will see Pushbuttons .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;4&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Once u select any row on table control, mark field is 'X'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;5&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt;Then modify ur Internal table like this .&lt;/P&gt;&lt;P&gt;  LOOP AT i_it0002 .&lt;/P&gt;&lt;P&gt;    CHAIN.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-applnno.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-vorna.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-nachn.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-rufnm.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-gbdat.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-gbort module check_gbort.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-natio.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-kitxt.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-gesc2.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-fatxt module validate_fatxt.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-famdt module validate_famdt..&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-anzkd.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-racky ."  MODULE check_racky.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-milsa .&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-mail_id MODULE check_mail.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-ictyp   MODULE capture_field.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-icnum   MODULE check_icnum.&lt;/P&gt;&lt;P&gt;      FIELD i_it0002-check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODULE tabca_modify ON CHAIN-REQUEST.&lt;/P&gt;&lt;P&gt;    ENDCHAIN.&lt;/P&gt;&lt;P&gt;    FIELD i_it0002-mark&lt;/P&gt;&lt;P&gt;    MODULE tabca_mark ON REQUEST.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;MODULE tabca_modify INPUT.&lt;/P&gt;&lt;P&gt;  CLEAR without_sel_save.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MODIFY i_it0002 FROM i_it0002 INDEX tabca-current_line.&lt;/P&gt;&lt;P&gt;  IF i_it0002-mark = 'X'.&lt;/P&gt;&lt;P&gt;    without_sel_save = 'X'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " tabca_modify  INPUT&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;6&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;Based on the mark field in the ITAB ,u can do further modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that it helps u .&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkat.O&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 03:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373671#M183528</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2006-06-13T03:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373672#M183529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Guys, very helpfull to both of you.  Srinivas resolved my problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 17:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373672#M183529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T17:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373673#M183530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close the thread once your question is solved. It helps if others have the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 18:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373673#M183530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T18:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373674#M183531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I close the tread?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 19:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373674#M183531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T19:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373675#M183532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You did that already. So don't worry about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 20:02:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373675#M183532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T20:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton in Table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373676#M183533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason, even though you selected 'Problem Solved' button, it is not showing the status as 'Answered'. Instead it is still showing 'This is marked as a question'. It is normal that sometimes these things don't work and then they correct themselves after a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you don't have to worry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jun 2006 20:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-in-table-control/m-p/1373676#M183533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-13T20:05:28Z</dc:date>
    </item>
  </channel>
</rss>

