C_BPDataController

DDL: C_BPDATACONTROLLER SQL: CBPDATACTRLR Type: view CONSUMPTION Package: VDM_MD_BP

Consumption view for BP Data Controller

C_BPDataController is a Consumption CDS View that provides data about "Consumption view for BP Data Controller" in SAP S/4HANA. It reads from 1 data source (I_BPDataControllerTP) and exposes 19 fields with key fields BusinessPartner, DataControllerName, BPDataPurposeText. It has 5 associations to related views. Part of development package VDM_MD_BP.

Data Sources (1)

SourceAliasJoin Type
I_BPDataControllerTP BPDataController from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerCustomer _BusinessPartnerCustomer $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner
[1..1] C_BusinessPartnerSupplier _BusinessPartnerSupplier $projection.BusinessPartner = _BusinessPartnerSupplier.BusinessPartner
[0..1] I_BPDataControllerVH _DataController $projection.DataControllerNameForEdit = _DataController.DataCtrlName
[0..1] C_PrpsControllerAssignmentVH _DataControllerPurpose $projection.BPDataPurposeTextForEdit = _DataControllerPurpose.CentralPurposeName and $projection.DataControllerNameForEdit = _DataControllerPurpose.DataControllerName

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CBPDATACTRLR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
EndUserText.label Consumption view for BP Data Controller view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view
Search.searchable true view
UI.headerInfo.typeName Data Controller view
UI.headerInfo.typeNamePlural Data Controllers view
VDM.viewType #CONSUMPTION view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartner I_BPDataControllerTP BusinessPartner Issuing Authority
KEY DataControllerName I_BPDataControllerTP DataControllerName
KEY BPDataPurposeText I_BPDataControllerTP BPDataPurposeText
BusinessPartnerForEdit I_BPDataControllerTP BusinessPartnerForEdit Busn. Partner
DataControllerNameForEdit I_BPDataControllerTP DataControllerNameForEdit
BPDataPurposeTextForEdit I_BPDataControllerTP BPDataPurposeTextForEdit
AuthorizationGroup I_BPDataControllerTP AuthorizationGroup AuthorizGroup
IsDerivationSet IsDerivationSet DC Derv. Ind.
DataControlAssignmentStatus DataControlAssignmentStatus Asgmt. Status
PurposeDerived PurposeDerived Pur. Derv. Ind.
PurposeType PurposeType Purpose Type
BusinessPurposeFlag BusinessPurposeFlag
DataControllerDescription _DataController DataCtrlDescription
CentralPurposeDescription _DataControllerPurpose CentralPurposeDescription
_BusinessPartner _BusinessPartner
_BusinessPartnerCustomer _BusinessPartnerCustomer
_BusinessPartnerSupplier _BusinessPartnerSupplier
_DataController _DataController
_DataControllerPurpose _DataControllerPurpose

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_BPDataController.
-- 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: CBPDATACTRLR

CREATE VIEW C_BPDataController AS
SELECT
  BPDataController.BusinessPartner AS BusinessPartner,
  BPDataController.DataControllerName AS DataControllerName,
  BPDataController.BPDataPurposeText AS BPDataPurposeText,
  BPDataController.BusinessPartnerForEdit AS BusinessPartnerForEdit,
  BPDataController.DataControllerNameForEdit AS DataControllerNameForEdit,
  BPDataController.BPDataPurposeTextForEdit AS BPDataPurposeTextForEdit,
  BPDataController.AuthorizationGroup AS AuthorizationGroup,
  IsDerivationSet,
  DataControlAssignmentStatus,
  PurposeDerived,
  PurposeType,
  BusinessPurposeFlag,
  _DataController.DataCtrlDescription AS DataControllerDescription,
  _DataControllerPurpose.CentralPurposeDescription AS CentralPurposeDescription
FROM I_BPDataControllerTP AS BPDataController
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerSupplier AS _BusinessPartnerSupplier ON BusinessPartner = _BusinessPartnerSupplier.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_BPDataControllerVH AS _DataController ON DataControllerNameForEdit = _DataController.DataCtrlName  -- association [0..1]
LEFT OUTER JOIN C_PrpsControllerAssignmentVH AS _DataControllerPurpose ON BPDataPurposeTextForEdit = _DataControllerPurpose.CentralPurposeName AND DataControllerNameForEdit = _DataControllerPurpose.DataControllerName  -- association [0..1]
;