I_BPCustomerGov
BP Customer Data Governance
I_BPCustomerGov is a Composite CDS View that provides data about "BP Customer Data Governance" in SAP S/4HANA. It reads from 2 data sources (I_BPCustomerProcess, I_Customer) and exposes 123 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, MDChgProcessStep. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustomerProcess | I_BPCustomerProcess | from |
| I_Customer | I_Customer | union_all |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartnerGov | _BusinessPartnerGov | $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess and $projection.MDChgProcessStep = _BusinessPartnerGov.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject |
| [0..1] | I_MasterDataChangeProcess | _MasterDataChangeProcess | $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess |
| [1..1] | I_CustomerToBusinessPartner | _CustomerToBusinessPartner | $projection.Customer = _CustomerToBusinessPartner.Customer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BP Customer Data Governance | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (123)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | MasterDataChangeProcess | ||
| KEY | MDChgProcessStep | MDChgProcessStep | ||
| KEY | MDChgProcessSrceSystem | MDChgProcessSrceSystem | ||
| KEY | MDChgProcessSrceObject | MDChgProcessSrceObject | ||
| BPAssignmentID | BPAssignmentID | |||
| Customer | Customer | |||
| OrderIsBlockedForCustomer | OrderIsBlockedForCustomer | |||
| ExpressTrainStationName | ExpressTrainStationName | |||
| TrainStationName | TrainStationName | |||
| AuthorizationGroup | AuthorizationGroup | |||
| BillingIsBlockedForCustomer | BillingIsBlockedForCustomer | |||
| FiscalAddress | FiscalAddress | |||
| AlternativePayerAccount | AlternativePayerAccount | |||
| CustomerCorporateGroup | CustomerCorporateGroup | |||
| CustomerAccountGroup | CustomerAccountGroup | |||
| CustomerClassification | CustomerClassification | |||
| Supplier | Supplier | |||
| DeliveryIsBlocked | DeliveryIsBlocked | |||
| DeletionIndicator | DeletionIndicator | |||
| NielsenRegion | NielsenRegion | |||
| County | County | |||
| CityCode | CityCode | |||
| PostingIsBlocked | PostingIsBlocked | |||
| VATLiability | VATLiability | |||
| AlternativePayeeIsAllowed | AlternativePayeeIsAllowed | |||
| IndustryCode1 | IndustryCode1 | |||
| IndustryCode2 | IndustryCode2 | |||
| IndustryCode3 | IndustryCode3 | |||
| IndustryCode4 | IndustryCode4 | |||
| IndustryCode5 | IndustryCode5 | |||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | |||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | |||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | |||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | |||
| FreeDefinedAttribute05 | FreeDefinedAttribute05 | |||
| FreeDefinedAttribute06 | FreeDefinedAttribute06 | |||
| FreeDefinedAttribute07 | FreeDefinedAttribute07 | |||
| FreeDefinedAttribute08 | FreeDefinedAttribute08 | |||
| FreeDefinedAttribute09 | FreeDefinedAttribute09 | |||
| FreeDefinedAttribute10 | FreeDefinedAttribute10 | |||
| DataMediumExchangeIndicator | DataMediumExchangeIndicator | |||
| CustomerConditionGroup1 | CustomerConditionGroup1 | |||
| CustomerConditionGroup2 | CustomerConditionGroup2 | |||
| CustomerConditionGroup3 | CustomerConditionGroup3 | |||
| CustomerConditionGroup4 | CustomerConditionGroup4 | |||
| CustomerConditionGroup5 | CustomerConditionGroup5 | |||
| ResponsibleType | ResponsibleType | |||
| TaxInvoiceRepresentativeName | TaxInvoiceRepresentativeName | |||
| BusinessType | BusinessType | |||
| IndustryType | IndustryType | |||
| DataControllerSet | DataControllerSet | |||
| DataController1 | DataController1 | |||
| DataController2 | DataController2 | |||
| DataController3 | DataController3 | |||
| DataController4 | DataController4 | |||
| DataController5 | DataController5 | |||
| DataController6 | DataController6 | |||
| DataController7 | DataController7 | |||
| DataController8 | DataController8 | |||
| DataController9 | DataController9 | |||
| DataController10 | DataController10 | |||
| KEY | MDChgProcessStep | |||
| KEY | MDChgProcessSrceSystem | |||
| KEY | MDChgProcessSrceObject | |||
| BPAssignmentID | ||||
| Customer | Customer | |||
| OrderIsBlockedForCustomer | OrderIsBlockedForCustomer | |||
| ExpressTrainStationName | ExpressTrainStationName | |||
| TrainStationName | TrainStationName | |||
| AuthorizationGroup | AuthorizationGroup | |||
| BillingIsBlockedForCustomer | BillingIsBlockedForCustomer | |||
| FiscalAddress | FiscalAddress | |||
| AlternativePayerAccount | AlternativePayerAccount | |||
| CustomerCorporateGroup | CustomerCorporateGroup | |||
| CustomerAccountGroup | CustomerAccountGroup | |||
| CustomerClassification | CustomerClassification | |||
| Supplier | Supplier | |||
| DeliveryIsBlocked | DeliveryIsBlocked | |||
| DeletionIndicator | DeletionIndicator | |||
| NielsenRegion | NielsenRegion | |||
| County | County | |||
| CityCode | CityCode | |||
| PostingIsBlocked | PostingIsBlocked | |||
| VATLiability | VATLiability | |||
| AlternativePayeeIsAllowed | AlternativePayeeIsAllowed | |||
| IndustryCode1 | IndustryCode1 | |||
| IndustryCode2 | IndustryCode2 | |||
| IndustryCode3 | IndustryCode3 | |||
| IndustryCode4 | IndustryCode4 | |||
| IndustryCode5 | IndustryCode5 | |||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | |||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | |||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | |||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | |||
| FreeDefinedAttribute05 | FreeDefinedAttribute05 | |||
| FreeDefinedAttribute06 | FreeDefinedAttribute06 | |||
| FreeDefinedAttribute07 | FreeDefinedAttribute07 | |||
| FreeDefinedAttribute08 | FreeDefinedAttribute08 | |||
| FreeDefinedAttribute09 | FreeDefinedAttribute09 | |||
| FreeDefinedAttribute10 | FreeDefinedAttribute10 | |||
| DataMediumExchangeIndicator | DataMediumExchangeIndicator | |||
| CustomerConditionGroup1 | CustomerConditionGroup1 | |||
| CustomerConditionGroup2 | CustomerConditionGroup2 | |||
| CustomerConditionGroup3 | CustomerConditionGroup3 | |||
| CustomerConditionGroup4 | CustomerConditionGroup4 | |||
| CustomerConditionGroup5 | CustomerConditionGroup5 | |||
| ResponsibleType | ResponsibleType | |||
| TaxInvoiceRepresentativeName | TaxInvoiceRepresentativeName | |||
| BusinessType | BusinessType | |||
| IndustryType | IndustryType | |||
| MasterDataIsCurrent | ||||
| DataControllerSet | DataControllerSet | |||
| DataController1 | DataController1 | |||
| DataController2 | DataController2 | |||
| DataController3 | DataController3 | |||
| DataController4 | DataController4 | |||
| DataController5 | DataController5 | |||
| DataController6 | DataController6 | |||
| DataController7 | DataController7 | |||
| DataController8 | DataController8 | |||
| DataController9 | DataController9 | |||
| DataController10 | DataController10 | |||
| _BusinessPartnerGov | _BusinessPartnerGov |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'BP Customer Data Governance'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #XXL,
dataClass: #TRANSACTIONAL
}
@VDM.viewType: #COMPOSITE
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
define view entity I_BPCustomerGov
as select from I_BPCustomerProcess
association [1..1] to I_BusinessPartnerGov as _BusinessPartnerGov on $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess
and $projection.MDChgProcessStep = _BusinessPartnerGov.MDChgProcessStep
and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem
and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject
association [0..1] to I_MasterDataChangeProcess as _MasterDataChangeProcess on $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess
{
key MasterDataChangeProcess,
key MDChgProcessStep,
key MDChgProcessSrceSystem,
key MDChgProcessSrceObject,
BPAssignmentID,
Customer,
// Country,
// Region,
OrderIsBlockedForCustomer,
ExpressTrainStationName,
TrainStationName,
AuthorizationGroup,
BillingIsBlockedForCustomer,
FiscalAddress,
AlternativePayerAccount,
CustomerCorporateGroup,
CustomerAccountGroup,
CustomerClassification,
Supplier,
DeliveryIsBlocked,
DeletionIndicator,
NielsenRegion,
County,
CityCode,
PostingIsBlocked,
VATLiability,
AlternativePayeeIsAllowed,
IndustryCode1,
IndustryCode2,
IndustryCode3,
IndustryCode4,
IndustryCode5,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedAttribute05,
FreeDefinedAttribute06,
FreeDefinedAttribute07,
FreeDefinedAttribute08,
FreeDefinedAttribute09,
FreeDefinedAttribute10,
DataMediumExchangeIndicator,
CustomerConditionGroup1,
CustomerConditionGroup2,
CustomerConditionGroup3,
CustomerConditionGroup4,
CustomerConditionGroup5,
ResponsibleType,
TaxInvoiceRepresentativeName,
BusinessType,
IndustryType,
cast(
case when MDChgProcessStep = _MasterDataChangeProcess.MDChgProcessCurrentStepNumber and _MasterDataChangeProcess.MDChgProcessCurrentStepNumber <> '0000' or
MDChgProcessStep = '0001' and _MasterDataChangeProcess.MDChgProcessCurrentStepNumber = '0000' then 'X'
else ' '
end as abap_boolean preserving type
) as MasterDataIsCurrent,
DataControllerSet,
DataController1,
DataController2,
DataController3,
DataController4,
DataController5,
DataController6,
DataController7,
DataController8,
DataController9,
DataController10,
_BusinessPartnerGov
}
where
MDChgProcessSourceModified <> 'D'
union all
select from I_Customer
association [1..1] to I_BusinessPartnerGov as _BusinessPartnerGov on $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess
and $projection.MDChgProcessStep = _BusinessPartnerGov.MDChgProcessStep
and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem
and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject
association [1..1] to I_CustomerToBusinessPartner as _CustomerToBusinessPartner on $projection.Customer = _CustomerToBusinessPartner.Customer
{
key '000000000000' as MasterDataChangeProcess,
key '0000' as MDChgProcessStep,
key '' as MDChgProcessSrceSystem,
key _CustomerToBusinessPartner._BusinessPartner.BusinessPartner as MDChgProcessSrceObject,
'000000000002' as BPAssignmentID,
Customer,
// Country,
// Region,
OrderIsBlockedForCustomer,
ExpressTrainStationName,
TrainStationName,
AuthorizationGroup,
BillingIsBlockedForCustomer,
FiscalAddress,
AlternativePayerAccount,
CustomerCorporateGroup,
CustomerAccountGroup,
CustomerClassification,
Supplier,
DeliveryIsBlocked,
DeletionIndicator,
NielsenRegion,
County,
CityCode,
PostingIsBlocked,
VATLiability,
AlternativePayeeIsAllowed,
IndustryCode1,
IndustryCode2,
IndustryCode3,
IndustryCode4,
IndustryCode5,
FreeDefinedAttribute01,
FreeDefinedAttribute02,
FreeDefinedAttribute03,
FreeDefinedAttribute04,
FreeDefinedAttribute05,
FreeDefinedAttribute06,
FreeDefinedAttribute07,
FreeDefinedAttribute08,
FreeDefinedAttribute09,
FreeDefinedAttribute10,
DataMediumExchangeIndicator,
CustomerConditionGroup1,
CustomerConditionGroup2,
CustomerConditionGroup3,
CustomerConditionGroup4,
CustomerConditionGroup5,
ResponsibleType,
TaxInvoiceRepresentativeName,
BusinessType,
IndustryType,
cast( 'X' as abap_boolean preserving type ) as MasterDataIsCurrent,
DataControllerSet,
DataController1,
DataController2,
DataController3,
DataController4,
DataController5,
DataController6,
DataController7,
DataController8,
DataController9,
DataController10,
_BusinessPartnerGov
}
where
_CustomerToBusinessPartner._BusinessPartner.BusinessPartner is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BPCUSTOMERPROCESS",
"I_BUSINESSPARTNER",
"I_CUSTOMER",
"I_CUSTOMERTOBUSINESSPARTNER",
"I_MASTERDATACHANGEPROCESS"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNERGOV"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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