P_FSTMT_duplicate_OI

DDL: P_FSTMT_DUPLICATE_OI SQL: PFSTMT_DUP_OI Type: view COMPOSITE Package: FINS_FIS_GL

P_FSTMT_duplicate_OI is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CompanyCode, I_CompanyCode) and exposes 2 fields with key fields bukrs, bstat. Part of development package FINS_FIS_GL.

Data Sources (2)

SourceAliasJoin Type
I_CompanyCode I_CompanyCode from
I_CompanyCode I_CompanyCode union

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PFSTMT_DUP_OI view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY bukrs CompanyCode
KEY bstat
@AbapCatalog.sqlViewName: 'PFSTMT_DUP_OI'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType : { dataClass:      #CUSTOMIZING,
                           serviceQuality: #D,
                            sizeCategory:  #S }
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE

define view P_FSTMT_duplicate_OI
 
 as select from I_CompanyCode
  
{
  key CompanyCode as bukrs, 
  key ' ' as bstat   
}
   union select from I_CompanyCode
   {  
      key CompanyCode as bukrs,
      key 'C' as bstat
}