25.10.2016 Views

SAP HANA Predictive Analysis Library (PAL)

sap_hana_predictive_analysis_library_pal_en

sap_hana_predictive_analysis_library_pal_en

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.3 Security<br />

This section provides detailed security information which can help administrator and architects answer some<br />

common questions.<br />

Role Assignment<br />

For each AFL area, there are two roles. You must be assigned one of the roles to execute the functions in the<br />

library. The roles for the <strong>PAL</strong> library are automatically created when the Application Function <strong>Library</strong> (AFL) is<br />

installed. The role names are:<br />

AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE<br />

AFL__SYS_AFL_AFL<strong>PAL</strong>_EXECUTE_WITH_GRANT_OPTION<br />

Note<br />

There are 2 underscores between AFL and SYS.<br />

To generate or drop <strong>PAL</strong> procedures, you also need the following role, which is created when <strong>SAP</strong> <strong>HANA</strong> is<br />

installed:<br />

AFLPM_CREATOR_ERASER_EXECUTE<br />

Note<br />

Once the above roles are automatically created, they cannot be dropped. In other words, even when an area<br />

with all its objects is dropped and re-created during system startup, the user still keeps these roles<br />

originally granted.<br />

2.4 Checking <strong>PAL</strong> Installation<br />

To confirm that the <strong>PAL</strong> functions were installed successfully, you can check the following three public views:<br />

●<br />

●<br />

●<br />

sys.afl_areas<br />

sys.afl_packages<br />

sys.afl_functions<br />

These views are granted to the PUBLIC role and can be accessed by anyone.<br />

To check the views, run the following SQL statements:<br />

SELECT * FROM "SYS"."AFL_AREAS" WHERE AREA_NAME = 'AFL<strong>PAL</strong>';<br />

SELECT * FROM "SYS"."AFL_PACKAGES" WHERE AREA_NAME = 'AFL<strong>PAL</strong>';<br />

SELECT * FROM "SYS"."AFL_FUNCTIONS" WHERE AREA_NAME = 'AFL<strong>PAL</strong>';<br />

8 P U B L I C<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Predictive</strong> <strong>Analysis</strong> <strong>Library</strong> (<strong>PAL</strong>)<br />

Getting Started with <strong>PAL</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!