<?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: Dyanamic selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525001#M1262527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;P&gt;u have given if we specify dyn_table it will pick all the fields from tht table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2009 07:09:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-21T07:09:51Z</dc:date>
    <item>
      <title>Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5524998#M1262524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a Ztable created my program should create a dynamic selection screen depending on tht ztable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you suggest me a solutin for this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manohar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 06:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5524998#M1262524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T06:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5524999#M1262525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; type-pools : abap. &lt;/P&gt;&lt;P&gt;  field-symbols: &amp;lt;dyn_table&amp;gt; type standard table, &lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_wa&amp;gt;, &lt;/P&gt;&lt;P&gt;               &amp;lt;dyn_field&amp;gt;. &lt;/P&gt;&lt;P&gt;  data: dy_table type ref to data, &lt;/P&gt;&lt;P&gt;      dy_line  type ref to data, &lt;/P&gt;&lt;P&gt;      xfc type lvc_s_fcat, &lt;/P&gt;&lt;P&gt;      ifc type lvc_t_fcat. &lt;/P&gt;&lt;P&gt;  selection-screen begin of block b1 with frame. &lt;/P&gt;&lt;P&gt;parameters: p_table(30) type c default 'T001'. &lt;/P&gt;&lt;P&gt;selection-screen end of block b1. &lt;/P&gt;&lt;P&gt;  start-of-selection. &lt;/P&gt;&lt;P&gt;    perform get_structure. &lt;/P&gt;&lt;P&gt;  perform create_dynamic_itab.      *********&lt;STRONG&gt;Creates a dyanamic internal table&lt;/STRONG&gt;********* &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  form get_structure. &lt;/P&gt;&lt;P&gt;  data : idetails type abap_compdescr_tab, &lt;/P&gt;&lt;P&gt;       xdetails type abap_compdescr. &lt;/P&gt;&lt;P&gt;  data : ref_table_des type ref to cl_abap_structdescr. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the structure of the table. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ref_table_des ?=  &lt;/P&gt;&lt;P&gt;      cl_abap_typedescr=&amp;gt;describe_by_name( p_table ). &lt;/P&gt;&lt;P&gt;  idetails[] = ref_table_des-&amp;gt;components[]. &lt;/P&gt;&lt;P&gt;    loop at idetails into xdetails. &lt;/P&gt;&lt;P&gt;    clear xfc. &lt;/P&gt;&lt;P&gt;    xfc-fieldname = xdetails-name . &lt;/P&gt;&lt;P&gt;    xfc-datatype = xdetails-type_kind. &lt;/P&gt;&lt;P&gt;    xfc-inttype = xdetails-type_kind. &lt;/P&gt;&lt;P&gt;    xfc-intlen = xdetails-length. &lt;/P&gt;&lt;P&gt;    xfc-decimals = xdetails-decimals. &lt;/P&gt;&lt;P&gt;    append xfc to ifc. &lt;/P&gt;&lt;P&gt;  endloop. &lt;/P&gt;&lt;P&gt;  endform. &lt;/P&gt;&lt;P&gt;  form create_dynamic_itab. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create dynamic internal table and assign to FS &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call method cl_alv_table_create=&amp;gt;create_dynamic_table &lt;/P&gt;&lt;P&gt;               exporting &lt;/P&gt;&lt;P&gt;                  it_fieldcatalog = ifc &lt;/P&gt;&lt;P&gt;               importing &lt;/P&gt;&lt;P&gt;                  ep_table        = dy_table. &lt;/P&gt;&lt;P&gt;    assign dy_table-&amp;gt;* to &amp;lt;dyn_table&amp;gt;. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create dynamic work area and assign to FS &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  create data dy_line like line of &amp;lt;dyn_table&amp;gt;. &lt;/P&gt;&lt;P&gt;  assign dy_line-&amp;gt;* to &amp;lt;dyn_wa&amp;gt;. &lt;/P&gt;&lt;P&gt;  endform. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 06:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5524999#M1262525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T06:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525000#M1262526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;can u please elaborate on your requirement.&lt;/P&gt;&lt;P&gt;Is it that the table structure changes and screen should work acordingly or its that some fields must be visible and some fileds invisble and must turn visible when a button is clciked etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is the case then you can use the following saple code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at screen.
if screen-name = 'P_ABC'.
screen-invisble = '1'.
endif.
modify screen.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mansi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 06:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525000#M1262526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T06:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525001#M1262527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;kiran&lt;/P&gt;&lt;P&gt;u have given if we specify dyn_table it will pick all the fields from tht table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 07:09:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525001#M1262527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T07:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525002#M1262528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the code my requirement is it is picking all the fields from table but after picking it should generate selection screen for those fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 07:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525002#M1262528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T07:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525003#M1262529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code was gud tht is getting table can you please suggest how to build a dynamic selection screen for those fileds it is asking for table when we enter table it should create a slection screen for those fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 07:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525003#M1262529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-21T07:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525004#M1262530</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 think (As per my knowledge) it is not possible to create a dynamic selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran vempati on Apr 22, 2009 9:25 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 07:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525004#M1262530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T07:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525005#M1262531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think the PURE dynamic is possible...&lt;/P&gt;&lt;P&gt;some posibilities maybe:&lt;/P&gt;&lt;P&gt;create a number/variety of selection parameters refering to standard type&lt;/P&gt;&lt;P&gt;at initialization event, &lt;/P&gt;&lt;P&gt;- retrieve the field info/ text description&lt;/P&gt;&lt;P&gt;- determine which parameter fields to be used(by retrieved info)&lt;/P&gt;&lt;P&gt;- assign retrieved texts to selection texts&lt;/P&gt;&lt;P&gt;- disable/invisible unused parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may work efficiently if you can forecast what kind of field to be used.&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, 22 Apr 2009 08:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525005#M1262531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T08:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525006#M1262532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may not be able to create a selection screen dynamically, but you can create a program dynamically that has a selection screen, write the selection criteria to a table and then read it back into the main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See &lt;A href="http://help.sap.com//saphelp_nw04/helpdata/EN/9f/db996135c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com//saphelp_nw04/helpdata/EN/9f/db996135c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt; or Special Techniques in the ABAP guide for help with creating dynamic programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2009 16:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525006#M1262532</guid>
      <dc:creator>brian_basch</dc:creator>
      <dc:date>2009-05-22T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dyanamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525007#M1262533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have similar requirements such as yours, where you able to create screen dynamically?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, then can you share the idea!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reetesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2009 18:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dyanamic-selection-screen/m-p/5525007#M1262533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-30T18:09:07Z</dc:date>
    </item>
  </channel>
</rss>

