I_MRPExtRqmtOrderTypeText

DDL: I_MRPEXTRQMTORDERTYPETEXT Type: view_entity BASIC

External Requirements Order Type - Text

I_MRPExtRqmtOrderTypeText is a Basic CDS View that provides data about "External Requirements Order Type - Text" in SAP S/4HANA. It reads from 4 data sources (I_BillingDocumentType, I_DeliveryDocumentType, I_PurchasingDocumentType, I_SalesDocumentType) and exposes 14 fields with key fields OrderType, MRPOrderCategory, Language, MRPOrderCategory, Language. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
I_BillingDocumentType I_BillingDocumentType from
I_DeliveryDocumentType I_DeliveryDocumentType union_all
I_PurchasingDocumentType I_PurchasingDocumentType union_all
I_SalesDocumentType I_SalesDocumentType union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SDDocumentCategory _DocumentCategory $projection.MRPOrderCategory = _DocumentCategory.SDDocumentCategory

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label External Requirements Order Type - Text view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey OrderType view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
Search.searchable true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY OrderType Billing Type
KEY MRPOrderCategory SDDocumentCategory Doc. Category
KEY Language _Text Language Report Text Language
OrderTypeName _Text BillingDocumentTypeName Description
KEY MRPOrderCategory SDDocumentCategory Doc. Category
KEY Language _Text Language Report Text Language
OrderTypeName _Text DeliveryDocumentTypeName Description
KEY MRPOrderCategory SDDocumentCategory Doc. Category
KEY Language _Text Language Report Text Language
OrderTypeName _Text SalesDocumentTypeName Description
KEY MRPOrderCategory PurchasingDocumentCategory Doc. Category
KEY Language _Text Language Report Text Language
OrderTypeName _Text PurchasingDocumentTypeName Description
_DocumentCategory _DocumentCategory

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_MRPExtRqmtOrderTypeText.
-- 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_MRPExtRqmtOrderTypeText AS
SELECT
  cast ( BillingDocumentType as auart preserving type ) AS OrderType,
  SDDocumentCategory AS MRPOrderCategory,
  _Text.Language AS Language,
  _Text.BillingDocumentTypeName AS OrderTypeName
FROM I_BillingDocumentType
LEFT OUTER JOIN I_SDDocumentCategory AS _DocumentCategory ON MRPOrderCategory = _DocumentCategory.SDDocumentCategory  -- association [0..1]
-- UNION ALL with additional select branch(es): I_DeliveryDocumentType, I_SalesDocumentType, I_PurchasingDocumentType
;