A_ClfnCharacteristicForKeyDate

DDL: A_CLFNCHARACTERISTICFORKEYDATE SQL: ANGCCHR01 Type: view_entity CONSUMPTION Package: NGC_API_VDM

Characteristic Header Data

A_ClfnCharacteristicForKeyDate is a Consumption CDS View that provides data about "Characteristic Header Data" in SAP S/4HANA. It reads from 1 data source (I_ClfnCharcForKeyDateTP) and exposes 43 fields with key field CharcInternalID. It has 4 associations to related views. Part of development package NGC_API_VDM.

Data Sources (1)

SourceAliasJoin Type
I_ClfnCharcForKeyDateTP I_ClfnCharcForKeyDateTP from

Parameters (1)

NameTypeDefault
P_KeyDate sydate

Associations (4)

CardinalityTargetAliasCondition
[1..*] A_ClfnCharcDescForKeyDate _CharacteristicDesc
[0..*] A_ClfnCharcRstrcnForKeyDate _CharacteristicRestriction
[0..*] A_ClfnCharcRefForKeyDate _CharacteristicReference
[0..*] A_ClfnCharcValueForKeyDate _CharacteristicValue

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Characteristic Header Data view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey CharcInternalID view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
Consumption.filter.businessDate.at true view

Fields (43)

KeyFieldSource TableSource FieldDescription
KEY CharcInternalID Characteristic CharcInternalID
Characteristic Characteristic Characteristic
CharcStatus Characteristic CharcStatus
CharcStatusName Characteristic CharcStatusName
CharcDataType Characteristic CharcDataType
CharcLength Characteristic CharcLength
CharcDecimals Characteristic CharcDecimals
CharcTemplate Characteristic CharcTemplate
ValueIsCaseSensitive Characteristic ValueIsCaseSensitive
CharcGroup Characteristic CharcGroup
CharcGroupName Characteristic CharcGroupName
EntryIsRequired Characteristic EntryIsRequired
MultipleValuesAreAllowed Characteristic MultipleValuesAreAllowed
CharcValueUnit Characteristic CharcValueUnit
UnitOfMeasureISOCode Characteristic UnitOfMeasureISOCode
Currency Characteristic Currency
CurrencyISOCode Characteristic CurrencyISOCode
CharcExponentValue Characteristic CharcExponentValue
ValueIntervalIsAllowed Characteristic ValueIntervalIsAllowed
AdditionalValueIsAllowed Characteristic AdditionalValueIsAllowed
NegativeValueIsAllowed Characteristic NegativeValueIsAllowed
ValidityStartDate Characteristic ValidityStartDate
ValidityEndDate Characteristic ValidityEndDate
ChangeNumber Characteristic ChangeNumber
DocumentType Characteristic DocumentInfoRecordDocType
DocNumber Characteristic DocumentInfoRecordDocNumber
DocumentVersion Characteristic DocumentInfoRecordDocVersion
DocumentPart Characteristic DocumentInfoRecordDocPart
CharcMaintAuthGrp Characteristic CharcMaintAuthGrp
CharcIsReadOnly Characteristic CharcIsReadOnly
CharcIsHidden Characteristic CharcIsHidden
CharcIsRestrictable
CharcExponentFormat Characteristic CharcExponentFormat
CharcEntryIsNotFormatCtrld Characteristic CharcEntryIsNotFormatCtrld
CharcTemplateIsDisplayed Characteristic CharcTemplateIsDisplayed
CreationDate Characteristic CreationDate
LastChangeDate Characteristic LastChangeDate
CharcLastChangedDateTime Characteristic CharcLastChangedDateTime
KeyDate
_CharacteristicDesc _CharacteristicDesc
_CharacteristicRestriction _CharacteristicRestriction
_CharacteristicReference _CharacteristicReference
_CharacteristicValue _CharacteristicValue
//@ClientHandling.algorithm: #SESSION_VARIABLE

//@AbapCatalog.sqlViewName: 'ANGCCHR01'

//@AbapCatalog.compiler.compareFilter: true

//@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Characteristic Header Data'
//@VDM.viewType: #COMPOSITE

@VDM.viewType: #CONSUMPTION
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.representativeKey: 'CharcInternalID'
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MASTER
@Consumption.filter.businessDate.at: true
define root view entity A_ClfnCharacteristicForKeyDate 
  with parameters
    @Consumption.hidden: true 
    @Semantics.businessDate.at: true
    P_KeyDate :sydate
  as select from I_ClfnCharcForKeyDateTP( P_KeyDate: $parameters.P_KeyDate ) as Characteristic

      composition [1..*] of A_ClfnCharcDescForKeyDate   as _CharacteristicDesc
      composition [0..*] of A_ClfnCharcRstrcnForKeyDate as _CharacteristicRestriction
      composition [0..*] of A_ClfnCharcRefForKeyDate    as _CharacteristicReference
      composition [0..*] of A_ClfnCharcValueForKeyDate  as _CharacteristicValue

{
  key Characteristic.CharcInternalID,
      Characteristic.Characteristic,
      Characteristic.CharcStatus,
//      @ObjectModel.readOnly: true

      Characteristic.CharcStatusName,
      Characteristic.CharcDataType,
      Characteristic.CharcLength,
      Characteristic.CharcDecimals,
      Characteristic.CharcTemplate,
      Characteristic.ValueIsCaseSensitive,
      Characteristic.CharcGroup,
//      @ObjectModel.readOnly: true

      Characteristic.CharcGroupName,
      Characteristic.EntryIsRequired,
//      @ObjectModel.mandatory: true

      Characteristic.MultipleValuesAreAllowed,
      Characteristic.CharcValueUnit,
      Characteristic.UnitOfMeasureISOCode,
      Characteristic.Currency,
      Characteristic.CurrencyISOCode,
      Characteristic.CharcExponentValue,
      Characteristic.ValueIntervalIsAllowed,
      Characteristic.AdditionalValueIsAllowed,
      Characteristic.NegativeValueIsAllowed,
      Characteristic.ValidityStartDate,
      Characteristic.ValidityEndDate,         
      Characteristic.ChangeNumber,
      Characteristic.DocumentInfoRecordDocType    as DocumentType,
      Characteristic.DocumentInfoRecordDocNumber  as DocNumber,
      Characteristic.DocumentInfoRecordDocVersion as DocumentVersion,
      Characteristic.DocumentInfoRecordDocPart    as DocumentPart,  
      Characteristic.CharcMaintAuthGrp,
      Characteristic.CharcIsReadOnly,
      Characteristic.CharcIsHidden,  
      cast ( Characteristic.CharcIsRestrictable as atgla ) as CharcIsRestrictable, //casting needed because of odata service compatibility reason

      Characteristic.CharcExponentFormat,
      Characteristic.CharcEntryIsNotFormatCtrld,
      Characteristic.CharcTemplateIsDisplayed,
//      @ObjectModel.readOnly: true

      Characteristic.CreationDate,
//      @ObjectModel.readOnly: true

      Characteristic.LastChangeDate,       
//      @ObjectModel.readOnly: true

      Characteristic.CharcLastChangedDateTime,
//      @ObjectModel.readOnly: true

      $parameters.P_KeyDate as KeyDate,

      _CharacteristicDesc,
      _CharacteristicRestriction,
      _CharacteristicReference,    
      _CharacteristicValue          
}