P_Fqmtransdate
P_Fqmtransdate is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_CalendarDate, I_SAPClient) and exposes 2 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CalendarDate | CalendarDate | from |
| I_SAPClient | I_SAPClient | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | vdm_v_key_date |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFQMTRANSDAT | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| TransactionDate | I_CalendarDate | CalendarDate | ||
| SAPClient | I_SAPClient | sapclient |
@AbapCatalog.sqlViewName: 'PFQMTRANSDAT'
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter:true
define view P_Fqmtransdate
with parameters
@Environment.systemField: #SYSTEM_DATE
P_KeyDate : vdm_v_key_date
as select from I_CalendarDate as CalendarDate
inner join I_SAPClient on CalendarDate.CalendarDate between '00010101' and '99991231'
{
CalendarDate.CalendarDate as TransactionDate,
I_SAPClient.sapclient as SAPClient
}
where
CalendarDate.CalendarDate >= :P_KeyDate
and CalendarDate.CalendarDate <= DATS_ADD_DAYS(:P_KeyDate, 90, 'FAIL')
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CALENDARDATE",
"I_SAPCLIENT"
],
"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