I_ConsignmentCodeText

DDL: I_CONSIGNMENTCODETEXT SQL: ISPCONSIGNMTCODT Type: view BASIC

Consignment Code Text

I_ConsignmentCodeText is a Basic CDS View that provides data about "Consignment Code Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields ConsignmentFlag, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ConsignmentCode _ConsignmentCode $projection.ConsignmentFlag = _ConsignmentCode.ConsignmentFlag
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey ConsignmentFlag view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Consignment Code Text view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ISPCONSIGNMTCODT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ConsignmentFlag
KEY Language ddlanguage Lang.
ConsignmentFlagName ddtext Short text
_ConsignmentCode _ConsignmentCode
_Language _Language

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_ConsignmentCodeText.
-- 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: ISPCONSIGNMTCODT

CREATE VIEW I_ConsignmentCodeText AS
SELECT
  SUBSTRING(dd07t.domvalue_l, 1, 4) AS ConsignmentFlag,
  ddlanguage AS Language,
  ddtext AS ConsignmentFlagName
FROM dd07t
LEFT OUTER JOIN I_ConsignmentCode AS _ConsignmentCode ON ConsignmentFlag = _ConsignmentCode.ConsignmentFlag  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;