<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989745#M1493796</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meenakshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another way of getting values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the debugging mode, go to Call tab there u will get all program names thru which program logic flows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then u can use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get PO order type while saving PO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex :  w_name = '(SAPLMEGUI)MEPO_TOPLINE-BSART'.&lt;/P&gt;&lt;P&gt;        ASSIGN (w_name) TO &amp;lt;w_bstyp&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be it will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this u can get the value which user enters. just check the program and screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jun 2010 09:00:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-04T09:00:35Z</dc:date>
    <item>
      <title>selection-screen values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989743#M1493794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to get the values entered in the selection-screen in an user-exit for an SAP standard report , the problem is whenever variants are used iam able to get the values using FM RS_VARIANTS_GET but when the users directly enter the values on the selection-screen how we can find the values entered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the values entered on the selection-screen i need to do some calculations in the user-exit. Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your continued support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Meenakshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 08:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989743#M1493794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T08:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989744#M1493795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you try using fm &lt;STRONG&gt;DYNP_VALUES_READ&lt;/STRONG&gt; in your exit, it has a documentation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 08:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989744#M1493795</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-06-04T08:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989745#M1493796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meenakshi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is another way of getting values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the debugging mode, go to Call tab there u will get all program names thru which program logic flows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then u can use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get PO order type while saving PO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex :  w_name = '(SAPLMEGUI)MEPO_TOPLINE-BSART'.&lt;/P&gt;&lt;P&gt;        ASSIGN (w_name) TO &amp;lt;w_bstyp&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be it will help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like this u can get the value which user enters. just check the program and screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 09:00:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989745#M1493796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989746#M1493797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use function module &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 09:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989746#M1493797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-04T09:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989747#M1493798</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 the following FM &lt;STRONG&gt;'RS_REFRESH_FROM_SELECTOPTIONS'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : lv_curr_report TYPE rsvar-report,
              lt_rsparams    TYPE STANDARD TABLE OF rsparams.


lv_curr_report = sy-cprog.            " sy-cprog gives the main program name


* Function module to capture the selection screen values
  CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
    EXPORTING
      curr_report           = lv_curr_report
* IMPORTING
*   SP                    =
    TABLES
      selection_table       = lt_rsparams         
      " This table will have your selection sceen values
   EXCEPTIONS
     not_found             = 1
     no_report             = 2
     OTHERS                = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the variant name also, this system field holds the variant name &lt;STRONG&gt;sy-slset&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Jun 4, 2010 9:53 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jun 2010 09:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989747#M1493798</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2010-06-04T09:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989748#M1493799</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;Thanks for your help, i was able to get the values in the FM mentioned by you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Meenkashi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jun 2010 08:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-values/m-p/6989748#M1493799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-07T08:17:34Z</dc:date>
    </item>
  </channel>
</rss>

