<?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: Deprecated feature API from component REPOSITORY in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892411#M4465425</link>
    <description>&lt;P&gt;Hello Denis&lt;/P&gt;&lt;P&gt;1) Yeah, a former colleague that works in a big company have done this because they experience the same problem&lt;/P&gt;&lt;P&gt;2) But a colleague that works on BI told me that some functions are not available on HANA Cockpit (Calculation View handling, etc...)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Marco&lt;/P&gt;</description>
    <pubDate>Wed, 22 May 2019 07:17:04 GMT</pubDate>
    <dc:creator>mbortolon</dc:creator>
    <dc:date>2019-05-22T07:17:04Z</dc:date>
    <item>
      <title>Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaq-p/11892402</link>
      <description>&lt;P&gt;Hello experts&lt;/P&gt;
  &lt;P&gt;In a fresh installation(only "server") of SAP HANA DB 2.0 SPS03(036) my tenants and the systemdb sometimes show this warning:&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1645652-alert.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1645653-view.png" /&gt;&lt;/P&gt;
  &lt;P&gt;For this warning there is the note: &lt;STRONG&gt;2465027 - Deprecation of SAP HANA extended application services, classic model and SAP HANA Repository&lt;BR /&gt;&lt;/STRONG&gt;(starting from the father note: 2425002 - SAP HANA 2.0: Deprecations reported by the HANA statistics server)&lt;/P&gt;
  &lt;P&gt;but I cannot understand why I have to do these activities in a fresh system, it not an upgrade from HANA 1.0!&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;BR /&gt;Marco&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 08:07:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaq-p/11892402</guid>
      <dc:creator>mbortolon</dc:creator>
      <dc:date>2019-03-26T08:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892403#M4465417</link>
      <description>&lt;P&gt;Yes, the most issues are seen in post upgrade and not new installation.&lt;BR /&gt;However, the feature API from component REPOSITORY is deprecated. It is part of XS classic model and we suggest you to migrate it to XS advanced model as mentioned in Note &lt;A href="https://launchpad.support.sap.com/#/notes/2465027"&gt;2465027&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The feature still works in your current database revision but will be disabled in a future release. This alert serves as a reminder for the migration to XS advanced model.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 11:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892403#M4465417</guid>
      <dc:creator>HakanHaslaman</dc:creator>
      <dc:date>2019-04-05T11:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892404#M4465418</link>
      <description>&lt;P&gt;Hello Hakan&lt;BR /&gt;The problem is that is a fresh installation and we are not using XS at all. I've already run the queries of the note 2465027 but the result is null, so I cannot understand what I've to migrate &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 11:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892404#M4465418</guid>
      <dc:creator>mbortolon</dc:creator>
      <dc:date>2019-04-05T11:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892405#M4465419</link>
      <description>&lt;P&gt;Please open a support incident, because this looks to be a different issues as known and needs to be deeper investigated.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 11:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892405#M4465419</guid>
      <dc:creator>HakanHaslaman</dc:creator>
      <dc:date>2019-04-05T11:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892406#M4465420</link>
      <description>&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;As mentioned in the SAP Note &lt;STRONG&gt;2425002 - SAP
