<?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: How to specify size for a parameter variable with user-command? Help! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569324#M257031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why dont you declare it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_soldto type char30  as listbox VISIBLE LENGTH 30 user-command chg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2006 13:05:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-04T13:05:11Z</dc:date>
    <item>
      <title>How to specify size for a parameter variable with user-command? Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569323#M257030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        I have a selection screen where I want to display a dropdown. On change of this dropdown I have to perform certain actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have declared the dropdown as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_soldto as listbox VISIBLE LENGTH 30 user-command chg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with the above declaration the p_soldto has always 1 character value. In other words if my dropdown has 10 items, where Each item has a key like 1, 2...upto 10.&lt;/P&gt;&lt;P&gt;On selection of last item (key 10), the p_soldto shows 1 instead of 10. This is because the p_soldto has been declared without any size. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I try to give size as:&lt;/P&gt;&lt;P&gt;PARAMETERS: p_soldto(20) as listbox VISIBLE LENGTH 30 user-command chg&lt;/P&gt;&lt;P&gt;Then, this gives error saying size cannot be specified  when user-command is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What shall I do? How do specify size along with user-command? Please help! I am really lost. This is really ridiculous of SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: gopalkrishna baliga&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 12:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569323#M257030</guid>
      <dc:creator>gopalkrishna_baliga</dc:creator>
      <dc:date>2006-10-04T12:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify size for a parameter variable with user-command? Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569324#M257031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why dont you declare it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_soldto type char30  as listbox VISIBLE LENGTH 30 user-command chg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 13:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569324#M257031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T13:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify size for a parameter variable with user-command? Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569325#M257032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the length specification, but you need to use the TYPE C also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_soldto&amp;lt;b&amp;gt;(20) type c&amp;lt;/b&amp;gt; as listbox VISIBLE LENGTH 30 user-command chg.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 13:10:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569325#M257032</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-04T13:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to specify size for a parameter variable with user-command? Help!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569326#M257033</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;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_soldto(10) type c as listbox VISIBLE LENGTH 30 user-command chg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 13:12:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-specify-size-for-a-parameter-variable-with-user-command-help/m-p/1569326#M257033</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-04T13:12:46Z</dc:date>
    </item>
  </channel>
</rss>

