I_CLFNCHARCFORKEYDATETP

CDS View

TP for Classification Characteristic

I_CLFNCHARCFORKEYDATETP is a CDS View in S/4HANA. TP for Classification Characteristic. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
A_ClfnCharacteristicForKeyDate view_entity from CONSUMPTION Characteristic Header Data
//@ClientHandling.algorithm: #SESSION_VARIABLE

//@AbapCatalog.sqlViewName: 'INGCCHR01TP'

//@AbapCatalog.compiler.compareFilter: true

@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'TP for Classification Characteristic'
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.representativeKey: 'CharcInternalID'
@ObjectModel.sapObjectNodeType.name: 'ClassificationCharacteristic'

//@AbapCatalog.preserveKey: true


//@ObjectModel.createEnabled: true

//@ObjectModel.updateEnabled: true

//@ObjectModel.deleteEnabled: true

//@ObjectModel.writeActiveImplementedBy: 'ABAP:CL_NGC_RAP_CHR'

//@ObjectModel.entityChangeStateId: 'CharcLastChangedDateTime'

//@ObjectModel.transactionalProcessingEnabled: true

define root view entity I_ClfnCharcForKeyDateTP  
  with parameters
    // @Semantics.businessDate.at: true

    @Environment.systemField: #SYSTEM_DATE
    @Consumption.hidden: true 
    P_KeyDate : sydate
  as select from I_ClfnCharacteristicForKeyDate( P_KeyDate: $parameters.P_KeyDate ) as Characteristic
      //used only until related view are released, then they will come via I_ClfnCharacteristicForKeyDate

      association [0..*] to I_ClfnCharcGroupText as _CharacteristicGroupText
        on  $projection.CharcGroup  = _CharacteristicGroupText.CharcGroup
      association [0..*] to I_ClfnCharcStatusText as _CharacteristicStatusText
        on  $projection.CharcStatus  = _CharacteristicStatusText.CharcStatus
  
      composition [1..*] of I_ClfnCharcDescForKeyDateTP as _CharacteristicDesc
      composition [0..*] of I_ClfnCharcRstrcnForKeyDateTP as _CharacteristicRestriction
      composition [0..*] of I_ClfnCharcRefForKeyDateTP as _CharacteristicReference
      composition [0..*] of I_ClfnCharcValForKeyDateTP as _CharacteristicValue
  
//      association [0..*] to I_ClfnCharcDescForKeyDateTP as _CharacteristicDesc

//        on _CharacteristicDesc.CharcInternalID =  $projection.CharcInternalID

//      association [0..*] to I_ClfnCharcValForKeyDateTP as _CharacteristicValue

//        on _CharacteristicValue.CharcInternalID = $projection.CharcInternalID     

//      association [0..*] to I_ClfnCharcRstrcnForKeyDateTP as _CharacteristicRestriction

//        on _CharacteristicRestriction.CharcInternalID = $projection.CharcInternalID   

//      association [0..*] to I_ClfnCharcRefForKeyDateTP as _CharacteristicReference

//        on _CharacteristicReference.CharcInternalID = $projection.CharcInternalID    

{
  key Characteristic.CharcInternalID,
      Characteristic.Characteristic,
      Characteristic.CharcStatus,
      //used only until related view are released

      //_CharacteristicStatus._CharacteristicStatusText[1:Language=$session.system_language].CharcStatusName,

      _CharacteristicStatusText[1:Language=$session.system_language].CharcStatusName,
      Characteristic.CharcDataType,
      Characteristic.CharcLength,
      Characteristic.CharcDecimals,
      Characteristic.CharcTemplate,
      Characteristic.ValueIsCaseSensitive,
      Characteristic.CharcGroup,
      //used only until related view are released

      //_CharacteristicGroup._CharacteristicGroupText[1:Language=$session.system_language].CharcGroupName,

      _CharacteristicGroupText[1:Language=$session.system_language].CharcGroupName,
      EntryIsRequired,
//      @ObjectModel.mandatory: true

      MultipleValuesAreAllowed,
      Characteristic.CharcValueUnit,
      _UnitOfMeasure.UnitOfMeasureISOCode,
      Characteristic.Currency,
      _Currency.CurrencyISOCode,
      Characteristic.CharcExponentValue,
      ValueIntervalIsAllowed,
      AdditionalValueIsAllowed,
      Characteristic.NegativeValueIsAllowed,
      Characteristic.ValidityStartDate,
      Characteristic.ValidityEndDate,         
      Characteristic.ChangeNumber,
      Characteristic.DocumentInfoRecordDocType,
      Characteristic.DocumentInfoRecordDocNumber,
      Characteristic.DocumentInfoRecordDocVersion,
      Characteristic.DocumentInfoRecordDocPart,  
      Characteristic.CharcMaintAuthGrp,
      CharcIsReadOnly,
      CharcIsHidden,
      Characteristic.CharcIsRestrictable,
      Characteristic.CharcExponentFormat,
      CharcEntryIsNotFormatCtrld,
      CharcTemplateIsDisplayed,      
      Characteristic.CreationDate,
      Characteristic.LastChangeDate,      
      
//      @ObjectModel.readOnly: true

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

      $parameters.P_KeyDate as KeyDate,

//      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]

      _CharacteristicDesc,
//      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]

      _CharacteristicRestriction,
//      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]

      _CharacteristicReference,    
//      @ObjectModel.association.type: [#TO_COMPOSITION_CHILD]

      _CharacteristicValue          
}