R_InPlCvPcgCvrgReltdContrTP
Related Contract under CVPackage CV
R_InPlCvPcgCvrgReltdContrTP is a Transactional CDS View that provides data about "Related Contract under CVPackage CV" in SAP S/4HANA. It reads from 1 data source (I_InsurPlcyReltdContractBasic) and exposes 36 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyCoveragePackageID, InsurPlcyCoverageID, InsurPlcyCoverageOptionID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InsurPlcyReltdContractBasic | RelatedContract | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BusinessPartner | _BusinessPartner | $projection.InsurPlcyReltdContrPartnerID = _BusinessPartner.BusinessPartner |
| [0..1] | I_Address_2 | _Address | $projection.InsurPlcyReltdContrAddrNumber = _Address.AddressID |
| [1..1] | E_InsurPolicyRelatedContract | _Extension | $projection.InsurPlcyUUID = _Extension.InsurPlcyUUID and $projection.InsurPlcyCoveragePackageID = _Extension.InsurPlcyCoveragePackageID and $projection.InsurPlcyJrnlEndNmbr = _Extension.InsurPlcyJrnlEndNmbr and $projection.InsurPlcyCoverageOptionID = _Extension.InsurPlcyCoverageOptionID and $projection.InsurPlcyInsurContr = _Extension.InsurPlcyInsurContr and $projection.InsurPlcyInsuredObjectID = _Extension.InsurPlcyInsuredObjectID and $projection.InsurPlcyJrnlNmbr = _Extension.InsurPlcyJrnlNmbr and $projection.InsurPlcyReltdContrID = _Extension.InsurPlcyReltdContrID and $projection.InsurPlcyCoverageID = _Extension.InsurPlcyCoverageID |
| [0..*] | R_InPlCvPcgCvrgReltdContrClmTP | _RelatedContractClaim | |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Related Contract under CVPackage CV | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.sapObjectNodeType.name | InsuranceCoverage | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | IOG | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.allowNewCompositions | true | view | |
| AbapCatalog.extensibility.quota.maximumFields | 250 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 2500 | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | R_InsurPlcyReltdContractTP_2 | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InsurPlcyUUID | InsurPlcyUUID | Policy UUID | |
| KEY | InsurPlcyInsurContr | InsurPlcyInsurContr | Contract Key | |
| KEY | InsurPlcyCoveragePackageID | InsurPlcyCoveragePackageID | Cov.Package ID | |
| KEY | InsurPlcyCoverageID | InsurPlcyCoverageID | Coverage Key | |
| KEY | InsurPlcyCoverageOptionID | InsurPlcyCoverageOptionID | Cov. Option Key | |
| KEY | InsurPlcyInsuredObjectID | InsurPlcyInsuredObjectID | Ins. Obj. No. | |
| KEY | InsurPlcyReltdContrID | InsurPlcyReltdContrID | Rel.Contract ID | |
| InsurPlcyJrnlEndNmbr | InsurPlcyJrnlEndNmbr | Term. Jour. No. | ||
| InsurPlcyJrnlNmbr | InsurPlcyJrnlNmbr | Journal Number | ||
| InsurPlcyProductPackageID | InsurPlcyProductPackageID | Prod. Pckg. Key | ||
| InsurPlcyReltdContrIsCancelled | InsurPlcyReltdContrIsCancelled | Rev. Flag | ||
| InsurPlcyReltdContrSumInsrdAmt | InsurPlcyReltdContrSumInsrdAmt | Sum Insured | ||
| InsurPlcyReltdContrNrOfClmDspd | InsurPlcyReltdContrNrOfClmDspd | Total Claims | ||
| InsurPlcyReltdContrTotCompnAmt | InsurPlcyReltdContrTotCompnAmt | Total Comp. | ||
| InsurPlcyReltdContrType | InsurPlcyReltdContrType | Rel. Pol. Type | ||
| InsurPlcyReltdContrPlcyNmbr | InsurPlcyReltdContrPlcyNmbr | Policy Number | ||
| InsurPlcyReltdContrStartDate | InsurPlcyReltdContrStartDate | Start Date | ||
| InsurPlcyReltdContrExprtnDate | InsurPlcyReltdContrExprtnDate | Expiration Date | ||
| InsurPlcyReltdContrPremAmount | InsurPlcyReltdContrPremAmount | Premium | ||
| InsurPlcyReltdContrSharePct | InsurPlcyReltdContrSharePct | Share (%) AI | ||
| InsurPlcyReltdContrRvslReason | InsurPlcyReltdContrRvslReason | Reversal Reason | ||
| InsurPlcyReltdContrPartnerID | InsurPlcyReltdContrPartnerID | BusPartner | ||
| InsurPlcyReltdContrAddrNumber | InsurPlcyReltdContrAddrNumber | Address | ||
| InsurPlcyReltdContrCommentID | InsurPlcyReltdContrCommentID | Note Long Text | ||
| LongText | LongText | Text Name | ||
| TextObjectCategory | TextObjectCategory | Text object | ||
| TextObjectKey | TextObjectKey | Text Name | ||
| Language | Language | Report Text Language | ||
| InsurPlcyReltdContrCurrency | InsurPlcyReltdContrCurrency | Currency | ||
| InsurPlcyReltdContrTemplate | InsurPlcyReltdContrTemplate | Template ID | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| _Currency | _Currency | |||
| _RelatedContractClaim | _RelatedContractClaim | |||
| _BusinessPartner | _BusinessPartner | |||
| _Address | _Address | |||
| _Coverage | _Coverage |
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 R_InPlCvPcgCvrgReltdContrTP.
-- 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 R_InPlCvPcgCvrgReltdContrTP AS
SELECT
InsurPlcyUUID,
InsurPlcyInsurContr,
InsurPlcyCoveragePackageID,
InsurPlcyCoverageID,
InsurPlcyCoverageOptionID,
InsurPlcyInsuredObjectID,
InsurPlcyReltdContrID,
InsurPlcyJrnlEndNmbr,
InsurPlcyJrnlNmbr,
InsurPlcyProductPackageID,
InsurPlcyReltdContrIsCancelled,
InsurPlcyReltdContrSumInsrdAmt,
InsurPlcyReltdContrNrOfClmDspd,
InsurPlcyReltdContrTotCompnAmt,
InsurPlcyReltdContrType,
InsurPlcyReltdContrPlcyNmbr,
InsurPlcyReltdContrStartDate,
InsurPlcyReltdContrExprtnDate,
InsurPlcyReltdContrPremAmount,
InsurPlcyReltdContrSharePct,
InsurPlcyReltdContrRvslReason,
InsurPlcyReltdContrPartnerID,
InsurPlcyReltdContrAddrNumber,
InsurPlcyReltdContrCommentID,
LongText,
TextObjectCategory,
TextObjectKey,
Language,
InsurPlcyReltdContrCurrency,
InsurPlcyReltdContrTemplate,
LastChangeDateTime
FROM I_InsurPlcyReltdContractBasic AS RelatedContract
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON InsurPlcyReltdContrPartnerID = _BusinessPartner.BusinessPartner -- association [1..1]
LEFT OUTER JOIN I_Address_2 AS _Address ON InsurPlcyReltdContrAddrNumber = _Address.AddressID -- association [0..1]
LEFT OUTER JOIN E_InsurPolicyRelatedContract AS _Extension ON InsurPlcyUUID = _Extension.InsurPlcyUUID AND InsurPlcyCoveragePackageID = _Extension.InsurPlcyCoveragePackageID AND InsurPlcyJrnlEndNmbr = _Extension.InsurPlcyJrnlEndNmbr AND InsurPlcyCoverageOptionID = _Extension.InsurPlcyCoverageOptionID AND InsurPlcyInsurContr = _Extension.InsurPlcyInsurContr AND InsurPlcyInsuredObjectID = _Extension.InsurPlcyInsuredObjectID AND InsurPlcyJrnlNmbr = _Extension.InsurPlcyJrnlNmbr AND InsurPlcyReltdContrID = _Extension.InsurPlcyReltdContrID AND InsurPlcyCoverageID = _Extension.InsurPlcyCoverageID -- association [1..1]
LEFT OUTER JOIN R_InPlCvPcgCvrgReltdContrClmTP AS _RelatedContractClaim ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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