<?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: capturing the dynamic selections given by user in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246980#M485184</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;Instead of SY-REPID, create a variable and assign the sy-repid and pass it to the FM..Changes marked in bold..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA: v_repid TYPE syrepid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_repid = sy-repid.&amp;lt;/b&amp;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 = &amp;lt;b&amp;gt;v_REPID&amp;lt;/b&amp;gt;&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 = IT_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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2007 22:41:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-11T22:41:36Z</dc:date>
    <item>
      <title>capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246979#M485183</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;I am using a function Module RS_REFRESH_FROM_DYNAMICAL_SEL to read the dynamic selections given by user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But its not returning any values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : IT_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 = IT_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;Any one please help in this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kranthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 22:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246979#M485183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T22:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246980#M485184</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;Instead of SY-REPID, create a variable and assign the sy-repid and pass it to the FM..Changes marked in bold..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA: v_repid TYPE syrepid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_repid = sy-repid.&amp;lt;/b&amp;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 = &amp;lt;b&amp;gt;v_REPID&amp;lt;/b&amp;gt;&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 = IT_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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 22:41:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246980#M485184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T22:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246981#M485185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I tried with your suggestions but i didn't find any change. I still have the same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 22:47:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246981#M485185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T22:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246982#M485186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it's just giving a message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"No user selection exist".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kranthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 22:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246982#M485186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T22:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246983#M485187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not use SY-repid and use sy-cprog &lt;/P&gt;&lt;P&gt;and you get exact results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 22:59:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246983#M485187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T22:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246984#M485188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surender,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I think i still have problem. I have like 26 fields in dynamic selections. I am filling one field and checking for that one in the program. Below is my program and please let me know where i doning wrong&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-cprog&lt;/P&gt;&lt;P&gt;    MODE_WRITE_OR_MOVE       = 'M'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 23:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246984#M485188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T23:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246985#M485189</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;Uncomment the Exceptions part then check what exception you are getting..&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 23:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246985#M485189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-11T23:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: capturing the dynamic selections given by user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246986#M485190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM Like&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 = space&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            p_trange           = gt_rsds_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;  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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 May 2007 00:02:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-the-dynamic-selections-given-by-user/m-p/2246986#M485190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-12T00:02:47Z</dc:date>
    </item>
  </channel>
</rss>

