I_InsurApplPremPayer

DDL: I_INSURAPPLPREMPAYER Type: view_entity COMPOSITE

Premium Payer in Insurance Application

I_InsurApplPremPayer is a Composite CDS View that provides data about "Premium Payer in Insurance Application" in SAP S/4HANA. It reads from 2 data sources (P_InsurPolicyJournalKeys, I_InsurPlcyPremPayerBasic) and exposes 28 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyContrPremPayerID, InsurPlcyContrDataDetnJrnlNmbr. It has 6 associations to related views.

Data Sources (2)

SourceAliasJoin Type
P_InsurPolicyJournalKeys PlcyJrnl from
I_InsurPlcyPremPayerBasic PremPayer inner

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Currency _Currency $projection.InsurPlcyPremiumCurrency = _Currency.Currency
[1..*] I_InsurPlcyTemplateT _InsurPlcyTemplateT $projection.InsurPlcyPremiumPayerTemplate = _InsurPlcyTemplateT.InsurPlcyTemplate
[0..1] I_Address _Address $projection.AddressID = _Address.AddressID
[0..1] I_BusinessPartner _BusinessPartner $projection.InsurPlcyPremiumPayerID = _BusinessPartner.BusinessPartner
[0..*] I_CAPaymentMethodText _CAPaymentMethodText $projection.CAPaymentMethod = _CAPaymentMethodText.CAPaymentMethod and $projection.InsurPlcyCountry = _CAPaymentMethodText.Country
[1..1] I_InsurPlcyCollectionType _InsurPlcyCollectionType $projection.InsurPlcyCollectionType = _InsurPlcyCollectionType.InsurPlcyCollectionType

Annotations (11)