HANA 2.0: Deprecation reported by the HANA statistics server,&lt;/STRONG&gt; there are
several features that are been deprecated. Deprecation is the first step where
SAP provide time to user to either move that functionality or do no use it as
this feature is going to be decommissioned in future SPS. &lt;/P&gt;&lt;P&gt;If you see, API feature of REPOSITORY
component is deprecated from HANA 2.0 SP 01. So from where this API feature is
been called or used in the system? If you run query you will get the LAST_TIMESTAMP when this
feature was been called. &lt;/P&gt;&lt;P&gt;SELECT * FROM M_FEATURE_USAGE WHERE IS_DEPRECATED='TRUE'&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1660461-1.png" /&gt;&lt;/P&gt;&lt;P&gt;If you scroll to right of the result, you
will get STATEMENT_ID and STATEMENT_HASH, so you can search SQL Plan Cache with
this STATEMENT_HASH. If you are not able to find the STATEMENT_HASH, kindly put
the filter and check the query that ran on LAST_TIMESTAMP value. You will find
that every time there is an increase in CALL_COUNT of API feature when it calls
below procedure.&lt;/P&gt;&lt;P&gt;call SYS.REPOSITORY_REST (?,?)&lt;/P&gt;&lt;P&gt;Authorization to call this procedure is inside CONTENT_ADMIN and MODELING role which is the default role you get when a SYSTEM user
is created during installation. If you remove above roles, then you won't be
able to see anything under Content section. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1660462-2.png" /&gt;&lt;/P&gt;&lt;P&gt;So, REPOSITORY_REST is called every
time you try to check content as this procedure validate authorization of user.
So, I feel this procedure is part of API feature for REPOSITORY component. &lt;/P&gt;&lt;P&gt;If you see, I have CALL_COUNT for M_TENANTS
feature which is again deprecated as per SAP Note. I got this alert as I
manually ran query “SELECT * FROM M_TENANTS” from my console. So when M_TENANT table has been
called, it increases the CALL_COUNT in M_FEATURE_USAGE&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1660463-3.png" /&gt;&lt;/P&gt;&lt;P&gt;I think SAP has set an alert, monitoring M_FEATURE_USAGE table and alert users that the deprecated feature has been
used, so kindly take appropriate action. So if you try to use any of the deprecated feature it will give you alert. But frequency of this alert depends on how often you call that deprecated feature. M_TENANT alert I got only once as I manually called that table. &lt;/P&gt;&lt;P&gt;So if you use any of the IS_DEPRECATED=TRUE feature, you will get an alert. Either you can stop this alert if you are confident that you don't use any feature mentioned in SAP Note 2425002 which is deprecated. &lt;/P&gt;&lt;P&gt;NOTE: This is my analysis and I’m not SAP
employee. You can raise incident and confirm. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dennis Padia&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 23:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892406#M4465420</guid>
      <dc:creator>dennispadia</dc:creator>
      <dc:date>2019-04-05T23:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892407#M4465421</link>
      <description>&lt;P&gt;Sorry for been late&lt;/P&gt;&lt;P&gt;I'm pretty sure(99.9%) that this error is due the access to SYSTEMDB/tenants with SAP HANA STUDIO. If I use only HANA COCKPIT I haven't this message. Every time I double-click on a tenant in my HANA DB the next deprecated functions check gives me the error!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 08:07:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892407#M4465421</guid>
      <dc:creator>mbortolon</dc:creator>
      <dc:date>2019-05-08T08:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892408#M4465422</link>
      <description>&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;Yes you are right it happens only from HANA Studio as from cockpit you cannot access catalog folder which calls the procedure &lt;STRONG&gt;call SYS.REPOSITORY_REST (?,?)&lt;/STRONG&gt; to check authorization for content folder. As this alert is set to run once a day, if anyone from team has accessed catalog, the call count will gradually increase and this alert will stay.&lt;/P&gt;&lt;P&gt;Below is my observation, you can try at your side as well. Perform this in HANA Database &amp;gt; 2.0 SPS 03&lt;/P&gt;&lt;P&gt;Open SQL Plan &amp;gt; filter using "repository". Note call SYS.REPOSITORY_REST (?,?) last execution time. It you find no row, then proceed with next step&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1681685-1.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Also execute below query and note down the call_count and last_timestamp&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1681687-2.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Now expand "content" folder in HANA studio.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1681689-3.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Now again go back to SQL plan cache or refresh if you have already have the screen. The time stamp is now changed.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1681690-4.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Also check below query, the call count is now increased.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1681691-5.jpg" /&gt;&lt;/P&gt;&lt;P&gt;This is just my observation. There might be other cases as well where it calls API feature which I'm still exploring.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 03:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892408#M4465422</guid>
      <dc:creator>dennispadia</dc:creator>
      <dc:date>2019-05-09T03:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892409#M4465423</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;This is clear but how can I avoid this problem? I've 2 SYSTEMDB and 8 tenants, it means 10 emails at day plus the others&lt;BR /&gt;PS: I can use the CATALOG also from HANA Cockpit&lt;BR /&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1686586-cockpit.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 13:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892409#M4465423</guid>
      <dc:creator>mbortolon</dc:creator>
      <dc:date>2019-05-17T13:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892410#M4465424</link>
      <description>&lt;P&gt;Hello Marco,&lt;/P&gt;&lt;P&gt;CATALOG usage from HANA cockpit doesn't call the procedure REPOSITORY_REST to check authorization. Instead it uses some other method for authorization check. I can suggest two solution but I'm not from SAP so this words are basically my take on this issue. &lt;/P&gt;&lt;P&gt;1) You can disable this alert as you have mentioned that you have installed new HANA database. So you won't be using any old functionality which you want to be alerted for. I feel SAP has incorporated this alert so user can take necessary action before they can actually decomission functionality. &lt;/P&gt;&lt;P&gt;2) Start using HANA Cockpit as all new advancement is coming in cockpit only and chances are HANA studio will be going out of support in near future &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dennis. &lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 16:28:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892410#M4465424</guid>
      <dc:creator>dennispadia</dc:creator>
      <dc:date>2019-05-17T16:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892411#M4465425</link>
      <description>&lt;P&gt;Hello Denis&lt;/P&gt;&lt;P&gt;1) Yeah, a former colleague that works in a big company have done this because they experience the same problem&lt;/P&gt;&lt;P&gt;2) But a colleague that works on BI told me that some functions are not available on HANA Cockpit (Calculation View handling, etc...)&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Marco&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 07:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892411#M4465425</guid>
      <dc:creator>mbortolon</dc:creator>
      <dc:date>2019-05-22T07:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892412#M4465426</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;I'm getting exactly the same messages, going through your steps. Plus some I don't know where they came from (Repository API).&lt;/P&gt;&lt;P&gt;Just for my understanding, do you ignore these error messages, because they are coming during "normal" Studio usage?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 11:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892412#M4465426</guid>
      <dc:creator>Tobias_P</dc:creator>
      <dc:date>2019-06-17T11:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Deprecated feature API from component REPOSITORY</title>
      <link>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892413#M4465427</link>
      <description>&lt;P&gt;Hello &lt;SPAN class="mention-scrubbed"&gt;tobias.ptz&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;This alerts starts coming from HANA 2.0 SPS 03 as the feature API got deprecated from that very version and in future it will be decommissioned. I'm ignoring this alert as we don't have any native development on classic HANA repository which uses this feature. (future development will be on HDI). If it's you fresh installation and you don't perform development on classic HANA repository you can ignore this alert. But if you want to find exact workaround, you can raise message to SAP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 17:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/deprecated-feature-api-from-component-repository/qaa-p/11892413#M4465427</guid>
      <dc:creator>dennispadia</dc:creator>
      <dc:date>2019-06-17T17:15:06Z</dc:date>
    </item>
  </channel>
</rss>

