<?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: Move Fm To Class Method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381089#M1042261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silke Eng  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your replays u helping me a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i new to oo in abap so plz maybe u can give me example how to declare this simple internal table in se 24&lt;/P&gt;&lt;P&gt;&lt;U&gt;step by step.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types : begin of emp_tab,
           pernr type pernr_d,
           employee_name type char20,
           employee_id type numc9,
          end of emp_tab.

data: employee_table type table of emp_tab." in fm or progarm i declare internal table  like this.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Aug 2008 15:14:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-28T15:14:00Z</dc:date>
    <item>
      <title>Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381080#M1042252</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 want to copy Fm that i use to Method and build Class and i need help because i new in this topic.&lt;/P&gt;&lt;P&gt;i wont to build global class in se24 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from my code below ,what is recommended for using attributes,and where to put the types (of table)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF t_costcenter,
         nodeid TYPE  rshienodid,
         iobjnm  TYPE rsiobjnm,
         nodename TYPE   rsshnodename,
         tlevel TYPE  rstlevel,
         link  TYPE rslink,
         parentid  TYPE rsparent,
         childid  TYPE rschild,
          nextid  TYPE rsnext,
    END OF t_costcenter.


  DATA: cost_id TYPE TABLE OF t_costcenter .
  FIELD-SYMBOLS: &amp;lt;fs_id&amp;gt; LIKE LINE OF cost_id .
  DATA: wa_cost_id LIKE LINE OF cost_id.

  LOOP AT node_tab ASSIGNING &amp;lt;fs_node&amp;gt;.
    SELECT SINGLE *
      FROM /bi0/hcostcenter
      INTO CORRESPONDING FIELDS  OF wa_cost_id
      WHERE nodename = &amp;lt;fs_node&amp;gt;-znodename .
    IF sy-subrc = 0.
      APPEND wa_cost_id TO cost_id.
      CLEAR wa_cost_id.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 12:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381080#M1042252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381081#M1042253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cosmo,&lt;/P&gt;&lt;P&gt;the signaturer of a method and a class are rather similar. The biggest difference are indeed the tables. &lt;/P&gt;&lt;P&gt;You could add them as changing parameters. &lt;/P&gt;&lt;P&gt;When creating a global class, it might make sense to use global DDIC-datatypes for the structures and tables as well.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Silke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 13:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381081#M1042253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381082#M1042254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silke Eng  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks , u say that i have to use the table t_costcenter in global Structure , but what if i have to use internal tables where i put the declaration of it in calss?&lt;/P&gt;&lt;P&gt;i now that in FM i do that in the &lt;U&gt;top&lt;/U&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_costcenter,&lt;/P&gt;&lt;P&gt;         nodeid TYPE  rshienodid,&lt;/P&gt;&lt;P&gt;         iobjnm  TYPE rsiobjnm,&lt;/P&gt;&lt;P&gt;         nodename TYPE   rsshnodename,&lt;/P&gt;&lt;P&gt;         tlevel TYPE  rstlevel,&lt;/P&gt;&lt;P&gt;         link  TYPE rslink,&lt;/P&gt;&lt;P&gt;         parentid  TYPE rsparent,&lt;/P&gt;&lt;P&gt;         childid  TYPE rschild,&lt;/P&gt;&lt;P&gt;          nextid  TYPE rsnext,&lt;/P&gt;&lt;P&gt;    END OF t_costcenter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:10:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381082#M1042254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381083#M1042255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cosmo,&lt;/P&gt;&lt;P&gt;Did I get that right: you want to create a global class in TA se24? Or is the goal to create a local class?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wont to build global class in se24 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Silke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381083#M1042255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381084#M1042256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;..in the case of global classes:&lt;/P&gt;&lt;P&gt;In the class builder there is a "card" called "Types". Enter the name of the type and click on the yellow arrow, that will lead you to the coding area for entering types for this class. Silke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381084#M1042256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381085#M1042257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silke Eng  ,&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;types i now that i declare in types tab in se24,&lt;/P&gt;&lt;P&gt;my question  is where i have to declare the internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:39:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381085#M1042257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381086#M1042258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The internatl table can be declared as an attribute of the class. Is it that what you meant? Silke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381086#M1042258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381087#M1042259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silke Eng  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are u sure ?&lt;/P&gt;&lt;P&gt;how i do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 14:56:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381087#M1042259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T14:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381088#M1042260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the class builder -&amp;gt; card "attributes"&lt;/P&gt;&lt;P&gt;GT_YOUR_INTERNAL_TABLE	Instance Attribute Protected Type YOURDECLARED_TAB_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table type needs to be declared in the card "types" if it is not a global datatype.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;YOURDECLARED_TAB_TYPE type sorted table of YOURDECLARED_TYPE&lt;/P&gt;&lt;P&gt;                    with unique key YOURKEY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 15:05:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381088#M1042260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T15:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381089#M1042261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Silke Eng  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all your replays u helping me a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i new to oo in abap so plz maybe u can give me example how to declare this simple internal table in se 24&lt;/P&gt;&lt;P&gt;&lt;U&gt;step by step.&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types : begin of emp_tab,
           pernr type pernr_d,
           employee_name type char20,
           employee_id type numc9,
          end of emp_tab.

