/SCMTMS/CV_LocationRoot
BOPF: Location Root Representation Node
/SCMTMS/CV_LocationRoot is a CDS View that provides data about "BOPF: Location Root Representation Node" in SAP S/4HANA. It reads from 1 data source (I_LocationBasic) and exposes 17 fields with key field location_id. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LocationBasic | _Location | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LocationVersion | _LocationVersion | _Location.LocationUUID = _LocationVersion.LocationUUID and _LocationVersion.PlanningVersionUUID = '000' |
| [0..1] | I_LocationMap | _LocationMap | _Location.LocationUUID = _LocationMap.LocationUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | /SCMTMS/CV_LOCRT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| EndUserText.label | BOPF: Location Root Representation Node | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | location_id | Location | Text | |
| loc_unlocode | LocationUNCode | UN/LOCODE | ||
| loc_iatacode | LocationIATACode | IATA Code | ||
| ot_indicator | Temporary Location | |||
| partner_guid | BusinessPartnerUUID | UUID | ||
| tsdurat_max | _LocationVersion | MaximumDuration | ||
| tsdurat_min | _LocationVersion | MinimumDuration | ||
| wm_logsys | _LocationMap | WarehouseLogicalSystem | Logical System of Warehouse | |
| wm_wh_number | _LocationMap | Warehouse | Warehouse No. | |
| adrnummer | AddressID | Ship-to address | ||
| created_on | Timestamp | |||
| created_by | User Name | |||
| changed_on | Time Stamp | |||
| changed_by | User Name | |||
| bp_completed | ||||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed |
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 /SCMTMS/CV_LocationRoot.
-- 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: /SCMTMS/CV_LOCRT
CREATE VIEW /SCMTMS/CV_LocationRoot AS
SELECT
Location AS location_id,
LocationUNCode AS loc_unlocode,
LocationIATACode AS loc_iatacode,
cast( LocationIsTemporary as /scmtms/ot_location_indicator ) AS ot_indicator,
BusinessPartnerUUID AS partner_guid,
_LocationVersion.MaximumDuration AS tsdurat_max,
_LocationVersion.MinimumDuration AS tsdurat_min,
_LocationMap.WarehouseLogicalSystem AS wm_logsys,
_LocationMap.Warehouse AS wm_wh_number,
AddressID AS adrnummer,
cast( CreationDateTime as tzntstmps ) AS created_on,
cast( CreatedByUser as /bofu/user_id_created_by ) AS created_by,
cast( ChangedDateTime as tzntstmps ) AS changed_on,
cast( LastChangedByUser as /bofu/user_id_changed_by ) AS changed_by,
_Location._BusinessPartner.IsBusinessPurposeCompleted AS bp_completed,
AuthorizationGroup,
IsBusinessPurposeCompleted
FROM I_LocationBasic AS _Location
LEFT OUTER JOIN I_LocationVersion AS _LocationVersion ON _Location.LocationUUID = _LocationVersion.LocationUUID AND _LocationVersion.PlanningVersionUUID = '000' -- association [0..1]
LEFT OUTER JOIN I_LocationMap AS _LocationMap ON _Location.LocationUUID = _LocationMap.LocationUUID -- association [0..1]
;
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