Deprecated NONE
This CDS view is deprecated in S/4HANA. Use I_TranspUNLocationCode_2 instead. View all deprecated CDS views →

I_TranspUNLocationCode

DDL: I_TRANSPUNLOCATIONCODE Type: view_entity BASIC

Obsolete Transp UN Location Codes

I_TranspUNLocationCode is a Basic CDS View that provides data about "Obsolete Transp UN Location Codes" in SAP S/4HANA. It reads from 1 data source (/scmtms/c_unloc) and exposes 5 fields with key field LocationUNCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
/scmtms/c_unloc /scmtms/c_unloc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_TranspUNLocationCodeText _Text $projection.LocationUNCode = _Text.LocationUNCode

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.representativeKey LocationUNCode view
Analytics.technicalName ITUNLOCC view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #NONE view
EndUserText.label Obsolete Transp UN Location Codes view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_TranspUNLocationCode_2 view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY LocationUNCode unlocode UN/LOCODE
OrganizationalUnitExternalID exec_org_id Plan. Exec. Org.
ResourcePositionLongitude xpos Longitude
ResourcePositionLatitude ypos Latitude
_Text _Text

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 I_TranspUNLocationCode.
-- 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 I_TranspUNLocationCode AS
SELECT
  unlocode AS LocationUNCode,
  exec_org_id AS OrganizationalUnitExternalID,
  xpos AS ResourcePositionLongitude,
  ypos AS ResourcePositionLatitude
FROM /scmtms/c_unloc
LEFT OUTER JOIN I_TranspUNLocationCodeText AS _Text ON LocationUNCode = _Text.LocationUNCode  -- association [0..*]
;