R_CntrlPurContrHdrCndnValdtyTP

DDL: R_CNTRLPURCONTRHDRCNDNVALDTYTP Type: view_entity TRANSACTIONAL Package: RAP_MM_PUR_CNTRL_PUR_CONTR

CCTR Header Condition Validity

R_CntrlPurContrHdrCndnValdtyTP is a Transactional CDS View that provides data about "CCTR Header Condition Validity" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurContrHdrCndnValdty) and exposes 10 fields with key fields CentralPurchaseContract, ConditionRecord, ConditionValidityEndDate. It has 1 association to related views. Part of development package RAP_MM_PUR_CNTRL_PUR_CONTR.

Data Sources (1)

SourceAliasJoin Type
I_CntrlPurContrHdrCndnValdty I_CntrlPurContrHdrCndnValdty from

Associations (1)

CardinalityTargetAliasCondition
[1..*] R_CntrlPurContrHdrCndnAmountTP _CntrlPurContrHdrCndnAmount

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label CCTR Header Condition Validity view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract Purchasing Doc.
KEY ConditionRecord ConditionRecord Cond.Record No.
KEY ConditionValidityEndDate ConditionValidityEndDate Valid To
ConditionApplication ConditionApplication Application
ConditionType ConditionType Condition type
ConditionValidityStartDate ConditionValidityStartDate Valid From
ConditionIsDeleted ConditionIsDeleted Deletion Indic.
LastChangeDateTime _CentralPurchaseContract LastChangeDateTime Timestamp
_CntrlPurContrHdrCndnAmount _CntrlPurContrHdrCndnAmount
_CentralPurchaseContract _CentralPurchaseContract

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_CntrlPurContrHdrCndnValdtyTP.
-- 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_CntrlPurContrHdrCndnValdtyTP AS
SELECT
  CentralPurchaseContract,
  ConditionRecord,
  ConditionValidityEndDate,
  ConditionApplication,
  ConditionType,
  ConditionValidityStartDate,
  ConditionIsDeleted,
  _CentralPurchaseContract.LastChangeDateTime AS LastChangeDateTime
FROM I_CntrlPurContrHdrCndnValdty
LEFT OUTER JOIN R_CntrlPurContrHdrCndnAmountTP AS _CntrlPurContrHdrCndnAmount ON /* condition not available in parsed metadata */  -- association [1..*]
;