<?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 Assignment error: Overwriting a protected field. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569093#M1659744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From ME22N when we Print Preview, it will refer to ENTRY_NEU subroutine in a zprogram. Now, in that I placed CLEAR ent_retco to avoid the error message - Processing routine ENTRY_NEU in program ZPROGRAM does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is resulting in runtime error mentioned in the subject. I see the same clear statement even in standard programs. How come, it is giving problem in my program alone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help me out in solving this. I tried searching in vain.&lt;/P&gt;&lt;P&gt;Your help is highly appreciable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have even found that NAST is empty in this subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Srinivas Kalluri on Jan 20, 2012 5:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 11:32:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-20T11:32:31Z</dc:date>
    <item>
      <title>Assignment error: Overwriting a protected field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569093#M1659744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From ME22N when we Print Preview, it will refer to ENTRY_NEU subroutine in a zprogram. Now, in that I placed CLEAR ent_retco to avoid the error message - Processing routine ENTRY_NEU in program ZPROGRAM does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is resulting in runtime error mentioned in the subject. I see the same clear statement even in standard programs. How come, it is giving problem in my program alone?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please help me out in solving this. I tried searching in vain.&lt;/P&gt;&lt;P&gt;Your help is highly appreciable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have even found that NAST is empty in this subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Srinivas Kalluri on Jan 20, 2012 5:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 11:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569093#M1659744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-20T11:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment error: Overwriting a protected field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569094#M1659745</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;can you paste the code where exactly the error is coming.. is it in the  line "clear ent_retco"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Venkatesh..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 13:36:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569094#M1659745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-20T13:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment error: Overwriting a protected field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569095#M1659746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the transaction, it appears that SAP is calling your zprogram.  What do you have configured for this output...program name and entry subroutine.  Your ZPROGRAM should have the entry subroutine.  However, the error that you're complaining about is common if you try to change the value of a "USING" or input field to a subroutine or function module.  You can't overwrite the value.  So, copy the value to a variable, do what you need with the custom variable, and use the custom inside your routine...on the other hand, if your parameter is changing or exporting, then you can overwrite the value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 16:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569095#M1659746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-20T16:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment error: Overwriting a protected field.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569096#M1659747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strangely, when I placed the same CLEAR statement within an IF condition, it's working. Not sure of the exact reason why it didn't work outside.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2012 06:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assignment-error-overwriting-a-protected-field/m-p/8569096#M1659747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-21T06:03:39Z</dc:date>
    </item>
  </channel>
</rss>

