<?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 get paramater id with type range ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350360#M1731277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;selection screens&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that contains&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a field of type&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;SELECT-&lt;/SPAN&gt;&lt;SPAN&gt;OPTIONS&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I'd like to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;retrieve&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;value&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of this field&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I declared&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;variable&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;Range&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when I use the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;instruction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;get&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;paramater&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;id '&lt;/SPAN&gt;&lt;SPAN&gt;XX'&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FIELD&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;l_var&lt;/SPAN&gt;&lt;SPAN&gt;, it shows&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an error saying&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that the variable should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;type&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;c, d&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or p.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 09:46:11 GMT</pubDate>
    <dc:creator>LGA</dc:creator>
    <dc:date>2013-04-17T09:46:11Z</dc:date>
    <item>
      <title>get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350360#M1731277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Hello,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;I have a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;selection screens&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that contains&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a field of type&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;SELECT-&lt;/SPAN&gt;&lt;SPAN&gt;OPTIONS&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;and&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I'd like to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;retrieve&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;value&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of this field&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;I declared&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;variable&lt;/SPAN&gt; &lt;SPAN class="hps alt-edited"&gt;Range&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;but&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when I use the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;instruction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="hps"&gt;get&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;paramater&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;id '&lt;/SPAN&gt;&lt;SPAN&gt;XX'&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;FIELD&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;l_var&lt;/SPAN&gt;&lt;SPAN&gt;, it shows&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;me&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an error saying&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that the variable should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;type&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;c, d&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;or p.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350360#M1731277</guid>
      <dc:creator>LGA</dc:creator>
      <dc:date>2013-04-17T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350361#M1731278</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 only assign the value of the PID to a single field, not a structure (which is what your range is).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use l_var-low to assign the PID value, then set l_var-sign to I and l_var-option to EQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:58:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350361#M1731278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-17T09:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350362#M1731279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lotfi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you better to post your code for better understanding and it will help to give the solution ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:58:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350362#M1731279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-17T09:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350363#M1731280</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;Is the field declared as Select-Options of a standard type? &lt;/P&gt;&lt;P&gt;For example : for material number we use MATNR as the data element. If you go to SE11 -&amp;gt; Data Type -&amp;gt; MATNR -&amp;gt;Further Characteristics -&amp;gt; Parameter ID you will see 'MAT'. In this case you can use SET PARAMETER/GET PARAMETER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else you will have to declare a Memory ID and using Export/Import you will have to get the value. But first let us know what type is the select-option field as it can be only C, P or D as per the error its throwing for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 10:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350363#M1731280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-17T10:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350364#M1731281</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;Set parameter &amp;amp; Get parameter are used for single variable assignment.&lt;/P&gt;&lt;P&gt;Use Import &amp;amp; Export Parameters for range of data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bde358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 11:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350364#M1731281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-04-17T11:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350365#M1731282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi galouul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to retrieve from inside the program, the select-options is a global internal table with header line and can be used anywhere.&lt;/P&gt;&lt;P&gt;if you wanna know from outside the program, please describe what you want to achieve and find some consultance here.&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>Wed, 17 Apr 2013 12:37:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350365#M1731282</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2013-04-17T12:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: get paramater id with type range ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350366#M1731283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Parameter ID only contains (at most) one value, where SELECT-OPTIONS are an internal table with header line (&lt;SPAN __jive_emoticon_name="angry" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1389/images/emoticons/angry.gif"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So either&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Attach parameter ID to definition&amp;nbsp; and let SAP do the job.&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P style="padding-left: 30px;"&gt;&lt;A href="http://help.sap.com/abapdocu_731/en/abapselect-options.htm"&gt;SELECT-OPTIONS&lt;/A&gt; so FOR xxxx&amp;nbsp; &lt;A class="blue" href="http://help.sap.com/abapdocu_731/en/abapselect-options_value.htm#%21ABAP_ADDITION_4@4@"&gt;&lt;SPAN class="qtext"&gt;MEMORY ID pid&lt;/SPAN&gt;&lt;/A&gt; .&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Or, in INITIALIZATION use the header work area before appending it to internal table&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;GET PARAMTER ID TO so-LOW. &lt;/P&gt;&lt;P&gt;so-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;so-OPTIONS = 'EQ'.&lt;/P&gt;&lt;P&gt;APPEND so TO so.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 12:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-paramater-id-with-type-range/m-p/9350366#M1731283</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-04-17T12:54:26Z</dc:date>
    </item>
  </channel>
</rss>

