I_CollateralAssetDocument

DDL: I_COLLATERALASSETDOCUMENT Type: view_entity BASIC

Collateral Asset Document Details

I_CollateralAssetDocument (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

CollateralAssetDocument · Cross Applications

I_CollateralAssetDocument is a Basic CDS View (Dimension) that provides data about "Collateral Asset Document Details" in SAP S/4HANA. It reads from 1 data source (cms_ast_doc) and exposes 18 fields with key field CollateralAssetDocumentUUID. It has 5 associations to related views.

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentFS-CMS
CapabilitiesAssociation Target for Defining CDS Entities, Analytical Dimension, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
cms_ast_doc cms_ast_doc from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_CollateralAssetData _CollateralAssetData $projection.CollateralAssetUUID = _CollateralAssetData.CollateralAssetUUID
[0..1] I_CollateralInsurance _CollateralInsurance $projection.CollateralAssetUUID = _CollateralInsurance.CollateralInsuranceUUID
[0..1] I_CollateralObjectInsurance _ColltrlObjectInsurance $projection.CollateralAssetUUID = _ColltrlObjectInsurance.CollateralInsuranceUUID
[0..1] I_CollateralDocumentType _CollateralAssetDocType $projection.CollateralDocumentType = _CollateralAssetDocType.CollateralDocumentType
[0..1] I_CollateralAttributeIndType _CollateralAssetDocPhysicalLoc $projection.CollateralDocPhysicalLocation = _CollateralAssetDocPhysicalLoc.CollateralAttributeIndType and _CollateralAssetDocPhysicalLoc.CollateralAttributeIndCat = 'DOC001'

Annotations (15)

NameValueLevelField
EndUserText.label Collateral Asset Document Details view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey CollateralAssetDocumentUUID view
ObjectModel.sapObjectNodeType.name CollateralAssetDocument view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY CollateralAssetDocumentUUID ast_doc_guid GUID for Table CMS_AST_DOC
CollateralAssetUUID ast_guid GUID for Table CMS_AST
ColltrlDocumentReferenceNumber doc_referenceid Reference Document ID
CollateralDocumentType doc_type VAT Document Type
CollateralDocumentDate doc_date Document Date
CollateralDocPhysicalLocation physical_locn Physical Location of Document
ColltrlDocumentValidFromDate Date
CollateralDocumentValidToDate Date
CollateralAssetEnteredBy created_by Login ID of the User who created the Record
CollateralAssetEnteredDateTime created_at Creation Timestamp
CollateralAssetLastChangedBy changed_by Last Changed By
ColltrlAstLastChangedDateTime changed_at Change Timestamp
CollateralAssetEnteredSource sourceofentry Source Of Entry
_CollateralAssetData _CollateralAssetData
_CollateralInsurance _CollateralInsurance
_ColltrlObjectInsurance _ColltrlObjectInsurance
_CollateralAssetDocType _CollateralAssetDocType
_CollateralAssetDocPhysicalLoc _CollateralAssetDocPhysicalLoc

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_CollateralAssetDocument.
-- 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_CollateralAssetDocument AS
SELECT
  ast_doc_guid AS CollateralAssetDocumentUUID,
  ast_guid AS CollateralAssetUUID,
  doc_referenceid AS ColltrlDocumentReferenceNumber,
  doc_type AS CollateralDocumentType,
  doc_date AS CollateralDocumentDate,
  physical_locn AS CollateralDocPhysicalLocation,
  cast( substring(valid_from, 2, 8 ) as cms_dte_date ) AS ColltrlDocumentValidFromDate,
  cast( substring(valid_to, 2, 8 ) as cms_dte_date ) AS CollateralDocumentValidToDate,
  created_by AS CollateralAssetEnteredBy,
  created_at AS CollateralAssetEnteredDateTime,
  changed_by AS CollateralAssetLastChangedBy,
  changed_at AS ColltrlAstLastChangedDateTime,
  sourceofentry AS CollateralAssetEnteredSource
FROM cms_ast_doc
LEFT OUTER JOIN I_CollateralAssetData AS _CollateralAssetData ON CollateralAssetUUID = _CollateralAssetData.CollateralAssetUUID  -- association [0..1]
LEFT OUTER JOIN I_CollateralInsurance AS _CollateralInsurance ON CollateralAssetUUID = _CollateralInsurance.CollateralInsuranceUUID  -- association [0..1]
LEFT OUTER JOIN I_CollateralObjectInsurance AS _ColltrlObjectInsurance ON CollateralAssetUUID = _ColltrlObjectInsurance.CollateralInsuranceUUID  -- association [0..1]
LEFT OUTER JOIN I_CollateralDocumentType AS _CollateralAssetDocType ON CollateralDocumentType = _CollateralAssetDocType.CollateralDocumentType  -- association [0..1]
LEFT OUTER JOIN I_CollateralAttributeIndType AS _CollateralAssetDocPhysicalLoc ON CollateralDocPhysicalLocation = _CollateralAssetDocPhysicalLoc.CollateralAttributeIndType AND _CollateralAssetDocPhysicalLoc.CollateralAttributeIndCat = 'DOC001'  -- association [0..1]
;