<?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 and module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777682#M1464014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to set the title dynamically based on the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Define the title bar with &amp;amp; symbol. For example, let us consider the titles should be "Program A" if called by first program and title should be "Program B" if called by second program. Define the title bar with text "Program &amp;amp;" (pls note quotes are not required).&lt;/P&gt;&lt;P&gt;2) In the PBO of the screen, check whether called from first program or second program and accordingly, populate the variable LV_PRG.&lt;/P&gt;&lt;P&gt;3) The command in PBO should be SET TITLEBAR 'TT1' WITH lv_prg.&lt;/P&gt;&lt;P&gt;4) When executed, the variable lv_prg will be populated with value A or B based on the calling program. This variable value will be substituted in place of &amp;amp; symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sakthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Apr 2010 09:28:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-01T09:28:04Z</dc:date>
    <item>
      <title>table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777678#M1464010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 queries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) On a table control how can I move cursor to second row when I press enter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I hav to use 1 screen for two prgrams to I need to chance the title of screen (SET-TITLE) for both accordingly and I have to chance the heading (text label) above table control in that screen for those two programs , can I use anything else instead of text labels as i dont think that can be changed dynamically.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 08:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777678#M1464010</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2010-04-01T08:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777679#M1464011</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;1) You can use the &lt;STRONG&gt;SET CURSOR&lt;/STRONG&gt; statement to move the cursor wherever you want, for details just click F1 on set cursor statement in program editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Set TITTLEBAR, with your text dynamically.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET TITLEBAR  'TIT' with text-001 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 09:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777679#M1464011</guid>
      <dc:creator>praveen_hannu</dc:creator>
      <dc:date>2010-04-01T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777680#M1464012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how can I get the ENTER value in screen ok_code on presing enter it does not take it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how will i set title based on which program it was called from i know the syntax but how to change it dynamically&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 09:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777680#M1464012</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2010-04-01T09:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777681#M1464013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you click on the enter, automatically PAI will trigger, no need to assign any ok_code for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep a condition in the PBO module, based on the condition you populate the text.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; data title(60).
if sy-repid eq 'ZTEST1'.
title = 'Test Program for Title testing:1'
SET TITLEBAR  'TIT' with title.
else.
title = 'Test Program for Title testing:2'
SET TITLEBAR  'TIT' with title.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 09:21:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777681#M1464013</guid>
      <dc:creator>praveen_hannu</dc:creator>
      <dc:date>2010-04-01T09:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777682#M1464014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is to set the title dynamically based on the calling program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Define the title bar with &amp;amp; symbol. For example, let us consider the titles should be "Program A" if called by first program and title should be "Program B" if called by second program. Define the title bar with text "Program &amp;amp;" (pls note quotes are not required).&lt;/P&gt;&lt;P&gt;2) In the PBO of the screen, check whether called from first program or second program and accordingly, populate the variable LV_PRG.&lt;/P&gt;&lt;P&gt;3) The command in PBO should be SET TITLEBAR 'TT1' WITH lv_prg.&lt;/P&gt;&lt;P&gt;4) When executed, the variable lv_prg will be populated with value A or B based on the calling program. This variable value will be substituted in place of &amp;amp; symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sakthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 09:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777682#M1464014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-01T09:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777683#M1464015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To set the cursor in the next row of table control when you press enter key please follow the below steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when you press enter key PAI should be triggered, and to trigger PAI please enter a FCODE for the ENTER key in the PF-STATUS.&lt;/P&gt;&lt;P&gt;2. Get the current position of the cursor in the table control by using the statement &lt;/P&gt;&lt;P&gt;GET CURSORE ....LINE &amp;lt;line no in TC&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT LINE = &amp;lt;line no in TC&amp;gt; + 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. To set to the next line of the table control(TC) use the statement &lt;/P&gt;&lt;P&gt;SET CURSOR........... LINE  &amp;lt;NEXT LINE&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note the &amp;lt;NEXT LINE&amp;gt; value should be less tahn or equal to the table control-Lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amarjit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Amarjit Singh on Apr 1, 2010 3:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 09:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777683#M1464015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-01T09:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777684#M1464016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.)  I have also a label above table control which has fixed text how can that be chaged when screen is caled from diffrent programs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.)  I have give ENTER FCODE in the pf status but when i press it from key board the ok_code does not get that value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 10:32:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777684#M1464016</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2010-04-01T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777685#M1464017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the demo report  &lt;STRONG&gt;demo_dynpro_tabcont_loop&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 10:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777685#M1464017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-01T10:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777686#M1464018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is nothing much in the program plz help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) I have also a label above table control which has fixed text how can that be chaged when screen is caled from diffrent programs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I have give ENTER FCODE in the pf status but when i press it from key board the ok_code does not get that value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) how can i set displayed values rows from intenal table in display mode and rest in edit mode in table control&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 11:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777686#M1464018</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2010-04-01T11:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777687#M1464019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plZ help........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 12:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777687#M1464019</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2010-04-01T12:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: table control and module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777688#M1464020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. For the text label create a text field with only output properties selected, this will behave like text field except you can chage the text of such dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. set FCODE for the enter sysmbol inthe PF-Status, please check if sy-ucomm has the FCODE value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. LOOP AT &amp;lt;ITAB&amp;gt; WITH CONTROL &amp;lt;TC&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  READ TABLE &amp;lt;TC&amp;gt;-COLS... with SCREEN-NAME = 'SCREEN-NAME'&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;ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Apr 2010 12:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-module-pool/m-p/6777688#M1464020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-01T12:31:11Z</dc:date>
    </item>
  </channel>
</rss>

