<?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: How to copy SAP class and modify the code? Please help. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140991#M746523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent! Now it is asking me for package. As I am doing in SRM sandbox I will choose local object right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Dec 2007 16:03:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-12T16:03:29Z</dc:date>
    <item>
      <title>How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140987#M746519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I like to know what transaction should i use to copy a SAP class and modify it. Also please let me know how dangerous it is to do this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details: The instructions that i got is listed below. I have very minimal ABAP knowledge. Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I need to copy the SAP class /SAPPSSRM/CL_FY_NUMBER to Z* class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following code LV_FISCAL_YEAR+2(2) is blank, move the &amp;lt;FY&amp;gt; to this value, add the code after the line 84.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this client dependent? I mean we have two client 800 and 830; I think it does not make any difference in any client right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Les york&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 15:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140987#M746519</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T15:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140988#M746520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the SE24 to copy the class and than change appropriate mehtod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 15:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140988#M746520</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-12T15:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140989#M746521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is the option in SE24 to copy the class?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 15:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140989#M746521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T15:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140990#M746522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can see the button as 7th in the application toolbar or you can use the Ctrl + F5 key combination to copy it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 15:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140990#M746522</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-12-12T15:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140991#M746523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent! Now it is asking me for package. As I am doing in SRM sandbox I will choose local object right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 16:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140991#M746523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140992#M746524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I copied the SAP class now where and how to proceed to modify the code? Please help Mr. Patel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 16:09:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140992#M746524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T16:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140993#M746525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Local object yes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realise you're not an abaper, but if you got one in, he could simply create a subclass of /SAPPSSRM/CL_FY_NUMBER  (assuming it's not been made final) and override only the method that needs changing.  ( if it is final, then you have to use composition, but again, that's pretty straight forward ).  The point is, that copy a class rarely, if ever, needs to be done.  That's one of the major points about using classes.  If you use subclassing or composition, only small amounts of code need to be copied - which means if SAP change other bits in a new release, you automatically get them, thereby reducing the risk of an upgrade mucking up your cloned class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be extremely nervous about having any code that had been implemented by a non-developer, being put into productive use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 16:09:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140993#M746525</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-12T16:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140994#M746526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Also please let me know how dangerous it is to do this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Extremely.  Don't do it. Get an ABAPper in.  If you screw up your database, then you'll have to pay SAP a lot of money to put it right.  At least with an experienced programmer you minimise the risk of this happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd liken it to allowing a novice to service the brakes on your car.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 16:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140994#M746526</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-12T16:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy SAP class and modify the code? Please help.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140995#M746527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will not do it. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Dec 2007 16:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-copy-sap-class-and-modify-the-code-please-help/m-p/3140995#M746527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-12T16:18:30Z</dc:date>
    </item>
  </channel>
</rss>

