<?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: Error while activating enhancement in va02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-activating-enhancement-in-va02/m-p/6647755#M1444431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saad nIsar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure the error has nothing to do with your coding. When you activate MV45AFZB then you activate the complete SAPMV45A. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to syntax check the main program SAPMV45A?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if you change the code to comments&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*if sy-uname ne vbak-ernam.
*  if vbap-ABGRU eq 'Z1'.
*    MESSAGE 'You are not Allowed to Change RM Block' TYPE 'I'.
*  ENDIF.
*ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you active the code then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Mar 2010 08:38:07 GMT</pubDate>
    <dc:creator>TMNielsen</dc:creator>
    <dc:date>2010-03-13T08:38:07Z</dc:date>
    <item>
      <title>Error while activating enhancement in va02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-activating-enhancement-in-va02/m-p/6647754#M1444430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear gurus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have made an enhancement point in program &lt;STRONG&gt;MV45AFZB&lt;/STRONG&gt; t-code &lt;STRONG&gt;VA02&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-uname ne vbak-ernam.
  if vbap-ABGRU eq 'Z1'.
    MESSAGE 'You are not Allowed to Change RM Block' TYPE 'I'.
    ENDIF.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Code is syntactically correct&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i activate it it give error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SQL error in the database when accessing a table.

Missing RAISING Clause in Interface
    Program                                 CL_ENH_CONTRACT===============CP
    Include                                 CL_ENH_CONTRACT===============CM00Z
    Row                                     1
    Module type                             (METHOD)
    Module Name                             GET_ALL_INACTIVES_FOR_OBJECT


 SELECT * FROM dwinactiv INTO TABLE inactives
   94    WHERE obj_name IN l_sel
   95    AND  ( object = 'REPS' OR
   96 *          object = 'CINC' OR
   97 *          object = 'INTF' OR
   98           object = 'METH' OR
   99           object = 'TYPE' OR
  100           object = 'FUNC' ).
  101 *BREAK STORTZ.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Saad nIsar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 06:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-activating-enhancement-in-va02/m-p/6647754#M1444430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-13T06:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while activating enhancement in va02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-activating-enhancement-in-va02/m-p/6647755#M1444431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saad nIsar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure the error has nothing to do with your coding. When you activate MV45AFZB then you activate the complete SAPMV45A. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to syntax check the main program SAPMV45A?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if you change the code to comments&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*if sy-uname ne vbak-ernam.
*  if vbap-ABGRU eq 'Z1'.
*    MESSAGE 'You are not Allowed to Change RM Block' TYPE 'I'.
*  ENDIF.
*ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you active the code then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 08:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-activating-enhancement-in-va02/m-p/6647755#M1444431</guid>
      <dc:creator>TMNielsen</dc:creator>
      <dc:date>2010-03-13T08:38:07Z</dc:date>
    </item>
  </channel>
</rss>

