<?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: Table Control double click / w/ set column in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776010#M1463825</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not make it Yesterday, But better Late than never,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You need to select &lt;STRONG&gt;Respond to Double Click&lt;/STRONG&gt; on Screen Table Control Field&lt;/P&gt;&lt;P&gt;2) Assign an OK code for F2 in PF-Status.  (DBL) i did it like this&lt;/P&gt;&lt;P&gt;3) Assign OK in Screen Elements  " &lt;STRONG&gt;Left Tab of Flow Logic&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Declare all the Variables used here in TOP Include .
" This is a tested Program code in ECC6.0
in PBO

module status_0100.

in program
module status_0100.
set cursor field 'ITAB-CARRID' line line. " We get the Line value from MODULE_USER_COMMAND mentioned below
endmodule.

in PAI

module user_command_0100.

in program
module user_command_0100.
  DATA : NO TYPE I.
  CASE ok.
    WHEN 'DBL'.
      CLEAR ok.
      DESCRIBE TABLE itab LINES tc-lines.
      GET CURSOR FIELD fnam VALUE fval LINE line. " This gives the Row on Table Control
      NO = TC-CURRENT_LINE + LINE - 1. " The line on which you Click in Internal Table
      READ TABLE itab INDEX NO. " Now catch the Values from here and
" Call your new screen and pass these values there from ITAB Header Line
    WHEN 'BACK'.
      LEAVE PROGRAM.
  ENDCASE.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Apr 2010 04:49:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-07T04:49:14Z</dc:date>
    <item>
      <title>Table Control double click / w/ set column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776009#M1463824</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;My requiement is data is being populated into table control ( only display columns ) and, if the user select a row or double clicks&lt;/P&gt;&lt;P&gt;on the row, it should open new screen and also it should take first 2 columns data in the new screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anktih&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Apr 2010 08:58:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776009#M1463824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-06T08:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control double click / w/ set column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776010#M1463825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could not make it Yesterday, But better Late than never,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You need to select &lt;STRONG&gt;Respond to Double Click&lt;/STRONG&gt; on Screen Table Control Field&lt;/P&gt;&lt;P&gt;2) Assign an OK code for F2 in PF-Status.  (DBL) i did it like this&lt;/P&gt;&lt;P&gt;3) Assign OK in Screen Elements  " &lt;STRONG&gt;Left Tab of Flow Logic&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Declare all the Variables used here in TOP Include .
" This is a tested Program code in ECC6.0
in PBO

module status_0100.

in program
module status_0100.
set cursor field 'ITAB-CARRID' line line. " We get the Line value from MODULE_USER_COMMAND mentioned below
endmodule.

in PAI

module user_command_0100.

in program
module user_command_0100.
  DATA : NO TYPE I.
  CASE ok.
    WHEN 'DBL'.
      CLEAR ok.
      DESCRIBE TABLE itab LINES tc-lines.
      GET CURSOR FIELD fnam VALUE fval LINE line. " This gives the Row on Table Control
      NO = TC-CURRENT_LINE + LINE - 1. " The line on which you Click in Internal Table
      READ TABLE itab INDEX NO. " Now catch the Values from here and
" Call your new screen and pass these values there from ITAB Header Line
    WHEN 'BACK'.
      LEAVE PROGRAM.
  ENDCASE.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 04:49:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776010#M1463825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T04:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control double click / w/ set column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776011#M1463826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank a ton Ram for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to solve 'click' problem and have a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wheneer user double clicks on table ctl row, I am calling a model window with new PF-status which has&lt;/P&gt;&lt;P&gt;Back and Exit. I am setting to 'Back' to set screen 100 &amp;amp; leave screen (original screen ). But, its coming off the entire application&lt;/P&gt;&lt;P&gt;when I press 'Back'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 06:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776011#M1463826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-07T06:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control double click / w/ set column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776012#M1463827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use set screen 0. Leave screen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Apr 2010 07:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776012#M1463827</guid>
      <dc:creator>kanwardeepsingh_gill</dc:creator>
      <dc:date>2010-04-07T07:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table Control double click / w/ set column</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776013#M1463828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found solution myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 06:45:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-double-click-w-set-column/m-p/6776013#M1463828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T06:45:22Z</dc:date>
    </item>
  </channel>
</rss>

