I_BPCustomerTaxIndicatorGov
BP Customer Tax Indicator Governance
I_BPCustomerTaxIndicatorGov is a Transactional CDS View that provides data about "BP Customer Tax Indicator Governance" in SAP S/4HANA. It reads from 2 data sources (I_BPCustomerTaxIndicator, I_BPCustomerTaxIndicatorProc) and exposes 19 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, DepartureCountry. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustomerTaxIndicator | I_BPCustomerTaxIndicator | union_all |
| I_BPCustomerTaxIndicatorProc | I_BPCustomerTaxIndicatorProc | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BPCustomerGov | _Customer | $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.MDChgProcessStep = _Customer.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.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 Tax Indicator Governance | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | MasterDataChangeProcess | ||
| KEY | MDChgProcessStep | MDChgProcessStep | ||
| KEY | MDChgProcessSrceSystem | MDChgProcessSrceSystem | ||
| KEY | MDChgProcessSrceObject | MDChgProcessSrceObject | ||
| KEY | DepartureCountry | DepartureCountry | ||
| KEY | CustomerTaxCategory | CustomerTaxCategory | ||
| BPAssignmentID | BPAssignmentID | |||
| Customer | Customer | |||
| CustomerTaxClassification | CustomerTaxClassification | |||
| KEY | MDChgProcessStep | |||
| KEY | MDChgProcessSrceSystem | |||
| KEY | MDChgProcessSrceObject | |||
| KEY | DepartureCountry | DepartureCountry | ||
| KEY | CustomerTaxCategory | CustomerTaxCategory | ||
| BPAssignmentID | ||||
| Customer | Customer | |||
| CustomerTaxClassification | CustomerTaxClassification | |||
| MasterDataIsCurrent | ||||
| _Customer | _Customer |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'BP Customer Tax Indicator Governance'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #XL,
dataClass: #MIXED
}
@VDM.viewType: #TRANSACTIONAL
define view entity I_BPCustomerTaxIndicatorGov
as select from I_BPCustomerTaxIndicatorProc
association [1..1] to I_BPCustomerGov as _Customer on $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess
and $projection.MDChgProcessStep = _Customer.MDChgProcessStep
and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem
and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject
association [0..1] to I_MasterDataChangeProcess as _MasterDataChangeProcess on $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess
{
key MasterDataChangeProcess,
key MDChgProcessStep,
key MDChgProcessSrceSystem,
key MDChgProcessSrceObject,
key DepartureCountry,
key CustomerTaxCategory,
BPAssignmentID,
Customer,
CustomerTaxClassification,
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,
/* Associations */
_Customer
}
union all select from I_BPCustomerTaxIndicator
association [1..1] to I_BPCustomerGov as _Customer on $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess
and $projection.MDChgProcessStep = _Customer.MDChgProcessStep
and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem
and $projection.MDChgProcessSrceObject = _Customer.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,
key DepartureCountry,
key CustomerTaxCategory,
'000000000002' as BPAssignmentID,
Customer,
CustomerTaxClassification,
cast( 'X' as abap_boolean preserving type ) as MasterDataIsCurrent,
/* Associations */
_Customer
}
where
_CustomerToBusinessPartner._BusinessPartner.BusinessPartner is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BPCUSTOMERTAXINDICATOR",
"I_BPCUSTOMERTAXINDICATORPROC",
"I_BUSINESSPARTNER",
"I_CUSTOMERTOBUSINESSPARTNER",
"I_MASTERDATACHANGEPROCESS"
],
"ASSOCIATED":
[
"I_BPCUSTOMERGOV"
],
"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