<?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 How do i add fields to dynamic selections? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-add-fields-to-dynamic-selections/m-p/3697318#M890198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to add fields to dynamic selections in the customer line item display reports by maintaining selection views ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 01:26:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T01:26:15Z</dc:date>
    <item>
      <title>How do i add fields to dynamic selections?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-add-fields-to-dynamic-selections/m-p/3697318#M890198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to add fields to dynamic selections in the customer line item display reports by maintaining selection views ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 01:26:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-add-fields-to-dynamic-selections/m-p/3697318#M890198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T01:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do i add fields to dynamic selections?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-add-fields-to-dynamic-selections/m-p/3697319#M890199</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;The system table SCREEN contains information about the fields contained on the current screen. You can read them using the LOOP AT SCREEN statement, and change them using MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;Each field on a screen has a set of attributes that are fixed when you define the screen in the Screen Painter. When an ABAP program is running, a subset of the attributes of each screen field can be addressed using the system table SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As example you can execute Program DEMO_DYNPRO_MODIFY_SCREEN. It  demonstrates all possible modifications&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for your info here is the source code of Dynamic screen modifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_dynpro_modify_simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ok_code TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;      save_ok TYPE sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA flag(1) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE status_0100 OUTPUT.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'SCREEN_100'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'MOD'.&lt;/P&gt;&lt;P&gt;      IF flag = ' '.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;      ELSEIF flag = 'X'.&lt;/P&gt;&lt;P&gt;        screen-input = '1'.&lt;/P&gt;&lt;P&gt;ENDIF.&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;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE cancel.&lt;/P&gt;&lt;P&gt;  LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE user_command_0100 INPUT.&lt;/P&gt;&lt;P&gt;  save_ok = ok_code.&lt;/P&gt;&lt;P&gt;  CLEAR ok_code.&lt;/P&gt;&lt;P&gt;  CASE save_ok.&lt;/P&gt;&lt;P&gt;    WHEN 'TOGGLE'.&lt;/P&gt;&lt;P&gt;      IF flag = ' '.&lt;/P&gt;&lt;P&gt;        flag = 'X'.&lt;/P&gt;&lt;P&gt;      ELSEIF flag = 'X'.&lt;/P&gt;&lt;P&gt;        flag = ' '.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 09:41:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-add-fields-to-dynamic-selections/m-p/3697319#M890199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T09:41:52Z</dc:date>
    </item>
  </channel>
</rss>

