<?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 creating more than one constructor in class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796218#M1466650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to figure out whether is it possible to create more than one constructor in same class (like overloading in c++).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Apr 2010 06:39:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-13T06:39:09Z</dc:date>
    <item>
      <title>creating more than one constructor in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796218#M1466650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to figure out whether is it possible to create more than one constructor in same class (like overloading in c++).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 06:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796218#M1466650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T06:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: creating more than one constructor in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796219#M1466651</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 think there is a better way to express it anyways thanks to you too-:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Technically speeking you can, but only the Inheritance Tree.
in one class Unique attributes (Variable) be declared in that sence, 
in a class we can have one Instance Constructor and one Static Constructor only

class lcl_class.
public section.
methods : constructor.
class-methods : class_constructor "Now no more duplicate declarations allowed
protected section

private section
endclass

"But if you inherit this class, the the Child class can have its own constructor
 "and when you call the child class constructor it must call its super class constructor&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below thread for more info&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Apr 2010 06:45:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796219#M1466651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-13T06:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: creating more than one constructor in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796220#M1466652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanx for the info....now i'm clear with the doubt.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 04:46:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-more-than-one-constructor-in-class/m-p/6796220#M1466652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-14T04:46:42Z</dc:date>
    </item>
  </channel>
</rss>

