<?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: Generate fields on the selection screen automatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270426#M1018948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathieu  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have exactly the same requirement. If your issue is resolved, can you please help me with the approach/solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2010 19:37:05 GMT</pubDate>
    <dc:creator>former_member368216</dc:creator>
    <dc:date>2010-02-01T19:37:05Z</dc:date>
    <item>
      <title>Generate fields on the selection screen automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270421#M1018943</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;I'd like create some fields on my selection screen automatically using an information filled in the selection screen too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance : I enter a table name, and my selection screen is autommatically filled with all the primary key fields of this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do know, how i can do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 08:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270421#M1018943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T08:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Generate fields on the selection screen automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270422#M1018944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u have to write the code under the event..&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;there u can make some fields invisible or invisible, based on any value entered on the selection screen.&lt;/P&gt;&lt;P&gt;u can write the same in the below way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if pa_char eq 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if screen-name = 'FILED_NAME'.&lt;/P&gt;&lt;P&gt;        screen-invisible = 1.&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;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;if screen-name = 'FILED_NAME'.&lt;/P&gt;&lt;P&gt;        screen-invisible = 0.&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;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wat this will do is when u enter value 'X' in the parameter pa_char, the screen field with name FIELD_NAME will become visible..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this idea helps u out...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 09:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270422#M1018944</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-08-06T09:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generate fields on the selection screen automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270423#M1018945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My problem is not to switch an existing field from invisible to visible...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, the fields don't exist, I have to create these fields dynamically on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter a table name, I'd like that all the primary key fields will be created automatically on my selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution may be to call an other selection screen? But how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Mathieu Eylert on Aug 6, 2008 11:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 09:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270423#M1018945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T09:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Generate fields on the selection screen automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270424#M1018946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In At selection-screen output use CALL SELECTION-SCREEN &amp;lt;sel screen number&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will need to define multiple selection screen in your program / include and call it accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are asking for dynamic code to define selection-screen and it's component, i doubt if that can be done with conventional ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 09:37:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270424#M1018946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T09:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Generate fields on the selection screen automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270425#M1018947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi do like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get the data from the table  DD03L give input  tablename...and write select for that to get the keyfields by the field KEYFLAG= 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Ztest.&lt;/P&gt;&lt;P&gt;tables:dd03l.&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;      TABNAME like dd03l-TABNAME,&lt;/P&gt;&lt;P&gt;      FIELDNAME like dd03l-FIELDNAME,&lt;/P&gt;&lt;P&gt;      KEYFLAG   like dd03l-KEYFLAG,&lt;/P&gt;&lt;P&gt;      end of itab .&lt;/P&gt;&lt;P&gt;parameters:p_tab like dd03l-tabname.&lt;/P&gt;&lt;P&gt; select tabname&lt;/P&gt;&lt;P&gt;        fieldname&lt;/P&gt;&lt;P&gt;        keyflag&lt;/P&gt;&lt;P&gt;        from dd03l&lt;/P&gt;&lt;P&gt;        into table itab&lt;/P&gt;&lt;P&gt;        where tabname = p_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab where keyflag = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/  itab-tabname,&lt;/P&gt;&lt;P&gt;         itab-fieldname.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2008 09:40:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270425#M1018947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-06T09:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Generate fields on the selection screen automatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270426#M1018948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mathieu  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I have exactly the same requirement. If your issue is resolved, can you please help me with the approach/solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2010 19:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-fields-on-the-selection-screen-automatically/m-p/4270426#M1018948</guid>
      <dc:creator>former_member368216</dc:creator>
      <dc:date>2010-02-01T19:37:05Z</dc:date>
    </item>
  </channel>
</rss>

