<?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 quick tutorial of using methods of class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465733#M553739</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;I have never use methods of class before. Is there anyone can give me a quick tutorial how to do it?&lt;/P&gt;&lt;P&gt;To be more specific &amp;#150; I need convert field 'DAUER' into the required format using one of the following methods of class 'CL_HR_T510_PSRCL':&lt;/P&gt;&lt;P&gt;&amp;#149;	CONVERT_DURATION_TO_MMMM: Duration Conversion to Format 'MMMM'&lt;/P&gt;&lt;P&gt;&amp;#149;	CONVERT_DURATION_TO_MMMM: Duration Conversion to Format 'YYMM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be more detailed in describing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will greatly appreciate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 14:17:19 GMT</pubDate>
    <dc:creator>former_member552147</dc:creator>
    <dc:date>2007-06-27T14:17:19Z</dc:date>
    <item>
      <title>quick tutorial of using methods of class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465733#M553739</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;I have never use methods of class before. Is there anyone can give me a quick tutorial how to do it?&lt;/P&gt;&lt;P&gt;To be more specific &amp;#150; I need convert field 'DAUER' into the required format using one of the following methods of class 'CL_HR_T510_PSRCL':&lt;/P&gt;&lt;P&gt;&amp;#149;	CONVERT_DURATION_TO_MMMM: Duration Conversion to Format 'MMMM'&lt;/P&gt;&lt;P&gt;&amp;#149;	CONVERT_DURATION_TO_MMMM: Duration Conversion to Format 'YYMM'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please be more detailed in describing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help will greatly appreciate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Veb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465733#M553739</guid>
      <dc:creator>former_member552147</dc:creator>
      <dc:date>2007-06-27T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: quick tutorial of using methods of class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465734#M553740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veb,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find at this sdn page at section ABAP Objects , documentations and links about ABAP OO :&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb#section7" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb#section7&lt;/A&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) You can use like this :&lt;/P&gt;&lt;P&gt;CALL METHOD CL_HR_T510_PSRCL=&amp;gt;CONVERT_DURATION_TO_MMMM&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    DURATION = old_duration&lt;/P&gt;&lt;P&gt;  RECEIVING&lt;/P&gt;&lt;P&gt;    MMMM     = new_duration.&lt;/P&gt;&lt;P&gt;1) Like this :&lt;/P&gt;&lt;P&gt;l_dauer = convert_duration_to_mmmm(&lt;/P&gt;&lt;P&gt;                             duration = l_dauer).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465734#M553740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T14:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: quick tutorial of using methods of class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465735#M553741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;deleted.. irrelevant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 14:36:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quick-tutorial-of-using-methods-of-class/m-p/2465735#M553741</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-06-27T14:36:58Z</dc:date>
    </item>
  </channel>
</rss>

