I_MRPExtRqmtOrderTypeText
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. Part of development package ODATA_PP_MRP.
Data Sources (4)
| Source | Alias | Join 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)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SDDocumentCategory | _DocumentCategory | $projection.MRPOrderCategory = _DocumentCategory.SDDocumentCategory |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderType | |||
| KEY | MRPOrderCategory | SDDocumentCategory | ||
| KEY | Language | _Text | Language | |
| OrderTypeName | _Text | BillingDocumentTypeName | ||
| KEY | MRPOrderCategory | SDDocumentCategory | ||
| KEY | Language | _Text | Language | |
| OrderTypeName | _Text | DeliveryDocumentTypeName | ||
| KEY | MRPOrderCategory | SDDocumentCategory | ||
| KEY | Language | _Text | Language | |
| OrderTypeName | _Text | SalesDocumentTypeName | ||
| KEY | MRPOrderCategory | PurchasingDocumentCategory | ||
| KEY | Language | _Text | Language | |
| OrderTypeName | _Text | PurchasingDocumentTypeName | ||
| _DocumentCategory | _DocumentCategory |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'External Requirements Order Type - Text'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'OrderType'
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #S,
dataClass: #CUSTOMIZING
}
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@Search.searchable: true
define view entity I_MRPExtRqmtOrderTypeText
as select from I_BillingDocumentType
association [0..1] to I_SDDocumentCategory as _DocumentCategory on $projection.MRPOrderCategory = _DocumentCategory.SDDocumentCategory
{
@ObjectModel.text.element: ['OrderTypeName']
key cast ( BillingDocumentType as auart preserving type ) as OrderType,
@ObjectModel.foreignKey.association: '_DocumentCategory'
key SDDocumentCategory as MRPOrderCategory,
@Semantics.language:true
key _Text.Language,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@Semantics.text: true
_Text.BillingDocumentTypeName as OrderTypeName,
_DocumentCategory
}
union all select from I_DeliveryDocumentType
association [0..1] to I_SDDocumentCategory as _DocumentCategory on $projection.MRPOrderCategory = _DocumentCategory.SDDocumentCategory
{
key cast ( DeliveryDocumentType as auart preserving type ) as OrderType,
key SDDocumentCategory as MRPOrderCategory,
key _Text.Language,
_Text.DeliveryDocumentTypeName as OrderTypeName,
_DocumentCategory
}
union all select from I_SalesDocumentType
association [0..1] to I_SDDocumentCategory as _DocumentCategory on $projection.MRPOrderCategory = _DocumentCategory.SDDocumentCategory
{
key cast ( SalesDocumentType as auart preserving type ) as OrderType,
key SDDocumentCategory as MRPOrderCategory,
key _Text.Language,
_Text.SalesDocumentTypeName as OrderTypeName,
_DocumentCategory
}
union all select from I_PurchasingDocumentType
association [0..1] to I_SDDocumentCategory as _DocumentCategory on $projection.MRPOrderCategory = _DocumentCategory.SDDocumentCategory
{
key cast ( PurchasingDocumentType as auart preserving type ) as OrderType,
key PurchasingDocumentCategory as MRPOrderCategory,
key _Text.Language,
_Text.PurchasingDocumentTypeName as OrderTypeName,
_DocumentCategory
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA