I_CmmdtyOrdReqDocTypeText

DDL: I_CMMDTYORDREQDOCTYPETEXT SQL: ICMMDTYDOCTYPTXT Type: view BASIC Package: FS_CMM_CDOTE_ORDER_REQUEST

Cmmdty. Drvtv. Document Type Text view

I_CmmdtyOrdReqDocTypeText is a Basic CDS View that provides data about "Cmmdty. Drvtv. Document Type Text view" in SAP S/4HANA. It reads from 2 data sources (cmmfdor_c_appid, cmmfdor_c_doctyp) and exposes 6 fields with key fields CmmdtyOrdReqDocApplication, CmmdtyOrdRequestDocumentType. It has 2 associations to related views. Part of development package FS_CMM_CDOTE_ORDER_REQUEST.

Data Sources (2)

SourceAliasJoin Type
cmmfdor_c_appid ApplicationID inner
cmmfdor_c_doctyp Document from

Associations (2)

CardinalityTargetAliasCondition
[0..1] cmmfdor_c_appidt _ApplicationIdText _ApplicationIdText.application_id = $projection.CmmdtyOrdReqDocApplication and _ApplicationIdText.spras = $session.system_language
[0..1] cmmfdor_c_doctyt _DocumentTypeText _DocumentTypeText.document_type = $projection.CmmdtyOrdRequestDocumentType and _DocumentTypeText.spras = $session.system_language

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICMMDTYDOCTYPTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.dataCategory #VALUE_HELP view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Cmmdty. Drvtv. Document Type Text view view
Search.searchable true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CmmdtyOrdReqDocApplication cmmfdor_c_doctyp application_id Universal Unique ID
KEY CmmdtyOrdRequestDocumentType cmmfdor_c_doctyp document_type Unit
CmmdtyOrdReqDocApplicationText _ApplicationIdText appl_id_text
CmmdtyOrdReqDocumentTypeText _DocumentTypeText document_type_text
SemanticObject cmmfdor_c_doctyp semanticobject Semantic Object
SemanticObjectAction cmmfdor_c_doctyp semanticobjectaction Semantic Object Actn

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_CmmdtyOrdReqDocTypeText.
-- 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: ICMMDTYDOCTYPTXT

CREATE VIEW I_CmmdtyOrdReqDocTypeText AS
SELECT
  Document.application_id AS CmmdtyOrdReqDocApplication,
  Document.document_type AS CmmdtyOrdRequestDocumentType,
  _ApplicationIdText.appl_id_text AS CmmdtyOrdReqDocApplicationText,
  _DocumentTypeText.document_type_text AS CmmdtyOrdReqDocumentTypeText,
  Document.semanticobject AS SemanticObject,
  Document.semanticobjectaction AS SemanticObjectAction
FROM cmmfdor_c_doctyp AS Document
INNER JOIN cmmfdor_c_appid AS ApplicationID ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cmmfdor_c_appidt AS _ApplicationIdText ON _ApplicationIdText.application_id = CmmdtyOrdReqDocApplication AND _ApplicationIdText.spras = $session.system_language  -- association [0..1]
LEFT OUTER JOIN cmmfdor_c_doctyt AS _DocumentTypeText ON _DocumentTypeText.document_type = CmmdtyOrdRequestDocumentType AND _DocumentTypeText.spras = $session.system_language  -- association [0..1]
;