<?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: Screen, dynamic fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997828#M1494797</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 the pushbutton text if you define the pushbutton as an output field (in the screen field attributes). Then the text in the screen painter will become some underscores instead of a static text.&lt;/P&gt;&lt;P&gt;Just refer to the screen painter documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gerd Rother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 May 2010 11:39:59 GMT</pubDate>
    <dc:creator>gerd_rother</dc:creator>
    <dc:date>2010-05-31T11:39:59Z</dc:date>
    <item>
      <title>Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997824#M1494793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm developing a screen and I would like to display several radio buttons, according to some selection parameters from the database! The idea is to query the tables that I need and then display several options to the user! I don't know the number of lines that will be return, it deepens on the content of the tables! So the only way is to dynamically add the radio buttons!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to add radio buttons on the fly to a screen (se51)? If yes can any one help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 08:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997824#M1494793</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-26T08:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997825#M1494794</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;Unfortunately you cannot add radio-buttons on the fly.&lt;/P&gt;&lt;P&gt;What you can do is to use a table control (or a step-loop). You define an internal table containing, say, radio-button flag and a text which you display in that table control. By inserting/deleting lines in that table you can add/remove radio-buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gerd Rother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 11:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997825#M1494794</guid>
      <dc:creator>gerd_rother</dc:creator>
      <dc:date>2010-05-26T11:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997826#M1494795</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 generate a dynamic selection-screens by creating a report at runtime. its quite complicated depending on your goals, you have to "concatenate" the sourcecode of the report into a text variable and then use the command "insert report".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;greetings,&lt;/P&gt;&lt;P&gt;dsp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 May 2010 13:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997826#M1494795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-26T13:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997827#M1494796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! And push buttons? cant I change the text of the text button only assigning a variable (for example) to the name of the text button, and change it at run time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The idea is to pass a iTable to a function and fill the push buttons text with the text contained in one of the fields of the iTab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to replicate the behavior of the transaction LM01, where they are able to pass the button name to the button at run time! I tried to fiend the code that they use but with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 08:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997827#M1494796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T08:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997828#M1494797</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 the pushbutton text if you define the pushbutton as an output field (in the screen field attributes). Then the text in the screen painter will become some underscores instead of a static text.&lt;/P&gt;&lt;P&gt;Just refer to the screen painter documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gerd Rother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 11:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997828#M1494797</guid>
      <dc:creator>gerd_rother</dc:creator>
      <dc:date>2010-05-31T11:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997829#M1494798</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;here a short code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: MARA, EKKO.
* Material
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 06(23) T_MARA.
PARAMETERS:       X_MARA RADIOBUTTON GROUP PRI1 DEFAULT 'X'
                  USER-COMMAND DUMMY.
SELECTION-SCREEN: COMMENT 35(15) T_MATNR.
SELECT-OPTIONS    S_MATNR FOR MARA-MATNR MODIF ID DS0.
SELECTION-SCREEN: END   OF LINE.
*
* Bestellung
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 06(23) T_EKKO.
PARAMETERS:       X_EKKO RADIOBUTTON GROUP PRI1.
SELECTION-SCREEN: COMMENT 35(15) T_EBELN.
SELECT-OPTIONS    S_EBELN FOR EKKO-EBELN MODIF ID DS1.
SELECTION-SCREEN: END   OF LINE.
*
AT SELECTION-SCREEN OUTPUT.
*
  CLEAR: T_MATNR, T_EBELN.
*
  IF X_MARA = 'X'.
    T_MATNR = 'Materialnummer'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 EQ 'DS0'.
        SCREEN-INPUT     = '1'.
        SCREEN-INVISIBLE = '0'.
        MODIFY SCREEN.
      ENDIF.
      IF SCREEN-GROUP1 EQ 'DS1'.
        SCREEN-INPUT     = '0'.
        SCREEN-INVISIBLE = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*
  IF X_EKKO = 'X'.
    T_EBELN = 'Bestellnummer'.
    LOOP AT SCREEN.
      IF SCREEN-GROUP1 EQ 'DS0'.
        SCREEN-INPUT     = '0'.
        SCREEN-INVISIBLE = '1'.
        MODIFY SCREEN.
      ENDIF.
      IF SCREEN-GROUP1 EQ 'DS1'.
        SCREEN-INPUT     = '1'.
        SCREEN-INVISIBLE = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*
INITIALIZATION.
*
  T_MARA  = 'Materialien?'.
  T_EKKO  = 'Bestellungen?'.
*
START-OF-SELECTION.
*
*
END-OF-SELECTION.

&lt;/CODE&gt;&lt;/PRE&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, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 12:16:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997829#M1494798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T12:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997830#M1494799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you  Gerd Rother ! You solved my problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just one final question to end this topic!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my report I have to hide and show several fields in order to display only th required information! The problem is that when I hide one field (for example one button), and if that element is the only one in that line, all the line is removed, rising all the screen one line up!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behavior is very anoint in my RF screen! Is there any way to avoid this behavior?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 21:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997830#M1494799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-31T21:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997831#M1494800</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;In the screen attributes just switch on flag 'Switch off runtime compress'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Gerd Rother&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 May 2010 22:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997831#M1494800</guid>
      <dc:creator>gerd_rother</dc:creator>
      <dc:date>2010-05-31T22:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Screen, dynamic fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997832#M1494801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tks!&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jun 2010 12:40:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/screen-dynamic-fields/m-p/6997832#M1494801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-01T12:40:35Z</dc:date>
    </item>
  </channel>
</rss>