data: employee_table type table of emp_tab." in fm or progarm i declare internal table  like this.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 15:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381089#M1042261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T15:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381090#M1042262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;types : begin of emp_tab,
&amp;gt;            pernr type pernr_d,
&amp;gt;            employee_name type char20,
&amp;gt;            employee_id type numc9,
&amp;gt;           end of emp_tab.
&amp;gt; 
&amp;gt; data: employee_table type table of emp_tab." in fm or progarm i declare internal table  like this.&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use the internal tables in a global class I suggest you create the structures and tabletypes in the dictionary and not just locally in the class type definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, all you are missing is an addtional type for the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: tt_empl_tab type standard table of emp_tab.
data: lt_emploqyee type tt_empl_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 15:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381090#M1042262</guid>
      <dc:creator>andre_kster</dc:creator>
      <dc:date>2008-08-28T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381091#M1042263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cosmo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to declare the internal tables in the implementation of the class in SE19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the implementation, one cannot declare an internal table with header line and hence you need to declare the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table with types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of declaring an internal table is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  TYPES : BEGIN OF ty_kunnr,&lt;/P&gt;&lt;P&gt;            kunnr TYPE knvv-kunnr,&lt;/P&gt;&lt;P&gt;          END OF ty_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA :tb_kunnr TYPE TABLE OF ty_kunnr,&lt;/P&gt;&lt;P&gt;            wa_kunnr TYPE ty_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Sriranjani Chimakurthy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 16:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381091#M1042263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T16:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381092#M1042264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Sriranjani ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;se19 i badi builder how i buield thier internal table? and how i link it to class?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 17:14:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381092#M1042264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T17:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381093#M1042265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you create a Badi Implementation, the only thing that would make sense is to declare your internal table in the method you are using. Look at previous posts on how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this Badi has more than one methods and you are planning on using them all (or at least more than one), it might be better to declare your internal table in the implementing class. How to declare an internal table in a class is also explained in one of the previous posts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381093#M1042265</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-28T18:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381094#M1042266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but i &lt;STRONG&gt;don't&lt;/STRONG&gt; wont to build Badi,&lt;/P&gt;&lt;P&gt;i wont to Build Class in SE24 and i wont to now &lt;STRONG&gt;where and how&lt;/STRONG&gt; i declare internal table e.g. like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types : begin of emp_tab,
           pernr type pernr_d,
           employee_name type char20,
           employee_id type numc9,
          end of emp_tab.
 
data: employee_table type table of emp_tab." in fm or progarm i declare internal table  like this in the *top* .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381094#M1042266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T18:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381095#M1042267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;se19 i badi builder how i buield thier internal table? and how i link it to class?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't that what you were asking the last time: SE19 and BadI builder? The rest was already explained in the previous posts, right? Or is there still something you don't quite understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:13:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381095#M1042267</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-28T18:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381096#M1042268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but  Sriranjani Chim in post before suggest to do it in se19 so i ask him how?&lt;/P&gt;&lt;P&gt; 	&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this is what he write :&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;You need to declare the internal tables in the implementation of the class in SE19.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the implementation, one cannot declare an internal table with header line and hence you need to declare the&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal table with types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of declaring an internal table is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_kunnr,&lt;/P&gt;&lt;P&gt;kunnr TYPE knvv-kunnr,&lt;/P&gt;&lt;P&gt;END OF ty_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :tb_kunnr TYPE TABLE OF ty_kunnr,&lt;/P&gt;&lt;P&gt;wa_kunnr TYPE ty_kunnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381096#M1042268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381097#M1042269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also posted a reply on your other message in which I am asking you to tell us a bit more about your requirement. That wil be the only way in which we will be able to help you. Declaring an internal table within a method is possible, but in that case you can only use it within this particular method (it is declared locally like for example in a subroutine PERFORM / FORM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you can just use the types statement, like mentioned before and declare the internal table typing that TYPES. If you were to copy the following coding into a method (so declaring it locally in the method itself) it will work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_kunnr,&lt;/P&gt;&lt;P&gt;kunnr TYPE knvv-kunnr,&lt;/P&gt;&lt;P&gt;END OF ty_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :tb_kunnr TYPE TABLE OF ty_kunnr,&lt;/P&gt;&lt;P&gt;wa_kunnr TYPE ty_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But like I said, it will only be available in this method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:32:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381097#M1042269</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-28T18:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381098#M1042270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the Recommended way to do that,locally? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381098#M1042270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-28T18:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Move Fm To Class Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381099#M1042271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not saying this is recommended, but if you only want to use it locally within the method, than I would recommend it. If however you want to use it more often (in several methods) you should declare it as a local type. If however you want to use it to call methods from outside the class (just like calling a FM) you have to declare it globally in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tell me how you want to use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2008 18:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-fm-to-class-method/m-p/4381099#M1042271</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-08-28T18:59:42Z</dc:date>
    </item>
  </channel>
</rss>

