<?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: Dynamic program Title in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593485#M1436200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you want to display the title after you press push button on the selection screen, then at event START-OF-SELECTION you can write the logic same logic as you tried in AT-SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Feb 2010 07:03:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-15T07:03:01Z</dc:date>
    <item>
      <title>Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593479#M1436194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am have to make a dynamic attribute for a report, can anyone please help me? actually i made 6 pushbutton on selection screen and after click of every pushbutton i want to call same Z program with different program title.&lt;/P&gt;&lt;P&gt;can anyone please help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 05:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593479#M1436194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T05:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593480#M1436195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I guess program attribute title will remain same however to set the list title create 6 different PF-status. And set those PF-status as per your requirement( the button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amarjit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 05:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593480#M1436195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T05:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593481#M1436196</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 populate the variable &lt;STRONG&gt;SY-TITLE&lt;/STRONG&gt; for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check below sample code where i am changing the title based on selection screen input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: po_1 TYPE c.

END-OF-SELECTION.
CASE po_1.
WHEN 1.
sy-title = 'Title1'.
WHEN 2.
sy-title = 'Title2'.
WHEN OTHERS.
sy-title = 'Other title'.
ENDCASE.

WRITE: 'Test'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 05:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593481#M1436196</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-02-15T05:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593482#M1436197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can achieve this using your own PF-STATUs for each of the six scenarious and change them in&lt;/P&gt;&lt;P&gt;even AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to copy standard PF-STATUS do it fom (Standard prog. to copy GUI status - SAPLKKBL) and use transaction 'SE41'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Salil Sonam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 05:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593482#M1436197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T05:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593483#M1436198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx for reply...actually i made &lt;STRONG&gt;Text element&lt;/STRONG&gt; for all the title and now on user selection i m transferring it in SY-TITLE under event AT SELECTION-SCREEN OUTPUT, but still it is not changing. i putted the program title &amp;amp;1&amp;amp;2 while creating program but now it is not overwriting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone plz help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG1 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG1 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG1.&lt;/P&gt;&lt;P&gt;  sy-title = text-008.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG2 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG2 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG2.&lt;/P&gt;&lt;P&gt;  sy-title = text-009.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG3 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG3 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG3.&lt;/P&gt;&lt;P&gt;  sy-title = text-010.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG4 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG4 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG4.&lt;/P&gt;&lt;P&gt;  sy-title = text-011.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG5 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG5 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG5.&lt;/P&gt;&lt;P&gt;  sy-title = text-012.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG6 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG6 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG6.&lt;/P&gt;&lt;P&gt;  sy-title = text-013.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORT GC_FLG7 FROM MEMORY ID 'GV_FLG'.&lt;/P&gt;&lt;P&gt;if GC_FLG7 ne lc_blk.&lt;/P&gt;&lt;P&gt;  lv_flg = GC_FLG7.&lt;/P&gt;&lt;P&gt;  sy-title = text-014.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 06:02:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593483#M1436198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T06:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593484#M1436199</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;After creating the text elements for each of the program,&lt;/P&gt;&lt;P&gt;then you can assign that text elements to the titles on the&lt;/P&gt;&lt;P&gt;AT Selection-Screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&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;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 06:17:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593484#M1436199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T06:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593485#M1436200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you want to display the title after you press push button on the selection screen, then at event START-OF-SELECTION you can write the logic same logic as you tried in AT-SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this will solve your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 07:03:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593485#M1436200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-15T07:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic program Title</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593486#M1436201</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 modify your program name dynamically in the Initialization of your program Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization.&lt;/P&gt;&lt;P&gt;If sy-tcode = 'ZTCODE1'.&lt;/P&gt;&lt;P&gt; sy-tittle = 'Program name 1'.&lt;/P&gt;&lt;P&gt;endif.&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;Younes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 16:11:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-program-title/m-p/6593486#M1436201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-26T16:11:19Z</dc:date>
    </item>
  </channel>
</rss>

