C_EHSCmplRqPmtAppltyAreaTP
My Permits Validity Area
C_EHSCmplRqPmtAppltyAreaTP is a Consumption CDS View that provides data about "My Permits Validity Area" in SAP S/4HANA. It reads from 1 data source (I_EHSCmplRqPmtAppltyAreaTP) and exposes 16 fields with key field CmplRqVersChildUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSCmplRqPmtAppltyAreaTP | I_EHSCmplRqPmtAppltyAreaTP | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_EHSMyPermitsTP | _MyPermits | $projection.CmplRqVersUUID = _MyPermits.CmplRqVersUUID |
| [1..1] | I_CountryText | _CountryText | $projection.Country = _CountryText.Country and _CountryText.Language = $session.system_language |
| [0..*] | I_RegionText | _RegionText | $projection.Country = _RegionText.Country and $projection.Region = _RegionText.Region |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | My Permits Validity Area | view | |
| AbapCatalog.sqlViewName | CPMTAPPLTYAREA | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.semanticKey | CmplRqVersID | view | |
| ObjectModel.representativeKey | CmplRqVersChildUUID | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqVersChildUUID | CmplRqVersChildUUID | NodeID | |
| CmplRqVersID | CmplRqVersID | Compliance Requirement | ||
| CmplRqVersChildCentralID | CmplRqVersChildCentralID | BCO KEY | ||
| CmplRqVersUUID | CmplRqVersUUID | NodeID | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| Country | Country | Venue: Ctry/Reg | ||
| Region | Region | Venue Region | ||
| EHSLocationIsCopied | EHSLocationIsCopied | is location copied | ||
| CountryName | _CountryText | CountryName | Country | |
| RegionName | ||||
| associations_CountryText | ||||
| _RegionText | _RegionText | |||
| Nodes_MyPermits |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_EHSCmplRqPmtAppltyAreaTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW C_EHSCmplRqPmtAppltyAreaTP AS
SELECT
CmplRqVersChildUUID,
CmplRqVersID,
CmplRqVersChildCentralID,
CmplRqVersUUID,
CreationDateTime,
CreatedByUser,
LastChangeDateTime,
LastChangedByUser,
Country,
Region,
EHSLocationIsCopied,
_CountryText.CountryName AS CountryName,
_RegionText[1:Language = $session.system_language].RegionName AS RegionName
FROM I_EHSCmplRqPmtAppltyAreaTP
LEFT OUTER JOIN C_EHSMyPermitsTP AS _MyPermits ON CmplRqVersUUID = _MyPermits.CmplRqVersUUID -- association [1..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON Country = _CountryText.Country AND _CountryText.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_RegionText AS _RegionText ON Country = _RegionText.Country AND Region = _RegionText.Region -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA