R_VarCnfHistlProductProfileTP

DDL: R_VARCNFHISTLPRODUCTPROFILETP Type: view_entity TRANSACTIONAL Package: VCH_RAP_MD_CP

Histl Var Configuration Profile - TP

R_VarCnfHistlProductProfileTP is a Transactional CDS View that provides data about "Histl Var Configuration Profile - TP" in SAP S/4HANA. It reads from 1 data source (I_VarCnfHistoricalProfileBasic) and exposes 25 fields with key fields Product, VarConfigurationProfileName, ChangeNumber. It has 4 associations to related views. Part of development package VCH_RAP_MD_CP.

Data Sources (1)

SourceAliasJoin Type
I_VarCnfHistoricalProfileBasic I_VarCnfHistoricalProfileBasic from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.Product = _Product.Product
[0..*] R_VarCnfProdPrflProcedAssgmtTP _ProcedureAssignment $projection.Product = _ProcedureAssignment.Product and $projection.VarConfigurationProfileName = _ProcedureAssignment.VarConfigurationProfileName and $projection.ObjDpnAssignmentNumber = _ProcedureAssignment.ObjDpnAssignmentNumber and $projection.ValidityStartDate <= _ProcedureAssignment.ValidityEndDate and $projection.ValidityEndDate >= _ProcedureAssignment.ValidityStartDate
[0..*] R_VarCnfProdPrflCstrtNetAsgtTP _ConstraintNetAssignment $projection.Product = _ConstraintNetAssignment.Product and $projection.VarConfigurationProfileName = _ConstraintNetAssignment.VarConfigurationProfileName and $projection.ObjDpnAssignmentNumber = _ConstraintNetAssignment.ObjDpnAssignmentNumber and $projection.ValidityStartDate <= _ConstraintNetAssignment.ValidityEndDate and $projection.ValidityEndDate >= _ConstraintNetAssignment.ValidityStartDate
[0..*] R_VarCnfProdPrflChGrpAsgtTP _CharacteristicGroupAssignment

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Histl Var Configuration Profile - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY Product
KEY VarConfigurationProfileName VarConfigurationProfileName Rate Profile
KEY ChangeNumber ChangeNumber Change Number
ClassType ClassType X Flag
VarConfigurationProfileNumber VarConfigurationProfileNumber Sort pos.
VarConfigurationProfileStatus VarConfigurationProfileStatus Workflow Status
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
IsDeleted IsDeleted TRUE
BOMExplosionApplication BOMExplosionApplication BOM Application
BOMExplosionLevel BOMExplosionLevel
VarConfigurationProfileProcess VarConfigurationProfileProcess
VarCnfPrflOrderBOMFixatingMode VarCnfPrflOrderBOMFixatingMode
VarCnfProfilePriorityValue VarCnfProfilePriorityValue Profile priority
ObjDpnAssignmentNumber ObjDpnAssignmentNumber Assgmt no.
CreationDate CreationDate Time Stamp
CreatedByUser CreatedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
_Profile _Profile
_Product _Product
_ProcedureAssignment _ProcedureAssignment
_ConstraintNetAssignment _ConstraintNetAssignment
_CharacteristicGroupAssignment _CharacteristicGroupAssignment

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_VarCnfHistlProductProfileTP.
-- 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_VarCnfHistlProductProfileTP AS
SELECT
  cast (substring( VariantConfigurationObject, 1, 40 ) as productnumber preserving type ) AS Product,
  VarConfigurationProfileName,
  ChangeNumber,
  ClassType,
  VarConfigurationProfileNumber,
  VarConfigurationProfileStatus,
  ValidityStartDate,
  ValidityEndDate,
  IsDeleted,
  BOMExplosionApplication,
  BOMExplosionLevel,
  VarConfigurationProfileProcess,
  VarCnfPrflOrderBOMFixatingMode,
  VarCnfProfilePriorityValue,
  ObjDpnAssignmentNumber,
  CreationDate,
  CreatedByUser,
  LastChangeDate,
  LastChangedByUser,
  LastChangeDateTime
FROM I_VarCnfHistoricalProfileBasic
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN R_VarCnfProdPrflProcedAssgmtTP AS _ProcedureAssignment ON Product = _ProcedureAssignment.Product AND VarConfigurationProfileName = _ProcedureAssignment.VarConfigurationProfileName AND ObjDpnAssignmentNumber = _ProcedureAssignment.ObjDpnAssignmentNumber AND ValidityStartDate <= _ProcedureAssignment.ValidityEndDate AND ValidityEndDate >= _ProcedureAssignment.ValidityStartDate  -- association [0..*]
LEFT OUTER JOIN R_VarCnfProdPrflCstrtNetAsgtTP AS _ConstraintNetAssignment ON Product = _ConstraintNetAssignment.Product AND VarConfigurationProfileName = _ConstraintNetAssignment.VarConfigurationProfileName AND ObjDpnAssignmentNumber = _ConstraintNetAssignment.ObjDpnAssignmentNumber AND ValidityStartDate <= _ConstraintNetAssignment.ValidityEndDate AND ValidityEndDate >= _ConstraintNetAssignment.ValidityStartDate  -- association [0..*]
LEFT OUTER JOIN R_VarCnfProdPrflChGrpAsgtTP AS _CharacteristicGroupAssignment ON /* condition not available in parsed metadata */  -- association [0..*]
;