<?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: Declarations are global for current event - with Extended Program check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937445#M692319</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;Please try to declare your constants before start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Detail Report Column headings.
CONSTANTS: lc_d_col1(10) TYPE c VALUE 'Day area', 

START-OF-SELECTION.
  ...

TOP-OF-PAGE.
  ...
&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 02:05:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-22T02:05:02Z</dc:date>
    <item>
      <title>Declarations are global for current event - with Extended Program check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937444#M692318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did extended check program check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is giving the Waring under Problematic Statements.&lt;/P&gt;&lt;P&gt;Warning - Declarations are global for current event for CONSTANTS declarion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Detail Report Column headings.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CONSTANTS: lc_d_col1(10) TYPE c VALUE 'Day area',     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how I can avoid it.   &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;Mini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 02:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937444#M692318</guid>
      <dc:creator>manoj_goyal2</dc:creator>
      <dc:date>2007-10-22T02:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Declarations are global for current event - with Extended Program check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937445#M692319</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;Please try to declare your constants before start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
* Detail Report Column headings.
CONSTANTS: lc_d_col1(10) TYPE c VALUE 'Day area', 

START-OF-SELECTION.
  ...

TOP-OF-PAGE.
  ...
&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 02:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937445#M692319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T02:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Declarations are global for current event - with Extended Program check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937446#M692320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;generally we will declare all constants and variables before the program.&lt;/P&gt;&lt;P&gt;Create one include with name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Include z_program_TOP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and declare all the constants and vaiables in that and include it at strat of program.&lt;/P&gt;&lt;P&gt;CONSTANTS: lc_d_col1(10) TYPE c VALUE 'Day area', &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then in main program as.&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if useful...............&lt;/P&gt;&lt;P&gt;Minal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 02:33:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/declarations-are-global-for-current-event-with-extended-program-check/m-p/2937446#M692320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T02:33:46Z</dc:date>
    </item>
  </channel>
</rss>

