You can Install the Role /BLTG/MAPI_EMBEDDED_ANALYTICS via Transport Request (download Metadata API - S4 Role.zip ).
Depending on the approach you have chosen, you will need a HANA or an ERP, S/4HANA, ECC user. The tables which have to be authorized can be copied from the list below. In case of an ERP, S/4HANA, ECC user the tables should be included into authorization object S_TABU_NAM with activity 03 (Display). Besides that the authorization object S_RFC is needed with RFC_TYPE = FUGR and FUNC, activity 16 (execute) and the following characteristics in RFC_NAME:
-
/BLTG/*
-
DDIF_FIELDINFO_GET
-
EM_GET_NUMBER_OF_ENTRIES
-
RFCPING
-
RFC_GET_FUNCTION_INTERFACE
-
RFC_READ_TABLE
-
RFC_SYSTEM_INFO
-
RPY_PROGRAM_READ (in case of Code Scan)
In addition, the authorization object S_DEVELOP with the following values is required for the code scan:
|
Field |
Value |
|---|---|
|
DEVCLASS |
* |
|
OBJTYPE |
* |
|
OBJNAME |
* |
|
P_GROUP |
* |
|
ACTVT |
03 (Display) |
If you use the HANA connection you can create a hdbrole in your HANA database with the following statements to have all the rights you need.
If you want to make it easier you can simply authorize the schema of your ERP system with select rights.
role <your package name>::<your role name>{
--Object Level
catalog sql object "<your S/4 schema name>"."DD26I": SELECT;
catalog sql object "<your S/4 schema name>"."DD02L": SELECT;
catalog sql object "<your S/4 schema name>"."DD02T": SELECT;
catalog sql object "<your S/4 schema name>"."TADIR": SELECT;
catalog sql object "<your S/4 schema name>"."DF14L": SELECT;
catalog sql object "<your S/4 schema name>"."ROOSOURCE": SELECT;
catalog sql object "<your S/4 schema name>"."ROOSOURCET": SELECT;
catalog sql object "<your S/4 schema name>"."DDLDEPENDENCY": SELECT;
catalog sql object "<your S/4 schema name>"."TDEVC": SELECT;
catalog sql object "<your S/4 schema name>"."TSTC": SELECT;
catalog sql object "<your S/4 schema name>"."TSTCP": SELECT;
catalog sql object "<your S/4 schema name>"."TSTCT": SELECT;
catalog sql object "<your S/4 schema name>"."SEOCLASSDF": SELECT;
catalog sql object "<your S/4 schema name>"."TCESYST": SELECT;
catalog sql object "<your S/4 schema name>"."TFDIR": SELECT;
catalog sql object "<your S/4 schema name>"."DDDDLSRC": SELECT;
catalog sql object "<your S/4 schema name>"."DDDDLSRCT": SELECT;
catalog sql object "<your S/4 schema name>"."CVERS": SELECT;
catalog sql object "<your S/4 schema name>"."DF14T": SELECT;
--Column Level
catalog sql object "<your S/4 schema name>"."DD27I": SELECT;
catalog sql object "<your S/4 schema name>"."DD03T": SELECT;
catalog sql object "<your S/4 schema name>"."DD03L": SELECT;
catalog sql object "<your S/4 schema name>"."DD04T": SELECT;
catalog sql object "<your S/4 schema name>"."DDCDS_CONDITION": SELECT;
catalog sql object "<your S/4 schema name>"."DD03ND": SELECT;
catalog sql object "<your S/4 schema name>"."DD02BND": SELECT;
catalog sql object "<your S/4 schema name>"."DDCDS_SELECTLIST": SELECT;
catalog sql object "<your S/4 schema name>"."DDFIELDANNO": SELECT;
--Code Scan
catalog sql object "<your S/4 schema name>"."REPOSRC": SELECT;
}