<?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 not accessible error - Any ideas please. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251487#M486799</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for solving my problem. I rewarded points to everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mithun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2007 18:32:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-24T18:32:07Z</dc:date>
    <item>
      <title>Statement not accessible error - Any ideas please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251483#M486795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all:&lt;/P&gt;&lt;P&gt;          We were using macro from TRMAC table in 4.6C version and it used to give a warning but after upgrading to ECC6.0 it is syntax error! Please look at the code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*SELECTION SCREN / PARAMETERS                                          *&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_mode(1) TYPE c DEFAULT 'N' OBLIGATORY,&lt;/P&gt;&lt;P&gt;            p_grp     LIKE apqi-groupid DEFAULT 'SKF_POST' OBLIGATORY.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;P&gt;unix_pc_path text-001 text-002 text-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*Intialization                                                         *&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*At selection screen                                                   *&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM format_unixpath(yunixctrl) USING 'YHOME_UX' yhome_ux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  IF ( rdb_pc = 'X' AND yhome_pc IS INITIAL ) OR&lt;/P&gt;&lt;P&gt;     ( rdb_ux = 'X' AND yname_ux IS INITIAL ).&lt;/P&gt;&lt;P&gt;    MESSAGE e000 WITH 'A filename is required'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;AT USER-COMMAND                                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&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;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT rdb_ux IS INITIAL.&lt;/P&gt;&lt;P&gt;    unix_getname yhome_ux yname_ux v_file_in.&lt;/P&gt;&lt;P&gt;    PERFORM upload_parse_unix_file.&lt;/P&gt;&lt;P&gt;  ELSEIF NOT rdb_pc IS INITIAL.&lt;/P&gt;&lt;P&gt;    v_file_in = yhome_pc.&lt;/P&gt;&lt;P&gt;    PERFORM upload_parse_pc_file.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  PERFORM skf_posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;*End-of-selection                                                      *&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program does not like the line "unix_pc_path text-001 text-002 text-003." and gives an error "Statement not accessible". I went through some discussion forums on this here but nothing related to macro. Could anyone please give me an idea how I could resolve this? All the answers will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Mithun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 21:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251483#M486795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T21:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Statement not accessible error - Any ideas please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251484#M486796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try putting that statement into INITIALIZATION or START-OF-SELECTION event and it will not give an error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 22:00:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251484#M486796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T22:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Statement not accessible error - Any ideas please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251485#M486797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically this macro is in a place where it is not accessable in any event. Move it to the appropriate event and the error should go away. Also, I didn't see the MACRO definition here. Please post that too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2007 22:43:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251485#M486797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-23T22:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Statement not accessible error - Any ideas please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251486#M486798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot put it in START-OF-SELECTION a you need the unix path in the &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN FOR OUTPUT event.. move the statement from the selection-screen block to the INITIALIZATION event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 00:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251486#M486798</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-05-24T00:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Statement not accessible error - Any ideas please.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251487#M486799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for solving my problem. I rewarded points to everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mithun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 18:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/statement-not-accessible-error-any-ideas-please/m-p/2251487#M486799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-24T18:32:07Z</dc:date>
    </item>
  </channel>
</rss>

