<?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 validating selection screen select options based on domain values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056285#M1353258</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 need to validate select-option in selection screen with domain values(this domain doenot have a value table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get domain values using FM - DDIF_DOMA_GET and pouplate an internal table(similar to selet options table) but was not able to compare two select options table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since user entry is a select option how do i find if value exsists in domain table or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note its a select-option with extension in selection screen and not a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Sep 2009 08:16:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-16T08:16:43Z</dc:date>
    <item>
      <title>validating selection screen select options based on domain values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056285#M1353258</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 need to validate select-option in selection screen with domain values(this domain doenot have a value table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get domain values using FM - DDIF_DOMA_GET and pouplate an internal table(similar to selet options table) but was not able to compare two select options table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;since user entry is a select option how do i find if value exsists in domain table or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note its a select-option with extension in selection screen and not a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 08:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056285#M1353258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-16T08:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: validating selection screen select options based on domain values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056286#M1353259</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;You can use the IN comparision to compare the two select option tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select-options: s_matnr for mara-matnr.

if s_matnr IN domain_table.
write: 'valid'.
else.
write: 'invalid'.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vikranth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 08:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056286#M1353259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-16T08:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: validating selection screen select options based on domain values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056287#M1353260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you simply create &lt;STRONG&gt;data element&lt;/STRONG&gt; which uses this domain and then type select options with this data element. Validation will come automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 08:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056287#M1353260</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-09-16T08:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: validating selection screen select options based on domain values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056288#M1353261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just check where used on that domain and see what data element is using that domain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and define the select option as this data element&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Sep 2009 09:00:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-selection-screen-select-options-based-on-domain-values/m-p/6056288#M1353261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-16T09:00:41Z</dc:date>
    </item>
  </channel>
</rss>

