P_ConflictedContrPendingDays

DDL: P_CONFLICTEDCONTRPENDINGDAYS Type: view_entity COMPOSITE

P_ConflictedContrPendingDays is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_RevenueAccountingContract) and exposes 3 fields with key field RevenueAccountingContract. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RevenueAccountingContract Contract from

Associations (2)

CardinalityTargetAliasCondition
[1..1] P_RAConflictedContrChangeDate _RAConflictedContrChangeDate $projection.RevenueAccountingContract = _RAConflictedContrChangeDate.RevenueAccountingContract
[0..1] I_UnitOfMeasure _UnitOfMeasure _UnitOfMeasure.UnitOfMeasure = $projection.DurationUnit

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY RevenueAccountingContract I_RevenueAccountingContract RevenueAccountingContract Revenue Contract
DurationUnit
_UnitOfMeasure _UnitOfMeasure

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_ConflictedContrPendingDays.
-- 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_ConflictedContrPendingDays AS
SELECT
  Contract.RevenueAccountingContract AS RevenueAccountingContract,
  cast('TAG' as farr_duration_unit) AS DurationUnit
FROM I_RevenueAccountingContract AS Contract
LEFT OUTER JOIN P_RAConflictedContrChangeDate AS _RAConflictedContrChangeDate ON RevenueAccountingContract = _RAConflictedContrChangeDate.RevenueAccountingContract  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON _UnitOfMeasure.UnitOfMeasure = DurationUnit  -- association [0..1]
;