<?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 dynamic selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709246#M310371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to make dynamic s.screen with hthe result i get from i_chars how i can do it???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_CLASS_GET_CHARACTERISTICS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      classnum        = wa_alloc_list-classnum&lt;/P&gt;&lt;P&gt;      classtype       = 'Z01'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      characteristics = i_chars&lt;/P&gt;&lt;P&gt;      char_values     = i_char_values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT i_char_values INTO wa_char_values.&lt;/P&gt;&lt;P&gt;    parameters : &amp;lt;u&amp;gt;wa_char_values-name&amp;lt;/u&amp;gt; &amp;lt;b&amp;gt;dynamic how&amp;lt;/b&amp;gt;???&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Oct 2006 11:05:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-29T11:05:07Z</dc:date>
    <item>
      <title>dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709246#M310371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to make dynamic s.screen with hthe result i get from i_chars how i can do it???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_CLASS_GET_CHARACTERISTICS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      classnum        = wa_alloc_list-classnum&lt;/P&gt;&lt;P&gt;      classtype       = 'Z01'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      characteristics = i_chars&lt;/P&gt;&lt;P&gt;      char_values     = i_char_values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  LOOP AT i_char_values INTO wa_char_values.&lt;/P&gt;&lt;P&gt;    parameters : &amp;lt;u&amp;gt;wa_char_values-name&amp;lt;/u&amp;gt; &amp;lt;b&amp;gt;dynamic how&amp;lt;/b&amp;gt;???&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 11:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709246#M310371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T11:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709247#M310372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is not possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;beacuse how will we give the type or like dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. ... TYPE type [DECIMALS dec] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. ... LIKE dobj &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. ... LIKE (name) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;If none of the additions is specified, the parameter has the type c.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;if this is ok, then u can try in&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;this is only a sugestion, i never faced this situation&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anversha s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 11:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709247#M310372</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-29T11:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709248#M310373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think that it is possible. You can create different screens selection but statically, you arent able to create dynamamic fields.&lt;/P&gt;&lt;P&gt;An idea is to create an screen with a editable table control, and make those the selection screen.  &lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 11:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709248#M310373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T11:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709249#M310374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do ytou have an examp for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 11:41:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709249#M310374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T11:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709250#M310375</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;Just try the following.&lt;/P&gt;&lt;P&gt;1) Create an Internal Table for i_char_values (already have it) add a new field for the input data.&lt;/P&gt;&lt;P&gt;2) create a new screen. ( call screen 100 ).&lt;/P&gt;&lt;P&gt;3) Create the table control with the wizard, remeber to point it to the internal table i_Char_values. And dont forget to make it editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the PBO into the module should call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_CLASS_GET_CHARACTERISTICS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;classnum = wa_alloc_list-classnum&lt;/P&gt;&lt;P&gt;classtype = 'Z01'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;characteristics = i_chars&lt;/P&gt;&lt;P&gt;char_values = i_char_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the PAI you can process the table control doing a loop on the internal table i_char_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats all!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 12:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709250#M310375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-29T12:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709251#M310376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yifat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know if I got your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First you extract possible values for characteristics for class type 'Z01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is clear and should be done at event INITIAIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, what yhould your selection-screen look like?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you just want a parameter for the charactesristics name, it will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P_name like i_char_values-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want a help on possible values, create event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at value-request for p_name.&lt;/P&gt;&lt;P&gt;call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;look at documentation of this FM&lt;/P&gt;&lt;P&gt;Check input values for P_name against the table using event &lt;/P&gt;&lt;P&gt;at selection-screen on  p_name.&lt;/P&gt;&lt;P&gt;read table i_char_values with key name = p_name.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;error message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could do the same replacing parameters with select-options. But this depends on what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2006 14:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-selection-screen/m-p/1709251#M310376</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-10-29T14:21:22Z</dc:date>
    </item>
  </channel>
</rss>

