<?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: Having different dropdowns for different fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784572#M910576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option you can consider is using the dropdown and attaching different function codes to the different dropdowns.using vrm_set_values you can set the required values in the drop down based on the function code triggered.&lt;/P&gt;&lt;P&gt;imagine you have 3 fields...make it as dropdown boxes and assign different function codes to it in the screen painter..so whenever you select the dropdown the particular function code is triggered and you know which field is called..so in the select query you can filter or filter can be done in the internal table as you feel correct and passed to the field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if FXN1/2/3 are function codes for field1/2/3 in the PAI..you can check&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'FXN1'.&lt;/P&gt;&lt;P&gt;fill for field1&lt;/P&gt;&lt;P&gt;when 'FXN2'.&lt;/P&gt;&lt;P&gt;fill for field2.&lt;/P&gt;&lt;P&gt;when 'FXN3'&lt;/P&gt;&lt;P&gt;fill for field3.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the sample program in se38 for filling drop down values(demo_dynpro_dropdown_listbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solved your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 May 2008 06:01:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-03T06:01:33Z</dc:date>
    <item>
      <title>Having different dropdowns for different fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784571#M910575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I created a new infotype in HR and for the different fields, I need different dropdowns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Infotype 9XXX&lt;/P&gt;&lt;P&gt;field 1          -   dropdown values (A,B,C)&lt;/P&gt;&lt;P&gt;field 2          -   dropdown values (D,E,F)&lt;/P&gt;&lt;P&gt;field 3          -   dropdown values (A,D,F)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, I am getting the values for the dropdown based on a custom search help. &lt;/P&gt;&lt;P&gt;The table used in the search help is a custom table, which has all the possible values  A,B,C,D,E,F.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way I can have different dropdowns for the different fields in the infotype?&lt;/P&gt;&lt;P&gt;Or is there is a way I can set different default values in the search help dynamically based on the field in the infotype.&lt;/P&gt;&lt;P&gt;Is using a search help exit a solution? If so please let me know how i can use it and what code needs to go in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your inputs are greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 18:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784571#M910575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T18:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Having different dropdowns for different fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784572#M910576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One option you can consider is using the dropdown and attaching different function codes to the different dropdowns.using vrm_set_values you can set the required values in the drop down based on the function code triggered.&lt;/P&gt;&lt;P&gt;imagine you have 3 fields...make it as dropdown boxes and assign different function codes to it in the screen painter..so whenever you select the dropdown the particular function code is triggered and you know which field is called..so in the select query you can filter or filter can be done in the internal table as you feel correct and passed to the field..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if FXN1/2/3 are function codes for field1/2/3 in the PAI..you can check&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;when 'FXN1'.&lt;/P&gt;&lt;P&gt;fill for field1&lt;/P&gt;&lt;P&gt;when 'FXN2'.&lt;/P&gt;&lt;P&gt;fill for field2.&lt;/P&gt;&lt;P&gt;when 'FXN3'&lt;/P&gt;&lt;P&gt;fill for field3.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the sample program in se38 for filling drop down values(demo_dynpro_dropdown_listbox)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it solved your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 May 2008 06:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784572#M910576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-03T06:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Having different dropdowns for different fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784573#M910577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for all the inputs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2008 21:34:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/having-different-dropdowns-for-different-fields/m-p/3784573#M910577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-18T21:34:06Z</dc:date>
    </item>
  </channel>
</rss>

