<?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: Statement is not accessible? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435342#M825004</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;You have not written the read in START-OF-SELECTION. Hence you are getting the stmt not accessible error.  After data declaration, use the event &lt;STRONG&gt;START-OF-SELECTION&lt;/STRONG&gt; and then give your read stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2008 08:40:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-26T08:40:47Z</dc:date>
    <item>
      <title>Statement is not accessible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435339#M825001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi anybody ,&lt;/P&gt;&lt;P&gt; i am getting an error  'Statement is not accessible'&lt;/P&gt;&lt;P&gt;for the below read statement. Can you suggest how can we replace this statement in Unicode System.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; BEGIN OF t_rfrk OCCURS 0,               "Referenzbelegkopf&lt;/P&gt;&lt;P&gt;    rfbel      LIKE vbrk-vbeln,           "Referenzbelegnummer&lt;/P&gt;&lt;P&gt;    waerk      LIKE vbrk-waerk,           "Belegwährung&lt;/P&gt;&lt;P&gt;  END OF t_rfrk,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE t_rfrk WITH KEY rfbel = t_vbrp-rfbel&lt;/P&gt;&lt;P&gt;        BINARY SEARCH TRANSPORTING waerk.&lt;/P&gt;&lt;P&gt;      CHECK sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 08:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435339#M825001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T08:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Statement is not accessible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435340#M825002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;after end of declaration of an internal table you forgot to period, instead you put comma.  Just check it.&lt;/P&gt;&lt;P&gt;the modified code would be as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN OF t_rfrk OCCURS 0, "Referenzbelegkopf&lt;/P&gt;&lt;P&gt;rfbel LIKE vbrk-vbeln, "Referenzbelegnummer&lt;/P&gt;&lt;P&gt;waerk LIKE vbrk-waerk, "Belegwährung&lt;/P&gt;&lt;P&gt;END OF t_rfrk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE t_rfrk WITH KEY rfbel = t_vbrp-rfbel&lt;/P&gt;&lt;P&gt;BINARY SEARCH TRANSPORTING waerk.&lt;/P&gt;&lt;P&gt;CHECK sy-subrc IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 08:19:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435340#M825002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T08:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Statement is not accessible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435341#M825003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using internal tables withhout header line like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TYPES: begin of ty_rfrk,
               rfbel   type vbrp-rfbel,
               waerk type vbrk-waerk,
            end of ty_rfrk.

DATA: it_rfrk type standard table of ty_rfrk,
          ls_rfrk type ty_rfrk.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the READ statement, try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; READ TABLE &amp;lt;int-tbl&amp;gt; into &amp;lt;work-rea&amp;gt; WITH KEY... BINARY SEARCH. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 08:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435341#M825003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T08:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Statement is not accessible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435342#M825004</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;You have not written the read in START-OF-SELECTION. Hence you are getting the stmt not accessible error.  After data declaration, use the event &lt;STRONG&gt;START-OF-SELECTION&lt;/STRONG&gt; and then give your read stmt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 08:40:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-is-not-accessible/m-p/3435342#M825004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-26T08:40:47Z</dc:date>
    </item>
  </channel>
</rss>

