I_CollateralCharge

DDL: I_COLLATERALCHARGE Type: view_entity BASIC

Collateral Charge Details

I_CollateralCharge (Basic)

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

CollateralAgreementCharge · Cross Applications

I_CollateralCharge is a Basic CDS View (Dimension) that provides data about "Collateral Charge Details" in SAP S/4HANA. It reads from 1 data source (cms_chg) and exposes 23 fields with key field CollateralChargeUUID. It has 3 associations to related views.

SAP API Hub

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

Documentation

Data Sources (1)

SourceAliasJoin Type
cms_chg cms_chg from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CollateralAgreementData _CollateralAgreementData $projection.CollateralAgreementUUID = _CollateralAgreementData.CollateralAgreementUUID
[0..1] I_CollateralAssetData _CollateralAssetData $projection.CollateralAssetUUID = _CollateralAssetData.CollateralAssetUUID
[0..1] I_Currency _ColltrlChrgAssessmentCurrency $projection.ColltrlChrgAssessmentCurrency = _ColltrlChrgAssessmentCurrency.Currency

Annotations (15)

NameValueLevelField
EndUserText.label Collateral Charge 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 CollateralChargeUUID view
ObjectModel.sapObjectNodeType.name CollateralAgreementCharge 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 (23)

KeyFieldSource TableSource FieldDescription
KEY CollateralChargeUUID chg_guid GUID for Table CMS_CHG
CollateralAssetUUID ast_guid GUID for Table CMS_AST
CollateralAgreementUUID cag_guid GUID for Table CMS_CAG
CollateralChargeDescription description Description for Charges
ColltrlChargeRankingOrderValue ranking_order Ranking of a Collateral Agreement in an Asset
CollateralChargeSequenceValue sequence Sequence of an Asset in a Collateral agreement
CollateralChargeRegisterNumber reg_entry_no Register Number
CollateralChargeRegisterDate reg_date Date on which the Land Charge was Registered
ColltrlAstPrtnShareNumerator ast_part_nr Numerator in Business Partner Share of Asset
ColltrlAstPrtnShareDenominator ast_part_dn Denominator in the Business Partner Share of Asset
ColltrlChargeAssessmentAmount asmt_amt Assessment amount of a charge
ColltrlChrgAssessmentCurrency asmt_curr CMS_DTE_CHG_ASMT_CURR
CollateralChargeAssessmentDate asmt_date Date of assessment
CollateralChargeEnteredBy created_by Login ID of the User who created the Record
ColltrlChargeEnteredDateTime created_at Creation Timestamp
CollateralChargeLastChangedBy changed_by Last Changed By
ColltrlChrgLastChgdDateTime changed_at Change Timestamp
CollateralChargeEnteredSource sourceofentry Source Of Entry
CollateralChargeValidFromDate Date
CollateralChargeValidToDate Date
_CollateralAgreementData _CollateralAgreementData
_CollateralAssetData _CollateralAssetData
_ColltrlChrgAssessmentCurrency _ColltrlChrgAssessmentCurrency

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_CollateralCharge.
-- 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_CollateralCharge AS
SELECT
  chg_guid AS CollateralChargeUUID,
  ast_guid AS CollateralAssetUUID,
  cag_guid AS CollateralAgreementUUID,
  description AS CollateralChargeDescription,
  ranking_order AS ColltrlChargeRankingOrderValue,
  sequence AS CollateralChargeSequenceValue,
  reg_entry_no AS CollateralChargeRegisterNumber,
  reg_date AS CollateralChargeRegisterDate,
  ast_part_nr AS ColltrlAstPrtnShareNumerator,
  ast_part_dn AS ColltrlAstPrtnShareDenominator,
  asmt_amt AS ColltrlChargeAssessmentAmount,
  asmt_curr AS ColltrlChrgAssessmentCurrency,
  asmt_date AS CollateralChargeAssessmentDate,
  created_by AS CollateralChargeEnteredBy,
  created_at AS ColltrlChargeEnteredDateTime,
  changed_by AS CollateralChargeLastChangedBy,
  changed_at AS ColltrlChrgLastChgdDateTime,
  sourceofentry AS CollateralChargeEnteredSource,
  cast( substring( valid_from, 2, 8 ) as cms_dte_date ) AS CollateralChargeValidFromDate,
  cast( substring( valid_to, 2, 8 ) as cms_dte_date ) AS CollateralChargeValidToDate
FROM cms_chg
LEFT OUTER JOIN I_CollateralAgreementData AS _CollateralAgreementData ON CollateralAgreementUUID = _CollateralAgreementData.CollateralAgreementUUID  -- association [0..1]
LEFT OUTER JOIN I_CollateralAssetData AS _CollateralAssetData ON CollateralAssetUUID = _CollateralAssetData.CollateralAssetUUID  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ColltrlChrgAssessmentCurrency ON ColltrlChrgAssessmentCurrency = _ColltrlChrgAssessmentCurrency.Currency  -- association [0..1]
;