<?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: Regarding System fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959782#M67127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;actually i want my program to work in 46B and 620Basis system with same piece of code.&lt;/P&gt;&lt;P&gt;so i used below statement.&lt;/P&gt;&lt;P&gt;If SY-SAPRL &amp;lt; 620.&lt;/P&gt;&lt;P&gt;OPEN DATASET FPATH FOR APPENDING IN TEXT MODE.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;OPEN DATASET FPATH FOR APPENDING IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;But In 46B it gives Compile error.Any idea.&lt;/P&gt;&lt;P&gt;How to solve this issue..&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2005 02:33:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-28T02:33:31Z</dc:date>
    <item>
      <title>Regarding System fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959780#M67125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear guys,&lt;/P&gt;&lt;P&gt;Do we have any System field to retrieve the system Basis Version.&lt;/P&gt;&lt;P&gt;ie..to check whether the system is 46D or 620 Basis version.&lt;/P&gt;&lt;P&gt;How to do you..could somebody help on this.&lt;/P&gt;&lt;P&gt;Ambichan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 02:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959780#M67125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-28T02:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding System fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959781#M67126</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;look at the field &amp;lt;b&amp;gt;sy-saprl&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Kyung woo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 02:22:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959781#M67126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-28T02:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding System fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959782#M67127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;actually i want my program to work in 46B and 620Basis system with same piece of code.&lt;/P&gt;&lt;P&gt;so i used below statement.&lt;/P&gt;&lt;P&gt;If SY-SAPRL &amp;lt; 620.&lt;/P&gt;&lt;P&gt;OPEN DATASET FPATH FOR APPENDING IN TEXT MODE.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;OPEN DATASET FPATH FOR APPENDING IN TEXT MODE ENCODING DEFAULT.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;But In 46B it gives Compile error.Any idea.&lt;/P&gt;&lt;P&gt;How to solve this issue..&lt;/P&gt;&lt;P&gt;ambichan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 02:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959782#M67127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-28T02:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding System fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959783#M67128</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;To check the basis version - check the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_comptab LIKE TABLE OF spam_cvers.&lt;/P&gt;&lt;P&gt;data: wa_comptab LIKE spam_cvers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'OCS_GET_INSTALLED_COMPS'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            tt_comptab       = it_comptab&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            no_release_found = 1&lt;/P&gt;&lt;P&gt;            wrong_release    = 2&lt;/P&gt;&lt;P&gt;            OTHERS           = 99.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                 .&lt;/P&gt;&lt;P&gt;                       IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                       ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table it_comptab into wa_comptab with key component = 'SAP_BASIS'.&lt;/P&gt;&lt;P&gt;write:wa_comptab-component.&lt;/P&gt;&lt;P&gt;write wa_comptab-release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above code, the output will be -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP_BASIS 46C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this code, try comparing the basis version with the variable wa_comptab-release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this code helps ur problem.&lt;/P&gt;&lt;P&gt;Revert in case of any issues else award points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 04:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959783#M67128</guid>
      <dc:creator>sridevi_p</dc:creator>
      <dc:date>2005-06-28T04:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding System fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959784#M67129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi~ ambi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to explain more detail what you want~&lt;/P&gt;&lt;P&gt;I thougt you had an answer for your previous question.&lt;/P&gt;&lt;P&gt;I think SY-SAPRL works at 46B,46C, 620 basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, you said your code has compile error.&lt;/P&gt;&lt;P&gt;what's &amp;lt;b&amp;gt;encoding default&amp;lt;/b&amp;gt;. I couldn't find any help file for that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why don't you get rid of encoding default~&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works after getting rid of the code 'encoding default'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;kyung woo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 04:59:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959784#M67129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-28T04:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding System fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959785#M67130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your syntax error is to be expected. The statement you have written in the else part of your code - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;OPEN DATASET FPATH FOR APPENDING IN TEXT MODE ENCODING DEFAULT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is not applicable for a 46B system. That is becasue, the ENCODING addition will not be available in 46B and the system will give you a syntax error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are able to see the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, you will not be able to write a program that works on both 46B and 620 Basis systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At best, you can write another program in your 620 Basis system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2005 05:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-system-fields/m-p/959785#M67130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-28T05:15:36Z</dc:date>
    </item>
  </channel>
</rss>

