A_DocumentInfoRecordClassCharc

DDL: A_DOCUMENTINFORECORDCLASSCHARC SQL: ANGCDIRCLFN2 Type: view COMPOSITE

Classification Class Characteristics

A_DocumentInfoRecordClassCharc is a Composite CDS View that provides data about "Classification Class Characteristics" in SAP S/4HANA. It reads from 1 data source (I_ClfnObjectCharcForKeyDate) and exposes 12 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, ClassInternalID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ClfnObjectCharcForKeyDate I_ClfnObjectCharcForKeyDate from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (3)

CardinalityTargetAliasCondition
[1..1] A_DocumentInfoRecord _DocumentInfoRecord $projection.DocumentInfoRecordDocType = _DocumentInfoRecord.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _DocumentInfoRecord.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _DocumentInfoRecord.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocPart = _DocumentInfoRecord.DocumentInfoRecordDocPart
[0..*] A_DocumentInfoRecordCharcValue _Valuation $projection.DocumentInfoRecordDocType = _Valuation.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _Valuation.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _Valuation.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocPart = _Valuation.DocumentInfoRecordDocPart and $projection.CharcInternalID = _Valuation.CharcInternalID and $projection.ClassType = _Valuation.ClassType
[1..1] A_DocumentInfoRecordClass _ClassDetails $projection.ClassInternalID = _ClassDetails.ClassInternalID and $projection.DocumentInfoRecordDocType = _ClassDetails.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _ClassDetails.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _ClassDetails.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocPart = _ClassDetails.DocumentInfoRecordDocPart

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ANGCDIRCLFN2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Classification Class Characteristics 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 (12)

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType DocumentInfoRecord DocumentInfoRecordDocType
KEY DocumentInfoRecordDocNumber DocumentInfoRecord DocumentInfoRecordDocNumber
KEY DocumentInfoRecordDocVersion DocumentInfoRecord DocumentInfoRecordDocVersion
KEY DocumentInfoRecordDocPart DocumentInfoRecord DocumentInfoRecordDocPart
KEY ClassInternalID ClassInternalID
KEY CharcInternalID CharcInternalID
KeyDate
ClassType ClassType
CharcMaintAuthGrp
_Valuation _Valuation
_DocumentInfoRecord _DocumentInfoRecord
_ClassDetails _ClassDetails
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'ANGCDIRCLFN2'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Classification Class Characteristics'
@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_DocumentInfoRecordClassCharc 
  with parameters
    @Consumption.hidden: true
    @Semantics.businessDate.at: true
    P_KeyDate:sydate
  as select from I_ClfnObjectCharcForKeyDate(P_KeyDate: $parameters.P_KeyDate) as Characteristics 
    join A_DocumentInfoRecord as DocumentInfoRecord on
      Characteristics.ClfnObjectID = DocumentInfoRecord.DocumentInfoRecord
  
    association [1..1] to A_DocumentInfoRecord as _DocumentInfoRecord on
      $projection.DocumentInfoRecordDocType = _DocumentInfoRecord.DocumentInfoRecordDocType and
      $projection.DocumentInfoRecordDocNumber = _DocumentInfoRecord.DocumentInfoRecordDocNumber and
      $projection.DocumentInfoRecordDocVersion = _DocumentInfoRecord.DocumentInfoRecordDocVersion and
      $projection.DocumentInfoRecordDocPart = _DocumentInfoRecord.DocumentInfoRecordDocPart
    association [0..*] to A_DocumentInfoRecordCharcValue as _Valuation on
      $projection.DocumentInfoRecordDocType = _Valuation.DocumentInfoRecordDocType and
      $projection.DocumentInfoRecordDocNumber = _Valuation.DocumentInfoRecordDocNumber and
      $projection.DocumentInfoRecordDocVersion = _Valuation.DocumentInfoRecordDocVersion and
      $projection.DocumentInfoRecordDocPart = _Valuation.DocumentInfoRecordDocPart and
      $projection.CharcInternalID = _Valuation.CharcInternalID and
      $projection.ClassType = _Valuation.ClassType
    association [1..1] to A_DocumentInfoRecordClass as _ClassDetails on
      $projection.ClassInternalID = _ClassDetails.ClassInternalID and
      $projection.DocumentInfoRecordDocType = _ClassDetails.DocumentInfoRecordDocType and
      $projection.DocumentInfoRecordDocNumber = _ClassDetails.DocumentInfoRecordDocNumber and
      $projection.DocumentInfoRecordDocVersion = _ClassDetails.DocumentInfoRecordDocVersion and
      $projection.DocumentInfoRecordDocPart = _ClassDetails.DocumentInfoRecordDocPart
  {
    key DocumentInfoRecord.DocumentInfoRecordDocType,
    key DocumentInfoRecord.DocumentInfoRecordDocNumber,
    key DocumentInfoRecord.DocumentInfoRecordDocVersion,
    key DocumentInfoRecord.DocumentInfoRecordDocPart,
    key ClassInternalID,
    key CharcInternalID,

    $parameters.P_KeyDate as KeyDate,
    ClassType,
    @Consumption.hidden: true
    _Characteristic(P_KeyDate: $parameters.P_KeyDate).CharcMaintAuthGrp,
       
    @Consumption.filter.businessDate.at: true
    _Valuation,
    _DocumentInfoRecord,
    _ClassDetails
  }
    where
      ClfnObjectTable = 'DRAW' and
      ClfnObjectType = 'O'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"A_DOCUMENTINFORECORD",
"I_CLFNCHARACTERISTICFORKEYDATE",
"I_CLFNOBJECTCHARCFORKEYDATE"
],
"ASSOCIATED":
[
"A_DOCUMENTINFORECORD",
"A_DOCUMENTINFORECORDCHARCVALUE",
"A_DOCUMENTINFORECORDCLASS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/