I_PhysInvtryCountStsTxt

DDL: I_PHYSINVTRYCOUNTSTSTXT Type: view BASIC

Count Status of Phys Invtry - Text

I_PhysInvtryCountStsTxt is a Basic CDS View that provides data about "Count Status of Phys Invtry - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, PhysicalInventoryCountStatus. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_PhysInvtryCountSts _PhysInvtryCountSts $projection.PhysicalInventoryCountStatus = _PhysInvtryCountSts.PhysicalInventoryCountStatus
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IPICTSTST view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Count Status of Phys Invtry - Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey PhysicalInventoryCountStatus view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY PhysicalInventoryCountStatus
PhysicalInventoryCountStsTxt
_Language _Language
_PhysInvtryCountSts _PhysInvtryCountSts
@AbapCatalog: {
                sqlViewName: 'IPICTSTST',
                preserveKey: true,
                compiler.compareFilter: true
              }
@EndUserText.label: 'Count Status of Phys Invtry - Text'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
                usageType: {
                             sizeCategory: #S,
                             serviceQuality: #A,
                             dataClass:#CUSTOMIZING
                           },
                dataCategory: #TEXT,
                representativeKey: 'PhysicalInventoryCountStatus',
                modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
                supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET]
              }

@VDM: {
        viewType: #BASIC,
        lifecycle.contract.type: #PUBLIC_LOCAL_API
      } 
@Metadata: {
             ignorePropagatedAnnotations: true
           }

define view I_PhysInvtryCountStsTxt
  as select from dd07t

  association [0..1] to I_PhysInvtryCountSts as _PhysInvtryCountSts on $projection.PhysicalInventoryCountStatus = _PhysInvtryCountSts.PhysicalInventoryCountStatus

  association [0..1] to I_Language           as _Language           on $projection.Language = _Language.Language
{

      @Semantics.language: true
  key cast( ddlanguage as spras )                                                                   as Language,

      @ObjectModel.foreignKey.association: '_PhysInvtryCountSts'
  key cast ( substring( domvalue_l, 1, 2 ) as pi_hdr_count_status_code ) as PhysicalInventoryCountStatus,

      @Semantics.text: true
      cast ( substring ( ddtext, 1, 60 ) as val_text )                                              as PhysicalInventoryCountStsTxt,

      _Language,
      _PhysInvtryCountSts
}
where
      domname  = 'PI_HDR_COUNT_STATUS_CODE'
  and as4local = 'A'      
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PHYSINVTRYCOUNTSTS"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/