I_CollateralAssetDocument
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
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | FS-CMS |
| Capabilities | Association Target for Defining CDS Entities, Analytical Dimension, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cms_ast_doc | cms_ast_doc | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA