<?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>Question Re: Error(Doesnot exist) while activating Business logic in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540391#M112362</link>
    <description>&lt;P&gt;Dear Balreddy&lt;/P&gt;
  &lt;P&gt;The script file you have created must be mass enabled.&lt;/P&gt;
  &lt;P&gt;From 1705 release, all the script files are mass enabled by default to enhance system performance.&lt;/P&gt;
  &lt;P&gt;Try to use GetFirst() function in your script&lt;/P&gt;
  &lt;P&gt;Example: this.GetFirst().&lt;EM&gt;&lt;STRONG&gt;Total Revenue &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;OR &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;When you try to create a script file you have to de-select the check box for Mass Enabled.&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regard&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Anant&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2017 02:45:45 GMT</pubDate>
    <dc:creator>anant_acharya</dc:creator>
    <dc:date>2017-11-19T02:45:45Z</dc:date>
    <item>
      <title>Error(Doesnot exist) while activating Business logic</title>
      <link>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaq-p/540390</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;In SDK, using BODL i created structure like below.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;import AP.Common.GDT as apCommonGDT;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; businessobject BusinessObject1 { &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; [Label("Bonusplan ID")] [AlternativeKey] element BonusPlanId:ID; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;[Label("Start date")] element StartDate:Date;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; [Label("End date")] element EndDate:Date;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; [Label("Bonus rate")] element BonusRate:Percent;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; [Label("Target amount date")] element TargetAmount:Amount;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; [Label("Total revenue")] element TotalRevenue:Amount;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; [Label("Total bonus")] element TotalBonus:Amount; &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; action Calculatebonus; }&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Here, successfully activated the Business object.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;In ABSL while activating i am getting an Error and i am unable to see Fields or BO fields in Codecompletion &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;import ABSL;&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt; if (this.TotalRevenue.content &amp;lt; this.targetamount.content) { &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;this.TotalBonus.content = this.totalrevenue.content * (this.bonusrate / 100); &lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;}&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Error : &lt;BR /&gt;Error1 Identifier 'TotalRevenue' does not exist.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Error2 Identifier 'TotalBonus' does not exist.&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;What might be the Problem ?&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Thanks in Advance&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;Balreddy&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2017 10:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaq-p/540390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-15T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error(Doesnot exist) while activating Business logic</title>
      <link>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540391#M112362</link>
      <description>&lt;P&gt;Dear Balreddy&lt;/P&gt;
  &lt;P&gt;The script file you have created must be mass enabled.&lt;/P&gt;
  &lt;P&gt;From 1705 release, all the script files are mass enabled by default to enhance system performance.&lt;/P&gt;
  &lt;P&gt;Try to use GetFirst() function in your script&lt;/P&gt;
  &lt;P&gt;Example: this.GetFirst().&lt;EM&gt;&lt;STRONG&gt;Total Revenue &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;OR &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;When you try to create a script file you have to de-select the check box for Mass Enabled.&lt;EM&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regard&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Anant&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2017 02:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540391#M112362</guid>
      <dc:creator>anant_acharya</dc:creator>
      <dc:date>2017-11-19T02:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error(Doesnot exist) while activating Business logic</title>
      <link>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540392#M112363</link>
      <description>&lt;P&gt;Hello Anant Acharya&lt;/P&gt;
  &lt;P&gt;Thanks for your Response.&lt;/P&gt;
  &lt;P&gt;I am very much New to SAP Cloud application studio.&lt;/P&gt;
  &lt;P&gt;Can you please tell me where can we find that Mass enables checkbox orelse Suggest me Blog or link&lt;BR /&gt;Thanks &lt;BR /&gt;Balreddy&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 05:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540392#M112363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-20T05:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error(Doesnot exist) while activating Business logic</title>
      <link>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540393#M112364</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/85054-cusersi333759desktopmass-enabled.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;Hope this helps to correct your issue.&lt;/P&gt;
  &lt;P&gt;Regard&lt;BR /&gt;Anant&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 06:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540393#M112364</guid>
      <dc:creator>anant_acharya</dc:creator>
      <dc:date>2017-11-20T06:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error(Doesnot exist) while activating Business logic</title>
      <link>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540394#M112365</link>
      <description>&lt;P&gt;Hello Anant,&lt;/P&gt;
  &lt;P&gt;I got the output using Getfirst().&lt;/P&gt;
  &lt;P&gt;I want to know Mass enabled&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 06:29:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/error-doesnot-exist-while-activating-business-logic/qaa-p/540394#M112365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2017-11-20T06:29:43Z</dc:date>
    </item>
  </channel>
</rss>

