P_SubscrpnProdWithoutSpec
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)
| Source | Alias | Join Type |
|---|---|---|
| mara | Product | from |
| t134 | ProductType | inner |
| crms4d_som_spsd | SubscrpnProdSpec | left_outer |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 |
@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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA