C_CAMasterDataIDTP

DDL: C_CAMASTERDATAIDTP SQL: CCAMDIDTP Type: view CONSUMPTION

Stammdaten ID

C_CAMasterDataIDTP is a Consumption CDS View that provides data about "Stammdaten ID" in SAP S/4HANA. It reads from 1 data source (I_CAMasterDataIDTP) and exposes 31 fields with key field CAMasterDataID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CAMasterDataIDTP CAMasterDataIDTP from

Associations (3)

CardinalityTargetAliasCondition
[0..*] C_CAMasterDataIDTextTP _CAMasterDataIDTextTP $projection.CAMasterDataID = _CAMasterDataIDTextTP.CAMasterDataID
[0..1] C_CAMasterDataIDTextTP _TextInSessionLanguage $projection.CAMasterDataID = _TextInSessionLanguage.CAMasterDataID and _TextInSessionLanguage.Language = $session.system_language
[0..1] C_CABillgReqBPAddress _CAInvcgBusinessPartnerAddress $projection.BusinessPartner = _CAInvcgBusinessPartnerAddress.BusinessPartner

Annotations (24)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName CCAMDIDTP view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Stammdaten ID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.semanticKey CAMasterDataID view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.updateEnabled true view
Search.searchable true view
UI.headerInfo.typeName Stammdaten ID view
UI.headerInfo.typeNamePlural Stammdaten ID view
UI.headerInfo.title.label Stammdaten ID view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value CAMasterDataID view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY CAMasterDataID I_CAMasterDataIDTP CAMasterDataID
CAMasterDataIDTrim I_CAMasterDataIDTP CAMasterDataIDTrim
BusinessPartner I_CAMasterDataIDTP BusinessPartner Issuing Authority
BusinessPartnerFullName
StreetName _CAInvcgBusinessPartnerAddress StreetName Text
AddressCityName _CAInvcgBusinessPartnerAddress AddressCityName City
CountryName _CAInvcgBusinessPartnerAddress CountryName Country
ContractAccount I_CAMasterDataIDTP ContractAccount Contract Acct
ContractAccountName
CAContract I_CAMasterDataIDTP CAContract Contract
CAContractSemanticObject
CASubApplication I_CAMasterDataIDTP CASubApplication Subapplication
CAProviderContractItemNumber I_CAMasterDataIDTP CAProviderContractItemNumber Contract Item
CAProviderContractItemUUID I_CAMasterDataIDTP CAProviderContractItemUUID Contr.Item ID
CAAccessUserID I_CAMasterDataIDTP CAAccessUserID
CAAccessServiceID I_CAMasterDataIDTP CAAccessServiceID
LastChangedByUser I_CAMasterDataIDTP LastChangedByUser User Name
UserDescription
LastChangeDate I_CAMasterDataIDTP LastChangeDate Time Stamp
LastChangeTime I_CAMasterDataIDTP LastChangeTime Time changed
LastChangeDateTime
_BusinessPartner I_CAMasterDataIDTP _BusinessPartner
_ContractAccountHeader I_CAMasterDataIDTP _ContractAccountHeader
_CASubApplication I_CAMasterDataIDTP _CASubApplication
_CAProviderContractItem I_CAMasterDataIDTP _CAProviderContractItem
_LastChangedByUser I_CAMasterDataIDTP _LastChangedByUser
_CAInvcgBusinessPartnerAddress _CAInvcgBusinessPartnerAddress
_CAMasterDataIDTextTP _CAMasterDataIDTextTP
_TextInSessionLanguage _TextInSessionLanguage
_UserContactCard _UserContactCard
_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 C_CAMasterDataIDTP.
-- 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.
-- SQL view name: CCAMDIDTP

CREATE VIEW C_CAMasterDataIDTP AS
SELECT
  CAMasterDataIDTP.CAMasterDataID AS CAMasterDataID,
  CAMasterDataIDTP.CAMasterDataIDTrim AS CAMasterDataIDTrim,
  CAMasterDataIDTP.BusinessPartner AS BusinessPartner,
  CAMasterDataIDTP._BusinessPartner.BusinessPartnerFullName AS BusinessPartnerFullName,
  _CAInvcgBusinessPartnerAddress.StreetName AS StreetName,
  _CAInvcgBusinessPartnerAddress.AddressCityName AS AddressCityName,
  _CAInvcgBusinessPartnerAddress.CountryName AS CountryName,
  CAMasterDataIDTP.ContractAccount AS ContractAccount,
  CAMasterDataIDTP._ContractAccountHeader.ContractAccountName AS ContractAccountName,
  CAMasterDataIDTP.CAContract AS CAContract,
  cast ( '' as vtref_semobj_kk ) AS CAContractSemanticObject,
  CAMasterDataIDTP.CASubApplication AS CASubApplication,
  CAMasterDataIDTP.CAProviderContractItemNumber AS CAProviderContractItemNumber,
  CAMasterDataIDTP.CAProviderContractItemUUID AS CAProviderContractItemUUID,
  CAMasterDataIDTP.CAAccessUserID AS CAAccessUserID,
  CAMasterDataIDTP.CAAccessServiceID AS CAAccessServiceID,
  CAMasterDataIDTP.LastChangedByUser AS LastChangedByUser,
  CAMasterDataIDTP._LastChangedByUser.UserDescription AS UserDescription,
  CAMasterDataIDTP.LastChangeDate AS LastChangeDate,
  CAMasterDataIDTP.LastChangeTime AS LastChangeTime,
  cast(0 as changetimestamp_kk) AS LastChangeDateTime,
  CAMasterDataIDTP._BusinessPartner AS _BusinessPartner,
  CAMasterDataIDTP._ContractAccountHeader AS _ContractAccountHeader,
  CAMasterDataIDTP._CASubApplication AS _CASubApplication,
  CAMasterDataIDTP._CAProviderContractItem AS _CAProviderContractItem,
  CAMasterDataIDTP._LastChangedByUser AS _LastChangedByUser
FROM I_CAMasterDataIDTP AS CAMasterDataIDTP
LEFT OUTER JOIN C_CAMasterDataIDTextTP AS _CAMasterDataIDTextTP ON CAMasterDataID = _CAMasterDataIDTextTP.CAMasterDataID  -- association [0..*]
LEFT OUTER JOIN C_CAMasterDataIDTextTP AS _TextInSessionLanguage ON CAMasterDataID = _TextInSessionLanguage.CAMasterDataID AND _TextInSessionLanguage.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN C_CABillgReqBPAddress AS _CAInvcgBusinessPartnerAddress ON BusinessPartner = _CAInvcgBusinessPartnerAddress.BusinessPartner  -- association [0..1]
;