I_PubSecRefDocType

DDL: I_PUBSECREFDOCTYPE SQL: IPSMS4CREFDOCTY Type: view BASIC Package: ODATA_PSM_S4C_FM_POSTINGS

Public Sector Reference Document Type

I_PubSecRefDocType is a Basic CDS View that provides data about "Public Sector Reference Document Type" in SAP S/4HANA. It reads from 1 data source (ttyp) and exposes 2 fields with key field ReferenceDocumentType. It has 1 association to related views. Part of development package ODATA_PSM_S4C_FM_POSTINGS.

Data Sources (1)

SourceAliasJoin Type
ttyp ttyp from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ReferenceDocumentTypeText _Text $projection.ReferenceDocumentType = _Text.ReferenceDocumentType

Annotations (15)

NameValueLevelField
EndUserText.label Public Sector Reference Document Type view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPSMS4CREFDOCTY view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ReferenceDocumentType view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.numberOfKeyFields 1 view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY ReferenceDocumentType
_Text _Text
@EndUserText.label: 'Public Sector Reference Document Type'
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IPSMS4CREFDOCTY'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.representativeKey: 'ReferenceDocumentType'
@AbapCatalog.buffering.status: #ACTIVE
@AbapCatalog.buffering.type: #FULL
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass:  #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AbapCatalog.preserveKey:true 
@AbapCatalog.compiler.compareFilter:true
@AbapCatalog.buffering.numberOfKeyFields: 1

define view I_PubSecRefDocType  as select from ttyp
  association [0..*] to I_ReferenceDocumentTypeText as _Text on $projection.ReferenceDocumentType = _Text.ReferenceDocumentType

{
      @ObjectModel.text.association: '_Text'
  key cast(awtyp as fis_awtyp) as ReferenceDocumentType,
      _Text
}

where
  (
       awtyp = 'PORD'
    or awtyp = 'PREQ'
    or awtyp = 'FMRES'
  )