I_AgreementType

DDL: I_AGREEMENTTYPE Type: view BASIC

Agreement Type

I_AgreementType (Basic)

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

Cross Applications

I_AgreementType is a Basic CDS View (Dimension) that provides data about "Agreement Type" in SAP S/4HANA. It reads from 1 data source (tcms_cag_typ) and exposes 4 fields with key field CollateralAgreementType. It has 2 associations to related views.

SAP Help Documentation

CategoryCollateral Agreement
Data CategoryDimension
StatusReleased
Data Extraction TypeFull extraction
Corresponding DataSourceICAGTYPE
Purpose
This CDS view provides the prerequisites to answer the following business questions: What is the agreement type?

Prerequisites
Not applicable.

Structure
Measures and attributes An important measure and attribute is CollateralAgreementType.

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
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Analytical Dimension, Data Source in SQL Select, Data Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites to answer the following business questions: What is the agreement type?</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tcms_cag_typ tcms_cag_typ from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_AgreementTypeText _Text $projection.CollateralAgreementType = _Text.CollateralAgreementType
[0..1] I_CollateralProcessControlKey _CollateralProcessControlKey _CollateralProcessControlKey.CollateralProcessCtrlObj = 'CAG' and $projection.CollateralProcessControlKey = _CollateralProcessControlKey.CollateralProcessControlKey

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICAGTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality A view
ObjectModel.usageType.sizeCategory S view
ObjectModel.usageType.dataClass CUSTOMIZING view
ObjectModel.representativeKey CollateralAgreementType view
VDM.viewType #BASIC view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Agreement Type view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CollateralAgreementType cagmt_type Collateral Agreement Type
CollateralProcessControlKey proc_cky Process Control Key
_Text _Text
_CollateralProcessControlKey _CollateralProcessControlKey

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_AgreementType.
-- 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_AgreementType AS
SELECT
  cagmt_type AS CollateralAgreementType,
  proc_cky AS CollateralProcessControlKey
FROM tcms_cag_typ
LEFT OUTER JOIN I_AgreementTypeText AS _Text ON CollateralAgreementType = _Text.CollateralAgreementType  -- association [0..*]
LEFT OUTER JOIN I_CollateralProcessControlKey AS _CollateralProcessControlKey ON _CollateralProcessControlKey.CollateralProcessCtrlObj = 'CAG' AND CollateralProcessControlKey = _CollateralProcessControlKey.CollateralProcessControlKey  -- association [0..1]
;