p_datacontrollersdmstatus
Utility view for MDBPCV_DC SDM status
p_datacontrollersdmstatus is a Basic CDS View that provides data about "Utility view for MDBPCV_DC SDM status" in SAP S/4HANA. It reads from 12 data sources and exposes 25 fields with key fields partner, idnumber, idtype, data_ctrlr, purpose. Part of development package VSCORE.
Data Sources (12)
| Source | Alias | Join Type |
|---|---|---|
| but000 | but | inner |
| but000 | but | inner |
| but000 | but | inner |
| but000 | but | inner |
| cvi_cust_ct_link | cp | inner |
| cvi_vend_ct_link | cp | inner |
| cvi_cust_link | cust | inner |
| but_dc_link | link | from |
| but_dc_link | link | union |
| but_dc_link | link | union |
| but_dc_link | link | union |
| cvi_vend_link | vend | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | partner | but_dc_link | partner | |
| KEY | idnumber | cvi_cust_link | customer | |
| KEY | idtype | |||
| KEY | data_ctrlr | but_dc_link | data_ctrlr | |
| KEY | purpose | but_dc_link | purpose | |
| asgmt_status | but_dc_link | asgmt_status | ||
| partner | ||||
| KEY | idnumber | cvi_vend_link | vendor | |
| KEY | idtype | |||
| KEY | data_ctrlr | but_dc_link | data_ctrlr | |
| KEY | purpose | but_dc_link | purpose | |
| asgmt_status | but_dc_link | asgmt_status | ||
| partner | ||||
| KEY | idnumber | cvi_vend_ct_link | customer_cont | |
| KEY | idtype | |||
| KEY | data_ctrlr | but_dc_link | data_ctrlr | |
| KEY | purpose | but_dc_link | purpose | |
| asgmt_status | but_dc_link | asgmt_status | ||
| partner | ||||
| KEY | idnumber | cvi_vend_ct_link | vendor_cont | |
| KEY | idtype | |||
| KEY | data_ctrlr | but_dc_link | data_ctrlr | |
| KEY | purpose | but_dc_link | purpose | |
| asgmt_status | but_dc_link | asgmt_status | ||
| sdm_version |
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Utility view for MDBPCV_DC SDM status'
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #TRANSACTIONAL
}
@AccessControl.personalData.blocking: #REQUIRED
@VDM.private: true
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
define view entity p_datacontrollersdmstatus
as select from but_dc_link as link
inner join but000 as but on but.partner = link.partner
inner join cvi_cust_link as cust on cust.partner_guid = but.partner_guid
left outer to one join mdbpcv_dc as cv_dc on cust.customer = cv_dc.idnumber
and cv_dc.idtype = 'D'
and cv_dc.data_ctrlr = link.data_ctrlr
and cv_dc.purpose = link.purpose
{
key link.partner,
key cust.customer as idnumber,
key cast( 'D' as char1 ) as idtype,
key link.data_ctrlr,
key link.purpose,
link.asgmt_status,
cast( '00' as char2 ) as sdm_version
}
where
cv_dc.idnumber is null
and link.asgmt_status != 'I'
union select from but_dc_link as link
inner join but000 as but on but.partner = link.partner
inner join cvi_vend_link as vend on vend.partner_guid = but.partner_guid
left outer to one join mdbpcv_dc as cv_dc on vend.vendor = cv_dc.idnumber
and cv_dc.idtype = 'K'
and cv_dc.data_ctrlr = link.data_ctrlr
and cv_dc.purpose = link.purpose
{
key link.partner,
key vend.vendor as idnumber,
key cast( 'K' as char1 ) as idtype,
key link.data_ctrlr,
key link.purpose,
link.asgmt_status,
cast( '00' as char2 ) as sdm_version
}
where
cv_dc.idnumber is null
and link.asgmt_status != 'I'
union select from but_dc_link as link
inner join but000 as but on but.partner = link.partner
inner join cvi_cust_ct_link as cp on cp.partner_guid = but.partner_guid
left outer to one join mdbpcv_dc as cv_dc on cp.customer_cont = cv_dc.idnumber
and cv_dc.idtype = 'C'
and cv_dc.data_ctrlr = link.data_ctrlr
and cv_dc.purpose = link.purpose
{
key link.partner,
key cp.customer_cont as idnumber,
key cast( 'C' as char1 ) as idtype,
key link.data_ctrlr,
key link.purpose,
link.asgmt_status,
cast( '00' as char2 ) as sdm_version
}
where
cv_dc.idnumber is null
and link.asgmt_status != 'I'
union select from but_dc_link as link
inner join but000 as but on but.partner = link.partner
inner join cvi_vend_ct_link as cp on cp.partner_guid = but.partner_guid
left outer to one join mdbpcv_dc as cv_dc on cp.vendor_cont = cv_dc.idnumber
and cv_dc.idtype = 'C'
and cv_dc.data_ctrlr = link.data_ctrlr
and cv_dc.purpose = link.purpose
{
key link.partner,
key cp.vendor_cont as idnumber,
key cast( 'C' as char1 ) as idtype,
key link.data_ctrlr,
key link.purpose,
link.asgmt_status,
cast( '00' as char2 ) as sdm_version
}
where
cv_dc.idnumber is null
and link.asgmt_status != 'I'
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