R_CndnContrActiveStatus

DDL: R_CNDNCONTRACTIVESTATUS Type: view_entity COMPOSITE Package: WCB_CC_PERS

Active Status of Condition Contract

R_CndnContrActiveStatus is a Composite CDS View that provides data about "Active Status of Condition Contract" in SAP S/4HANA. It reads from 2 data sources (I_ConditionContract, P_CndnContrActiveStatus) and exposes 6 fields with key fields ConditionContract, StatusCode. It has 2 associations to related views. Part of development package WCB_CC_PERS.

Data Sources (2)

SourceAliasJoin Type
I_ConditionContract Contract inner
P_CndnContrActiveStatus ContractStatus from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ConditionContract _ConditionContract $projection.ConditionContract = _ConditionContract.ConditionContract
[0..1] I_StatusCode _StatusCode $projection.StatusCode = _StatusCode.StatusCode and $projection.StatusProfile = _StatusCode.StatusProfile

Annotations (11)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
Analytics.internalName #LOCAL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.representativeKey StatusCode view
Analytics.technicalName RWCBCCACTSTAT view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Active Status of Condition Contract view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ConditionContract I_ConditionContract ConditionContract Condition Contract
KEY StatusCode P_CndnContrActiveStatus StatusCode Statuscode
IsUserStatus P_CndnContrActiveStatus IsUserStatus
StatusProfile P_CndnContrActiveStatus StatusProfile Status Profile
_ConditionContract _ConditionContract
_StatusCode _StatusCode

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_CndnContrActiveStatus.
-- 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_CndnContrActiveStatus AS
SELECT
  Contract.ConditionContract AS ConditionContract,
  ContractStatus.StatusCode AS StatusCode,
  ContractStatus.IsUserStatus AS IsUserStatus,
  ContractStatus.StatusProfile AS StatusProfile
FROM P_CndnContrActiveStatus AS ContractStatus
INNER JOIN I_ConditionContract AS Contract ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ConditionContract AS _ConditionContract ON ConditionContract = _ConditionContract.ConditionContract  -- association [1..1]
LEFT OUTER JOIN I_StatusCode AS _StatusCode ON StatusCode = _StatusCode.StatusCode AND StatusProfile = _StatusCode.StatusProfile  -- association [0..1]
;