<?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 How do I solve these EPC errors in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813257#M1313622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a HR report and am getting these EPC errors:&lt;/P&gt;&lt;P&gt;1. "INFOTYPES" is not supported in the OO context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I have a declaration :&lt;/P&gt;&lt;P&gt;TABLES: PERNR&lt;/P&gt;&lt;P&gt;and the EPC error pointing to this line is: &lt;/P&gt;&lt;P&gt;Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary&lt;/P&gt;&lt;P&gt;types, not "LIKE" or "STRUCTURE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran dasari on Jul 2, 2009 7:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2009 18:15:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-01T18:15:25Z</dc:date>
    <item>
      <title>How do I solve these EPC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813257#M1313622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a HR report and am getting these EPC errors:&lt;/P&gt;&lt;P&gt;1. "INFOTYPES" is not supported in the OO context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I have a declaration :&lt;/P&gt;&lt;P&gt;TABLES: PERNR&lt;/P&gt;&lt;P&gt;and the EPC error pointing to this line is: &lt;/P&gt;&lt;P&gt;Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary&lt;/P&gt;&lt;P&gt;types, not "LIKE" or "STRUCTURE".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran dasari on Jul 2, 2009 7:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2009 18:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813257#M1313622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-01T18:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve these EPC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813258#M1313623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, seems that you are using these statements in a (local) class. But all these statements are obsolete and can not be used in ABAP OO, mostly because of the stricter syntax check. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the F1 help for all of your statements, for example INFOTYPES:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;In classes it is not allowed to declare internal tables with header lines. Due to this, the statement INFOTYPES is not allowed there. To declare an internal table of the same structure, you should use the allowed statements from the section Data types and data objects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 14:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813258#M1313623</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-07-02T14:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve these EPC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813259#M1313624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of tables statement&lt;/P&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;data : v_pernr type pernr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 14:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813259#M1313624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T14:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve these EPC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813260#M1313625</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 am using classes only for my ALV display. But I didnot declare these infotypes or tables in any of the classes. I just had them as part of my normal global declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more clues plz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 14:47:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813260#M1313625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve these EPC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813261#M1313626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PBS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is one of the steps in HR REPORTING. With out this, I wouldn't get any selection screen.&lt;/P&gt;&lt;P&gt;so how can i avoid this and still have charm of hr programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kiran dasari on Jul 9, 2009 6:41 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 14:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813261#M1313626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T14:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I solve these EPC errors</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813262#M1313627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using LDB PNPCE. can that be a problem?&lt;/P&gt;&lt;P&gt;If not, can any one tell me how to avoid this epc errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-solve-these-epc-errors/m-p/5813262#M1313627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T14:22:30Z</dc:date>
    </item>
  </channel>
</rss>

