<?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: syntax error in ABAP HR program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595412#M594430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Choose  Go To -&amp;gt; Attributes from Se38.  Is the Logic Database field filled in on this screen?  I think it should be PNP.&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>Sat, 28 Jul 2007 00:37:18 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-28T00:37:18Z</dc:date>
    <item>
      <title>syntax error in ABAP HR program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595411#M594429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to programming in HR. I am getting a syntax error "PERNR is not defined for the current logical database" with the following piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PERNR.&lt;/P&gt;&lt;P&gt;INFOTYPES: 0002, 0006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA.&lt;/P&gt;&lt;P&gt;WRITE: P0002-PERNR, P0002-NACHN, P0002-VORNA.&lt;/P&gt;&lt;P&gt;ENDPROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing a statement or something needs to be configured in the system?&lt;/P&gt;&lt;P&gt;Any help will be highly appreciated.&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;&lt;P&gt;Rony.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2007 00:21:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595411#M594429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-28T00:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error in ABAP HR program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595412#M594430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Choose  Go To -&amp;gt; Attributes from Se38.  Is the Logic Database field filled in on this screen?  I think it should be PNP.&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>Sat, 28 Jul 2007 00:37:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595412#M594430</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-28T00:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error in ABAP HR program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595413#M594431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Rich said that you need to add Logical database in your progam.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select attributes -&amp;gt; in the bottom you will see Logical database -&amp;gt; fill your Logical database name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one more thing when you use Logical database ,try to use nodes statement instead of Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nodes : pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2007 00:42:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595413#M594431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-28T00:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error in ABAP HR program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595414#M594432</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;  your code works perfectly well.. I have added the PNP logical database and selection screen 100... i think you r not added this PNP logical database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZTESTPRG                                                    *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTESTPRG                                .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PERNR.&lt;/P&gt;&lt;P&gt;INFOTYPES: 0002, 0006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PROVIDE * FROM P0002 BETWEEN PN-BEGDA AND PN-ENDDA.&lt;/P&gt;&lt;P&gt;    WRITE: P0002-PERNR, P0002-NACHN, P0002-VORNA.&lt;/P&gt;&lt;P&gt;  ENDPROVIDE.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jul 2007 00:49:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595414#M594432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-28T00:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: syntax error in ABAP HR program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595415#M594433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys for such a quick response....&lt;/P&gt;&lt;P&gt;Points rewarded...&lt;/P&gt;&lt;P&gt;Rony.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jul 2007 00:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-abap-hr-program/m-p/2595415#M594433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-29T00:40:08Z</dc:date>
    </item>
  </channel>
</rss>

