C_APS_IAM_BR_APP

DDL: C_APS_IAM_BR_APP SQL: CAPS_BR_APP Type: view Package: SR_APS_IAM_BROLE_D_ODATA

Apps of a Business Role

C_APS_IAM_BR_APP is a CDS View that provides data about "Apps of a Business Role" in SAP S/4HANA. It reads from 1 data source (APS_IAM_BR_APP_TP) and exposes 18 fields with key field uuid. It has 8 associations to related views. Part of development package SR_APS_IAM_BROLE_D_ODATA.

Data Sources (1)

SourceAliasJoin Type
APS_IAM_BR_APP_TP app from

Associations (8)

CardinalityTargetAliasCondition
[0..1] aps_iam_c_app scope scope.app_id = app.AppId
[0..1] r_aps_iam_app_core_apptype _appType app.AppId = _appType.AppID
[0..1] APS_IAM_BR_APPT _text app.AppId = _text.AppId and _text.Langu = $session.system_language
[0..1] APS_IAM_BR_APPTCODE _tcode app.AppId = _tcode.app_id
[1..1] C_APS_IAM_BR _Root $projection.parent_uuid = _Root.UUID
[0..1] APS_TADIR _Component _Component.obj_name = $projection.AppId and _Component.object = 'SIA6' and _Component.pgmid = 'R3TR'
[0..1] i_aps_iam_price_cat_app _Price _Price.AppID = app.AppId
[0..*] APS_IAM_BR_CS_APS _ComScen _ComScen.IamAppId = app.AppId

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CAPS_BR_APP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
EndUserText.label Apps of a Business Role view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY uuid APS_IAM_BR_APP_TP uuid Waste Partner UUID
parent_uuid APS_IAM_BR_APP_TP parent_uuid UUID
AppId APS_IAM_BR_APP_TP AppId Transaction code
Status APS_IAM_BR_APP_TP Status Workflow Status
ActiveInd APS_IAM_BR_APP_TP ActiveInd
AssignmentType APS_IAM_BR_APP_TP AssignmentType
AppAssignmentType
IsDeactivatable
Description _text Description Well Code Des.
Ttext _tcode Ttext Text
Tcode _tcode Tcode Undefined range (can be used for patch levels)
ach _Component ach Applic. Component
AppTypeText _appType AppTypeText
CommunicationScenarioId _ComScen CommunicationScenarioId
CommunicationScenarioName _ComScen Description Well Code Des.
PriceCategoryText _Price PriceCategoryText
_Root _Root
_Component _Component

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 C_APS_IAM_BR_APP.
-- 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: CAPS_BR_APP

CREATE VIEW C_APS_IAM_BR_APP AS
SELECT
  app.uuid AS uuid,
  app.parent_uuid AS parent_uuid,
  app.AppId AS AppId,
  app.Status AS Status,
  app.ActiveInd AS ActiveInd,
  app.AssignmentType AS AssignmentType,
  '' AS AppAssignmentType,
  cast('' as boole_d) AS IsDeactivatable,
  _text.Description AS Description,
  _tcode.Ttext AS Ttext,
  _tcode.Tcode AS Tcode,
  _Component.ach AS ach,
  _appType.AppTypeText AS AppTypeText,
  _ComScen.CommunicationScenarioId AS CommunicationScenarioId,
  _ComScen.Description AS CommunicationScenarioName,
  _Price.PriceCategoryText AS PriceCategoryText
FROM APS_IAM_BR_APP_TP AS app
LEFT OUTER JOIN aps_iam_c_app AS scope ON scope.app_id = app.AppId  -- association [0..1]
LEFT OUTER JOIN r_aps_iam_app_core_apptype AS _appType ON app.AppId = _appType.AppID  -- association [0..1]
LEFT OUTER JOIN APS_IAM_BR_APPT AS _text ON app.AppId = _text.AppId AND _text.Langu = $session.system_language  -- association [0..1]
LEFT OUTER JOIN APS_IAM_BR_APPTCODE AS _tcode ON app.AppId = _tcode.app_id  -- association [0..1]
LEFT OUTER JOIN C_APS_IAM_BR AS _Root ON parent_uuid = _Root.UUID  -- association [1..1]
LEFT OUTER JOIN APS_TADIR AS _Component ON _Component.obj_name = AppId AND _Component.object = 'SIA6' AND _Component.pgmid = 'R3TR'  -- association [0..1]
LEFT OUTER JOIN i_aps_iam_price_cat_app AS _Price ON _Price.AppID = app.AppId  -- association [0..1]
LEFT OUTER JOIN APS_IAM_BR_CS_APS AS _ComScen ON _ComScen.IamAppId = app.AppId  -- association [0..*]
;