I_BPCustCoTextGeneralProcChgs
Customer Company Descr General Changes
I_BPCustCoTextGeneralProcChgs is a Transactional CDS View that provides data about "Customer Company Descr General Changes" in SAP S/4HANA. It reads from 2 data sources (I_BPCustCoTextGeneralProcess, I_BPCustCoTextGeneralProcess) and exposes 49 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, ApplicationTextObjectType. It has 2 associations to related views. Part of development package MDC_CUST_STAGING_BO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustCoTextGeneralProcess | _Current | from |
| I_BPCustCoTextGeneralProcess | _Current | union_all |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BPCustomerProcess | _Customer | $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.MDChgProcessStep = _Customer.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject |
| [1..1] | I_BPCustomerCompanyProcess | _CustomerCompanyCode | $projection.MasterDataChangeProcess = _CustomerCompanyCode.MasterDataChangeProcess and $projection.MDChgProcessStep = _CustomerCompanyCode.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _CustomerCompanyCode.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _CustomerCompanyCode.MDChgProcessSrceObject and $projection.BPAssignmentID = _CustomerCompanyCode.BPAssignmentID and $projection.CompanyCode = _CustomerCompanyCode.CompanyCode |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Customer Company Descr General Changes | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | I_BPCustCoTextGeneralProcess | MasterDataChangeProcess | |
| KEY | MDChgProcessStep | I_BPCustCoTextGeneralProcess | MDChgProcessStep | |
| KEY | MDChgProcessSrceSystem | I_BPCustCoTextGeneralProcess | MDChgProcessSrceSystem | |
| KEY | MDChgProcessSrceObject | I_BPCustCoTextGeneralProcess | MDChgProcessSrceObject | |
| KEY | ApplicationTextObjectType | I_BPCustCoTextGeneralProcess | ApplicationTextObjectType | |
| KEY | TextObjectKey | I_BPCustCoTextGeneralProcess | TextObjectKey | |
| KEY | LongTextID | I_BPCustCoTextGeneralProcess | LongTextID | |
| KEY | Language | I_BPCustCoTextGeneralProcess | Language | |
| KEY | BPAssignmentID | I_BPCustCoTextGeneralProcess | BPAssignmentID | |
| KEY | CompanyCode | I_BPCustCoTextGeneralProcess | CompanyCode | |
| KEY | MDChgProcessModelTableName | _ModelTable | MDChgProcessModelTableName | |
| KEY | MDChangeProcessModelFieldName | |||
| KEY | char1000asMDChgProcessRecordObjectID | |||
| MDChangeProcModelTableDesc | _ModelTable | MDChangeProcModelTableDesc | ||
| MDChangeProcessModelFieldDesc | ||||
| MDChgProcModelNodeExternalName | ||||
| MDChgProcModTableExternalName | ||||
| MDChgProcModFieldExternalName | ||||
| MDChgProcCurrentAttributeValue | ||||
| MDChgProcPrevAttributeValue | ||||
| MDChgProcessAttributeIsChanged | ||||
| MDChgProcessSourceModified | I_BPCustCoTextGeneralProcess | MDChgProcessSourceModified | ||
| LanguageasMDChgProcessRecordObjectText | ||||
| _Customer | _Customer | |||
| MasterDataChangeProcess | ||||
| KEY | MDChgProcessStep | I_BPCustCoTextGeneralProcess | MDChgProcessStep | |
| KEY | MDChgProcessSrceSystem | I_BPCustCoTextGeneralProcess | MDChgProcessSrceSystem | |
| KEY | MDChgProcessSrceObject | I_BPCustCoTextGeneralProcess | MDChgProcessSrceObject | |
| KEY | ApplicationTextObjectType | I_BPCustCoTextGeneralProcess | ApplicationTextObjectType | |
| KEY | TextObjectKey | I_BPCustCoTextGeneralProcess | TextObjectKey | |
| KEY | LongTextID | I_BPCustCoTextGeneralProcess | LongTextID | |
| KEY | Language | I_BPCustCoTextGeneralProcess | Language | |
| KEY | BPAssignmentID | I_BPCustCoTextGeneralProcess | BPAssignmentID | |
| KEY | CompanyCode | I_BPCustCoTextGeneralProcess | CompanyCode | |
| KEY | MDChgProcessModelTableName | _ModelField | MDChgProcessModelTableName | |
| KEY | MDChangeProcessModelFieldName | _ModelField | MDChangeProcessModelFieldName | |
| KEY | char1000asMDChgProcessRecordObjectID | |||
| MDChangeProcModelTableDesc | _ModelField | MDChangeProcModelTableDesc | ||
| MDChangeProcessModelFieldDesc | _ModelField | MDChangeProcessModelFieldDesc | ||
| MDChgProcModelNodeExternalName | ||||
| MDChgProcModTableExternalName | ||||
| MDChgProcModFieldExternalName | ||||
| MDChgProcCurrentAttributeValue | ||||
| MDChgProcPrevAttributeValue | ||||
| MDChgProcessAttributeIsChanged | ||||
| MDChgProcessSourceModified | I_BPCustCoTextGeneralProcess | MDChgProcessSourceModified | ||
| LanguageasMDChgProcessRecordObjectText | ||||
| _Customer | _Customer | |||
| _CustomerCompanyCode | _CustomerCompanyCode |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Customer Company Descr General Changes'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #TRANSACTIONAL
}
@VDM.viewType: #TRANSACTIONAL
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
define view entity I_BPCustCoTextGeneralProcChgs
as select from I_BPCustCoTextGeneralProcess as _Current
left outer to one join I_MDChangeProcessModelTable as _ModelTable on _ModelTable.MDChgProcessModelTableName = 'KNB1_STXH'
and _ModelTable.MDChgProcessSrceObjectTypeCode = '147'
association [1..1] to I_BPCustomerProcess 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_BPCustomerCompanyProcess as _CustomerCompanyCode on $projection.MasterDataChangeProcess = _CustomerCompanyCode.MasterDataChangeProcess
and $projection.MDChgProcessStep = _CustomerCompanyCode.MDChgProcessStep
and $projection.MDChgProcessSrceSystem = _CustomerCompanyCode.MDChgProcessSrceSystem
and $projection.MDChgProcessSrceObject = _CustomerCompanyCode.MDChgProcessSrceObject
and $projection.BPAssignmentID = _CustomerCompanyCode.BPAssignmentID
and $projection.CompanyCode = _CustomerCompanyCode.CompanyCode
{
key _Current.MasterDataChangeProcess,
key _Current.MDChgProcessStep,
key _Current.MDChgProcessSrceSystem,
key _Current.MDChgProcessSrceObject,
key _Current.ApplicationTextObjectType,
key _Current.TextObjectKey,
key _Current.LongTextID,
key _Current.Language,
key _Current.BPAssignmentID,
key _Current.CompanyCode,
key _ModelTable.MDChgProcessModelTableName,
key cast ( '' as fieldname ) as MDChangeProcessModelFieldName,
key cast( concat( concat( concat( concat( concat(
concat( _Current.MDChgProcessSrceSystem,
concat( '%%', _Current.MDChgProcessSrceObject )),
concat( '%%', _Current.BPAssignmentID )),
concat( '%%', _Current.ApplicationTextObjectType )),
concat( '%%', _Current.TextObjectKey )),
concat( '%%', _Current.LongTextID )),
concat( '%%', _Current.Language ))
as abap.char(1000) ) as MDChgProcessRecordObjectID,
_ModelTable.MDChangeProcModelTableDesc,
cast ('' as as4text ) as MDChangeProcessModelFieldDesc,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
cast( 'BusPartCustCompanyTextGeneral' as fieldname ) as MDChgProcModelNodeExternalName,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
cast( 'I_BPCustCoTextGeneralProcessTP' as fieldname ) as MDChgProcModTableExternalName,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_BP_SUPLR_PROCTP_CALC_EXIT'
cast( '' as fieldname ) as MDChgProcModFieldExternalName,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_BP_SUPLR_PROCTP_CALC_EXIT'
cast( '' as abap.char( 260 ) ) as MDChgProcCurrentAttributeValue,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_BP_SUPLR_PROCTP_CALC_EXIT'
cast( '' as abap.char( 260 ) ) as MDChgProcPrevAttributeValue,
@ObjectModel.readOnly: true
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_BP_SUPLR_PROCTP_CALC_EXIT'
cast( '' as boolean ) as MDChgProcessAttributeIsChanged,
_Current.MDChgProcessSourceModified,
concat( concat(
concat( ' ', _Current.TextObjectKey ),
concat( ' ', _Current.LongTextID )),
concat( ' ', _Current.Language )) as MDChgProcessRecordObjectText,
_Customer,
_CustomerCompanyCode
}
where
_Current.MDChgProcessSourceModified = 'I'
or _Current.MDChgProcessSourceModified = 'D'
union all select from I_BPCustCoTextGeneralProcess as _Current
left outer to many join I_MDChangeProcessModelField as _ModelField on _ModelField.MDChgProcessModelTableName = 'KNB1_STXH'
and _ModelField.MDChgProcessSrceObjectTypeCode = '147'
association [1..1] to I_BPCustomerProcess 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_BPCustomerCompanyProcess as _CustomerCompanyCode on $projection.MasterDataChangeProcess = _CustomerCompanyCode.MasterDataChangeProcess
and $projection.MDChgProcessStep = _CustomerCompanyCode.MDChgProcessStep
and $projection.MDChgProcessSrceSystem = _CustomerCompanyCode.MDChgProcessSrceSystem
and $projection.MDChgProcessSrceObject = _CustomerCompanyCode.MDChgProcessSrceObject
and $projection.BPAssignmentID = _CustomerCompanyCode.BPAssignmentID
and $projection.CompanyCode = _CustomerCompanyCode.CompanyCode
{
key _Current.MasterDataChangeProcess,
key _Current.MDChgProcessStep,
key _Current.MDChgProcessSrceSystem,
key _Current.MDChgProcessSrceObject,
key _Current.ApplicationTextObjectType,
key _Current.TextObjectKey,
key _Current.LongTextID,
key _Current.Language,
key _Current.BPAssignmentID,
key _Current.CompanyCode,
key _ModelField.MDChgProcessModelTableName,
key _ModelField.MDChangeProcessModelFieldName,
key cast( concat( concat( concat( concat( concat(
concat( _Current.MDChgProcessSrceSystem,
concat( '%%', _Current.MDChgProcessSrceObject )),
concat( '%%', _Current.BPAssignmentID )),
concat( '%%', _Current.ApplicationTextObjectType )),
concat( '%%', _Current.TextObjectKey )),
concat( '%%', _Current.LongTextID )),
concat( '%%', _Current.Language ))
as abap.char(1000) ) as MDChgProcessRecordObjectID,
_ModelField.MDChangeProcModelTableDesc,
_ModelField.MDChangeProcessModelFieldDesc,
cast( 'BusPartCustCompanyTextGeneral' as fieldname ) as MDChgProcModelNodeExternalName,
cast( 'I_BPCustCoTextGeneralProcessTP' as fieldname ) as MDChgProcModTableExternalName,
cast( '' as fieldname ) as MDChgProcModFieldExternalName,
cast( '' as abap.char( 260 ) ) as MDChgProcCurrentAttributeValue,
cast( '' as abap.char( 260 ) ) as MDChgProcPrevAttributeValue,
cast( '' as boolean ) as MDChgProcessAttributeIsChanged,
_Current.MDChgProcessSourceModified,
concat( concat(
concat( ' ', _Current.TextObjectKey ),
concat( ' ', _Current.LongTextID )),
concat( ' ', _Current.Language )) as MDChgProcessRecordObjectText,
_Customer,
_CustomerCompanyCode
}
where
_Current.MDChgProcessSourceModified = 'X'
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