<?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 the checkbox text dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701497#M307508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it at selection screen&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;loop at screen.&lt;/P&gt;&lt;P&gt;*Find the text field for the checkbox in debugging.&lt;/P&gt;&lt;P&gt;if screen-name = &amp;lt;check box text field&amp;gt;&lt;/P&gt;&lt;P&gt;screen-name = &amp;lt;your text&amp;gt;.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2006 05:12:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-02T05:12:15Z</dc:date>
    <item>
      <title>changing the checkbox text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701496#M307507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The User wants to change column heading dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A checkbox is created in the selection screen, user wants to change the text of check box in the screen and it is displayed as column heading in thelist.&lt;/P&gt;&lt;P&gt;Can you please help here?.........................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 05:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701496#M307507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T05:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: changing the checkbox text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701497#M307508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it at selection screen&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;loop at screen.&lt;/P&gt;&lt;P&gt;*Find the text field for the checkbox in debugging.&lt;/P&gt;&lt;P&gt;if screen-name = &amp;lt;check box text field&amp;gt;&lt;/P&gt;&lt;P&gt;screen-name = &amp;lt;your text&amp;gt;.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 05:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701497#M307508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-02T05:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: changing the checkbox text dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701498#M307509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alekhya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Define the checkbox and comment in the same line in&lt;/P&gt;&lt;P&gt;   the screen.&lt;/P&gt;&lt;P&gt;2. Make the checkbox text (selection text) as blank.&lt;/P&gt;&lt;P&gt;3. Asssign an 8 character long field to the comment.&lt;/P&gt;&lt;P&gt;   for Eg: SELECTION-SCREEN COMMENT 3(55) text1234.&lt;/P&gt;&lt;P&gt;4. In the INITIALIZATION event assign text to that    &lt;/P&gt;&lt;P&gt;   variable.&lt;/P&gt;&lt;P&gt;5. In the AT selection-screen event u can change the   &lt;/P&gt;&lt;P&gt;   contents of that variable . which will result in the &lt;/P&gt;&lt;P&gt;   dynamic change in the checkbox text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For futher info. Please check the SAP help below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SELECTION-SCREEN - Defining Titles and Texts on Selection Screens&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define texts for various text objects: ( comments, pushbuttons, ...) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two ways to do this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1. Static definition:&amp;lt;/b&amp;gt; You enter the text in the form TEXT-xxx with a three-character identifier xxx as a text symbol. &lt;/P&gt;&lt;P&gt;The contents of the text symbol TEXT-xxx appears on the selection screen and cannot be changed dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;2.Dynamic definition:&amp;lt;/b&amp;gt; You enter a field name of up to eight characters ex. abcdefgh. &lt;/P&gt;&lt;P&gt;In this case, the system creates a field with the name abcdefgh . Its contents then appear on the selection screen at runtime. You must set these texts at runtime (in the INITIALIZATION part of a report, or in the INIT routine of the logical database program SAPDBldb. You can also change them while the selection screen is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;The field abcdefgh is generated automatically. You do not have to declare it using the DATA statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can define texts in any of the following: &lt;/P&gt;&lt;P&gt;- SELECTION-SCREEN BEGIN OF SCREEN &lt;/P&gt;&lt;P&gt;- SELECTION-SCREEN BEGIN OF BLOCK &lt;/P&gt;&lt;P&gt;- SELECTION-SCREEN COMMENT &lt;/P&gt;&lt;P&gt;- SELECTION-SCREEN PUSHBUTTON &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;&lt;/P&gt;&lt;P&gt;TABLES SAPLANE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK CHARLY &lt;/P&gt;&lt;P&gt;                 WITH FRAME TITLE TEXT-001. &lt;/P&gt;&lt;P&gt;  PARAMETERS PARM(5). &lt;/P&gt;&lt;P&gt;  SELECTION-SCREEN COMMENT /5(20) COMM1234. &lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS SEL FOR SAPLANE-PLANETYPE. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END   OF BLOCK CHARLY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION. &lt;/P&gt;&lt;P&gt;  MOVE 'Test dynamic text' TO COMM1234. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( TEXT-001 has the contents 'Block Charly'). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;DEL&gt;Block Charly&lt;/DEL&gt;--&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  | PARM             _____                        | &lt;/P&gt;&lt;P&gt;  |     Test dynamic text                         | &lt;/P&gt;&lt;P&gt;  | SEL              ________    to   ________    | &lt;/P&gt;&lt;P&gt;  -&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt; &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;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2006 06:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-the-checkbox-text-dynamically/m-p/1701498#M307509</guid>
      <dc:creator>santhosh_patil</dc:creator>
      <dc:date>2006-11-02T06:00:55Z</dc:date>
    </item>
  </channel>
</rss>

