<?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: Selection screen values as form params... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346605#M1540124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a custom structure which includes a field for each of the fields on my selection screen. I use the function module RS_REFRESH_FROM_SELECTOPTIONS to retrieve the current values of my selection screen fields and assign to my structure. Trouble is the function module shows some selection screen fields as having no value when I set the value via a MEMORY ID. Why is it the function module returns no values for those fields but you can see the actual values on the selection screen...and how do I capture those values? Thanks. Mat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Nov 2010 15:08:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-02T15:08:53Z</dc:date>
    <item>
      <title>Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346603#M1540122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all: I want to pass my selection screen values into my forms as a parameter...maybe as a structure. What is the best way to accomplish? Thanks. Mat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 12:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346603#M1540122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346604#M1540123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETERS: p1 TYPE matnr,
           p2 TYPE i,
           p3 TYPE bukrs.

PERFORM my_sub USING P1 P2.
...
FORM my_sub USING i1 TYPE matnr
                 i2 TYPE i
                 i3 TYPE bukrs.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what you're asking, or something deeper in program design.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 12:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346604#M1540123</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2010-10-26T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346605#M1540124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a custom structure which includes a field for each of the fields on my selection screen. I use the function module RS_REFRESH_FROM_SELECTOPTIONS to retrieve the current values of my selection screen fields and assign to my structure. Trouble is the function module shows some selection screen fields as having no value when I set the value via a MEMORY ID. Why is it the function module returns no values for those fields but you can see the actual values on the selection screen...and how do I capture those values? Thanks. Mat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 15:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346605#M1540124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346606#M1540125</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;Are you passing your program name to this FM. Please verify it once and more thing try to call this FM after the statment START-OF-SELECTION and make sure that the IMPORT MEMORY statment is before the FM is called and check the return of the IMPORT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346606#M1540125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T16:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346607#M1540126</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;How do you set your value? SET PARAMETER ID : 'RAC' FIELD racer? or what?..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346607#M1540126</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2010-11-02T16:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346608#M1540127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set the value when i declare the parameter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_kokrs TYPE kokrs OBLIGATORY MEMORY ID cac.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:12:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346608#M1540127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T16:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346609#M1540128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try field symbols?.. They are  in the dynamic memory so they should always be visible..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:18:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346609#M1540128</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2010-11-02T16:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346610#M1540129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Function module picks all values accept those set when I declare the parameter with the MEMORY ID extension as follows:&lt;/P&gt;&lt;P&gt;PARAMETERS: p_kokrs TYPE kokrs OBLIGATORY MEMORY ID cac.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems odd...doesn't it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346610#M1540129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T16:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346611#M1540130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With memory ID instruction you're linking your report with your parameter.. You have to "break the chain between report's memory and function's memory.. the only way is a virtual bridge between the two.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you write much more abap code about this question?..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:35:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346611#M1540130</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2010-11-02T16:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346612#M1540131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The only code that is pertinent is the declaration of the parameter ID:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_kokrs TYPE kokrs OBLIGATORY MEMORY ID cac.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the call to the fm:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      curr_report     = sy-cprog&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      selection_table = lt_rsparams&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      not_found       = 1&lt;/P&gt;&lt;P&gt;      no_report       = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance...when I run the program I can see the value set on the selection screen for p_kokrs. If I select F4 help for another field on the selection screen I immediatly call the fm to collect current values set for fields on the selection screen. I notice any values set by a MEMORY ID are not returned in the call to the fm...any value set manually is picked up. If I run the program and then F3 back up to the selection screen...and then select F4 help for the same field...I do get all the values returned in the fm. Why is that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 16:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346612#M1540131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T16:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346613#M1540132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK...If the fm returns no value for the field in question...I do a get memory id and that returns the needed value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346613#M1540132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-02T17:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346614#M1540133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for an explanation... instead you can try this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed there are a lot of submit in the function module...Try to put, after CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346614#M1540133</guid>
      <dc:creator>roberto_vacca2</dc:creator>
      <dc:date>2010-11-02T17:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen values as form params...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346615#M1540134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If I select F4 help for another field on the selection screen I immediatly call the fm to collect current values set for fields on the selection screen. I notice any values set by a MEMORY ID are not returned in the call to the fm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will you please make this some more clear &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;How are you collecting the current value set ? - Are you using DYNP_VALUES_READ ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 17:21:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values-as-form-params/m-p/7346615#M1540134</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-11-02T17:21:10Z</dc:date>
    </item>
  </channel>
</rss>

