<?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: select-option w/out reference table-field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268381#M1216322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;    Here i have used domain 'MATNR' which has a value table 'MARA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  YSAT_TEST2.
data: lv_matnr type matnr.
select-options: s_matnr for lv_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2009 02:52:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-19T02:52:43Z</dc:date>
    <item>
      <title>select-option w/out reference table-field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268380#M1216321</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 have a select-option in the selection-screen where the values will be stored as fixed values under "Value range" of the domain. My problem here is that the reference table was not given. If i will use the select-option syntax, it will give an error because the reference table is not specified. Do you have any way to solve this? Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 02:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268380#M1216321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T02:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: select-option w/out reference table-field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268381#M1216322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;    Here i have used domain 'MATNR' which has a value table 'MARA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  YSAT_TEST2.
data: lv_matnr type matnr.
select-options: s_matnr for lv_matnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 02:52:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268381#M1216322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T02:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: select-option w/out reference table-field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268382#M1216323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data: a type vbeln.&lt;/P&gt;&lt;P&gt;select-options: s_vbeln for a.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 02:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268382#M1216323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T02:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: select-option w/out reference table-field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268383#M1216324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Akira,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is very simple - please follow the code below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"Let's say Z_DOMAIN is your domain which has a number of fixed values...so please create a Data 
"Element say Z_DATELEM which has Z_DOMAIN as the domain....

TYPES: ty_mytype TYPE z_datelem.

DATA: gv_mydata TYPE ty_mytype.

SELECT-OPTIONS: so_myso FOR gv_mydata.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And that's it! It should solve your problem now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sougata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 02:57:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268383#M1216324</guid>
      <dc:creator>Sougata</dc:creator>
      <dc:date>2009-03-19T02:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: select-option w/out reference table-field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268384#M1216325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akira,&lt;/P&gt;&lt;P&gt;You can refer the select options to the data element which have the domain with fixed value.&lt;/P&gt;&lt;P&gt;Please try this code --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT-OPTIONS : s_carr for s_carr_id.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above example s_carr_id is the data element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 03:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-w-out-reference-table-field/m-p/5268384#M1216325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T03:09:09Z</dc:date>
    </item>
  </channel>
</rss>

