<?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 Help wit Title GUI??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005127#M408614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some body know how to do a Title GUI in a MP Dynamic??&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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jose Roberto Milan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2007 05:38:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-27T05:38:39Z</dc:date>
    <item>
      <title>Help wit Title GUI???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005127#M408614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some body know how to do a Title GUI in a MP Dynamic??&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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Jose Roberto Milan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 05:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005127#M408614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T05:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help wit Title GUI???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005128#M408615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SET TITLEBAR - Dynpro &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;SET TITLEBAR title [OF PROGRAM prog] &lt;/P&gt;&lt;P&gt;                   [WITH text1 ... text9]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1. ... OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... WITH text1 ... text9 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;During screen processing, this statement specifies the GUI title (specified in title) for the subsequent screens. The title is displayed in the title bar from the next sending of one screen until the end of the program or until the next SET TITLEBAR statement. The name of the current GUI title is displayed in the system field sy-title. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A character-type data object that contains the name of a GUI title of the main program of the current program group or of the program specified in prog in upper case is expected for title. If the title does not exist, sy-subrc is set to 4 and the word "SAP" is displayed in the title bar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc Meaning &lt;/P&gt;&lt;P&gt;0 GUI title is set. &lt;/P&gt;&lt;P&gt;4 GUI title cannot be found. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The GUI title of the screen must be set before the PBO event. If no GUI title is set for a screen, the word "SAP" is displayed in the title bar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The title bar can contain a maximum of 70 characters. A title that exceeds this limit after the replacement of placeholders is truncated to the right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement SET TITLEBAR contains a variant for the GUI status of lists. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;... OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;By default, a GUI title defined in the current main program is used. When using the addition OF PROGRAM, a GUI title of the progam specified in prog can be set. A character-type data object is expected for prog that contains the name of a ABAP program in upper case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... WITH text1 ... text9 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;When using the addition WITH, you can replace the placeholders of the GUI title with the contents of data objects text1 to text9. Data objects text1 to text9 must be of a character-type flat data type. The placeholders of the GUI title can be defined in the form "&amp;amp;" or "&amp;amp;i", where i can be a number between 1 and 9. The characters are replaced as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The numbered placeholders "&amp;amp;i" are replaced with the contents of the data objects text1 to text9, whose names contain the same number i for the second digit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The non-numbered placeholders "&amp;amp;" are replaced with the contents of the remaining data objects text1 to text9 according to their order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no data object is specified for a placeholder, it is represented by a blank character. Two successive "&amp;amp;" characters "&amp;amp;&amp;amp;" in the title bar are not replaced with the contents of text1 to text9, but with the character "&amp;amp;". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;In the following example, the GUI title TITLE_0100 of the program specified in prog is set in a PBO module, where the placeholders "&amp;amp;1" and "&amp;amp;2" of the title are replaced with the contents p1 and p2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: title  TYPE string, &lt;/P&gt;&lt;P&gt;      prog   TYPE string, &lt;/P&gt;&lt;P&gt;      p1(10) TYPE c, &lt;/P&gt;&lt;P&gt;      p2(10) TYPE c. &lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT. &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;  title = 'TITLE_0100'. &lt;/P&gt;&lt;P&gt;  prog  = '...'. &lt;/P&gt;&lt;P&gt;  p1 = '...'. &lt;/P&gt;&lt;P&gt;  p2 = '...'. &lt;/P&gt;&lt;P&gt;  SET TITLEBAR title OF PROGRAM prog WITH p1 p2. &lt;/P&gt;&lt;P&gt;  ... &lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;SET TITLEBAR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax Forms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set title of screen &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SET TITLEBAR title [OF PROGRAM prog] &lt;/P&gt;&lt;P&gt;                     [WITH text1 ... text9]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set title of list &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. SET TITLEBAR title [OF PROGRAM prog] &lt;/P&gt;&lt;P&gt;                     [WITH text1 ... text9]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET TITLEBAR - Liste &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax &lt;/P&gt;&lt;P&gt;SET TITLEBAR title [OF PROGRAM prog] &lt;/P&gt;&lt;P&gt;                   [WITH text1 ... text9]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extras: &lt;/P&gt;&lt;P&gt;1. ... OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... WITH text1 ... text9 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;During list processing, this statement sets the GUI title, specified in title, for the display window of the current list level and all following list levels up to the next statement SET TITLEBAR. The statement has - for the most part - the same syntax and semantics as for screens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to the screens of dynpros, each list level automatically remains linked to the title set for it. When you return from the display of a higher list level to the display of a lower list level, the latter is displayed with the title that was set for it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 1 &lt;/P&gt;&lt;P&gt;...  OF PROGRAM prog &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition 2 &lt;/P&gt;&lt;P&gt;... WITH text1 ... text9 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;As for screens. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sunil kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        sunil kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 05:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005128#M408615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T05:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help wit Title GUI???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005129#M408616</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;Titles can be created thru SE41/SE51 its a menu painter tranaction normally this is used screen painter&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;suresh krishnan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 05:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005129#M408616</guid>
      <dc:creator>former_member15255</dc:creator>
      <dc:date>2007-03-27T05:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help wit Title GUI???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005130#M408617</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;If you want add GUI Title Dynamic, try this:&lt;/P&gt;&lt;P&gt;1. Create all your title: Right click your mouse at your Program name, select Create, select GUI Titles.&lt;/P&gt;&lt;P&gt;2. On your MODULE STATUS, add code like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CASE P_STATE .
    WHEN ''.   SET TITLEBAR 'Z_TB9100'.
    WHEN 'O'. SET TITLEBAR 'Z_TB9100_O'.
    WHEN 'S'. SET TITLEBAR 'Z_TB9100_D'.
    WHEN 'D'. SET TITLEBAR 'Z_TB9100_H'.
    WHEN 'C'. SET TITLEBAR 'Z_TB9100_C'.
  ENDCASE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;1. P_STATE  = Your condition for select the GUI Titles&lt;/P&gt;&lt;P&gt;2. Z_TB9100, Z_TB9100_O..etc = Your GUI Titles that you created at step 1.&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>Tue, 27 Mar 2007 05:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-wit-title-gui/m-p/2005130#M408617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T05:48:19Z</dc:date>
    </item>
  </channel>
</rss>

