P_SubscrpnProdWithoutSpec

DDL: P_SUBSCRPNPRODWITHOUTSPEC SQL: PSPRODWOSPEC Type: view BASIC

P_SubscrpnProdWithoutSpec is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (mara, t134, crms4d_som_spsd) and exposes 4 fields with key field Product.

Data Sources (3)

SourceAliasJoin Type
mara Product from
t134 ProductType inner
crms4d_som_spsd SubscrpnProdSpec left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PSPRODWOSPEC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey Product view
VDM.private true view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Product mara matnr
ProductType mara mtart
ProductGroup mara matkl
AuthorizationGroup mara begru
@AbapCatalog.sqlViewName: 'PSPRODWOSPEC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Subscription Product  w/o Specification'

@ClientHandling.algorithm: #SESSION_VARIABLE

@ObjectModel.representativeKey: 'Product'

@VDM.private: true
@VDM.viewType: #BASIC

define view P_SubscrpnProdWithoutSpec
  as select from    mara            as Product
    left outer join crms4d_som_spsd as SubscrpnProdSpec on SubscrpnProdSpec.product = Product.matnr
    inner join      t134            as ProductType      on Product.mtart = ProductType.mtart

{
  key Product.matnr                         as Product,
      Product.mtart                         as ProductType,
      Product.matkl                         as ProductGroup,
      Product.begru                         as AuthorizationGroup
}
where
      ProductType.prod_type_code = '3'
  and Product.lvorm = ''
  and SubscrpnProdSpec.product   is null;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"CRMS4D_SOM_SPSD",
"MARA",
"T134"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/