<?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: creating class &amp; methods in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325824#M511110</link>
    <description>&lt;P&gt;Hi Haya, &lt;BR /&gt;&lt;BR /&gt;As Frederic mentioned, I recommend raising your question again as a new question and follow our rules of engagement: &lt;A href="https://community.sap.com/resources/rules-of-engagement" target="test_blank"&gt;https://community.sap.com/resources/rules-of-engagement&lt;/A&gt;. The author of the original question is no longer active in the community and won't receive your query. Feel free to take our Q&amp;amp;A  tutorial at: &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;. &lt;BR /&gt;&lt;BR /&gt;Questions on how to draw responses from members? Check out this discussion on how to improve questions. &lt;A href="https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609/thread-id/1094" target="test_blank"&gt;https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609/thread-id/1094&lt;/A&gt;. With these tips you'll be able to prepare questions that draw responses from our members. &lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks! &lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 13:45:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2022-11-08T13:45:49Z</dc:date>
    <item>
      <title>creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325817#M511103</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;&lt;/P&gt;&lt;P&gt; How to create a class..&lt;/P&gt;&lt;P&gt; Please send me the sample steps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 07:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325817#M511103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T07:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325818#M511104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Class is created in SE24.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the link to the tutorial for Class Builder - &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/ca/c035baa6c611d1b4790000e8a52bed/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/ca/c035baa6c611d1b4790000e8a52bed/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also see the below link its good for you..&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/680" target="test_blank"&gt;https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/680&lt;/A&gt;. &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;Mark if helpful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tushar Mundlik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 07:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325818#M511104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T07:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325819#M511105</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;Goto SE24 class builder.&lt;/P&gt;&lt;P&gt;enter the class name and create a usual ABAP class with Final checkbox unchecked.&lt;/P&gt;&lt;P&gt;define the attributes, level and visibility&lt;/P&gt;&lt;P&gt;define the method-enter method name, define its paramters, exceptions and its definition&lt;/P&gt;&lt;P&gt;define event, if any.&lt;/P&gt;&lt;P&gt;activate the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check any sample class for example starting with CL_*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 07:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325819#M511105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T07:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325820#M511106</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;We can create class by using these simple steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class has declaration step, in this we can define call componets like&lt;/P&gt;&lt;P&gt;methods, attributes,evnts..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;lt;b&amp;gt;local class creation&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;class&amp;gt; DEFINITION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;METHOD &amp;lt;meth&amp;gt;. "for defining methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&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;class has implementation section, in this section we can provide implementations to all the definitions which are declared in class declaration section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;class&amp;gt; IMPLEMENTATION.&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;&amp;lt;b&amp;gt;simple example;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLASS C_COUNTER DEFINITION.

  PUBLIC SECTION.  " here declare public components
    METHODS: SET_COUNTER IMPORTING VALUE(SET_VALUE) TYPE I,
             INCREMENT_COUNTER,
             GET_COUNTER EXPORTING VALUE(GET_VALUE) TYPE I.

  PRIVATE SECTION.         "here declare local components
    DATA COUNT TYPE I.

ENDCLASS.

CLASS C_COUNTER IMPLEMENTATION.

  METHOD SET_COUNTER.                " method implemetation
    COUNT = SET_VALUE.
  ENDMETHOD.

  METHOD INCREMENT_COUNTER.
    ADD 1 TO COUNT.
  ENDMETHOD.

  METHOD GET_COUNTER.
    GET_VALUE = COUNT.
  ENDMETHOD.

ENDCLASS.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps to declare object to class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: obj type ref to &amp;lt;name of the class&amp;gt;.  "here refarence variable is created&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;P&gt;        CREATE OBJECT obj. "here object is created&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;*global class creation&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can create global class in CLASS BUILDER, for that one we work with SE24.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;follow this link for class builder.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/e440a670a111d1b44c0000e8a52bed/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/e440a670a111d1b44c0000e8a52bed/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;follow this link for knowing types of classes and types of class components.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/OO/syntax.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/OO/syntax.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/b3/f4b1406fecef0fe10000000a1550b0/content.htm&lt;/A&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;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Ashokreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 08:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325820#M511106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T08:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325821#M511107</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;&lt;/P&gt;&lt;P&gt;GLOBAL CLASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create a global class goto Se24 -&amp;gt; give object name -&amp;gt; create -&amp;gt; continue -&amp;gt; save -&amp;gt; local object -&amp;gt; give required attributes, methods in screen opened for u -&amp;gt; activate run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOCAL CLASS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in se38 -&amp;gt; pattern -&amp;gt; select abap objects -&amp;gt; in the displayed window select object or class or interface -&amp;gt; give details -&amp;gt;ok.&lt;/P&gt;&lt;P&gt;code for that selected object is displayed for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2007 08:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325821#M511107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-11T08:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325822#M511108</link>
      <description>&lt;P&gt;My Question is : In Workflow to add the field from other table  like (EKPO). I have make the customize copy of (ZBUS2012)  and further what will we do next ?? about method ? Where from we can add the coding to read the net price against the PO in sending email from  CFO?&lt;BR /&gt;Kindly recommend any method  or solution step by step&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 06:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325822#M511108</guid>
      <dc:creator>former_member770121</dc:creator>
      <dc:date>2022-11-08T06:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325823#M511109</link>
      <description>&lt;P&gt;Your question need to be asked in a new thread and not use an old one&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 07:24:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325823#M511109</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2022-11-08T07:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: creating class &amp; methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325824#M511110</link>
      <description>&lt;P&gt;Hi Haya, &lt;BR /&gt;&lt;BR /&gt;As Frederic mentioned, I recommend raising your question again as a new question and follow our rules of engagement: &lt;A href="https://community.sap.com/resources/rules-of-engagement" target="test_blank"&gt;https://community.sap.com/resources/rules-of-engagement&lt;/A&gt;. The author of the original question is no longer active in the community and won't receive your query. Feel free to take our Q&amp;amp;A  tutorial at: &lt;A href="https://developers.sap.com/tutorials/community-qa.html" target="test_blank"&gt;https://developers.sap.com/tutorials/community-qa.html&lt;/A&gt;. &lt;BR /&gt;&lt;BR /&gt;Questions on how to draw responses from members? Check out this discussion on how to improve questions. &lt;A href="https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609/thread-id/1094" target="test_blank"&gt;https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-and-answers/m-p/123609/thread-id/1094&lt;/A&gt;. With these tips you'll be able to prepare questions that draw responses from our members. &lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 13:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-class-methods/m-p/2325824#M511110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2022-11-08T13:45:49Z</dc:date>
    </item>
  </channel>
</rss>

