APS_IAM_BR_RES_DEF
Get restriction metadata of roles
APS_IAM_BR_RES_DEF is a CDS View that provides data about "Get restriction metadata of roles" in SAP S/4HANA. It reads from 12 data sources and exposes 20 fields with key fields BuRoleId, BuRoleUUID, FieldName, BuRoleUUID, FieldName. Part of development package SR_APS_IAM_BROLE_D2.
Data Sources (12)
| Source | Alias | Join Type |
|---|---|---|
| APS_IAM_BER_RES_APPS_ASS | app_assigns | union |
| aps_iam_w_bc_app | app_cat | left_outer |
| APS_IAM_BR_RES_CAT_ASIGN | buc | from |
| aps_iam_w_buc_rt | buc_rt | inner |
| aps_iam_w_bu_cat | bucat | inner |
| aps_iam_w_bu_cat | cat | left_outer |
| p_aps_iam_feature_scope_c | feature_toggle | left_outer |
| p_aps_iam_feature_scope_c | feature_toggle | left_outer |
| aps_iam_w_rtfld | fld | inner |
| aps_iam_w_rtfld | fld | inner |
| aps_iam_w_rt | rt | inner |
| aps_iam_w_rt | rt | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APS_IAM_BRRES_D | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Get restriction metadata of roles | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BuRoleId | APS_IAM_BR_RES_CAT_ASIGN | bu_role_id | WorklistID |
| KEY | BuRoleUUID | APS_IAM_BR_RES_CAT_ASIGN | bu_role_uuid | UUID |
| KEY | FieldName | aps_iam_w_rtfld | field_name | VAT Declaration Fld |
| rtype_idelseGENERALendasrestriction_type | ||||
| ReadAccess | aps_iam_w_buc_rt | read_access | TRUE | |
| WriteAccess | aps_iam_w_buc_rt | write_access | TRUE | |
| F4Access | aps_iam_w_buc_rt | f4_access | TRUE | |
| ReadAccessStatus | aps_iam_w_buc_rt | read_access_status | ||
| WriteAccessStatus | aps_iam_w_buc_rt | write_access_status | ||
| F4AccessStatus | aps_iam_w_buc_rt | f4_access_status | ||
| BroleIdasBuRoleId | ||||
| KEY | BuRoleUUID | APS_IAM_BER_RES_APPS_ASS | parent_uuid | UUID |
| KEY | FieldName | aps_iam_w_rtfld | field_name | VAT Declaration Fld |
| rtype_idelseGENERALendasrestriction_type | ||||
| ReadAccess | APS_IAM_BER_RES_APPS_ASS | ReadAccess | TRUE | |
| WriteAccess | APS_IAM_BER_RES_APPS_ASS | WriteAccess | TRUE | |
| F4Access | APS_IAM_BER_RES_APPS_ASS | F4Access | TRUE | |
| ReadAccessStatus | APS_IAM_BER_RES_APPS_ASS | ReadAccessStatus | ||
| WriteAccessStatus | APS_IAM_BER_RES_APPS_ASS | WriteAccessStatus | ||
| F4AccessStatus | APS_IAM_BER_RES_APPS_ASS | F4AccessStatus |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view APS_IAM_BR_RES_DEF.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: APS_IAM_BRRES_D
CREATE VIEW APS_IAM_BR_RES_DEF AS
SELECT
buc.bu_role_id AS BuRoleId,
buc.bu_role_uuid AS BuRoleUUID,
fld.field_name AS FieldName,
case rt.aggregation_category when '1' then fld.rtype_id else 'GENERAL' end as restriction_type AS rtype_idelseGENERALendasrestriction_type,
buc_rt.read_access AS ReadAccess,
buc_rt.write_access AS WriteAccess,
buc_rt.f4_access AS F4Access,
buc_rt.read_access_status AS ReadAccessStatus,
buc_rt.write_access_status AS WriteAccessStatus,
buc_rt.f4_access_status AS F4AccessStatus,
rt.aggregation_category as aggregation_category AS BroleIdasBuRoleId
FROM APS_IAM_BR_RES_CAT_ASIGN AS buc
INNER JOIN aps_iam_w_buc_rt AS buc_rt ON /* join condition not captured in parsed metadata */
INNER JOIN aps_iam_w_bu_cat AS bucat ON /* join condition not captured in parsed metadata */
INNER JOIN aps_iam_w_rt AS rt ON /* join condition not captured in parsed metadata */
INNER JOIN aps_iam_w_rtfld AS fld ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN p_aps_iam_feature_scope_c AS feature_toggle ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_iam_w_bc_app AS app_cat ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_iam_w_bu_cat AS cat ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): APS_IAM_BER_RES_APPS_ASS
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA