A_DocumentInfoRecordCharc

DDL: A_DOCUMENTINFORECORDCHARC SQL: ANGCDIRCLFN3 Type: view COMPOSITE

Classification Characteristics

A_DocumentInfoRecordCharc is a Composite CDS View that provides data about "Classification Characteristics" in SAP S/4HANA. It reads from 1 data source (I_ClfnObjectCharcForKeyDate) and exposes 11 fields with key fields DocumentInfoRecordDocType, DocumentInfoRecordDocNumber, DocumentInfoRecordDocVersion, DocumentInfoRecordDocPart, CharcInternalID. 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..*] A_DocumentInfoRecordClassCharc _ClassCharacteristics $projection.DocumentInfoRecordDocType = _ClassCharacteristics.DocumentInfoRecordDocType and $projection.DocumentInfoRecordDocNumber = _ClassCharacteristics.DocumentInfoRecordDocNumber and $projection.DocumentInfoRecordDocVersion = _ClassCharacteristics.DocumentInfoRecordDocVersion and $projection.DocumentInfoRecordDocPart = _ClassCharacteristics.DocumentInfoRecordDocPart and $projection.CharcInternalID = _ClassCharacteristics.CharcInternalID and $projection.ClassType = _ClassCharacteristics.ClassType

Annotations (13)

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

KeyFieldSource TableSource FieldDescription
KEY DocumentInfoRecordDocType DocumentInfoRecord DocumentInfoRecordDocType
KEY DocumentInfoRecordDocNumber DocumentInfoRecord DocumentInfoRecordDocNumber
KEY DocumentInfoRecordDocVersion DocumentInfoRecord DocumentInfoRecordDocVersion
KEY DocumentInfoRecordDocPart DocumentInfoRecord DocumentInfoRecordDocPart
KEY CharcInternalID CharcInternalID
KEY ClassType ClassType
KeyDate
CharcMaintAuthGrp
_Valuation _Valuation
_DocumentInfoRecord _DocumentInfoRecord
_ClassCharacteristics _ClassCharacteristics
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.sqlViewName: 'ANGCDIRCLFN3'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Classification 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_DocumentInfoRecordCharc 
  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..*] to A_DocumentInfoRecordClassCharc as _ClassCharacteristics on
      $projection.DocumentInfoRecordDocType = _ClassCharacteristics.DocumentInfoRecordDocType and
      $projection.DocumentInfoRecordDocNumber = _ClassCharacteristics.DocumentInfoRecordDocNumber and
      $projection.DocumentInfoRecordDocVersion = _ClassCharacteristics.DocumentInfoRecordDocVersion and
      $projection.DocumentInfoRecordDocPart = _ClassCharacteristics.DocumentInfoRecordDocPart and
      $projection.CharcInternalID = _ClassCharacteristics.CharcInternalID and
      $projection.ClassType = _ClassCharacteristics.ClassType
  {
    key DocumentInfoRecord.DocumentInfoRecordDocType,
    key DocumentInfoRecord.DocumentInfoRecordDocNumber,
    key DocumentInfoRecord.DocumentInfoRecordDocVersion,
    key DocumentInfoRecord.DocumentInfoRecordDocPart,
    key CharcInternalID,
    key ClassType,
    
    $parameters.P_KeyDate as KeyDate,
    
    @Consumption.hidden: true
    _Characteristic(P_KeyDate: $parameters.P_KeyDate).CharcMaintAuthGrp,
    
    @Consumption.filter.businessDate.at: true
    _Valuation,
    _DocumentInfoRecord,
    _ClassCharacteristics
  }
    where
      ClfnObjectTable = 'DRAW' and
      ClfnObjectType = 'O'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"A_DOCUMENTINFORECORD",
"I_CLFNCHARACTERISTICFORKEYDATE",
"I_CLFNOBJECTCHARCFORKEYDATE"
],
"ASSOCIATED":
[
"A_DOCUMENTINFORECORD",
"A_DOCUMENTINFORECORDCHARCVALUE",
"A_DOCUMENTINFORECORDCLASSCHARC"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/