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 125 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, MDChgProcessStep. It has 3 associations to related views. Part of development package MDC_CUST_GOV_BO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustomerProcess | I_BPCustomerProcess | from |
| I_Customer | I_Customer | union_all |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MasterDataChangeProcess | _MasterDataChangeProcess | $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess |
| [0..1] | I_BusinessPartnerGov | _BusinessPartnerGov | $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess and $projection.MDChgProcessStep = _BusinessPartnerGov.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject |
| [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 (125)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | MasterDataChangeProcess | Process ID | |
| KEY | MDChgProcessStep | MDChgProcessStep | Step Number | |
| KEY | MDChgProcessSrceSystem | MDChgProcessSrceSystem | Source System | |
| KEY | MDChgProcessSrceObject | MDChgProcessSrceObject | Source ID | |
| BPAssignmentID | BPAssignmentID | Assignment ID | ||
| Customer | Customer | Sold-to Party | ||
| OrderIsBlockedForCustomer | OrderIsBlockedForCustomer | Order block | ||
| ExpressTrainStationName | ExpressTrainStationName | Express station | ||
| TrainStationName | TrainStationName | Train station | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| BillingIsBlockedForCustomer | BillingIsBlockedForCustomer | Billing block | ||
| FiscalAddress | FiscalAddress | Fiscal address | ||
| AlternativePayerAccount | AlternativePayerAccount | Alternat.payer | ||
| CustomerCorporateGroup | CustomerCorporateGroup | Group | ||
| CustomerAccountGroup | CustomerAccountGroup | Account group | ||
| CustomerClassification | CustomerClassification | Customer Class. | ||
| Supplier | Supplier | Supplier | ||
| DeliveryIsBlocked | DeliveryIsBlocked | Delivery block | ||
| DeletionIndicator | DeletionIndicator | Deletion Ind. | ||
| NielsenRegion | NielsenRegion | Nielsen ID | ||
| County | County | Wyoming County | ||
| CityCode | CityCode | IATA: City | ||
| PostingIsBlocked | PostingIsBlocked | Posting Block | ||
| VATLiability | VATLiability | Liable for VAT | ||
| AlternativePayeeIsAllowed | AlternativePayeeIsAllowed | Payee in doc. | ||
| IndustryCode1 | IndustryCode1 | Industry code 1 | ||
| IndustryCode2 | IndustryCode2 | Industry code 2 | ||
| IndustryCode3 | IndustryCode3 | Industry code 3 | ||
| IndustryCode4 | IndustryCode4 | Industry code 4 | ||
| IndustryCode5 | IndustryCode5 | Industry code 5 | ||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | Attribute 1 | ||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | Attribute 2 | ||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | Attribute 3 | ||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | Attribute 4 | ||
| FreeDefinedAttribute05 | FreeDefinedAttribute05 | Attribute 5 | ||
| FreeDefinedAttribute06 | FreeDefinedAttribute06 | Attribute 6 | ||
| FreeDefinedAttribute07 | FreeDefinedAttribute07 | Attribute 7 | ||
| FreeDefinedAttribute08 | FreeDefinedAttribute08 | Attribute 8 | ||
| FreeDefinedAttribute09 | FreeDefinedAttribute09 | Attribute 9 | ||
| FreeDefinedAttribute10 | FreeDefinedAttribute10 | Attribute 10 | ||
| DataMediumExchangeIndicator | DataMediumExchangeIndicator | DME Rec. Code | ||
| CustomerConditionGroup1 | CustomerConditionGroup1 | Condition grp 1 | ||
| CustomerConditionGroup2 | CustomerConditionGroup2 | Condition grp 2 | ||
| CustomerConditionGroup3 | CustomerConditionGroup3 | Condition grp 3 | ||
| CustomerConditionGroup4 | CustomerConditionGroup4 | Condition grp 4 | ||
| CustomerConditionGroup5 | CustomerConditionGroup5 | Condition grp 5 | ||
| ResponsibleType | ResponsibleType | Tax Type | ||
| TaxInvoiceRepresentativeName | TaxInvoiceRepresentativeName | Rep's Name | ||
| BusinessType | BusinessType | Type of Business | ||
| IndustryType | IndustryType | Type of Industry | ||
| DataControllerSet | DataControllerSet | Data Ctrlr. Set | ||
| DataController1 | DataController1 | Data Controller | ||
| DataController2 | DataController2 | Data Controller | ||
| DataController3 | DataController3 | Data Controller | ||
| DataController4 | DataController4 | Data Controller | ||
| DataController5 | DataController5 | Data Controller | ||
| DataController6 | DataController6 | Data Controller | ||
| DataController7 | DataController7 | Data Controller | ||
| DataController8 | DataController8 | Data Controller | ||
| DataController9 | DataController9 | Data Controller | ||
| DataController10 | DataController10 | Data Controller | ||
| Origin | ||||
| KEY | MDChgProcessStep | Step Number | ||
| KEY | MDChgProcessSrceSystem | Source System | ||
| KEY | MDChgProcessSrceObject | Source ID | ||
| BPAssignmentID | Assignment ID | |||
| Customer | Customer | Sold-to Party | ||
| OrderIsBlockedForCustomer | OrderIsBlockedForCustomer | Order block | ||
| ExpressTrainStationName | ExpressTrainStationName | Express station | ||
| TrainStationName | TrainStationName | Train station | ||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| BillingIsBlockedForCustomer | BillingIsBlockedForCustomer | Billing block | ||
| FiscalAddress | FiscalAddress | Fiscal address | ||
| AlternativePayerAccount | AlternativePayerAccount | Alternat.payer | ||
| CustomerCorporateGroup | CustomerCorporateGroup | Group | ||
| CustomerAccountGroup | CustomerAccountGroup | Account group | ||
| CustomerClassification | CustomerClassification | Customer Class. | ||
| Supplier | Supplier | Supplier | ||
| DeliveryIsBlocked | DeliveryIsBlocked | Delivery block | ||
| DeletionIndicator | DeletionIndicator | Deletion Ind. | ||
| NielsenRegion | NielsenRegion | Nielsen ID | ||
| County | County | Wyoming County | ||
| CityCode | CityCode | IATA: City | ||
| PostingIsBlocked | PostingIsBlocked | Posting Block | ||
| VATLiability | VATLiability | Liable for VAT | ||
| AlternativePayeeIsAllowed | AlternativePayeeIsAllowed | Payee in doc. | ||
| IndustryCode1 | IndustryCode1 | Industry code 1 | ||
| IndustryCode2 | IndustryCode2 | Industry code 2 | ||
| IndustryCode3 | IndustryCode3 | Industry code 3 | ||
| IndustryCode4 | IndustryCode4 | Industry code 4 | ||
| IndustryCode5 | IndustryCode5 | Industry code 5 | ||
| FreeDefinedAttribute01 | FreeDefinedAttribute01 | Attribute 1 | ||
| FreeDefinedAttribute02 | FreeDefinedAttribute02 | Attribute 2 | ||
| FreeDefinedAttribute03 | FreeDefinedAttribute03 | Attribute 3 | ||
| FreeDefinedAttribute04 | FreeDefinedAttribute04 | Attribute 4 | ||
| FreeDefinedAttribute05 | FreeDefinedAttribute05 | Attribute 5 | ||
| FreeDefinedAttribute06 | FreeDefinedAttribute06 | Attribute 6 | ||
| FreeDefinedAttribute07 | FreeDefinedAttribute07 | Attribute 7 | ||
| FreeDefinedAttribute08 | FreeDefinedAttribute08 | Attribute 8 | ||
| FreeDefinedAttribute09 | FreeDefinedAttribute09 | Attribute 9 | ||
| FreeDefinedAttribute10 | FreeDefinedAttribute10 | Attribute 10 | ||
| DataMediumExchangeIndicator | DataMediumExchangeIndicator | DME Rec. Code | ||
| CustomerConditionGroup1 | CustomerConditionGroup1 | Condition grp 1 | ||
| CustomerConditionGroup2 | CustomerConditionGroup2 | Condition grp 2 | ||
| CustomerConditionGroup3 | CustomerConditionGroup3 | Condition grp 3 | ||
| CustomerConditionGroup4 | CustomerConditionGroup4 | Condition grp 4 | ||
| CustomerConditionGroup5 | CustomerConditionGroup5 | Condition grp 5 | ||
| ResponsibleType | ResponsibleType | Tax Type | ||
| TaxInvoiceRepresentativeName | TaxInvoiceRepresentativeName | Rep's Name | ||
| BusinessType | BusinessType | Type of Business | ||
| IndustryType | IndustryType | Type of Industry | ||
| MasterDataIsCurrent | ||||
| DataControllerSet | DataControllerSet | Data Ctrlr. Set | ||
| DataController1 | DataController1 | Data Controller | ||
| DataController2 | DataController2 | Data Controller | ||
| DataController3 | DataController3 | Data Controller | ||
| DataController4 | DataController4 | Data Controller | ||
| DataController5 | DataController5 | Data Controller | ||
| DataController6 | DataController6 | Data Controller | ||
| DataController7 | DataController7 | Data Controller | ||
| DataController8 | DataController8 | Data Controller | ||
| DataController9 | DataController9 | Data Controller | ||
| DataController10 | DataController10 | Data Controller | ||
| Origin | ||||
| _BusinessPartnerGov | _BusinessPartnerGov |
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 I_BPCustomerGov.
-- 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.
CREATE VIEW I_BPCustomerGov AS
SELECT
MasterDataChangeProcess,
MDChgProcessStep,
MDChgProcessSrceSystem,
MDChgProcessSrceObject,
BPAssignmentID,
Customer,
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,
DataControllerSet,
DataController1,
DataController2,
DataController3,
DataController4,
DataController5,
DataController6,
DataController7,
DataController8,
DataController9,
DataController10,
cast( 'P' as abap.char(1) ) AS Origin,
cast( 'X' as abap_boolean preserving type ) AS MasterDataIsCurrent
FROM I_BPCustomerProcess
LEFT OUTER JOIN I_MasterDataChangeProcess AS _MasterDataChangeProcess ON MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess -- association [0..1]
LEFT OUTER JOIN I_BusinessPartnerGov AS _BusinessPartnerGov ON MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess AND MDChgProcessStep = _BusinessPartnerGov.MDChgProcessStep AND MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject -- association [0..1]
LEFT OUTER JOIN I_CustomerToBusinessPartner AS _CustomerToBusinessPartner ON Customer = _CustomerToBusinessPartner.Customer -- association [1..1]
-- UNION ALL with additional select branch(es): I_Customer
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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