<?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: Parameter Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444919#M547542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you only need single values, like in a listbox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

type-pools: vrm.

data: ivrm_values type vrm_values.
data: xvrm_values like line of ivrm_values.
data: name type vrm_id.

parameters: p_kscyc type t811c-cycle as listbox visible
                          length 20 obligatory.

at selection-screen output.

  name = 'P_KSCYC'.

  types: begin of tt811c,
         tab type t811c-tab,
         cycle type t811c-cycle,
         sdate type t811c-sdate,
         end of tt811c.
  data: it811c type table of tt811c with header line.
  select * into corresponding fields of table it811c from t811c.

  loop at it811c.
    xvrm_values-key = it811c-cycle.
    append xvrm_values to ivrm_values.
  endloop.

  call function 'VRM_SET_VALUES'
       exporting
            id     = name
            values = ivrm_values.

&lt;/CODE&gt;&lt;/PRE&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>Thu, 05 Jul 2007 18:55:34 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-05T18:55:34Z</dc:date>
    <item>
      <title>Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444914#M547537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a requirement to display a list of values for a parameter decalred as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: KSCYC LIKE T811C-CYCLE OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is a don't get a list of values to chose from.  I then created an internal table called ISELOPT that contained all of the values from T811C-CYCLE and had my parameter defined as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:       BEGIN OF ISELOPT OCCURS 0,&lt;/P&gt;&lt;P&gt;                    CYCLE LIKE T811C-CYCLE,&lt;/P&gt;&lt;P&gt;                END OF ISELOPT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: KSCYC LIKE ISELOPT-CYCLE OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still can't get the list of values to be selected from at the selection screen.  Can someone tell me how to get my parameter to show me all of the values from T811C-CYCLE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 14:35:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444914#M547537</guid>
      <dc:creator>former_member422932</dc:creator>
      <dc:date>2007-07-05T14:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444915#M547538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u need to use FM  F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR KSCYC.

* use FM  F4IF_INT_TABLE_VALUE_REQUEST&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 14:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444915#M547538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T14:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444916#M547539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between select-options and parameter is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the value which is given in the slection screen for a parameter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the select staement will check for the exact value else it wont fetch anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if u give XXXXX as material number then it will search for the exact material. If the Material XXXXX is not availbkle then it wont return anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Suggestion is declare the variable as select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 14:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444916#M547539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T14:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444917#M547540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi try to use below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_a.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  clear zvalue_tab.&lt;/P&gt;&lt;P&gt;  refresh zvalue_tab[].&lt;/P&gt;&lt;P&gt;  refresh field_tab[].&lt;/P&gt;&lt;P&gt;  refresh return_tab[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  field_tab-fieldname = 'Fieldname'.&lt;/P&gt;&lt;P&gt;  field_tab-tabname = 'table name of the field from which it is declared'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append field_tab.&lt;/P&gt;&lt;P&gt;select field name from table into table zvalue_tab.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  call function 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            retfield        = field_tab-fieldname&lt;/P&gt;&lt;P&gt;       tables&lt;/P&gt;&lt;P&gt;            value_tab       = zvalue_tab&lt;/P&gt;&lt;P&gt;            field_tab       = field_tab&lt;/P&gt;&lt;P&gt;            return_tab      = return_tab&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            parameter_error = 1&lt;/P&gt;&lt;P&gt;            no_values_found = 2&lt;/P&gt;&lt;P&gt;            others          = 3.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    p_a = return_tab-fieldval.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz don't forget to give reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 14:51:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444917#M547540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T14:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444918#M547541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had to change my parameter to a select-option.  Do I use the same logic for a select-option, becuase it seems when I click on the the second value to populate about half of my internal table entries are missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 18:47:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444918#M547541</guid>
      <dc:creator>former_member422932</dc:creator>
      <dc:date>2007-07-05T18:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444919#M547542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you only need single values, like in a listbox?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

type-pools: vrm.

data: ivrm_values type vrm_values.
data: xvrm_values like line of ivrm_values.
data: name type vrm_id.

parameters: p_kscyc type t811c-cycle as listbox visible
                          length 20 obligatory.

at selection-screen output.

  name = 'P_KSCYC'.

  types: begin of tt811c,
         tab type t811c-tab,
         cycle type t811c-cycle,
         sdate type t811c-sdate,
         end of tt811c.
  data: it811c type table of tt811c with header line.
  select * into corresponding fields of table it811c from t811c.

  loop at it811c.
    xvrm_values-key = it811c-cycle.
    append xvrm_values to ivrm_values.
  endloop.

  call function 'VRM_SET_VALUES'
       exporting
            id     = name
            values = ivrm_values.

&lt;/CODE&gt;&lt;/PRE&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>Thu, 05 Jul 2007 18:55:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444919#M547542</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-05T18:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444920#M547543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is a select option, you will have to put the same subroutine call in &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR selopt-low.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR selopt-high.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 19:19:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444920#M547543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T19:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parameter Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444921#M547544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2007 17:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/parameter-help/m-p/2444921#M547544</guid>
      <dc:creator>former_member422932</dc:creator>
      <dc:date>2007-07-12T17:58:42Z</dc:date>
    </item>
  </channel>
</rss>

