<?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 options , Parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634659#M1091335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you guys  ,bout i ve forgotten to mention that i´m working with field  afvc-projn, in a  select option  , so in order to have it like character i have to pass it for a function first CONVERSION_EXIT_ABPSP_OUTPUT, and just then i got it like a string of character , the things is if I try to put N* it gave me the message 'PEP element doesnt exist' . so  I need it like string before do replaces , any iidea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Oct 2008 18:15:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-27T18:15:27Z</dc:date>
    <item>
      <title>Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634655#M1091331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guy , if I write N* in a parameter or select option field , and I want the system to bring  me all coincidences with N in a select , How can I do that ?. How it works , thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 16:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634655#M1091331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T16:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634656#M1091332</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;U should obtain automatically what you need for select-options, for parameters u should replace * with % before doing the select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: P_PARAM(10).

REPLACE '*' WITH '%' INTO P_PARAM.
IF SY-SUBRC = 0.
  SELECT * FROM &amp;lt;TABLE&amp;gt; WHERE &amp;lt;FIELD&amp;gt; LIKE P_PARAM
  ..............................................
ELSE.
  SELECT * FROM &amp;lt;TABLE&amp;gt; WHERE &amp;lt;FIELD&amp;gt; = P_PARAM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 16:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634656#M1091332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T16:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634657#M1091333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even this exampled code must works, I passed sales organization first one letter with '*' and it returned all the records which satisfies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: tvko.&lt;/P&gt;&lt;P&gt;select-options: s_vkorg for tvko-vkorg.&lt;/P&gt;&lt;P&gt;data: t_tvko like standard table of tvko with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * into table t_tvko&lt;/P&gt;&lt;P&gt;       from tvko&lt;/P&gt;&lt;P&gt;       where vkorg in s_vkorg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 17:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634657#M1091333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T17:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634658#M1091334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done the following successfully:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    CONCATENATE '''' '%' LN_INPUT '%' '''' INTO LN_COND.
    CONCATENATE 'NCHMC LIKE' LN_COND INTO condition SEPARATED BY SPACE.
    SELECT PERNR
      INTO CORRESPONDING FIELDS OF TABLE ITAB
      FROM PA0002
      WHERE (condition).
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 17:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634658#M1091334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T17:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634659#M1091335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you guys  ,bout i ve forgotten to mention that i´m working with field  afvc-projn, in a  select option  , so in order to have it like character i have to pass it for a function first CONVERSION_EXIT_ABPSP_OUTPUT, and just then i got it like a string of character , the things is if I try to put N* it gave me the message 'PEP element doesnt exist' . so  I need it like string before do replaces , any iidea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 18:15:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634659#M1091335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T18:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634660#M1091336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jose,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not familiar with the field you are working with, but as I can recall, the part that gave me the most difficulty when creating the "dynamic select" condition was getting the correct quotation marks included in the statement.  Debug your program and make sure you are creating the correct condition, to ensure that the select statement will be executed correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 18:56:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634660#M1091336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T18:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634661#M1091337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you're making this too complicated. Rather than trying to solve this with code, it would probably be better to educate your users so that they understand what they need to enter in the parameter in order to get the results they want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 18:56:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634661#M1091337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T18:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select options , Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634662#M1091338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really need a wildcard for parameters, then instead of using parameters use Select-Options with &lt;/P&gt;&lt;P&gt;no-extension  no intervals options. That will make the field look loke parameter with just one single value but you can use wild cards easily there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : so_matnr for mara-matnr no extension no intervals.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2008 20:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-parameters/m-p/4634662#M1091338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-27T20:16:07Z</dc:date>
    </item>
  </channel>
</rss>

