R_VarCnfHistlProductProfileTP
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_VarCnfHistoricalProfileBasic | I_VarCnfHistoricalProfileBasic | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA