Ehenv_Cdef_Amns_At_Location_T
Calculation Amouonts at location with translated texts
Ehenv_Cdef_Amns_At_Location_T is a CDS View that provides data about "Calculation Amouonts at location with translated texts" in SAP S/4HANA. It reads from 3 data sources (dd07t, Ehenv_Cdef_Amns_At_Location, dd07t) and exposes 22 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | DType_txt | left_outer |
| Ehenv_Cdef_Amns_At_Location | Ehenv_Cdef_Amns_At_Location | from |
| dd07t | IType_txt | left_outer |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| p_def_langu | lang | |
| p_sy_datlo | syst_datlo | |
| p_sy_langu | lang |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | EHENVV_CMAM4LOCT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Calculation Amouonts at location with translated texts | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| plant_id | cdef_amns | plant_id | Plant ID | |
| cost_center | cdef_amns | cost_center | Posted Cost Center | |
| company_code | cdef_amns | company_code | Company Code | |
| buss_area | cdef_amns | buss_area | Business Area | |
| type | cdef_amns | type | Worklist Type | |
| country | cdef_amns | country | Venue: Ctry/Reg | |
| region | cdef_amns | region | Venue Region | |
| loc_status | cdef_amns | loc_status | Workflow Status | |
| amount_key | cdef_amns | amount_key | ||
| sourcetype | cdef_amns | sourcetype | Source Type | |
| external_src | cdef_amns | external_src | External Source | |
| issue_type | cdef_amns | issue_type | Issue Type | |
| deviation_id | cdef_amns | deviation_id | ID | |
| value | cdef_amns | value | Value from table | |
| unit_text | cdef_amns | unit_text | ||
| value_date | ||||
| value_year | ||||
| value_month | ||||
| value_day | ||||
| value_time | ||||
| data_title | cdef_amns | data_title | View Title | |
| data_period | cdef_amns | data_period | Data Period |
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 Ehenv_Cdef_Amns_At_Location_T.
-- 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.
-- SQL view name: EHENVV_CMAM4LOCT
-- Parameters: p_def_langu : lang, p_sy_datlo : syst_datlo, p_sy_langu : lang
CREATE VIEW Ehenv_Cdef_Amns_At_Location_T AS
SELECT
cdef_amns.plant_id AS plant_id,
cdef_amns.cost_center AS cost_center,
cdef_amns.company_code AS company_code,
cdef_amns.buss_area AS buss_area,
cdef_amns.type AS type,
cdef_amns.country AS country,
cdef_amns.region AS region,
cdef_amns.loc_status AS loc_status,
cdef_amns.amount_key AS amount_key,
cdef_amns.sourcetype AS sourcetype,
cdef_amns.external_src AS external_src,
cdef_amns.issue_type AS issue_type,
cdef_amns.deviation_id AS deviation_id,
cdef_amns.value AS value,
cdef_amns.unit_text AS unit_text,
cast(substring(cast(cdef_amns.valuetimestamp as abap.char(17)), 1, 8) as abap.dats) AS value_date,
substring(cast(cdef_amns.valuetimestamp as abap.char(17)), 1, 4) AS value_year,
substring(cast(cdef_amns.valuetimestamp as abap.char(17)), 5, 2) AS value_month,
substring(cast(cdef_amns.valuetimestamp as abap.char(17)), 7, 2) AS value_day,
cast(substring(cast(cdef_amns.valuetimestamp as abap.char(17)), 9, 6) as abap.tims) AS value_time,
cdef_amns.data_title AS data_title,
cdef_amns.data_period AS data_period
FROM Ehenv_Cdef_Amns_At_Location
LEFT OUTER JOIN dd07t AS IType_txt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd07t AS DType_txt ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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