R_InsurancePolicyTP
Insurance Policy - TP
R_InsurancePolicyTP is a Transactional CDS View that provides data about "Insurance Policy - TP" in SAP S/4HANA. It reads from 1 data source (I_InsurancePolicy) and exposes 19 fields with key field InsurPlcyUUID. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_InsurancePolicy | InsurancePolicy | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_InsurPlcyCashFlowHeader | _InsurPlcyCashFlowHeader | $projection.InsurancePolicy = _InsurPlcyCashFlowHeader.InsurancePolicy |
| [1..1] | E_InsurancePolicy | _Extension | $projection.InsurPlcyUUID = _Extension.InsurPlcyUUID and $projection.InsurPlcyJrnlNmbr = _Extension.InsurPlcyJrnlNmbr and $projection.InsurPlcyJrnlEndNmbr = _Extension.InsurPlcyJrnlEndNmbr |
| [1..*] | R_InsuranceContractTP | _InsuranceContract | |
| [1..*] | R_InsurPolicyPolicyHolderTP | _InsurancePolicyholder | |
| [1..*] | R_InsurPlcyContrJrnlTP | _InsurPlcyContrJrnl | |
| [0..*] | R_InsurPlcyPlannedProcessingTP | _InsurPlcyPlndProcg | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Insurance Policy - TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | InsurPlcyUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InsurPlcyUUID | InsurPlcyUUID | Policy UUID | |
| InsurancePolicy | InsurancePolicy | Policy Number | ||
| InsurPlcyJrnlNmbr | InsurPlcyJrnlNmbr | Journal Number | ||
| InsurPlcyJrnlEndNmbr | InsurPlcyJrnlEndNmbr | Term. Jour. No. | ||
| InsurPlcyAuthznSlsProductGroup | InsurPlcyAuthznSlsProductGroup | Auth. Sales Prod. Module Group | ||
| InsurPlcyStartDateTime | InsurPlcyStartDateTime | Policy Start | ||
| InsurApplLifeCycSts | InsurApplLifeCycSts | Policy Status | ||
| InsurPlcyDistrChnl | InsurPlcyDistrChnl | Distrib.Channel | ||
| InsrrIDByInsrr | InsrrIDByInsrr | Company ID | ||
| InsurancePolicyPolicyControl | InsurPlcySalesProductTemplate | SlsProdTempl.ID | ||
| InsurPlcyAcqnType | InsurPlcyAcqnType | Acq. Type | ||
| PrdcssrInsurancePolicy | PrdcssrInsurancePolicy | Previous Policy | ||
| InsurPolicyCancellationStatus | InsurPolicyCancellationStatus | Policy Cancellation | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| _InsuranceContract | _InsuranceContract | |||
| _InsurancePolicyholder | _InsurancePolicyholder | |||
| _InsurPlcyContrJrnl | _InsurPlcyContrJrnl | |||
| _InsurPlcyPlndProcg | _InsurPlcyPlndProcg | |||
| _InsurPlcyCashFlowHeader | _InsurPlcyCashFlowHeader |
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_InsurancePolicyTP.
-- 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_InsurancePolicyTP AS
SELECT
InsurPlcyUUID,
InsurancePolicy,
InsurPlcyJrnlNmbr,
InsurPlcyJrnlEndNmbr,
InsurPlcyAuthznSlsProductGroup,
InsurPlcyStartDateTime,
InsurApplLifeCycSts,
InsurPlcyDistrChnl,
InsrrIDByInsrr,
InsurPlcySalesProductTemplate AS InsurancePolicyPolicyControl,
InsurPlcyAcqnType,
PrdcssrInsurancePolicy,
InsurPolicyCancellationStatus,
LastChangeDateTime
FROM I_InsurancePolicy AS InsurancePolicy
LEFT OUTER JOIN I_InsurPlcyCashFlowHeader AS _InsurPlcyCashFlowHeader ON InsurancePolicy = _InsurPlcyCashFlowHeader.InsurancePolicy -- association [1..*]
LEFT OUTER JOIN E_InsurancePolicy AS _Extension ON InsurPlcyUUID = _Extension.InsurPlcyUUID AND InsurPlcyJrnlNmbr = _Extension.InsurPlcyJrnlNmbr AND InsurPlcyJrnlEndNmbr = _Extension.InsurPlcyJrnlEndNmbr -- association [1..1]
LEFT OUTER JOIN R_InsuranceContractTP AS _InsuranceContract ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_InsurPolicyPolicyHolderTP AS _InsurancePolicyholder ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_InsurPlcyContrJrnlTP AS _InsurPlcyContrJrnl ON /* condition not available in parsed metadata */ -- association [1..*]
LEFT OUTER JOIN R_InsurPlcyPlannedProcessingTP AS _InsurPlcyPlndProcg ON /* condition not available in parsed metadata */ -- association [0..*]
;
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