C_PH_StockQuery
Ph Stock Query Philippines
C_PH_StockQuery is a Consumption CDS View that provides data about "Ph Stock Query Philippines" in SAP S/4HANA. It reads from 2 data sources (Mbv_Mbew, Mbv_Mbewh) and exposes 20 fields with key fields Plant, Material, ValuationType, FiscalYearCurrentPeriod, IsCurrentFiscalPeriod.
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPHSTOCKQRY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| EndUserText.label | Ph Stock Query Philippines | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | bwkey | ||
| KEY | Material | matnr | ||
| KEY | ValuationType | bwtar | ||
| KEY | FiscalYearCurrentPeriod | lfgja | ||
| KEY | IsCurrentFiscalPeriod | lfmon | ||
| TotalValStockQuantity | lbkum | |||
| TotalValStockValue | salk3 | |||
| MovingAveragePrice | verpr | |||
| StandardPrice | stprs | |||
| ProductPriceControl | vprsv | |||
| KEY | Material | matnr | ||
| KEY | ValuationType | bwtar | ||
| KEY | FiscalYearCurrentPeriod | lfgja | ||
| KEY | IsCurrentFiscalPeriod | lfmon | ||
| TotalValStockQuantity | lbkum | |||
| TotalValStockValue | salk3 | |||
| MovingAveragePrice | verpr | |||
| StandardPrice | stprs | |||
| ProductPriceControl | vprsv | |||
| ValuationClass | bklas |
@AbapCatalog.sqlViewName: 'CPHSTOCKQRY'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@AccessControl.personalData.blocking: #BLOCKED_DATA_INCLUDED
@ObjectModel.usageType.serviceQuality:#D
@ObjectModel.usageType.sizeCategory : #XL
@ObjectModel.usageType.dataClass:#MIXED
@ClientHandling.algorithm: #AUTOMATED
@EndUserText.label: 'Ph Stock Query Philippines'
define view C_PH_StockQuery
as select from Mbv_Mbew
{
key bwkey as Plant,
key matnr as Material,
key bwtar as ValuationType,
key lfgja as FiscalYearCurrentPeriod,
key lfmon as IsCurrentFiscalPeriod,
lbkum as TotalValStockQuantity,
salk3 as TotalValStockValue,
verpr as MovingAveragePrice,
stprs as StandardPrice,
vprsv as ProductPriceControl,
bklas as ValuationClass
}
union all select from Mbv_Mbewh
{
key bwkey as Plant,
key matnr as Material,
key bwtar as ValuationType,
key lfgja as FiscalYearCurrentPeriod,
key lfmon as IsCurrentFiscalPeriod,
lbkum as TotalValStockQuantity,
salk3 as TotalValStockValue,
verpr as MovingAveragePrice,
stprs as StandardPrice,
vprsv as ProductPriceControl,
bklas as ValuationClass
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MBV_MBEW",
"MBV_MBEWH"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"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