I_AgreementPortion

DDL: I_AGREEMENTPORTION Type: view BASIC

Agreement Portion Details

I_AgreementPortion (Basic)

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

CollateralAgreementPortion · Cross Applications

I_AgreementPortion is a Basic CDS View (Dimension) that provides data about "Agreement Portion Details" in SAP S/4HANA. It reads from 1 data source (cms_cag_por) and exposes 35 fields with key field AgreementPortionUUID. It has 18 associations to related views.

SAP Help Documentation

CategoryCollateral Agreement
Data CategoryDimension
StatusReleased
Data Extraction TypeDelta enabled
Corresponding DataSourceICAGPORTIONDATA
Purpose
This CDS view provides the prerequisites to answer the following business question: What are the details of the agreement portion?

Prerequisites
This CDS view inherits the authorization object from CDS view I_CollateralAgreementData (see below under Related Information .

Structure
Measures and attributes Some important measures and attributes are: AgreementPortionUUID CollateralAgreementUUID AgreementPortionID AgreementPortionAmount AgreementPortionAgreementPct AgreementPortionBlockingType AgreementPortionBlockingReason AgreementPortionRefAgreementID AgreementPortionRankingFactor AgreementPortionRblType AgreementPortionFileNumber AgreementPortionAssgmtRole AgreementPortionAssgmtDate AgrmtPortnLndChrIntStrtDte AgreementPortionValidFromDate AgreementPortionValidToDate

SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentFS-CMS
CapabilitiesData 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
Description <p>This CDS view provides the prerequisites to answer the following business question: What are the details of the agreement portion?</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
cms_cag_por cms_cag_por from

Associations (18)

CardinalityTargetAliasCondition
[0..1] I_CollateralAgreementData _CollateralAgreementData $projection.CollateralAgreementUUID = _CollateralAgreementData.CollateralAgreementUUID
[0..*] I_AgreementPartner _AgreementPortionPartner $projection.CollateralAgreementUUID = _AgreementPortionPartner.CollateralAgreementUUID and $projection.AgreementPortionUUID = _AgreementPortionPartner.AgreementPortionUUID
[0..*] I_AgreementSpecialArrangement _AgreementSpecialArrangement $projection.CollateralAgreementUUID = _AgreementSpecialArrangement.AgrmtSpecialArrangementRefUUID or $projection.AgreementPortionUUID = _AgreementSpecialArrangement.AgrmtSpecialArrangementRefUUID
[0..*] I_AgreementTerminationAndCost _AgreementTerminationAndCost $projection.CollateralAgreementUUID = _AgreementTerminationAndCost.AgreementTermnAndCostLinkUUID
[0..*] I_AgreementPortionRules _AgreementPortionRules $projection.AgreementPortionUUID = _AgreementPortionRules.AgreementPortionUUID
[0..*] I_AssetAgreementLinkData _AssetAgreementLinkData $projection.CollateralAgreementUUID = _AssetAgreementLinkData.CollateralAgreementUUID
[0..*] I_CollateralAgreementRelshp _CollateralAgreementRelshp $projection.CollateralAgreementUUID = _CollateralAgreementRelshp.AgreementRelationshipSrceUUID or $projection.CollateralAgreementUUID = _CollateralAgreementRelshp.AgreementRelationshipDestUUID
[0..*] I_AgreementReceivableLinkData _AgreementReceivableLinkData $projection.AgreementPortionUUID = _AgreementReceivableLinkData.AgreementPortionUUID
[0..1] I_CollateralObjectCalcData _CollateralObjectCalcData $projection.CollateralAgreementUUID = _CollateralObjectCalcData.CollateralObjectUUID and _CollateralObjectCalcData.CollateralObjectType = 'CAG'
[0..*] I_AgreementAssetCalcData _AgreementAssetCalcData $projection.CollateralAgreementUUID = _AgreementAssetCalcData.CollateralAgreementUUID
[0..*] I_AgreementRelshpCalcData _AgreementRelshpCalcData $projection.CollateralAgreementUUID = _AgreementRelshpCalcData.AgreementRelationshipSrceUUID or $projection.CollateralAgreementUUID = _AgreementRelshpCalcData.AgreementRelationshipDestUUID
[0..1] I_AgreementPortionCalcData _AgreementPortionCalcData $projection.AgreementPortionUUID = _AgreementPortionCalcData.AgreementPortionUUID and $projection.CollateralAgreementUUID = _AgreementPortionCalcData.CollateralAgreementUUID
[0..*] I_AgreementReceivableCalcData _AgreementReceivableCalcData $projection.AgreementPortionUUID = _AgreementReceivableCalcData.AgreementPortionUUID and $projection.CollateralAgreementUUID = _AgreementReceivableCalcData.CollateralAgreementUUID
[0..1] I_AgreementPortionBlockingType _AgreementPortionBlockingType $projection.AgreementPortionBlockingType = _AgreementPortionBlockingType.AgreementPortionBlockingType
[0..1] I_AgreementPortionBlockingRsn _AgreementPortionBlockingRsn $projection.AgreementPortionBlockingReason = _AgreementPortionBlockingRsn.AgreementPortionBlockingReason
[0..1] I_AgreementPortionRblType _AgreementPortionRblType $projection.AgreementPortionRblType = _AgreementPortionRblType.AgreementPortionRblType
[0..1] I_AgreementPortionAssgmtRole _AgreementPortionAssgmtRole $projection.AgreementPortionAssgmtRole = _AgreementPortionAssgmtRole.AgreementPortionAssgmtRole
[0..1] I_Currency _ColltrlAgrmtAssessmentCrcy $projection.ColltrlAgrmtAssessmentCrcy = _ColltrlAgrmtAssessmentCrcy.Currency

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ICAGPORTIONDATA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.serviceQuality A view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.dataClass MASTER view
ObjectModel.representativeKey AgreementPortionUUID view
ObjectModel.sapObjectNodeType.name CollateralAgreementPortion view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Agreement Portion Details view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY AgreementPortionUUID cag_por_guid GUID for Table CMS_CAG_POR
CollateralAgreementUUID cag_guid GUID for Table CMS_CAG
AgreementPortionID portionid Identification of the Collateral Agreement Portion
AgreementPortionAmount portion_value Value of the Collateral Agreement Portion
AgreementPortionAgreementPct pct_cagmt_value Size of Collateral Agreement Portion in Collateral Agreement
AgreementPortionBlockingType ind_blocking_typ Blocking Category for Collateral Agreement Portion
AgreementPortionBlockingReason blocking_reason Portion Restriction
AgreementPortionRefAgreementID ref_cagmtid Collateral Agreement ID based on another Colateral Agreement
AgreementPortionRankingFactor priority_portion Specifies Ranking Ratio for Portion of Collateral Agreement
AgreementPortionRblType ind_rbl_typ Indicator for Receivable Type
AgreementPortionFileNumber file_num Serial Number of the Record in a Physical Location
AgreementPortionAssgmtRole ind_asgmt Role in which Collateral Agreement Portion is Assigned
AgreementPortionAssgmtDate asgmt_date Date on which Collateral Agreement Portion is Assignment
AgrmtPortnLndChrIntStrtDte int_start_date Start Date for Land Charge Interest Calculation
AgreementPortionValidFromDate valid_from Date from which Collateral Agreement Portion Stands Valid
AgreementPortionValidToDate valid_to Date until which Collateral Agreement Portion Stands Valid
ColltrlAgrmtAssessmentCrcy _CollateralAgreementData ColltrlAgrmtAssessmentCrcy Currency of Assessment Value
_CollateralAgreementData _CollateralAgreementData
_AgreementPortionPartner _AgreementPortionPartner
_AgreementSpecialArrangement _AgreementSpecialArrangement
_AgreementTerminationAndCost _AgreementTerminationAndCost
_AgreementPortionRules _AgreementPortionRules
_AssetAgreementLinkData _AssetAgreementLinkData
_CollateralAgreementRelshp _CollateralAgreementRelshp
_AgreementReceivableLinkData _AgreementReceivableLinkData
_CollateralObjectCalcData _CollateralObjectCalcData
_AgreementAssetCalcData _AgreementAssetCalcData
_AgreementRelshpCalcData _AgreementRelshpCalcData
_AgreementPortionCalcData _AgreementPortionCalcData
_AgreementReceivableCalcData _AgreementReceivableCalcData
_AgreementPortionBlockingType _AgreementPortionBlockingType
_AgreementPortionBlockingRsn _AgreementPortionBlockingRsn
_AgreementPortionRblType _AgreementPortionRblType
_AgreementPortionAssgmtRole _AgreementPortionAssgmtRole
_ColltrlAgrmtAssessmentCrcy _ColltrlAgrmtAssessmentCrcy

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_AgreementPortion.
-- 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_AgreementPortion AS
SELECT
  cag_por_guid AS AgreementPortionUUID,
  cag_guid AS CollateralAgreementUUID,
  portionid AS AgreementPortionID,
  portion_value AS AgreementPortionAmount,
  pct_cagmt_value AS AgreementPortionAgreementPct,
  ind_blocking_typ AS AgreementPortionBlockingType,
  blocking_reason AS AgreementPortionBlockingReason,
  ref_cagmtid AS AgreementPortionRefAgreementID,
  priority_portion AS AgreementPortionRankingFactor,
  ind_rbl_typ AS AgreementPortionRblType,
  file_num AS AgreementPortionFileNumber,
  ind_asgmt AS AgreementPortionAssgmtRole,
  asgmt_date AS AgreementPortionAssgmtDate,
  int_start_date AS AgrmtPortnLndChrIntStrtDte,
  valid_from AS AgreementPortionValidFromDate,
  valid_to AS AgreementPortionValidToDate,
  _CollateralAgreementData.ColltrlAgrmtAssessmentCrcy AS ColltrlAgrmtAssessmentCrcy
FROM cms_cag_por
LEFT OUTER JOIN I_CollateralAgreementData AS _CollateralAgreementData ON CollateralAgreementUUID = _CollateralAgreementData.CollateralAgreementUUID  -- association [0..1]
LEFT OUTER JOIN I_AgreementPartner AS _AgreementPortionPartner ON CollateralAgreementUUID = _AgreementPortionPartner.CollateralAgreementUUID AND AgreementPortionUUID = _AgreementPortionPartner.AgreementPortionUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementSpecialArrangement AS _AgreementSpecialArrangement ON CollateralAgreementUUID = _AgreementSpecialArrangement.AgrmtSpecialArrangementRefUUID OR AgreementPortionUUID = _AgreementSpecialArrangement.AgrmtSpecialArrangementRefUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementTerminationAndCost AS _AgreementTerminationAndCost ON CollateralAgreementUUID = _AgreementTerminationAndCost.AgreementTermnAndCostLinkUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementPortionRules AS _AgreementPortionRules ON AgreementPortionUUID = _AgreementPortionRules.AgreementPortionUUID  -- association [0..*]
LEFT OUTER JOIN I_AssetAgreementLinkData AS _AssetAgreementLinkData ON CollateralAgreementUUID = _AssetAgreementLinkData.CollateralAgreementUUID  -- association [0..*]
LEFT OUTER JOIN I_CollateralAgreementRelshp AS _CollateralAgreementRelshp ON CollateralAgreementUUID = _CollateralAgreementRelshp.AgreementRelationshipSrceUUID OR CollateralAgreementUUID = _CollateralAgreementRelshp.AgreementRelationshipDestUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementReceivableLinkData AS _AgreementReceivableLinkData ON AgreementPortionUUID = _AgreementReceivableLinkData.AgreementPortionUUID  -- association [0..*]
LEFT OUTER JOIN I_CollateralObjectCalcData AS _CollateralObjectCalcData ON CollateralAgreementUUID = _CollateralObjectCalcData.CollateralObjectUUID AND _CollateralObjectCalcData.CollateralObjectType = 'CAG'  -- association [0..1]
LEFT OUTER JOIN I_AgreementAssetCalcData AS _AgreementAssetCalcData ON CollateralAgreementUUID = _AgreementAssetCalcData.CollateralAgreementUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementRelshpCalcData AS _AgreementRelshpCalcData ON CollateralAgreementUUID = _AgreementRelshpCalcData.AgreementRelationshipSrceUUID OR CollateralAgreementUUID = _AgreementRelshpCalcData.AgreementRelationshipDestUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementPortionCalcData AS _AgreementPortionCalcData ON AgreementPortionUUID = _AgreementPortionCalcData.AgreementPortionUUID AND CollateralAgreementUUID = _AgreementPortionCalcData.CollateralAgreementUUID  -- association [0..1]
LEFT OUTER JOIN I_AgreementReceivableCalcData AS _AgreementReceivableCalcData ON AgreementPortionUUID = _AgreementReceivableCalcData.AgreementPortionUUID AND CollateralAgreementUUID = _AgreementReceivableCalcData.CollateralAgreementUUID  -- association [0..*]
LEFT OUTER JOIN I_AgreementPortionBlockingType AS _AgreementPortionBlockingType ON AgreementPortionBlockingType = _AgreementPortionBlockingType.AgreementPortionBlockingType  -- association [0..1]
LEFT OUTER JOIN I_AgreementPortionBlockingRsn AS _AgreementPortionBlockingRsn ON AgreementPortionBlockingReason = _AgreementPortionBlockingRsn.AgreementPortionBlockingReason  -- association [0..1]
LEFT OUTER JOIN I_AgreementPortionRblType AS _AgreementPortionRblType ON AgreementPortionRblType = _AgreementPortionRblType.AgreementPortionRblType  -- association [0..1]
LEFT OUTER JOIN I_AgreementPortionAssgmtRole AS _AgreementPortionAssgmtRole ON AgreementPortionAssgmtRole = _AgreementPortionAssgmtRole.AgreementPortionAssgmtRole  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ColltrlAgrmtAssessmentCrcy ON ColltrlAgrmtAssessmentCrcy = _ColltrlAgrmtAssessmentCrcy.Currency  -- association [0..1]
;