<?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: question on parameter statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863158#M1137113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have  been working on my program using the VRM_SET_VALUES option and I am not able to get this to work. I have included a portion of my program where I have the code. If someone could look at this and let me know what I am doing wrong, it would sure be a big help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SELECTION SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Paying Company code and Bank ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-004.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_zbukr FOR w_payr-zbukr MODIF ID fff.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                               DEFAULT 1000 TO 1200.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*PARAMETERS:p_hbkid LIKE t012-hbkid OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS:p_hbkid LIKE t012-hbkid.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END   OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AT SELECTION-SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; begin of change THIXSON 11/20/08 95128&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;s_zbukr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_zbukr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_zbukr-low = '1000'.&lt;/P&gt;&lt;P&gt;append s_zbukr.&lt;/P&gt;&lt;P&gt;CLEAR  s_zbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_zbukr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_zbukr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_zbukr-low = '1100'.&lt;/P&gt;&lt;P&gt;append s_zbukr.&lt;/P&gt;&lt;P&gt;CLEAR  s_zbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform z_get_banks   USING    'P_HBKID'&lt;/P&gt;&lt;P&gt;                        CHANGING  it_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_hbkid.&lt;/P&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this is the same code as above. I have been trying it in &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;different palces so see if I could get it to work&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  perform z_get_banks   USING    'P_HBKID'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       CHANGING  it_t012.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM z_get_banks        USING    p_name     TYPE c&lt;/P&gt;&lt;P&gt;                        CHANGING p_t_t012 TYPE ty_t_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Local Variable Delcrations&lt;/P&gt;&lt;P&gt;  DATA :  l_t_t012_list     TYPE       vrm_values,&lt;/P&gt;&lt;P&gt;          l_key_id(4)       TYPE       n.&lt;/P&gt;&lt;P&gt;*Work Area Delarations&lt;/P&gt;&lt;P&gt;  DATA:     wa_t012_list      TYPE       vrm_value,&lt;/P&gt;&lt;P&gt;            wa_t012           TYPE       ty_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs hbkid banks bankl&lt;/P&gt;&lt;P&gt; FROM T012 into TABLE p_t_t012&lt;/P&gt;&lt;P&gt; WHERE bukrs IN s_zbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      STOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Preparing house bank code Value Table.&lt;/P&gt;&lt;P&gt;  IF  sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    LOOP AT p_t_t012 INTO wa_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR: wa_t012_list.&lt;/P&gt;&lt;P&gt;      l_key_id = l_key_id + 1.&lt;/P&gt;&lt;P&gt;      wa_t012_list-key = l_key_id.&lt;/P&gt;&lt;P&gt;      wa_t012_list-text = wa_t012-hbkid.&lt;/P&gt;&lt;P&gt;      APPEND wa_t012_list TO l_t_t012_list.&lt;/P&gt;&lt;P&gt;      CLEAR wa_t012.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;id = p_name&lt;/P&gt;&lt;P&gt;values = l_t_t012_list " values table&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;id_illegal_name = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;*MESSAGE e000 WITH 'No value found for request'(001).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                                          "z_gt_banks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Nov 2008 19:52:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-25T19:52:22Z</dc:date>
    <item>
      <title>question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863153#M1137108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the following code in my program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_zbukr FOR w_payr-zbukr MODIF ID fff&lt;/P&gt;&lt;P&gt;                                DEFAULT 1000 TO 1200.&lt;/P&gt;&lt;P&gt;PARAMETERS:p_hbkid LIKE t012-hbkid OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right now, when you click on the drop down for the field p_hbkid, all of the house banks are displayed. what the user would like to see is for the field p_hbkid in the drop down for all of the house banks, is only the house banks associated with the values from the s_zbukr (1000 thru 1200). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how to do this or if this is even possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if this can be done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863153#M1137108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863154#M1137109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In ur code , first populate 1 internal table with values of hbkib for all values enterd for select-option.&lt;/P&gt;&lt;P&gt;then  use the Fm F4IF_FIELD_VALUE_REQUEST to get the values in the F4 help for the parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863154#M1137109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T14:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863155#M1137110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you need to make the custome code ready for the filed in at selection screen event &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the house banks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field into table itab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where s_zbukr between '1000' and '2000' . --&amp;gt; u can set the range here or sel-low and sel high values with 1000 and 2000 or whatever . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can be done ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863155#M1137110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T14:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863156#M1137111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_hkbid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select the data which you want to show in the drop down list on the selection screen depending on s_zbukr &lt;/P&gt;&lt;P&gt;w_vrm_id = 'P_HKBID'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;id = w_vrm_id&lt;/P&gt;&lt;P&gt;values = t_hkbid_values " values table&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;id_illegal_name = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE e000 WITH 'No value found for request'(001).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 14:45:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863156#M1137111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T14:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863157#M1137112</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;Use at selection-screen on value request for p_hkbid.&lt;/P&gt;&lt;P&gt;First use the function moduel Dynp_value_read to read the value from s_zbukr.&lt;/P&gt;&lt;P&gt;Then poulate an internal table for s_zbukr and use these values to select &lt;/P&gt;&lt;P&gt;hkbid and store hkbid tables in an internal table and then pass it on to the function module F4IF_INT_TABLE_VALUE_REQUEST .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Nov 2008 15:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863157#M1137112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-20T15:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863158#M1137113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have  been working on my program using the VRM_SET_VALUES option and I am not able to get this to work. I have included a portion of my program where I have the code. If someone could look at this and let me know what I am doing wrong, it would sure be a big help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SELECTION SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Paying Company code and Bank ID&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-004.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS s_zbukr FOR w_payr-zbukr MODIF ID fff.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                               DEFAULT 1000 TO 1200.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*PARAMETERS:p_hbkid LIKE t012-hbkid OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS:p_hbkid LIKE t012-hbkid.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END   OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AT SELECTION-SCREEN&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; begin of change THIXSON 11/20/08 95128&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;s_zbukr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_zbukr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_zbukr-low = '1000'.&lt;/P&gt;&lt;P&gt;append s_zbukr.&lt;/P&gt;&lt;P&gt;CLEAR  s_zbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_zbukr-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_zbukr-option = 'EQ'.&lt;/P&gt;&lt;P&gt;s_zbukr-low = '1100'.&lt;/P&gt;&lt;P&gt;append s_zbukr.&lt;/P&gt;&lt;P&gt;CLEAR  s_zbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  perform z_get_banks   USING    'P_HBKID'&lt;/P&gt;&lt;P&gt;                        CHANGING  it_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_hbkid.&lt;/P&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;this is the same code as above. I have been trying it in &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;different palces so see if I could get it to work&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  perform z_get_banks   USING    'P_HBKID'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                       CHANGING  it_t012.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*******************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM z_get_banks        USING    p_name     TYPE c&lt;/P&gt;&lt;P&gt;                        CHANGING p_t_t012 TYPE ty_t_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Local Variable Delcrations&lt;/P&gt;&lt;P&gt;  DATA :  l_t_t012_list     TYPE       vrm_values,&lt;/P&gt;&lt;P&gt;          l_key_id(4)       TYPE       n.&lt;/P&gt;&lt;P&gt;*Work Area Delarations&lt;/P&gt;&lt;P&gt;  DATA:     wa_t012_list      TYPE       vrm_value,&lt;/P&gt;&lt;P&gt;            wa_t012           TYPE       ty_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT bukrs hbkid banks bankl&lt;/P&gt;&lt;P&gt; FROM T012 into TABLE p_t_t012&lt;/P&gt;&lt;P&gt; WHERE bukrs IN s_zbukr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      STOP.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*Preparing house bank code Value Table.&lt;/P&gt;&lt;P&gt;  IF  sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    LOOP AT p_t_t012 INTO wa_t012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLEAR: wa_t012_list.&lt;/P&gt;&lt;P&gt;      l_key_id = l_key_id + 1.&lt;/P&gt;&lt;P&gt;      wa_t012_list-key = l_key_id.&lt;/P&gt;&lt;P&gt;      wa_t012_list-text = wa_t012-hbkid.&lt;/P&gt;&lt;P&gt;      APPEND wa_t012_list TO l_t_t012_list.&lt;/P&gt;&lt;P&gt;      CLEAR wa_t012.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;id = p_name&lt;/P&gt;&lt;P&gt;values = l_t_t012_list " values table&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;id_illegal_name = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;*MESSAGE e000 WITH 'No value found for request'(001).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                                          "z_gt_banks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 19:52:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863158#M1137113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T19:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863159#M1137114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you want to use the VRM_SET_VALUES, then you need to make sure the parameter field is a listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS:p_hbkid LIKE t012-hbkid AS LISTBOX VISIBLE LENGTH 20.&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>Tue, 25 Nov 2008 19:58:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863159#M1137114</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-11-25T19:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863160#M1137115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this worked.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have the list of banks displayed similar to when you press F4 but only the banks that are associated with the company codes that are selected. I am not sure if I have to use the F4IF_FIELD_VALUE_REQUEST option that was suggessted here or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 20:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863160#M1137115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T20:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863161#M1137116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I always use function F4IF_INT_TABLE_VALUE_REQUEST.  Works good for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zrich_0001 .

tables: t001.

data: begin of it001 occurs 0,
      bukrs type t001-bukrs,
      butxt type t001-butxt,
      ort01 type t001-ort01,
      land1 type t001-land1,
      end of it001.

select-options s_bukrs for t001-bukrs.

initialization.

  select bukrs butxt ort01 land1 into table it001 from t001.

  sort it001 ascending by bukrs.
  delete adjacent duplicates from it001 comparing bukrs.

at selection-screen on value-request for s_bukrs-low.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
       exporting
            retfield    = 'BUKRS'
            dynprofield = 'S_BUKRS'
            dynpprog    = sy-cprog
            dynpnr      = sy-dynnr
            value_org   = 'S'
       tables
            value_tab   = it001.

start-of-selection.&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>Tue, 25 Nov 2008 20:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863161#M1137116</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-11-25T20:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: question on parameter statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863162#M1137117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 20:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/question-on-parameter-statement/m-p/4863162#M1137117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T20:44:08Z</dc:date>
    </item>
  </channel>
</rss>

