R_InsurPlcyCvPcgSuDscTP_2
Surcharge or Discount under CVPackage
R_InsurPlcyCvPcgSuDscTP_2 is a Transactional CDS View that provides data about "Surcharge or Discount under CVPackage" in SAP S/4HANA. It reads from 1 data source (I_InsurPlcySurchargeDiscBasic) and exposes 22 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyCoveragePackageID, InsurPlcyCoverageID, InsurPlcyInsuredObjectID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InsurPlcySurchargeDiscBasic | SurchargeDiscount | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_InsurPolicySurchargeDiscount | _Extension | $projection.InsurPlcyUUID = _Extension.InsurPlcyUUID and $projection.InsurPlcyJrnlNmbr = _Extension.InsurPlcyJrnlNmbr and $projection.InsurPlcyJrnlEndNmbr = _Extension.InsurPlcyJrnlEndNmbr and $projection.InsurPlcyInsurContr = _Extension.InsurPlcyInsurContr and $projection.InsurPlcyCoveragePackageID = _Extension.InsurPlcyCoveragePackageID and $projection.InsurPlcyCoverageID = _Extension.InsurPlcyCoverageID and $projection.InsurPlcyInsuredObjectID = _Extension.InsurPlcyInsuredObjectID and $projection.InsurPlcySurchargeDiscID = _Extension.InsurPlcySurchargeDiscID |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Surcharge or Discount under CVPackage | 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 | InsuranceCoverageBundle | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | SDC | view | |
| AbapCatalog.extensibility.allowNewDatasources | false | view | |
| AbapCatalog.extensibility.allowNewCompositions | true | view | |
| AbapCatalog.extensibility.quota.maximumFields | 100 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 1000 | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | R_InsurPlcySurchrgDiscTP_2 | view |
Fields (22)
| 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 | InsurPlcyInsuredObjectID | InsurPlcyInsuredObjectID | Ins. Obj. No. | |
| KEY | InsurPlcySurchargeDiscID | InsurPlcySurchargeDiscID | Sur./Disc. No. | |
| InsurPlcyJrnlNmbr | InsurPlcyJrnlNmbr | Journal Number | ||
| InsurPlcyJrnlEndNmbr | InsurPlcyJrnlEndNmbr | Term. Jour. No. | ||
| InsurPlcyProductPackageID | InsurPlcyProductPackageID | Prod. Pckg. Key | ||
| InsurPlcySurchrgDiscTemplate | InsurPlcySurchrgDiscTemplate | Surcharge/Discount Template | ||
| InsurPlcySurchargeDiscStrtDate | InsurPlcySurchargeDiscStrtDate | Surcharge/Discount Start | ||
| InsurPlcySurchargeDiscEndDate | InsurPlcySurchargeDiscEndDate | Surcharge/Discount End | ||
| InsurPlcySurchrgDiscBaseAmtPct | InsurPlcySurchrgDiscBaseAmtPct | Relative Value | ||
| InsurPlcySurchargeDiscAmount | InsurPlcySurchargeDiscAmount | Srch./Disc.Amt | ||
| InsurPlcySurchrgDiscAmtType | InsurPlcySurchrgDiscAmtType | Reference Value | ||
| InsurPlcySurchrgDiscAmtUnit | InsurPlcySurchrgDiscAmtUnit | Calculatn Type | ||
| InsurPlcySurchargeDiscTypeID | InsurPlcySurchargeDiscTypeID | Surch/Disc.Type | ||
| InsurPlcySurchrgDiscCurrency | InsurPlcySurchrgDiscCurrency | Currency | ||
| InsurPlcyBusinessObject | InsurPlcyBusinessObject | Process.Status | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| _Currency | _Currency | |||
| _CoveragePackage | _CoveragePackage |
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_InsurPlcyCvPcgSuDscTP_2.
-- 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_InsurPlcyCvPcgSuDscTP_2 AS
SELECT
InsurPlcyUUID,
InsurPlcyInsurContr,
InsurPlcyCoveragePackageID,
InsurPlcyCoverageID,
InsurPlcyInsuredObjectID,
InsurPlcySurchargeDiscID,
InsurPlcyJrnlNmbr,
InsurPlcyJrnlEndNmbr,
InsurPlcyProductPackageID,
InsurPlcySurchrgDiscTemplate,
InsurPlcySurchargeDiscStrtDate,
InsurPlcySurchargeDiscEndDate,
InsurPlcySurchrgDiscBaseAmtPct,
InsurPlcySurchargeDiscAmount,
InsurPlcySurchrgDiscAmtType,
InsurPlcySurchrgDiscAmtUnit,
InsurPlcySurchargeDiscTypeID,
InsurPlcySurchrgDiscCurrency,
InsurPlcyBusinessObject,
LastChangeDateTime
FROM I_InsurPlcySurchargeDiscBasic AS SurchargeDiscount
LEFT OUTER JOIN E_InsurPolicySurchargeDiscount AS _Extension ON InsurPlcyUUID = _Extension.InsurPlcyUUID AND InsurPlcyJrnlNmbr = _Extension.InsurPlcyJrnlNmbr AND InsurPlcyJrnlEndNmbr = _Extension.InsurPlcyJrnlEndNmbr AND InsurPlcyInsurContr = _Extension.InsurPlcyInsurContr AND InsurPlcyCoveragePackageID = _Extension.InsurPlcyCoveragePackageID AND InsurPlcyCoverageID = _Extension.InsurPlcyCoverageID AND InsurPlcyInsuredObjectID = _Extension.InsurPlcyInsuredObjectID AND InsurPlcySurchargeDiscID = _Extension.InsurPlcySurchargeDiscID -- association [1..1]
;
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