<?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: Function Module or Class to generate a global class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638288#M284454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;I want to generate classes in a development system. And I do not want to generate classes on the fly during program run. I want to write a report which reads some certain meta data from the database, and based on this generates a class with a specific method(which is a method of a global interface) and then I want to put coding into this method dynamically. And as SE24 definitely uses some APIs to generate classes, it must be possible, I guess. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sükrü&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Oct 2006 13:22:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-19T13:22:24Z</dc:date>
    <item>
      <title>Function Module or Class to generate a global class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638285#M284451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know a function module or a class with which I can generate a global class implementing a predefined global interface and fill the methods of the generated class dynamically with coding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Sükrü&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 13:04:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638285#M284451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T13:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module or Class to generate a global class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638286#M284452</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;Global internal table can be declared which can accessed by other classes based on the access specifier (public,private,protected)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step-1 Create table type(ZTABLETYPE) in SE11 which refres to the table (ZTABLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step-2 in SE24, in attribute column keep itab and in assiciated type keep ZTABLETYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's a way of global declaration for internal table in Global Class(SE24).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS&lt;/P&gt;&lt;P&gt;WARUN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 13:12:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638286#M284452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T13:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module or Class to generate a global class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638287#M284453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is not a function module or class for this.  I'm not sure how this will help you in your requirement anyway, because if it is to run in a productive system, which should not be open for changes, your program would not be allowed to create the global class anyway.  Unfortunatly, I think your best way to proceed would be to use a generated subroutine,  yes not as elegant, but I think this is the way to go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 13:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638287#M284453</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-19T13:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module or Class to generate a global class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638288#M284454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;I want to generate classes in a development system. And I do not want to generate classes on the fly during program run. I want to write a report which reads some certain meta data from the database, and based on this generates a class with a specific method(which is a method of a global interface) and then I want to put coding into this method dynamically. And as SE24 definitely uses some APIs to generate classes, it must be possible, I guess. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sükrü&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 13:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638288#M284454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T13:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module or Class to generate a global class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638289#M284455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the class for generating a class : &lt;/P&gt;&lt;P&gt;SEO_CLASS_CREATE_COMPLETE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2006 13:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638289#M284455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-19T13:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module or Class to generate a global class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638290#M284456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        corrnr          = korrnum&lt;/P&gt;&lt;P&gt;        devclass        = devclass&lt;/P&gt;&lt;P&gt;        version         = seoc_version_active&lt;/P&gt;&lt;P&gt;        overwrite       = overwrite&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        korrnr          = korrnum&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        class           = gs_class&lt;/P&gt;&lt;P&gt;        inheritance     = gs_inheritance&lt;/P&gt;&lt;P&gt;        redefinitions   = gt_redefinitions&lt;/P&gt;&lt;P&gt;        implementings   = gt_implementings&lt;/P&gt;&lt;P&gt;        impl_details    = gt_impl_details&lt;/P&gt;&lt;P&gt;        attributes      = gt_attributes&lt;/P&gt;&lt;P&gt;        methods         = gt_methods&lt;/P&gt;&lt;P&gt;        events          = gt_events&lt;/P&gt;&lt;P&gt;        types           = gt_types&lt;/P&gt;&lt;P&gt;        type_source     = gt_type_source&lt;/P&gt;&lt;P&gt;        PARAMETERS      = gt_parameters&lt;/P&gt;&lt;P&gt;        exceps          = gt_exceps&lt;/P&gt;&lt;P&gt;        aliases         = gt_aliases&lt;/P&gt;&lt;P&gt;        typepusages     = gt_typepusages&lt;/P&gt;&lt;P&gt;        clsdeferrds     = gt_clsdeferrds&lt;/P&gt;&lt;P&gt;        intdeferrds     = gt_intdeferrds&lt;/P&gt;&lt;P&gt;        friendships     = gt_friendships&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;        OTHERS          = 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE 'Error generating class' TYPE 'E'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        text = 'Generating local class definitions'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'SEO_CLASS_GENERATE_LOCALS'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        clskey                 = clskey&lt;/P&gt;&lt;P&gt;        force                  = seox_true&lt;/P&gt;&lt;P&gt;        corrnr                 = korrnum&lt;/P&gt;&lt;P&gt;        implementation         = gt_locals_src&lt;/P&gt;&lt;P&gt;        locals_def             = gt_locals_def&lt;/P&gt;&lt;P&gt;        locals_imp             = gt_locals_imp&lt;/P&gt;&lt;P&gt;        locals_mac             = gt_locals_mac&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;                 OTHERS                 = 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2007 08:15:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-or-class-to-generate-a-global-class/m-p/1638290#M284456</guid>
      <dc:creator>analytics</dc:creator>
      <dc:date>2007-05-08T08:15:30Z</dc:date>
    </item>
  </channel>
</rss>

