I_InsurPlcyMnlCostPostgBasic

DDL: I_INSURPLCYMNLCOSTPOSTGBASIC Type: view_entity BASIC

Manual Cost Posting in Insurance Policy

I_InsurPlcyMnlCostPostgBasic is a Basic CDS View that provides data about "Manual Cost Posting in Insurance Policy" in SAP S/4HANA. It reads from 1 data source (/pm0/abdamacost) and exposes 31 fields with key fields InsurPlcyUUID, InsurPlcyInsurContr, InsurPlcyPremJournalEndNumber, InsurPlcyPremiumJournalNumber, InsurPlcyCoveragePackageID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/pm0/abdamacost ManualCostPosting from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Currency _Currency $projection.InsurPlcyMnlCostPostgCrcy = _Currency.Currency

Annotations (6)

NameValueLevelField
EndUserText.label Manual Cost Posting in Insurance Policy view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY InsurPlcyUUID
KEY InsurPlcyInsurContr /pm0/abdamacost policyproduct_id Contract Key
KEY InsurPlcyPremJournalEndNumber /pm0/abdamacost journalendno_id Term. Jour. No.
KEY InsurPlcyPremiumJournalNumber
KEY InsurPlcyCoveragePackageID /pm0/abdamacost covpac_id Cov.Package ID
KEY InsurPlcyCoverageID /pm0/abdamacost coverage_id UUID
KEY InsurPlcyManualCostPostingID /pm0/abdamacost macost_id Manual Posting
InsurPlcyProductPackageID /pm0/abdamacost ppdpac_id Prod. Pckg. Key
InsurPlcyMnlCostIsCancelled /pm0/abdamacost cancel_fg Reversal
InsurPlcyMnlCostPostgTargetID /pm0/abdamacost postingtarget_id Posting Target
InsurPlcyMnlCostPostgPartnerID /pm0/abdamacost partner_id Partner ID
InsurPlcyMnlCostPostgAddrNmbr
InsurPlcyMnlCostSettlmtFrmDte /pm0/abdamacost accountfrom_dt Settlement From
InsurPlcyMnlCostSettlmtToDte /pm0/abdamacost accountto_dt Settlement To
InsurPlcyMnlCostPostgCodeID /pm0/abdamacost postingcode_id Posting Code
InsurPlcyMnlCostPostgText /pm0/abdamacost postintx_tt Posting Text
InsurPlcyMnlCostPostgDebitID /pm0/abdamacost debpostcode_id Posting Code
InsurPlcyMnlCostPostgDebitText /pm0/abdamacost debpostintx_tt Posting Text
InsurPlcyMnlCostPostgRcpntID /pm0/abdamacost recipient_id Recipient ID
InsurPlcyMnlCostPostgPaytMeth /pm0/abdamacost incpaymethod_cd Payment Method
InsurPlcyMnlCostPostgCostAmt /pm0/abdamacost macccosts_am Cost Amount
InsurPlcyMnlCostPostgCrcy /pm0/abdamacost currency_id Indx-Based Curr
InsurPlcyMnlCostPostgPayer /pm0/abdamacost payer_cd Payer
InsurPlcyMnlCostPostgDebitAmt /pm0/abdamacost debit_am Debit Amount
InsurPlcyMnlCostPostgIsSettled /pm0/abdamacost settledam_fg Settled
InsurPlcyMnlCostPostgBankDetID /pm0/abdamacost bankacc_id Bank Details
InsurPlcyMnlCostExchRateDte /pm0/abdamacost rate_dt Exchange Rate Date
InsurPlcyMnlCostPostgExchRate
InsurPlcyBusinessObject /pm0/abdamacost bo_cd Process.Status
LastChangeDateTime /pm0/abdamacost change_ts Time Stamp
_Currency _Currency

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_InsurPlcyMnlCostPostgBasic.
-- 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_InsurPlcyMnlCostPostgBasic AS
SELECT
  cast( ManualCostPosting.policy_id as /pm0/vdm_policy_uuid preserving type ) AS InsurPlcyUUID,
  ManualCostPosting.policyproduct_id AS InsurPlcyInsurContr,
  ManualCostPosting.journalendno_id AS InsurPlcyPremJournalEndNumber,
  cast( ManualCostPosting.journalno_id as /pm0/vdm_journal_number_id preserving type ) AS InsurPlcyPremiumJournalNumber,
  ManualCostPosting.covpac_id AS InsurPlcyCoveragePackageID,
  ManualCostPosting.coverage_id AS InsurPlcyCoverageID,
  ManualCostPosting.macost_id AS InsurPlcyManualCostPostingID,
  ManualCostPosting.ppdpac_id AS InsurPlcyProductPackageID,
  ManualCostPosting.cancel_fg AS InsurPlcyMnlCostIsCancelled,
  ManualCostPosting.postingtarget_id AS InsurPlcyMnlCostPostgTargetID,
  ManualCostPosting.partner_id AS InsurPlcyMnlCostPostgPartnerID,
  cast( ManualCostPosting.adressnumber_id as /pm0/vdm_address_id preserving type ) AS InsurPlcyMnlCostPostgAddrNmbr,
  ManualCostPosting.accountfrom_dt AS InsurPlcyMnlCostSettlmtFrmDte,
  ManualCostPosting.accountto_dt AS InsurPlcyMnlCostSettlmtToDte,
  ManualCostPosting.postingcode_id AS InsurPlcyMnlCostPostgCodeID,
  ManualCostPosting.postintx_tt AS InsurPlcyMnlCostPostgText,
  ManualCostPosting.debpostcode_id AS InsurPlcyMnlCostPostgDebitID,
  ManualCostPosting.debpostintx_tt AS InsurPlcyMnlCostPostgDebitText,
  ManualCostPosting.recipient_id AS InsurPlcyMnlCostPostgRcpntID,
  ManualCostPosting.incpaymethod_cd AS InsurPlcyMnlCostPostgPaytMeth,
  ManualCostPosting.macccosts_am AS InsurPlcyMnlCostPostgCostAmt,
  ManualCostPosting.currency_id AS InsurPlcyMnlCostPostgCrcy,
  ManualCostPosting.payer_cd AS InsurPlcyMnlCostPostgPayer,
  ManualCostPosting.debit_am AS InsurPlcyMnlCostPostgDebitAmt,
  ManualCostPosting.settledam_fg AS InsurPlcyMnlCostPostgIsSettled,
  ManualCostPosting.bankacc_id AS InsurPlcyMnlCostPostgBankDetID,
  ManualCostPosting.rate_dt AS InsurPlcyMnlCostExchRateDte,
  cast( ManualCostPosting.rate_vl as /pm0/vdm_translation_vl preserving type ) AS InsurPlcyMnlCostPostgExchRate,
  ManualCostPosting.bo_cd AS InsurPlcyBusinessObject,
  ManualCostPosting.change_ts AS LastChangeDateTime
FROM /pm0/abdamacost AS ManualCostPosting
LEFT OUTER JOIN I_Currency AS _Currency ON InsurPlcyMnlCostPostgCrcy = _Currency.Currency  -- association [1..1]
;