A_LglCntntMDocStatusText

DDL: A_LGLCNTNTMDOCSTATUSTEXT SQL: ALGLCTNTMSTATT Type: view CONSUMPTION Package: ODATA_LCM_DOC_API

Legal Document Status - Text

A_LglCntntMDocStatusText is a Consumption CDS View that provides data about "Legal Document Status - Text" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMDocStatusText) and exposes 4 fields with key fields InternalDocumentStatus, Language. It has 1 association to related views. It is exposed through 1 OData service (API_LEGALDOCUMENTSTATUS). Part of development package ODATA_LCM_DOC_API.

Data Sources (1)

SourceAliasJoin Type
I_LglCntntMDocStatusText I_LglCntntMDocStatusText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_LglCntntMDocStatus _LglCntntMDocStatus $projection.InternalDocumentStatus = _LglCntntMDocStatus.InternalDocumentStatus

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ALGLCTNTMSTATT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Legal Document Status - Text view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey InternalDocumentStatus view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #TEXT view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
Search.searchable true view

OData Services (1)

ServiceBindingVersionContractRelease
API_LEGALDOCUMENTSTATUS API_LEGALDOCUMENTSTATUS V2 C2 C1

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY InternalDocumentStatus InternalDocumentStatus Status
KEY Language Language Report Text Language
LglCntntMDocStatusName LglCntntMDocStatusName Long Text
_LglCntntMDocStatus _LglCntntMDocStatus

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 A_LglCntntMDocStatusText.
-- 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: ALGLCTNTMSTATT

CREATE VIEW A_LglCntntMDocStatusText AS
SELECT
  InternalDocumentStatus,
  Language,
  LglCntntMDocStatusName
FROM I_LglCntntMDocStatusText
LEFT OUTER JOIN A_LglCntntMDocStatus AS _LglCntntMDocStatus ON InternalDocumentStatus = _LglCntntMDocStatus.InternalDocumentStatus  -- association [1..1]
;