<?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: Syntax Error in Function Group in Upgradation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520451#M1749366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really shows how &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;dangerous &lt;/STRONG&gt;&lt;/SPAN&gt;it is to copy SAP standard. It really should &lt;STRONG&gt;not &lt;/STRONG&gt;be done except as a very last resort, and even then very carefully documented, with minimal possible changes. As soon as SAP change something, you have to redevelop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow the idea has crept in that taking a copy of SAP standard code and modifying it for your own purposes is safe and sensible. &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;It is neither safe, nor sensible. DON'T DO IT.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is &lt;STRONG&gt;MORE&lt;/STRONG&gt; dangerous to make a copy than it is to modify the original. It is of the same level of risk as&lt;STRONG&gt; directly modifying SAP tables&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effectively, you've got a syntax error in your own program. It's nothing to do with SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lecture over:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you must do is work out the difference between your Z modules and the OLD standard. Then systematically apply the same changes to a copy of the new modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A far better approach would be to determine what changes to the standard functionality were actually made - maybe there's a specification somewhere - and why they were made. What is the required business functionality. Throw away your horrible cloned code, and work out how to &lt;STRONG&gt;enhance&lt;/STRONG&gt; the SAP original, using the &lt;STRONG&gt;enhancement framework&lt;/STRONG&gt; to make it do what you need it to do. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jun 2013 14:32:02 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2013-06-06T14:32:02Z</dc:date>
    <item>
      <title>Syntax Error in Function Group in Upgradation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520450#M1749365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #575757; font-size: 10pt;"&gt;I am facing one issue in Upgrade program. We have copied function group "SO04" to Z Functin group. In side our Function group we have 5 Function modules.&amp;nbsp; During activating custom function group it is showing Syntax error as REC_TAB is not declared as DATA. But when I check standard function&amp;nbsp; group and when i click on REC_TAB it navigate me to function module "SO_DYNP_OBJECT_SEND" . In our case we have a copy of this function module "ZSO_DYNP_OBJECT_SEND" and when i click on REC_TAB it is asking me to declare .and this error is coming from subroutine "&lt;SPAN style="font-size: 10pt;"&gt;address_possible_number_show&lt;/SPAN&gt;" and this Subroutine is called from module "&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;MODULE &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;D0100_OKCODE&lt;/SPAN&gt;" of screen 1000. and "Call screen 1000" statement is there in Function module "ZSO_DYNP_OBJECT_SEND".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #575757; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #575757; font-size: 10pt;"&gt;In Z function Group program is not able to access the variables of "ZSO_DYNP_OBJECT_SEND" in screen 1000 but in standard it is able to access. Please suggest me how to fix this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Susant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 13:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520450#M1749365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-06T13:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Function Group in Upgradation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520451#M1749366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This really shows how &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;dangerous &lt;/STRONG&gt;&lt;/SPAN&gt;it is to copy SAP standard. It really should &lt;STRONG&gt;not &lt;/STRONG&gt;be done except as a very last resort, and even then very carefully documented, with minimal possible changes. As soon as SAP change something, you have to redevelop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow the idea has crept in that taking a copy of SAP standard code and modifying it for your own purposes is safe and sensible. &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;It is neither safe, nor sensible. DON'T DO IT.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is &lt;STRONG&gt;MORE&lt;/STRONG&gt; dangerous to make a copy than it is to modify the original. It is of the same level of risk as&lt;STRONG&gt; directly modifying SAP tables&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effectively, you've got a syntax error in your own program. It's nothing to do with SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lecture over:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you must do is work out the difference between your Z modules and the OLD standard. Then systematically apply the same changes to a copy of the new modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A far better approach would be to determine what changes to the standard functionality were actually made - maybe there's a specification somewhere - and why they were made. What is the required business functionality. Throw away your horrible cloned code, and work out how to &lt;STRONG&gt;enhance&lt;/STRONG&gt; the SAP original, using the &lt;STRONG&gt;enhancement framework&lt;/STRONG&gt; to make it do what you need it to do. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 14:32:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520451#M1749366</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2013-06-06T14:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Function Group in Upgradation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520452#M1749367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Susanta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check each and every fm and declarations and screens.There is no other option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 14:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520452#M1749367</guid>
      <dc:creator>madhu_vadlamani</dc:creator>
      <dc:date>2013-06-06T14:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Error in Function Group in Upgradation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520453#M1749368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you checked which include is this variable declared and whether you copied that include in you FG or not, did you created the screen 1000 for your custom FM&amp;nbsp; ...&lt;BR /&gt;I guess as Matthews told you need to have a careful look on the standard FM and Z- FM and apply the changes to correct this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 15:12:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-error-in-function-group-in-upgradation/m-p/9520453#M1749368</guid>
      <dc:creator>former_member193464</dc:creator>
      <dc:date>2013-06-06T15:12:14Z</dc:date>
    </item>
  </channel>
</rss>

