P_PurchOrderFiltered
Purchase Order filtered by date
P_PurchOrderFiltered is a Consumption CDS View that provides data about "Purchase Order filtered by date" in SAP S/4HANA. It reads from 1 data source (I_PurchaseOrder) and exposes 3 fields with key field PurchaseOrder.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchaseOrder | PO | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | vdm_validitystart | |
| P_EndDate | vdm_validityend |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPURCHORDFLTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Purchase Order filtered by date | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchaseOrder | I_PurchaseOrder | PurchaseOrder | |
| DocumentCurrency | I_PurchaseOrder | DocumentCurrency | ||
| PurchaseOrderDate | I_PurchaseOrder | PurchaseOrderDate |
@AbapCatalog.sqlViewName: 'PPURCHORDFLTR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.private : true
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType : #CONSUMPTION
@EndUserText.label: 'Purchase Order filtered by date'
define view P_PurchOrderFiltered
with parameters
P_StartDate : vdm_validitystart,
P_EndDate : vdm_validityend
as select from I_PurchaseOrder as PO {
key PO.PurchaseOrder,
PO.DocumentCurrency,
PO.PurchaseOrderDate
} where PO.PurchaseOrderDate between $parameters.P_StartDate and $parameters.P_EndDate
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_PURCHASEORDER"
],
"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