I_InsurPlcyCvrgObjSurchrgDisc
InsOb SurDsc of Cvrg under CvPcg in Plcy
I_InsurPlcyCvrgObjSurchrgDisc is a Composite CDS View that provides data about "InsOb SurDsc of Cvrg under CvPcg in Plcy" in SAP S/4HANA. It reads from 1 data source (I_InsurPlcySurchargeDiscBasic) and exposes 25 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyCoveragePackageID, InsurPlcyCoverageID, InsurPlcyInsuredObjectID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InsurPlcySurchargeDiscBasic | SurchargeDiscount | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_InsurPlcySurchrgDiscAmtLink | _InsurPlcySurchrgDiscAmtType | $projection.InsurPlcySurchrgDiscAmtType = _InsurPlcySurchrgDiscAmtType.InsurPlcySurchrgDiscAmtType and $projection.InsurPlcySurchrgDiscTemplate = _InsurPlcySurchrgDiscAmtType.InsurPlcySurchrgDiscTemplate |
| [0..1] | I_InsurPlcySurchrgDiscUnitLink | _InsurPlcySurchrgDiscAmtUnit | $projection.InsurPlcySurchrgDiscAmtUnit = _InsurPlcySurchrgDiscAmtUnit.InsurPlcySurchrgDiscAmtUnit and $projection.InsurPlcySurchrgDiscTemplate = _InsurPlcySurchrgDiscAmtUnit.InsurPlcySurchrgDiscTemplate |
| [0..1] | I_InsurPlcySurchrgDiscType | _InsurPlcySurchrgDiscType | $projection.InsurPlcySurchargeDiscTypeID = _InsurPlcySurchrgDiscType.InsurPlcySurchargeDiscTypeID |
| [0..1] | I_Currency | _Currency | $projection.InsurPlcySurchrgDiscCurrency = _Currency.Currency |
| [1..*] | I_InsurPlcyTemplateT | _InsurPlcyTemplateT | $projection.InsurPlcySurchrgDiscTemplate = _InsurPlcyTemplateT.InsurPlcyTemplate |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | InsOb SurDsc of Cvrg under CvPcg in Plcy | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.representativeKey | InsurPlcySurchargeDiscID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.allowExtensions | false | view | |
| Metadata.ignorePropagatedAnnotations | false | view | |
| Analytics.technicalName | IPCoSurchrgDisc | view |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InsurPlcyUUID | I_InsurPlcySurchargeDiscBasic | InsurPlcyUUID | Policy UUID |
| KEY | InsurPlcyInsurContr | I_InsurPlcySurchargeDiscBasic | InsurPlcyInsurContr | Contract Key |
| KEY | InsurPlcyCoveragePackageID | I_InsurPlcySurchargeDiscBasic | InsurPlcyCoveragePackageID | Cov.Package ID |
| KEY | InsurPlcyCoverageID | I_InsurPlcySurchargeDiscBasic | InsurPlcyCoverageID | Coverage Key |
| KEY | InsurPlcyInsuredObjectID | I_InsurPlcySurchargeDiscBasic | InsurPlcyInsuredObjectID | Ins. Obj. No. |
| KEY | InsurPlcySurchargeDiscID | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchargeDiscID | Sur./Disc. No. |
| InsurPlcyJrnlNmbr | I_InsurPlcySurchargeDiscBasic | InsurPlcyJrnlNmbr | Journal Number | |
| InsurPlcyJrnlEndNmbr | I_InsurPlcySurchargeDiscBasic | InsurPlcyJrnlEndNmbr | Term. Jour. No. | |
| InsurPlcyProductPackageID | I_InsurPlcySurchargeDiscBasic | InsurPlcyProductPackageID | Prod. Pckg. Key | |
| InsurPlcySurchrgDiscTemplate | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchrgDiscTemplate | Surcharge/Discount Template | |
| InsurPlcySurchargeDiscStrtDate | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchargeDiscStrtDate | Surcharge/Discount Start | |
| InsurPlcySurchargeDiscEndDate | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchargeDiscEndDate | Surcharge/Discount End | |
| InsurPlcySurchrgDiscBaseAmtPct | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchrgDiscBaseAmtPct | Relative Value | |
| InsurPlcySurchargeDiscAmount | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchargeDiscAmount | Srch./Disc.Amt | |
| InsurPlcySurchrgDiscAmtType | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchrgDiscAmtType | Reference Value | |
| InsurPlcySurchrgDiscAmtUnit | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchrgDiscAmtUnit | Calculatn Type | |
| InsurPlcySurchargeDiscTypeID | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchargeDiscTypeID | Surch/Disc.Type | |
| InsurPlcySurchrgDiscCurrency | I_InsurPlcySurchargeDiscBasic | InsurPlcySurchrgDiscCurrency | Currency | |
| LastChangeDateTime | I_InsurPlcySurchargeDiscBasic | LastChangeDateTime | Timestamp | |
| _InsurancePolicyInsuredObject | _InsurancePolicyInsuredObject | |||
| _Currency | _Currency | |||
| _InsurPlcySurchrgDiscType | _InsurPlcySurchrgDiscType | |||
| _InsurPlcySurchrgDiscAmtType | _InsurPlcySurchrgDiscAmtType | |||
| _InsurPlcySurchrgDiscAmtUnit | _InsurPlcySurchrgDiscAmtUnit | |||
| _InsurPlcyTemplateT | _InsurPlcyTemplateT |
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_InsurPlcyCvrgObjSurchrgDisc.
-- 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_InsurPlcyCvrgObjSurchrgDisc AS
SELECT
SurchargeDiscount.InsurPlcyUUID AS InsurPlcyUUID,
SurchargeDiscount.InsurPlcyInsurContr AS InsurPlcyInsurContr,
SurchargeDiscount.InsurPlcyCoveragePackageID AS InsurPlcyCoveragePackageID,
SurchargeDiscount.InsurPlcyCoverageID AS InsurPlcyCoverageID,
SurchargeDiscount.InsurPlcyInsuredObjectID AS InsurPlcyInsuredObjectID,
SurchargeDiscount.InsurPlcySurchargeDiscID AS InsurPlcySurchargeDiscID,
SurchargeDiscount.InsurPlcyJrnlNmbr AS InsurPlcyJrnlNmbr,
SurchargeDiscount.InsurPlcyJrnlEndNmbr AS InsurPlcyJrnlEndNmbr,
SurchargeDiscount.InsurPlcyProductPackageID AS InsurPlcyProductPackageID,
SurchargeDiscount.InsurPlcySurchrgDiscTemplate AS InsurPlcySurchrgDiscTemplate,
SurchargeDiscount.InsurPlcySurchargeDiscStrtDate AS InsurPlcySurchargeDiscStrtDate,
SurchargeDiscount.InsurPlcySurchargeDiscEndDate AS InsurPlcySurchargeDiscEndDate,
SurchargeDiscount.InsurPlcySurchrgDiscBaseAmtPct AS InsurPlcySurchrgDiscBaseAmtPct,
SurchargeDiscount.InsurPlcySurchargeDiscAmount AS InsurPlcySurchargeDiscAmount,
SurchargeDiscount.InsurPlcySurchrgDiscAmtType AS InsurPlcySurchrgDiscAmtType,
SurchargeDiscount.InsurPlcySurchrgDiscAmtUnit AS InsurPlcySurchrgDiscAmtUnit,
SurchargeDiscount.InsurPlcySurchargeDiscTypeID AS InsurPlcySurchargeDiscTypeID,
SurchargeDiscount.InsurPlcySurchrgDiscCurrency AS InsurPlcySurchrgDiscCurrency,
SurchargeDiscount.LastChangeDateTime AS LastChangeDateTime
FROM I_InsurPlcySurchargeDiscBasic AS SurchargeDiscount
LEFT OUTER JOIN I_InsurPlcySurchrgDiscAmtLink AS _InsurPlcySurchrgDiscAmtType ON InsurPlcySurchrgDiscAmtType = _InsurPlcySurchrgDiscAmtType.InsurPlcySurchrgDiscAmtType AND InsurPlcySurchrgDiscTemplate = _InsurPlcySurchrgDiscAmtType.InsurPlcySurchrgDiscTemplate -- association [1..1]
LEFT OUTER JOIN I_InsurPlcySurchrgDiscUnitLink AS _InsurPlcySurchrgDiscAmtUnit ON InsurPlcySurchrgDiscAmtUnit = _InsurPlcySurchrgDiscAmtUnit.InsurPlcySurchrgDiscAmtUnit AND InsurPlcySurchrgDiscTemplate = _InsurPlcySurchrgDiscAmtUnit.InsurPlcySurchrgDiscTemplate -- association [0..1]
LEFT OUTER JOIN I_InsurPlcySurchrgDiscType AS _InsurPlcySurchrgDiscType ON InsurPlcySurchargeDiscTypeID = _InsurPlcySurchrgDiscType.InsurPlcySurchargeDiscTypeID -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON InsurPlcySurchrgDiscCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_InsurPlcyTemplateT AS _InsurPlcyTemplateT ON InsurPlcySurchrgDiscTemplate = _InsurPlcyTemplateT.InsurPlcyTemplate -- association [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