I_OrderType
Order Type
I_OrderType is a Basic CDS View (Dimension) that provides data about "Order Type" in SAP S/4HANA. It reads from 1 data source (t003o) and exposes 32 fields with key field OrderType. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t003o | typ | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_OrderTypeText | _Text | $projection.OrderType = _Text.OrderType |
| [0..1] | I_OrderCategory | _OrderCategory | $projection.OrderCategory = _OrderCategory.OrderCategory |
| [0..1] | I_FunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..1] | I_ControllingObjectClass | _ControllingObjectClass | $projection.ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass |
| [0..1] | I_StatusProfile | _OrderStatusProfile | $projection.StatusProfile = _OrderStatusProfile.StatusProfile |
| [0..1] | I_StatusProfile | _OperationStatusProfile | $projection.OperationStatusProfile = _OperationStatusProfile.StatusProfile |
Annotations (23)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPPORDERTYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #GENERIC | view | |
| AbapCatalog.buffering.numberOfKeyFields | 001 | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Consumption.ranked | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | OrderType | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Order Type | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OrderType | t003o | auart | |
| OrderCategory | ||||
| OrderNumberRange | t003o | numkr | ||
| CommitmentsMgmtActvtnStatus | t003o | obligo | ||
| StatusProfile | t003o | stsma | ||
| OperationStatusProfile | ||||
| ControllingSettlementProfile | t003o | aprof | ||
| PlanningProfile | t003o | pprof | ||
| BudgetProfile | t003o | bprof | ||
| ExecutionServiceProfile | t003o | exec_profile | ||
| ControllingObjectClass | ||||
| FunctionalArea | t003o | func_area | ||
| CtrlgTotalsRecordActvtnStatus | t003o | copar | ||
| ResidenceTime1 | t003o | resz1 | ||
| ResidenceTime2 | t003o | resz2 | ||
| OrderMasterDataLayout | t003o | layout | ||
| TextObjectForm | t003o | tdform | ||
| ConfigDeprecationCode | t003o | configurationdeprecationcode | ||
| OrderIsToBeClassified | t003o | aufkl | ||
| OrderIsReleasedUponCreation | t003o | relkz | ||
| OrderHasStatusChangeDocuments | t003o | chgkz | ||
| SettlementIsNotRequired | t003o | nabpf | ||
| OrdIsUsedInIntegratedPlanning | t003o | plint | ||
| NetworkIsForPlanning | t003o | vorpl | ||
| RevenuePostingIsAllowed | ||||
| CollectiveOrderHasAutoGoodsMvt | ||||
| _OrderCategory | _OrderCategory | |||
| _FunctionalArea | _FunctionalArea | |||
| _ControllingObjectClass | _ControllingObjectClass | |||
| _OrderStatusProfile | _OrderStatusProfile | |||
| _OperationStatusProfile | _OperationStatusProfile | |||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'IPPORDERTYPE'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.buffering: {status: #ACTIVE, type: #GENERIC, numberOfKeyFields: 001}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics.dataCategory: #DIMENSION
@Analytics.dataExtraction.enabled: true
@Analytics.internalName: #LOCAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@Consumption.ranked: true
@Metadata.allowExtensions: true
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.compositionRoot: true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
@ObjectModel.supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY, #EXTRACTION_DATA_SOURCE]
@ObjectModel.representativeKey: 'OrderType'
@ObjectModel.semanticKey: ['OrderType']
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Order Type'
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK" ] } */
define view I_OrderType
as select from t003o as typ
association [0..*] to I_OrderTypeText as _Text on $projection.OrderType = _Text.OrderType
association [0..1] to I_OrderCategory as _OrderCategory on $projection.OrderCategory = _OrderCategory.OrderCategory
association [0..1] to I_FunctionalArea as _FunctionalArea on $projection.FunctionalArea = _FunctionalArea.FunctionalArea
association [0..1] to I_ControllingObjectClass as _ControllingObjectClass on $projection.ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass
association [0..1] to I_StatusProfile as _OrderStatusProfile on $projection.StatusProfile = _OrderStatusProfile.StatusProfile
association [0..1] to I_StatusProfile as _OperationStatusProfile on $projection.OperationStatusProfile = _OperationStatusProfile.StatusProfile
{
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8}
@ObjectModel.text.association: '_Text'
key typ.auart as OrderType,
@ObjectModel.foreignKey.association: '_OrderCategory'
cast(typ.autyp as pph_autyp preserving type) as OrderCategory,
// Assignments
typ.numkr as OrderNumberRange,
typ.obligo as CommitmentsMgmtActvtnStatus,
@ObjectModel.foreignKey.association: '_OrderStatusProfile'
typ.stsma as StatusProfile,
@ObjectModel.foreignKey.association: '_OperationStatusProfile'
cast(typ.vrg_stsma as vdm_stsma_op preserving type) as OperationStatusProfile,
typ.aprof as ControllingSettlementProfile,
typ.pprof as PlanningProfile,
typ.bprof as BudgetProfile,
typ.exec_profile as ExecutionServiceProfile,
cast(typ.scope as pph_scope preserving type) as ControllingObjectClass,
@ObjectModel.foreignKey.association: '_FunctionalArea'
typ.func_area as FunctionalArea,
typ.copar as CtrlgTotalsRecordActvtnStatus,
typ.resz1 as ResidenceTime1,
typ.resz2 as ResidenceTime2,
typ.layout as OrderMasterDataLayout,
typ.tdform as TextObjectForm,
typ.configurationdeprecationcode as ConfigDeprecationCode,
// Indicators
typ.aufkl as OrderIsToBeClassified,
typ.relkz as OrderIsReleasedUponCreation,
typ.chgkz as OrderHasStatusChangeDocuments,
typ.nabpf as SettlementIsNotRequired,
typ.plint as OrdIsUsedInIntegratedPlanning,
typ.vorpl as NetworkIsForPlanning,
cast(typ.erloese as vdm_pp_erloese preserving type) as RevenuePostingIsAllowed,
cast(typ.colordproc as vdm_colordproc preserving type) as CollectiveOrderHasAutoGoodsMvt,
// Associations
_OrderCategory,
_FunctionalArea,
_ControllingObjectClass,
_OrderStatusProfile,
_OperationStatusProfile,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_Text
};
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