<?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: Add include in class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542743#M1562566</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not possible due to the non-OO compatible coding of include RPCBDT00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you include the INCLUDE into a method you get the syntax error (on ERP 6.0) that "...you can only TYPE to refer to ABAP dictionary types (not "LIKE" or "STRUCTURE").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also: method PO_READ of class  CL_PO_HEADER_HANDLE_MM:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
METHOD po_read.

  INCLUDE mm_messages_mac.

  DATA: l_po_number TYPE ekko-ebeln.

  IF im_po_number NE space.
    l_po_number = im_po_number.
  ELSE.
    l_po_number = po_number.
  ENDIF.
...
&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;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Dec 2010 14:04:35 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2010-12-28T14:04:35Z</dc:date>
    <item>
      <title>Add include in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542740#M1562563</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;in my class i need to add include RPCBDT00 for read cluster PCL4, i need to access to import_from_pcl4 macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542740#M1562563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: Add include in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542741#M1562564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In se24 in the main tool bar( right corner ) there is a button to include macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542741#M1562564</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-28T13:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add include in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542742#M1562565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes i know but i don't want to create my macro i want to use an existing one in include RPCBDT00.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 13:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542742#M1562565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-28T13:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add include in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542743#M1562566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is not possible due to the non-OO compatible coding of include RPCBDT00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you include the INCLUDE into a method you get the syntax error (on ERP 6.0) that "...you can only TYPE to refer to ABAP dictionary types (not "LIKE" or "STRUCTURE").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also: method PO_READ of class  CL_PO_HEADER_HANDLE_MM:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
METHOD po_read.

  INCLUDE mm_messages_mac.

  DATA: l_po_number TYPE ekko-ebeln.

  IF im_po_number NE space.
    l_po_number = im_po_number.
  ELSE.
    l_po_number = po_number.
  ENDIF.
...
&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;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 14:04:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542743#M1562566</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2010-12-28T14:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add include in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542744#M1562567</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;Generally if the include only has macro definitions. Then it can be added there with include RPCBDT00 statement( for example you can add the include &amp;lt;CNTN02&amp;gt; directly there ). The include RPCBDT00 has data declarations, hence it will throw a syntax error. You can directly add it inside a method using the include statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 14:26:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/add-include-in-class/m-p/7542744#M1562567</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-12-28T14:26:42Z</dc:date>
    </item>
  </channel>
</rss>

