P_Product_Fs
Private Factsheet - Product
P_Product_Fs is a Basic CDS View that provides data about "Private Factsheet - Product" in SAP S/4HANA. It reads from 5 data sources (I_Product, I_MaterialGroupText, I_MaterialText, I_MaterialTypeText, I_UnitOfMeasureText) and exposes 15 fields with key field Product. Part of development package VDM_MD_PRODUCT_OBSOLETE.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_Product | Material | from |
| I_MaterialGroupText | MaterialGroupText | left_outer |
| I_MaterialText | MaterialText | left_outer |
| I_MaterialTypeText | MaterialTypeText | left_outer |
| I_UnitOfMeasureText | UnitOfMeasureText | left_outer |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPRODUCTFS | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Product | I_Product | Product | |
| MaterialName | I_MaterialText | MaterialName | ||
| MaterialGroupName | I_MaterialGroupText | MaterialGroupName | ||
| MaterialTypeName | I_MaterialTypeText | MaterialTypeName | ||
| ProductType | I_Product | ProductType | ||
| CreatedByUser | I_Product | CreatedByUser | ||
| GrossWeight | I_Product | GrossWeight | ||
| PurchaseOrderQuantityUnit | I_Product | PurchaseOrderQuantityUnit | ||
| WeightUnit | I_Product | WeightUnit | ||
| CompetitorID | I_Product | CompetitorID | ||
| ProductGroup | I_Product | ProductGroup | ||
| BaseUnit | I_Product | BaseUnit | ||
| Division | I_Product | Division | ||
| AuthorizationGroup | I_Product | AuthorizationGroup | ||
| UnitOfMeasureLongName | I_UnitOfMeasureText | UnitOfMeasureLongName |
//10.12.2015 11:18 am
@AbapCatalog.sqlViewName: 'PPRODUCTFS'
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@VDM.private: true
define view P_Product_Fs
as select from I_Product as Material
left outer join I_MaterialText as MaterialText on MaterialText.Material = Material.Product
and MaterialText.Language = $session.system_language
left outer join I_MaterialGroupText as MaterialGroupText on MaterialGroupText.MaterialGroup = Material.ProductGroup
and MaterialGroupText.Language = $session.system_language
left outer join I_MaterialTypeText as MaterialTypeText on MaterialTypeText.MaterialType = Material.ProductType
and MaterialTypeText.Language = $session.system_language
left outer join I_UnitOfMeasureText as UnitOfMeasureText on UnitOfMeasureText.Language = $session.system_language
and UnitOfMeasureText.UnitOfMeasure = Material.PurchaseOrderQuantityUnit
{
key Material.Product,
MaterialText.MaterialName,
MaterialGroupText.MaterialGroupName,
MaterialTypeText.MaterialTypeName,
Material.ProductType,
Material.CreatedByUser,
Material.GrossWeight,
Material.PurchaseOrderQuantityUnit,
Material.WeightUnit,
Material.CompetitorID,
Material.ProductGroup,
Material.BaseUnit,
Material.Division,
Material.AuthorizationGroup,
UnitOfMeasureText.UnitOfMeasureLongName as UnitOfMeasureLongName
} // where MaterialText.Language = $session.system_language
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