<?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: Function module issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409009#M197172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns values of dynamic selections (selection screen)&lt;/P&gt;&lt;P&gt;DOCU_HAS_TO_BE_ELABORATED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;Like RS_REFRESH_FROM_SELECTOPTIONS, returns the current values of the dynamic selections. However, it is a requirement that the table P_TRANGE has the type RSDS_TRANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;CURR_REPORT&lt;/P&gt;&lt;P&gt;MODE_WRITE_OR_MOVE&lt;/P&gt;&lt;P&gt;P_TRANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;NOT_FOUND&lt;/P&gt;&lt;P&gt;WRONG_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : lt_dyn type rsds_trange.&lt;/P&gt;&lt;P&gt;  refresh: lt_dyn.&lt;/P&gt;&lt;P&gt;  call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      curr_report        = 'ZProgram Name'&lt;/P&gt;&lt;P&gt;      mode_write_or_move = 'M'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      p_trange           = lt_dyn&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      not_found          = 1&lt;/P&gt;&lt;P&gt;      wrong_type         = 2&lt;/P&gt;&lt;P&gt;      others             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Jun 2006 10:30:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-14T10:30:05Z</dc:date>
    <item>
      <title>Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409002#M197165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all, &lt;/P&gt;&lt;P&gt; can any one tell me how to use the below function module&lt;/P&gt;&lt;P&gt;RS_REFRESH_FROM_DYNAMICAL_SEL&lt;/P&gt;&lt;P&gt;which parameter i have to pass..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:18:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409002#M197165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409003#M197166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt; you have to pass the report name and it will give back a parameter(P_TRANGE) which gives the table name and field name (both primary and secondary)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: RSDS_SELOPT_T LIKE RSDSSELOPT OCCURS 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF RSDS_FRANGE,&lt;/P&gt;&lt;P&gt;         FIELDNAME LIKE RSDSTABS-PRIM_FNAME,&lt;/P&gt;&lt;P&gt;         SELOPT_T TYPE RSDS_SELOPT_T,&lt;/P&gt;&lt;P&gt;       END OF RSDS_FRANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: RSDS_FRANGE_T TYPE RSDS_FRANGE OCCURS 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF RSDS_RANGE,&lt;/P&gt;&lt;P&gt;         TABLENAME LIKE RSDSTABS-PRIM_TAB,&lt;/P&gt;&lt;P&gt;         FRANGE_T TYPE RSDS_FRANGE_T,&lt;/P&gt;&lt;P&gt;       END OF RSDS_RANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; DATA: WA_RSDS_RANGE TYPE RSDS_RANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_REFRESH_FROM_DYNAMICAL_SEL'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    CURR_REPORT              = SY-REPID&lt;/P&gt;&lt;P&gt;    MODE_WRITE_OR_MOVE       = 'M'&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   P_TRANGE                 = WA_RSDS_RANGE&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND                = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRONG_TYPE               = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                   = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aswin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409003#M197166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409004#M197167</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;chk this&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'&lt;/P&gt;&lt;P&gt;       exporting&lt;/P&gt;&lt;P&gt;            curr_report        = sy-cprog&lt;/P&gt;&lt;P&gt;            mode_write_or_move = 'W'&lt;/P&gt;&lt;P&gt;       importing&lt;/P&gt;&lt;P&gt;            p_trange           = *t_range&lt;/P&gt;&lt;P&gt;       exceptions&lt;/P&gt;&lt;P&gt;            others             = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409004#M197167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409005#M197168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi krishnakumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.  we can use it like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools:  rsds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data: rt_dyn_trange  type rsds_trange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      curr_report        = sy-repid&lt;/P&gt;&lt;P&gt;      mode_write_or_move = 'M'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      p_trange           = rt_dyn_trange&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      not_found          = 1&lt;/P&gt;&lt;P&gt;      wrong_type         = 2&lt;/P&gt;&lt;P&gt;      others             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409005#M197168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409006#M197169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can  use &lt;/P&gt;&lt;P&gt;RS_REFRESH_FROM_DYNAMICAL_SEL to get the values entered by the users in the dynamic selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409006#M197169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409007#M197170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Use it in this way&lt;/P&gt;&lt;P&gt;data : var type sy-cprog.&lt;/P&gt;&lt;P&gt;   var = sy-cprog.&lt;/P&gt;&lt;P&gt;call function '&amp;lt;b&amp;gt;RS_REFRESH_FROM_DYNAMICAL_SEL'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;curr_report = var&lt;/P&gt;&lt;P&gt;mode_write_or_move = 'W'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;p_trange = *t_range&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;others = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:27:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409007#M197170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409008#M197171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this works as follows :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns values of dynamic selections (selection screen)&lt;/P&gt;&lt;P&gt;DOCU_HAS_TO_BE_ELABORATED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;Like RS_REFRESH_FROM_SELECTOPTIONS, returns the current values of the dynamic selections. However, it is a requirement that the table P_TRANGE has the type RSDS_TRANGE.&lt;/P&gt;&lt;P&gt;(copied from Function module documentation)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409008#M197171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409009#M197172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns values of dynamic selections (selection screen)&lt;/P&gt;&lt;P&gt;DOCU_HAS_TO_BE_ELABORATED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functionality&lt;/P&gt;&lt;P&gt;Like RS_REFRESH_FROM_SELECTOPTIONS, returns the current values of the dynamic selections. However, it is a requirement that the table P_TRANGE has the type RSDS_TRANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;CURR_REPORT&lt;/P&gt;&lt;P&gt;MODE_WRITE_OR_MOVE&lt;/P&gt;&lt;P&gt;P_TRANGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;NOT_FOUND&lt;/P&gt;&lt;P&gt;WRONG_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : lt_dyn type rsds_trange.&lt;/P&gt;&lt;P&gt;  refresh: lt_dyn.&lt;/P&gt;&lt;P&gt;  call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      curr_report        = 'ZProgram Name'&lt;/P&gt;&lt;P&gt;      mode_write_or_move = 'M'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      p_trange           = lt_dyn&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      not_found          = 1&lt;/P&gt;&lt;P&gt;      wrong_type         = 2&lt;/P&gt;&lt;P&gt;      others             = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409009#M197172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function module issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409010#M197173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;Actually i am trying to read the dynamic selections entered by the user.. &lt;/P&gt;&lt;P&gt;But when i use this function module in the at selection-screen event it is raising the exception in all the cases as you have given..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2006 10:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-issue/m-p/1409010#M197173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-14T10:35:42Z</dc:date>
    </item>
  </channel>
</rss>

