<?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: Changing Function Code of a Push Button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606535#M1277576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; sy-ucomm is 'BUT', the fcode that I have assigned to the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Its not a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 06:30:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-19T06:30:16Z</dc:date>
    <item>
      <title>Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606531#M1277572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In my table control, I have a column of push buttons, each per row.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;   As the FCODE of all the push buttons are same, so same set of actions are getting triggered on&lt;/P&gt;&lt;P&gt;   click of any of these buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I mean, if data is present only in the first row, then the push button of the first row should work, but &lt;/P&gt;&lt;P&gt;  right now even if I click the 5th row's button same thing is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; So Can we change the function code of these push buttons every time the table control loop is &lt;/P&gt;&lt;P&gt; processed ??&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 05:25:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606531#M1277572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T05:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606532#M1277573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah fcode remains same , but when u look st sy-ucomm , u will get to know from which line it was triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code looks like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_lin = ytc_10-top_line + sy-ucomm+2(2) - 1.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 05:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606532#M1277573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T05:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606533#M1277574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Prabhu can you please elaborate it more as in what should I do ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 05:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606533#M1277574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T05:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606534#M1277575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check values of sy-ucomm in debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_lin = ytc_10-top_line + sy-ucomm+2(2) - 1.---&amp;gt; current line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab  index l_lin.--&amp;gt;this will give current line details.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 06:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606534#M1277575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T06:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606535#M1277576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; sy-ucomm is 'BUT', the fcode that I have assigned to the button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Its not a number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 06:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606535#M1277576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T06:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606536#M1277577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry , forgot to tell IMP thing when u are using Button on ROW,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fcode should be like thi &lt;STRONG&gt;BU%%&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 06:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606536#M1277577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T06:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606537#M1277578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That means, if I change the FCODE from BUT to BU%% it will work ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 06:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606537#M1277578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T06:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606538#M1277579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;same solution......... without try u never know what i'm saying...how it works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yupe it should work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%% or %%%( which can holds record no ) will contain current row details, so in PAI  u need to have code just like my sample code ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PAI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;l_lin = ytc_10-top_line + sy-ucomm+2(2) - 1.---&amp;gt; current line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read itab index l_lin.--&amp;gt;this will give current line details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabhu Peram on May 19, 2009 3:21 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Prabhu Peram on May 19, 2009 4:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 07:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606538#M1277579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T07:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606539#M1277580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where is your sample code, can u please show me ?&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;Chandan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: chandan sinha on May 19, 2009 9:32 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 07:32:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606539#M1277580</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T07:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606540#M1277581</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;Disable the rows which doesn't have any values. In PBO, use describe statement to find the no. of lines in internal table. Then for table control, use the lines count to enable/ disable a particular row. For that use screen-input inside loop..endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 07:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606540#M1277581</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2009-05-19T07:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606541#M1277582</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 PAI code to handle the click event of a pushbutton should be done inside the LOOP ENDLOOP of the coulmn of pushbuttons. So that when the appropriate column is clicked the apt code (which you need to do for the particular column cell) shall be executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 08:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606541#M1277582</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T08:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606542#M1277583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  BU%% is giving BU01, BU02 like wise for each time the button is clicked and not depending on the row.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  This change in sy-ucomm should be row dependent and not button click dependent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I mean, when row = 1, only then sy-ucomm = BU01( Not depending on the click made on the button)&lt;/P&gt;&lt;P&gt;                      row = 2, only then sy-ucomm = BU02 ( Not depending on the click made on the button)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can you please suggest on this ?&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 09:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606542#M1277583</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T09:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606543#M1277584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dude .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont how is ur TC design ..... but it should give selected row no itself...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see where is ur cursor postion.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 09:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606543#M1277584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T09:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606544#M1277585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Prabhu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Fine I agree, that from your formula, I will get the selected row, but then what should I write in the below&lt;/P&gt;&lt;P&gt; blank :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE OK_CODE.
   WHEN  '_____'.
    CALL SCREEN 110.
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on that row, I need to trigger the corresponding button, which will then open a pop-up input screen, where I need to enter data. When I will press the same button next time it should show the values which I had entered. Like this it should work for all the rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; what should I write in the above condition ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems I am close, please reply to the earliest.&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 10:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606544#M1277585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606545#M1277586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;  
*screen 100
data: l_function like sy-ucomm,
        l_lin      type sy-stepl.
  clear: ok_code,l_function,error.
  ok_code = sy-ucomm.
  l_function = ok_code.
  if l_function(2)  = 'BU'.
    clear l_lin.
    l_lin = gt_cat09-top_line + l_function+2(2) - 1.
   read itab into ls_itab index l_line.---&amp;gt;current line. basedon conditions u can call popup message.
    perform get_relations.
    if gt_cat06[] is initial.
      perform display_popup.---&amp;gt;pop up select options.
    else.
     saved = 'X'.
    endif.
    if error ne 'X'.
      call screen '0101'.--&amp;gt;i'm calling another screen.
    endif.
  endif.
  case ok_code.
    when 'SAVE'.
    when 'DELE'.
    when others.
  endcase.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dude..... i dont do copy &amp;amp; paste my code... ...... u should try .....anyhow i hope u got the logic....so try to do it on ur own ...&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 02:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606545#M1277586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T02:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606546#M1277587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Prabhu, that BU%% is working yaar, cool &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks a lot, &lt;/P&gt;&lt;P&gt; Now can you tell me is this possible: &lt;STRONG&gt;To get the row number of a table control where the cursor is currently&lt;/STRONG&gt;   &lt;/P&gt;&lt;P&gt;                                                        &lt;STRONG&gt;placed and the processing should start from that row ??&lt;/STRONG&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;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu, See the above message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chandan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: chandan sinha on May 20, 2009 7:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 05:47:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606546#M1277587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T05:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606547#M1277588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get the row number of a table control where the cursor is currently &lt;/P&gt;&lt;P&gt;placed and the processing should start from that row ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what processing ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;see my sample code , that will give u current row only. based on the l_lin u can  read ur internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606547#M1277588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T09:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606548#M1277589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Fine....let me tell you my scenario then, please do help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario:&lt;/P&gt;&lt;P&gt; 1) I have a table control with 2 radio buttons, 7 columns and 1 column of push buttons.&lt;/P&gt;&lt;P&gt; 2) On click of radio button 2, the push button gets enabled and on click of the push button, a pop-up&lt;/P&gt;&lt;P&gt;     screen comes up.&lt;/P&gt;&lt;P&gt; 3) After entering data on the pop-up screen, control should come back to the main screen and whatever&lt;/P&gt;&lt;P&gt;     data the user has entered should get displayed.&lt;/P&gt;&lt;P&gt; 4) Now say user has entered 7 rows of data by repeating the above process. Suddenly, the user wants to&lt;/P&gt;&lt;P&gt;     see what he entered in the first row's pop-up, then the user has to press the first row's push button in order&lt;/P&gt;&lt;P&gt;     to see what he had entered in the pop-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is with the 4th Point, how can I achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Challenges I am facing: Even though I am clicking the 5th row's push button, it is showing me the 1st row's &lt;/P&gt;&lt;P&gt;                                    data. &lt;/P&gt;&lt;P&gt;                                    The Pop-up screen's values should change row wise depending on the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out, this issue is eating me up.&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;Chandan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 10:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606548#M1277589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T10:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Function Code of a Push Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606549#M1277590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not done&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 07:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-function-code-of-a-push-button/m-p/5606549#M1277590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-21T07:05:22Z</dc:date>
    </item>
  </channel>
</rss>

