A_ProductClass

DDL: A_PRODUCTCLASS SQL: ANGCPRODCLFN4 Type: view COMPOSITE

Class Assignments

A_ProductClass is a Composite CDS View that provides data about "Class Assignments" in SAP S/4HANA. It reads from 1 data source (I_ClfnObjectClassForKeyDate) and exposes 8 fields with key fields Product, ClassInternalID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ClfnObjectClassForKeyDate I_ClfnObjectClassForKeyDate from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (3)

CardinalityTargetAliasCondition
[0..*] A_ProductClassCharc _Characteristics $projection.Product = _Characteristics.Product and $projection.ClassInternalID = _Characteristics.ClassInternalID
[1..1] A_ClfnProductClassHeader _ClassDetails $projection.ClassInternalID = _ClassDetails.ClassInternalID
[1..1] A_ClfnProduct _Product $projection.Product = _Product.Product

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ANGCPRODCLFN4 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Class Assignments view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
Consumption.filter.businessDate.at true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY Product ClfnObjectID
KEY ClassInternalID ClassInternalID
KeyDate
ChangeNumber ChangeNumber
ClassType ClassType
_Characteristics _Characteristics
_ClassDetails _ClassDetails
_Product _Product
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'ANGCPRODCLFN4'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Class Assignments'
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
@Consumption.filter.businessDate.at: true
define view A_ProductClass 
  with parameters
    @Consumption.hidden: true
    @Semantics.businessDate.at: true
    P_KeyDate:sydate
  as select from I_ClfnObjectClassForKeyDate(P_KeyDate: $parameters.P_KeyDate) as Classification
    association [0..*] to A_ProductClassCharc as _Characteristics on
      $projection.Product = _Characteristics.Product and
      $projection.ClassInternalID = _Characteristics.ClassInternalID
    association [1..1] to A_ClfnProductClassHeader as _ClassDetails on
      $projection.ClassInternalID = _ClassDetails.ClassInternalID 
    association [1..1] to A_ClfnProduct as _Product on
      $projection.Product = _Product.Product     
  {
    key ClfnObjectID as Product,
    key ClassInternalID,
    
    $parameters.P_KeyDate as KeyDate,
    ChangeNumber,
    ClassType,
    
    _Characteristics,
    _ClassDetails,
    _Product
  }
    where
      ClfnObjectTable = 'MARA' or
      ClfnObjectTable = 'MARAT'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CLFNOBJECTCLASSFORKEYDATE"
],
"ASSOCIATED":
[
"A_CLFNPRODUCT",
"A_CLFNPRODUCTCLASSHEADER",
"A_PRODUCTCLASSCHARC"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/