<?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: Extended program check error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017469#M1167553</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Are you doing a upgrade ? Here we usually follow a scope which tells which obsolete statements to be handled in Extended program check and Unicode check. This scope may be given by the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your client only needs unicode compatibility, then your code is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jan 2009 04:49:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-07T04:49:22Z</dc:date>
    <item>
      <title>Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017459#M1167543</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'm getting errors(Obsolete statements) when checking for extended program check for a report program.&lt;/P&gt;&lt;P&gt;When I'm going for "UCCHECK" i'm not getting any errors &amp;amp; in code inspector also it is not showing the errors.&lt;/P&gt;&lt;P&gt;Here what is the reason for this?why it showing error in one transaction &amp;amp; not showing the same in other transaction..&lt;/P&gt;&lt;P&gt;Here I'm pasting the code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  ZHCM_OBSOLETE.
infotypes : 0000.
DATA: BEGIN OF itab1 OCCURS 0,
        col1 TYPE i,
        col2 TYPE i,
        col3 TYPE string,
      END OF itab1 VALID BETWEEN col1 AND col2.

DATA: BEGIN OF itab2 OCCURS 0,
        col1 TYPE i,
        col2 TYPE i,
        col3 TYPE string,
      END OF itab2 VALID BETWEEN col1 AND col2.

itab1-col1 = 1.
itab1-col2 = 6.
itab1-col3 = 'Itab1 Int1'.
APPEND itab1 TO itab1.

itab1-col1 = 9.
itab1-col2 = 12.
itab1-col3 = 'Itab1 Int2'.
APPEND itab1 TO itab1.

itab2-col1 = 4.
itab2-col2 = 11.
itab2-col3 = 'Itab2 Int1'.
APPEND itab2 TO itab2.

provide col3 FROM itab1
        col3 FROM itab2
             BETWEEN 2 AND 14.

  WRITE: / itab1-col1.
*  \, itab1-col2, itab1-col3, itab1_valid.
  WRITE: / itab2-col1.
*  , itab2-col2, itab2-col3, itab2_valid.
  SKIP.
ENDPROVIDE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;Pradeepa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 2:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017459#M1167543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017460#M1167544</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 your program PROVIDE is the absolute statement. That's why it is throwing error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017460#M1167544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017461#M1167545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;provide and end provide are Obsolete statements .instead use select  or macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:19:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017461#M1167545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017462#M1167546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You are probably getting obsolete statements on the declaration of internal tables. Avoid using begin of itab occurs 0, this statement is not used as it automatically creates a header line. Use types statement to define a type and then use it to create an internal table and workarea, this will remove the obsolete statements in extended program check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types : begin of t_itab,
            col1 type i,
            col2 type i,
            col3 type string,
          end of t_itab.
data itab type table of t_itab
data wa_type t_itab.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use these to populate your internal table.&lt;/P&gt;&lt;P&gt;begin of itab occurs 0 was a statement which was used in prior versions (&amp;lt;4.0) and now are considered obsolete, but still functional due to backward compatibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sachin Dargan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Formatted by: Alvaro Tejada Galindo on Jan 7, 2009 2:22 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:23:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017462#M1167546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017463#M1167547</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;Obsolete stataments error you chech extended program check only is displays. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Md.MahaboobKhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:24:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017463#M1167547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017464#M1167548</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; Each TCODE has its own functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;UCCHECK&lt;/STRONG&gt; is for Unocode compatibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Obsolete statements can be shown in code Inspector&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In Code inspector press (CTRL + F1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Expand the folder "Syntax check/ Generation"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Under "Extended program Check" Click on attribute and use the check box for "Obsolete statements" (This is unchecked by default).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : "Specific Tests" Radio button must be checked in the Extended program check screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run the code inspector again to see the changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017464#M1167548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017465#M1167549</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;Use Oops based declaratipon for internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;E.g. :&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;data: itab type standard table of &amp;lt;dtab&amp;gt;,&lt;/P&gt;&lt;P&gt;        wa_tab type &amp;lt;dtab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and also use &lt;STRONG&gt;type&lt;/STRONG&gt; in place of &lt;STRONG&gt;like&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Jan 2009 05:27:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017465#M1167549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-06T05:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017466#M1167550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me the replacement statement for this PROVIDE ... ENDPROVIDE statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Pradeepa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 04:02:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017466#M1167550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T04:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017467#M1167551</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;Use a read table statement instead of PROVIDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;provide col3 FROM itab1&lt;/P&gt;&lt;P&gt;col3 FROM itab2&lt;/P&gt;&lt;P&gt;BETWEEN 2 AND 14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 04:21:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017467#M1167551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T04:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017468#M1167552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did both checking s., but getting obsolete statements in Extended program check &amp;amp; in UCCHECK  it is not showing any errors.&lt;/P&gt;&lt;P&gt;My client need a code which is unicode compatible.can we omit those errors which we got in extended program check or have to find the solution  for this?if there is a way can you explain me the solution for that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 04:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017468#M1167552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T04:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017469#M1167553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Are you doing a upgrade ? Here we usually follow a scope which tells which obsolete statements to be handled in Extended program check and Unicode check. This scope may be given by the client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your client only needs unicode compatibility, then your code is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 04:49:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017469#M1167553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T04:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017470#M1167554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope read table statement is also obsolete ..&lt;/P&gt;&lt;P&gt;Is there any other statement in place of this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 04:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017470#M1167554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T04:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017471#M1167555</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 think you could replace PROVIDE with the SELECT statement, along with APPENDING CORRESPONDING FIELDS OF TABLE internal_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then yes, loop the internal_table&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;loop at internal_table where...(optional)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anki Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 08:56:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017471#M1167555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T08:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017472#M1167556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;here you will find list of obsolete statements&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:05:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017472#M1167556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Extended program check error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017473#M1167557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;problem with provide..... endprovide,use the select incase of provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2009 09:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-error/m-p/5017473#M1167557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-07T09:20:40Z</dc:date>
    </item>
  </channel>
</rss>

