<?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 How to pass selection screen parameter value to the method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-parameter-value-to-the-method/m-p/7067541#M1504238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I am new to OOPS concept in ABAP. I am using a Method which is defiend as private section. I want to use the selection screen parameter in my method for some validation purpose.. This might be a basic thing in OOPS but i am not sure how to do it..&lt;/P&gt;&lt;P&gt;Could you please suggest how to do so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Thanks in advance,&lt;/P&gt;&lt;P&gt;             Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 03:33:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-15T03:33:21Z</dc:date>
    <item>
      <title>How to pass selection screen parameter value to the method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-parameter-value-to-the-method/m-p/7067541#M1504238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         I am new to OOPS concept in ABAP. I am using a Method which is defiend as private section. I want to use the selection screen parameter in my method for some validation purpose.. This might be a basic thing in OOPS but i am not sure how to do it..&lt;/P&gt;&lt;P&gt;Could you please suggest how to do so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Thanks in advance,&lt;/P&gt;&lt;P&gt;             Shyam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 03:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-parameter-value-to-the-method/m-p/7067541#M1504238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T03:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass selection screen parameter value to the method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-parameter-value-to-the-method/m-p/7067542#M1504239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shyam,&lt;/P&gt;&lt;P&gt;check this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZDEMO&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZDEMO.&lt;/P&gt;&lt;P&gt;tables:pa0000.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN begin of BLOCK b1.&lt;/P&gt;&lt;P&gt;PARAMETERS p1 type i .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class lc DEFINITION.&lt;/P&gt;&lt;P&gt;PUBLIC SECTION.&lt;/P&gt;&lt;P&gt;data ty type i.&lt;/P&gt;&lt;P&gt;methods:&lt;/P&gt;&lt;P&gt;get.&lt;/P&gt;&lt;P&gt;PRIVATE SECTION.&lt;/P&gt;&lt;P&gt;methods:&lt;/P&gt;&lt;P&gt;getty.&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;class lc IMPLEMENTATION.&lt;/P&gt;&lt;P&gt;method getty.&lt;/P&gt;&lt;P&gt;ty = p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;method get.&lt;/P&gt;&lt;P&gt;  me-&amp;gt;getty( ).&lt;/P&gt;&lt;P&gt;  write ty.&lt;/P&gt;&lt;P&gt;ENDMETHOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDCLASS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;data obj type ref to lc.&lt;/P&gt;&lt;P&gt;create OBJECT obj.&lt;/P&gt;&lt;P&gt;call METHOD obj-&amp;gt;get( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bala Duvvuri&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 05:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-pass-selection-screen-parameter-value-to-the-method/m-p/7067542#M1504239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T05:11:11Z</dc:date>
    </item>
  </channel>
</rss>

