I_CAMasterDataID

DDL: I_CAMASTERDATAID Type: view_entity BASIC

Stammdaten ID

I_CAMasterDataID is a Basic CDS View that provides data about "Stammdaten ID" in SAP S/4HANA. It reads from 1 data source (dfkkbix_md) and exposes 19 fields with key field CAMasterDataID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dfkkbix_md dfkkbix_md from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_ContractAccountHeader _ContractAccountHeader $projection.ContractAccount = _ContractAccountHeader.ContractAccount
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_CASubApplication _CASubApplication $projection.CASubApplication = _CASubApplication.CASubApplication
[0..1] I_CAProviderContractItem _CAProviderContractItem $projection.CAProviderContractItemNumber = _CAProviderContractItem.CAProviderContractItemNumber and $projection.CAContract = _CAProviderContractItem.CAProviderContract
[1..*] I_CAMasterDataIDText _CAMasterDataIDText $projection.CAMasterDataID = _CAMasterDataIDText.CAMasterDataID
[0..1] I_ContractAccountPartner _ContractAccountPartner $projection.ContractAccount = _ContractAccountPartner.ContractAccount and $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Stammdaten ID view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey CAMasterDataID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY CAMasterDataID md_id Master Data ID
BusinessPartner gpart Tech. BPartner
ContractAccount vkont Tech. CtrAcct
CAContract vtref Contract
CASubApplication subap Subapplication
CAProviderContractItemNumber vtpos Item
CAProviderContractItemUUID Contr.Item ID
CAAccessUserID access_userid Consumer ID
CAAccessServiceID access_serviceid Service ID
LastChangedByUser crname Last Changed By
LastChangeDate crdate Sizing Date
LastChangeTime crtime Time Created
_BusinessPartner _BusinessPartner
_ContractAccountHeader _ContractAccountHeader
_CASubApplication _CASubApplication
_CAProviderContractItem _CAProviderContractItem
_LastChangedByUser _LastChangedByUser
_CAMasterDataIDText _CAMasterDataIDText
_ContractAccountPartner _ContractAccountPartner

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_CAMasterDataID.
-- 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_CAMasterDataID AS
SELECT
  md_id AS CAMasterDataID,
  gpart AS BusinessPartner,
  vkont AS ContractAccount,
  vtref AS CAContract,
  subap AS CASubApplication,
  vtpos AS CAProviderContractItemNumber,
  cast(vtpid as vtpid_gfn_kk preserving type) AS CAProviderContractItemUUID,
  access_userid AS CAAccessUserID,
  access_serviceid AS CAAccessServiceID,
  crname AS LastChangedByUser,
  crdate AS LastChangeDate,
  crtime AS LastChangeTime
FROM dfkkbix_md
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_CAProviderContractItem AS _CAProviderContractItem ON CAProviderContractItemNumber = _CAProviderContractItem.CAProviderContractItemNumber AND CAContract = _CAProviderContractItem.CAProviderContract  -- association [0..1]
LEFT OUTER JOIN I_CAMasterDataIDText AS _CAMasterDataIDText ON CAMasterDataID = _CAMasterDataIDText.CAMasterDataID  -- association [1..*]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractAccount = _ContractAccountPartner.ContractAccount AND BusinessPartner = _ContractAccountPartner.BusinessPartner  -- association [0..1]
;