P_CndnContrCndnUsgeSetlMgmtDoc

DDL: P_CNDNCONTRCNDNUSGESETLMGMTDOC Type: view_entity BASIC Package: WCB_CC_PERS

Condition Usage in Settlement Management Documents

P_CndnContrCndnUsgeSetlMgmtDoc is a Basic CDS View that provides data about "Condition Usage in Settlement Management Documents" in SAP S/4HANA. It reads from 1 data source (P_CndnContrConditionUsage) and exposes 35 fields with key field DocRelationshipUUID. It has 1 association to related views. Part of development package WCB_CC_PERS.

Data Sources (1)

SourceAliasJoin Type
P_CndnContrConditionUsage P_CndnContrConditionUsage from

Associations (1)

CardinalityTargetAliasCondition
[0..1] R_SettlmtMgmtDoc _SettlmtMgmtDoc $projection.AccrSrceDocument = _SettlmtMgmtDoc.SettlmtMgmtDoc

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.representativeKey DocRelationshipUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #BASIC view
VDM.private true view
Metadata.ignorePropagatedAnnotations true view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY DocRelationshipUUID DocRelationshipUUID SM Doc Rel UUID
PricingDocument PricingDocument Document Condition
PricingProcedureStep PricingProcedureStep Step Number
PricingProcedureCounter PricingProcedureCounter Pricing Procedure Counter
ConditionContract ConditionContract Condition Contract
CndnContrUUID CndnContrUUID UUID 22 char.
ConditionRecord ConditionRecord Cond.Record No.
ConditionSequentialNumberShort ConditionSequentialNumberShort Sequent. No. of Cond
CndnContrAccrRvslSts CndnContrAccrRvslSts Accr. Rev. Status
AccrSrceDocCategory AccrSrceDocCategory
AccrSrceDocument AccrSrceDocument
AccrSrceDocumentYear AccrSrceDocumentYear
AccrSrceDocumentItem AccrSrceDocumentItem
ConditionApplication ConditionApplication Application
ConditionType ConditionType Condition type
ConditionAmount ConditionAmount Condition Value
AccrSrceDocCurrency AccrSrceDocCurrency
AccrSrceDocPostingDate AccrSrceDocPostingDate
SettlmtDate SettlmtDate Settlement Date
SettlmtDateSequentialID SettlmtDateSequentialID Settlement Date ID
RefSettlmtDate RefSettlmtDate Reference Date
RefSettlmtDateSequentialID RefSettlmtDateSequentialID Ref Settl Date ID
AccrSrceDocFiscalYear AccrSrceDocFiscalYear
AccrSrceDocItemPlant AccrSrceDocItemPlant
AccrSrceDocCompanyCode AccrSrceDocCompanyCode
SettlmtMgmtDoc
SettlmtMgmtDocItem
_AccrSrceDocCompanyCode _AccrSrceDocCompanyCode
_AccrSrceDocCurrency _AccrSrceDocCurrency
_AccrSrceDocItemPlant _AccrSrceDocItemPlant
_ConditionContract _ConditionContract
_ConditionType _ConditionType
_ConditionApplication _ConditionApplication
_CndnContrAccrRvslSts _CndnContrAccrRvslSts
_CndnContrAccrSrceDocCat _CndnContrAccrSrceDocCat

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 P_CndnContrCndnUsgeSetlMgmtDoc.
-- 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 P_CndnContrCndnUsgeSetlMgmtDoc AS
SELECT
  DocRelationshipUUID,
  PricingDocument,
  PricingProcedureStep,
  PricingProcedureCounter,
  ConditionContract,
  CndnContrUUID,
  ConditionRecord,
  ConditionSequentialNumberShort,
  CndnContrAccrRvslSts,
  AccrSrceDocCategory,
  AccrSrceDocument,
  AccrSrceDocumentYear,
  AccrSrceDocumentItem,
  ConditionApplication,
  ConditionType,
  ConditionAmount,
  AccrSrceDocCurrency,
  AccrSrceDocPostingDate,
  SettlmtDate,
  SettlmtDateSequentialID,
  RefSettlmtDate,
  RefSettlmtDateSequentialID,
  AccrSrceDocFiscalYear,
  AccrSrceDocItemPlant,
  AccrSrceDocCompanyCode,
  cast( AccrSrceDocument as wbeln_ag preserving type ) AS SettlmtMgmtDoc,
  cast( AccrSrceDocumentItem as wposnr_lf preserving type ) AS SettlmtMgmtDocItem
FROM P_CndnContrConditionUsage
LEFT OUTER JOIN R_SettlmtMgmtDoc AS _SettlmtMgmtDoc ON AccrSrceDocument = _SettlmtMgmtDoc.SettlmtMgmtDoc  -- association [0..1]
;