I_LSTDSUBSTWTHVARANDGRPNAME

CDS View

Names of Listed Substances and Groups

I_LSTDSUBSTWTHVARANDGRPNAME is a CDS View in S/4HANA. Names of Listed Substances and Groups. It contains 8 fields. 7 CDS views read from this table.

CDS Views using this table (7)

ViewTypeJoinVDMDescription
C_LstdSubstElementNameDEX view_entity from CONSUMPTION Listed Substance Element Name
I_ListedSubstanceDefName view from COMPOSITE Listed Substance Default Names
I_ListedSubstanceDefNameCust view from COMPOSITE Default Name in All Languages for Customer LiSu
I_ListedSubstanceNameText view from COMPOSITE Listed Substance Text View
I_ListedSubstanceNameTextCust view_entity from COMPOSITE Name of Listed Substance Provided by Customer
I_ListedSubstanceNameTextSAP view from COMPOSITE Listed Substance Text View (SAP Content Only)
I_ListedSubstanceNameTextVH view from COMPOSITE Listed Substance Name Search

Fields (8)

KeyField CDS FieldsUsed in Views
KEY Language Language 2
KEY ListedSubstance ListedSubstance 3
KEY ListedSubstanceName ListedSubstanceName 4
KEY ListedSubstanceNameSequence ListedSubstanceNameSequence,Sequence 4
KEY ListedSubstanceUUID ListedSubstanceUUID 2
CreationDateTime CreationDateTime 1
LastChangeDateTime LastChangeDateTime 1
ListedSubstanceNameUUID ListedSubstanceNameUUID 2
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'Names of Listed Substances and Groups'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'ListedSubstanceNameUUID'

@ObjectModel.usageType:{
  serviceQuality: #A,
  sizeCategory: #L,
  dataClass: #MASTER
}
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] }*/
define view entity I_LstdSubstWthVarAndGrpName
  as select from ehfndd_lisu_name
  association [0..1] to I_User as _CreatedByUser     on $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
{
  key cast(db_key as ehfnd_lisu_name_uuid preserving type)       as ListedSubstanceNameUUID,
      cast(bco_key as ehfnd_lisu_name_char_uuid preserving type) as ListedSubstanceNameCharUUID,
      listsub_id                                                 as ListedSubstance,
      cast(parent_key as ehfnd_lisu_key_nce preserving type)     as ListedSubstanceUUID,
      language                                                   as Language,
      text                                                       as ListedSubstanceName,
      text_normed                                                as ListedSubstanceNormName,
      sequence_number                                            as ListedSubstanceNameSequence,
      name_id                                                    as ListedSubstanceNameIdentifier,

      /* Admin Data */
      @Semantics.systemDateTime.createdAt: true
      cast(datetime_cr as timestamp preserving type)             as CreationDateTime,
      user_id_cr                                                 as CreatedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      cast(datetime_ch  as timestamp preserving type)            as LastChangeDateTime,
      user_id_ch                                                 as LastChangedByUser,
      
      /* Associations */
      _CreatedByUser,
      _LastChangedByUser

}