P_CmmdtyHedgeExposureVersion
Active Version of ExposureID
P_CmmdtyHedgeExposureVersion is a Composite CDS View that provides data about "Active Version of ExposureID" in SAP S/4HANA. It reads from 1 data source (I_CommodityHedgePlanExposure) and exposes 5 fields with key fields CommodityHedgePlanExposureID, CmmdtyHdgPlnExpsrCompanyCode, CmmdtyHedgePlanExposureHashKey.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CommodityHedgePlanExposure | I_CommodityHedgePlanExposure | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CmmdtyHdgPlanExposureVersion | cmm_exposure_version |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PEXPSRVER | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Active Version of ExposureID | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CommodityHedgePlanExposureID | CommodityHedgePlanExposureID | ||
| KEY | CmmdtyHdgPlnExpsrCompanyCode | CmmdtyHdgPlnExpsrCompanyCode | ||
| KEY | CmmdtyHedgePlanExposureHashKey | CmmdtyHedgePlanExposureHashKey | ||
| CmmdtyHedgePlanExposureVersion | CmmdtyHedgePlanExposureVersion | |||
| CmmdtyHdgPlanExposureVersion |
@AbapCatalog.sqlViewName: 'PEXPSRVER'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Active Version of ExposureID'
define view P_CmmdtyHedgeExposureVersion
with parameters
P_CmmdtyHdgPlanExposureVersion : cmm_exposure_version
as select from I_CommodityHedgePlanExposure
{
key CommodityHedgePlanExposureID,
key CmmdtyHdgPlnExpsrCompanyCode,
key CmmdtyHedgePlanExposureHashKey,
CmmdtyHedgePlanExposureVersion as CmmdtyHedgePlanExposureVersion,
$parameters.P_CmmdtyHdgPlanExposureVersion as CmmdtyHdgPlanExposureVersion
}
where CmmdtyHedgePlanExposureStatus = 'ICPE4';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMMODITYHEDGEPLANEXPOSURE"
],
"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