I_EHSAmountExternalSource
External Source
I_EHSAmountExternalSource is a Basic CDS View that provides data about "External Source" in SAP S/4HANA. It reads from 1 data source (I_DataCollectionRootBasic) and exposes 3 fields with key field EHSAmountExternalSource. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_DataCollectionRootBasic | I_DataCollectionRootBasic | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EHSLocationRevision | _EHSLocation | $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID and( _EHSLocation.RevisionStartDate <= $session.system_date and _EHSLocation.RevisionEndDate >= $session.system_date ) |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IEHSAMNTEXTSRC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| EndUserText.label | External Source | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSAmountExternalSource | EHSAmountExternalSource | ||
| EHSLocationUUID | EHSLocationUUID | |||
| _EHSLocation | _EHSLocation |
@AbapCatalog: { sqlViewName: 'IEHSAMNTEXTSRC',
compiler.compareFilter: true }
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel.usageType: { dataClass: #MASTER,
serviceQuality: #C,
sizeCategory: #M }
@EndUserText.label: 'External Source'
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] }*/
define view I_EHSAmountExternalSource
as select from I_DataCollectionRootBasic
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
association [1..1] to I_EHSLocationRevision as _EHSLocation on $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID
and(
_EHSLocation.RevisionStartDate <= $session.system_date
and _EHSLocation.RevisionEndDate >= $session.system_date
)
{
key EHSAmountExternalSource,
@ObjectModel.foreignKey.association: null
EHSLocationUUID,
/* Associations */
_EHSLocation
}
where
EHSAmountExternalSource is not initial
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