C_BPCustAddrDepdntTaxIndProcTP

DDL: C_BPCUSTADDRDEPDNTTAXINDPROCTP Type: view_entity CONSUMPTION

Customer Address Dependant Tax Indicator

C_BPCustAddrDepdntTaxIndProcTP is a Consumption CDS View that provides data about "Customer Address Dependant Tax Indicator" in SAP S/4HANA. It reads from 1 data source (I_BPCustAddrDepdntTaxIndProcTP) and exposes 42 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, AddressNumber. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPCustAddrDepdntTaxIndProcTP I_BPCustAddrDepdntTaxIndProcTP projection

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_BPCustAddrDepdntTaxProcChgs _Changes $projection.MasterDataChangeProcess = _Changes.MasterDataChangeProcess and $projection.MDChgProcessStep = _Changes.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Changes.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Changes.MDChgProcessSrceObject and $projection.AddressNumber = _Changes.AddressNumber and $projection.BPAssignmentID = _Changes.BPAssignmentID and _Changes.MDChgProcessSourceModified = 'X'
[0..1] I_MDChangeProcessRecordTarget _RecordTarget $projection.MasterDataChangeProcess = _RecordTarget.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _RecordTarget.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _RecordTarget.MDChgProcessSrceObject and _RecordTarget.MDChgProcessSrceObjectTypeCode = '147'

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Customer Address Dependant Tax Indicator view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess MasterDataChangeProcess Process ID
KEY MDChgProcessStep MDChgProcessStep Step Number
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject MDChgProcessSrceObject Source ID
KEY AddressNumber AddressNumber Src Address No
KEY DepartureCountry DepartureCountry Departure Country / Region
KEY CustomerTaxCategory CustomerTaxCategory Tax Cndn Type
KEY BPAssignmentID BPAssignmentID Assignment ID
CountryNamelocalized
ConditionTypeNamelocalized
Customer Customer Sold-to Party
CustomerTaxClassification CustomerTaxClassification Tax Classific.
CustomerTaxClassificationNamelocalized
MDChgProcSrceLastChgdDateTime MDChgProcSrceLastChgdDateTime
MDChgProcessSourceModified MDChgProcessSourceModified Modified
MDChgProcessSourceModifBinary MDChgProcessSourceModifBinary
sstring255
sstring260
sstring260
virtualCustomerNumberDisplaykunnr
MDChgProcKPIRecordTypeText
MDChgProcKPIRecordType _RecordType MDChgProcKPIRecordType
MDChgProcKPIRecordStatusText
MDChgProcessValidationStatus _BusinessPartner MDChgProcessValidationStatus
MDChgProcKPIUpdateStatusText _KPIUpdateStatusText MDChangeProcKPIValueKeyDesc
MDChgProcKPIUpdateStatus MDChgProcKPIUpdateStatus
virtualMDChangeProcessMessageTypesymsgty
virtualMDChangeProcessMessageIDmsgid
virtualMDChangeProcessMessageNumbermsgno
MDChgProcessActivationTarget _BusinessPartner MDChgProcessActivationTarget
MDChgProcKPIRecordTargetText
MDChgProcessReplicationStatus _BusinessPartner MDChgProcessReplicationStatus
MDChgProcReplicationStatusText
_BPProtectedAddress _BPProtectedAddress
_Country _Country
_KPIUpdateStatusText _KPIUpdateStatusText
_RecordMessages _RecordMessages
_RecordType _RecordType
_TaxCategory _TaxCategory
_TaxClassification _TaxClassification
_Changes _Changes
_RecordTarget _RecordTarget

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_BPCustAddrDepdntTaxIndProcTP.
-- 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 C_BPCustAddrDepdntTaxIndProcTP AS
SELECT
  MasterDataChangeProcess,
  MDChgProcessStep,
  MDChgProcessSrceSystem,
  MDChgProcessSrceObject,
  AddressNumber,
  DepartureCountry,
  CustomerTaxCategory,
  BPAssignmentID,
  _Country._Text.CountryName : localized AS CountryNamelocalized,
  _TaxCategory._Text.ConditionTypeName : localized AS ConditionTypeNamelocalized,
  Customer,
  CustomerTaxClassification,
  _TaxClassification._Text.CustomerTaxClassificationName : localized AS CustomerTaxClassificationNamelocalized,
  MDChgProcSrceLastChgdDateTime,
  MDChgProcessSourceModified,
  MDChgProcessSourceModifBinary,
  virtual SourceSystem : abap.sstring( 255 ) AS sstring255,
  virtual MDChgProcModifdObjectsCount : abap.sstring( 260 ) AS sstring260,
  virtual CustomerNumberDisplay : kunnr AS virtualCustomerNumberDisplaykunnr,
  _RecordType._KPIRecordTypeText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIRecordTypeText,
  _RecordType.MDChgProcKPIRecordType AS MDChgProcKPIRecordType,
  _BusinessPartner._KPIRecordStatusText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIRecordStatusText,
  _BusinessPartner.MDChgProcessValidationStatus AS MDChgProcessValidationStatus,
  _KPIUpdateStatusText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIUpdateStatusText,
  MDChgProcKPIUpdateStatus,
  virtual MDChangeProcessMessageType : symsgty AS virtualMDChangeProcessMessageTypesymsgty,
  virtual MDChangeProcessMessageID : msgid AS virtualMDChangeProcessMessageIDmsgid,
  virtual MDChangeProcessMessageNumber : msgno AS virtualMDChangeProcessMessageNumbermsgno,
  _BusinessPartner.MDChgProcessActivationTarget AS MDChgProcessActivationTarget,
  _BusinessPartner._RecordTargetText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIRecordTargetText,
  _BusinessPartner.MDChgProcessReplicationStatus AS MDChgProcessReplicationStatus,
  _BusinessPartner._ReplicationStatusText.MDChangeProcKPIValueKeyDesc AS MDChgProcReplicationStatusText
FROM I_BPCustAddrDepdntTaxIndProcTP
LEFT OUTER JOIN C_BPCustAddrDepdntTaxProcChgs AS _Changes ON MasterDataChangeProcess = _Changes.MasterDataChangeProcess AND MDChgProcessStep = _Changes.MDChgProcessStep AND MDChgProcessSrceSystem = _Changes.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Changes.MDChgProcessSrceObject AND AddressNumber = _Changes.AddressNumber AND BPAssignmentID = _Changes.BPAssignmentID AND _Changes.MDChgProcessSourceModified = 'X'  -- association [0..*]
LEFT OUTER JOIN I_MDChangeProcessRecordTarget AS _RecordTarget ON MasterDataChangeProcess = _RecordTarget.MasterDataChangeProcess AND MDChgProcessSrceSystem = _RecordTarget.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _RecordTarget.MDChgProcessSrceObject AND _RecordTarget.MDChgProcessSrceObjectTypeCode = '147'  -- association [0..1]
;