R_VarCnfCharcGroupAllocTP_2

DDL: R_VARCNFCHARCGROUPALLOCTP_2 Type: view_entity TRANSACTIONAL

Characteristic Allocation

R_VarCnfCharcGroupAllocTP_2 is a Transactional CDS View that provides data about "Characteristic Allocation" in SAP S/4HANA. It reads from 1 data source (I_ConfignCharcGroupAlloc) and exposes 12 fields with key fields ConfignCharacteristicGroup, ChangeNumber, CharcInternalID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ConfignCharcGroupAlloc CsticAlloc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ClfnCharcDesc _CharcDesc $projection.CharcInternalID = _CharcDesc.CharcInternalID and _CharcDesc.Language = $session.system_language and _CharcDesc.IsDeleted <> 'X' and _CharcDesc.ValidityStartDate <= $session.system_date and _CharcDesc.ValidityEndDate >= $session.system_date

Annotations (9)

NameValueLevelField
EndUserText.label Characteristic Allocation view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #TRANSACTIONAL view
VDM.private false view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ConfignCharacteristicGroup I_ConfignCharcGroupAlloc ConfignCharacteristicGroup UUID
KEY ChangeNumber I_ConfignCharcGroupAlloc ChangeNumber Change Number
KEY CharcInternalID I_ConfignCharcGroupAlloc CharcInternalID Characteristic Internal ID
TimeIntervalNumber I_ConfignCharcGroupAlloc TimeIntervalNumber Int. counter
SortingNumber I_ConfignCharcGroupAlloc SortingNumber Field of length 16
Characteristic _CsticDef Characteristic Field Name
CharcDescription _CharcDesc CharcDescription
CreatedByUser I_ConfignCharcGroupAlloc CreatedByUser User Name
CreationDateTime I_ConfignCharcGroupAlloc CreationDateTime Timestamp
LastChangedByUser I_ConfignCharcGroupAlloc LastChangedByUser User Name
LastChangeDateTime I_ConfignCharcGroupAlloc LastChangeDateTime Timestamp
_Group _Group

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_VarCnfCharcGroupAllocTP_2.
-- 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_VarCnfCharcGroupAllocTP_2 AS
SELECT
  CsticAlloc.ConfignCharacteristicGroup AS ConfignCharacteristicGroup,
  CsticAlloc.ChangeNumber AS ChangeNumber,
  CsticAlloc.CharcInternalID AS CharcInternalID,
  CsticAlloc.TimeIntervalNumber AS TimeIntervalNumber,
  CsticAlloc.SortingNumber AS SortingNumber,
  _CsticDef.Characteristic AS Characteristic,
  _CharcDesc.CharcDescription AS CharcDescription,
  CsticAlloc.CreatedByUser AS CreatedByUser,
  CsticAlloc.CreationDateTime AS CreationDateTime,
  CsticAlloc.LastChangedByUser AS LastChangedByUser,
  CsticAlloc.LastChangeDateTime AS LastChangeDateTime
FROM I_ConfignCharcGroupAlloc AS CsticAlloc
LEFT OUTER JOIN I_ClfnCharcDesc AS _CharcDesc ON CharcInternalID = _CharcDesc.CharcInternalID AND _CharcDesc.Language = $session.system_language AND _CharcDesc.IsDeleted <> 'X' AND _CharcDesc.ValidityStartDate <= $session.system_date AND _CharcDesc.ValidityEndDate >= $session.system_date  -- association [0..*]
;