NameValueLevelField
EndUserText.label Premium Payer in Insurance Application view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.representativeKey InsurPlcyContrPremPayerID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
Metadata.allowExtensions false view
Metadata.ignorePropagatedAnnotations false view
Analytics.technicalName IAPremPyr view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY InsurPlcyUUID I_InsurPlcyPremPayerBasic InsurPlcyUUID Policy UUID
KEY InsurPlcyInsurContr I_InsurPlcyPremPayerBasic InsurPlcyInsurContr Contract Key
KEY InsurPlcyContrPremPayerID I_InsurPlcyPremPayerBasic InsurPlcyContrPremPayerID PremiumPayer ID
KEY InsurPlcyContrDataDetnJrnlNmbr
InsurPlcyJrnlNmbr I_InsurPlcyPremPayerBasic InsurPlcyJrnlNmbr Journal Number
InsurPlcyJrnlEndNmbr I_InsurPlcyPremPayerBasic InsurPlcyJrnlEndNmbr Term. Jour. No.
InsurPlcyProductPackageID I_InsurPlcyPremPayerBasic InsurPlcyProductPackageID Prod. Pckg. Key
AddressID I_InsurPlcyPremPayerBasic AddressID Ship-to address
InsurPlcyPremiumPayerID I_InsurPlcyPremPayerBasic InsurPlcyPremiumPayerID BusPartner
BankIdentification I_InsurPlcyPremPayerBasic BankIdentification Bank Details
PaymentCardID I_InsurPlcyPremPayerBasic PaymentCardID Card ID
CAPaymentMethod I_InsurPlcyPremPayerBasic CAPaymentMethod Payment Method
InsurPlcyPremiumPayerTemplate I_InsurPlcyPremPayerBasic InsurPlcyPremiumPayerTemplate Template ID
SEPAMandate I_InsurPlcyPremPayerBasic SEPAMandate SEPA Mandate
LastChangeDateTime I_InsurPlcyPremPayerBasic LastChangeDateTime Timestamp
InsurPlcyCountry _InsurApplContract InsurPlcyCountry Country/Reg.
InsurPlcyCollectionType I_InsurPlcyPremPayerBasic InsurPlcyCollectionType Collection Type
InsurPlcyPremPayerShareAmount I_InsurPlcyPremPayerBasic InsurPlcyPremPayerShareAmount Share Amount
InsurPlcyPremPayerSharePercent I_InsurPlcyPremPayerBasic InsurPlcyPremPayerSharePercent Share (%)
InsurPlcyPremPyrRmngAmtIsAssgd I_InsurPlcyPremPayerBasic InsurPlcyPremPyrRmngAmtIsAssgd All. Rem. Amnt
InsurPlcyPremiumCurrency I_InsurPlcyPremPayerBasic InsurPlcyPremiumCurrency Currency
_InsurApplContract _InsurApplContract
_BusinessPartner _BusinessPartner
_Address _Address
_Currency _Currency
_InsurPlcyTemplateT _InsurPlcyTemplateT
_CAPaymentMethodText _CAPaymentMethodText
_InsurPlcyCollectionType _InsurPlcyCollectionType

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_InsurApplPremPayer.
-- 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_InsurApplPremPayer AS
SELECT
  PremPayer.InsurPlcyUUID AS InsurPlcyUUID,
  PremPayer.InsurPlcyInsurContr AS InsurPlcyInsurContr,
  PremPayer.InsurPlcyContrPremPayerID AS InsurPlcyContrPremPayerID,
  cast( PlcyJrnl.InsurPlcyContrDataDetnJrnlNmbr as /pm0/vdm_contr_detn_jrnlnmbr preserving type ) AS InsurPlcyContrDataDetnJrnlNmbr,
  PremPayer.InsurPlcyJrnlNmbr AS InsurPlcyJrnlNmbr,
  PremPayer.InsurPlcyJrnlEndNmbr AS InsurPlcyJrnlEndNmbr,
  PremPayer.InsurPlcyProductPackageID AS InsurPlcyProductPackageID,
  PremPayer.AddressID AS AddressID,
  PremPayer.InsurPlcyPremiumPayerID AS InsurPlcyPremiumPayerID,
  PremPayer.BankIdentification AS BankIdentification,
  PremPayer.PaymentCardID AS PaymentCardID,
  PremPayer.CAPaymentMethod AS CAPaymentMethod,
  PremPayer.InsurPlcyPremiumPayerTemplate AS InsurPlcyPremiumPayerTemplate,
  PremPayer.SEPAMandate AS SEPAMandate,
  PremPayer.LastChangeDateTime AS LastChangeDateTime,
  _InsurApplContract.InsurPlcyCountry AS InsurPlcyCountry,
  PremPayer.InsurPlcyCollectionType AS InsurPlcyCollectionType,
  PremPayer.InsurPlcyPremPayerShareAmount AS InsurPlcyPremPayerShareAmount,
  PremPayer.InsurPlcyPremPayerSharePercent AS InsurPlcyPremPayerSharePercent,
  PremPayer.InsurPlcyPremPyrRmngAmtIsAssgd AS InsurPlcyPremPyrRmngAmtIsAssgd,
  PremPayer.InsurPlcyPremiumCurrency AS InsurPlcyPremiumCurrency
FROM P_InsurPolicyJournalKeys AS PlcyJrnl
INNER JOIN I_InsurPlcyPremPayerBasic AS PremPayer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Currency AS _Currency ON InsurPlcyPremiumCurrency = _Currency.Currency  -- association [1..1]
LEFT OUTER JOIN I_InsurPlcyTemplateT AS _InsurPlcyTemplateT ON InsurPlcyPremiumPayerTemplate = _InsurPlcyTemplateT.InsurPlcyTemplate  -- association [1..*]
LEFT OUTER JOIN I_Address AS _Address ON AddressID = _Address.AddressID  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON InsurPlcyPremiumPayerID = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_CAPaymentMethodText AS _CAPaymentMethodText ON CAPaymentMethod = _CAPaymentMethodText.CAPaymentMethod AND InsurPlcyCountry = _CAPaymentMethodText.Country  -- association [0..*]
LEFT OUTER JOIN I_InsurPlcyCollectionType AS _InsurPlcyCollectionType ON InsurPlcyCollectionType = _InsurPlcyCollectionType.InsurPlcyCollectionType  -- association [1..1]
;