I_OrderType
Order Type
I_OrderType (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Work Order Type · Manufacturing
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.
SAP Help Documentation
| Category | CDS Views for Discrete and Process Manufacturing |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view provides the prerequisites for answering the following business question: Which order types are maintained for the order categories?
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Main input parameters This CDS view does not have any input parameters. Measures and attributes The following attributes are provided: Order category Order type
This CDS view provides the prerequisites for answering the following business question: Which order types are maintained for the order categories?
Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.
Structure
Main input parameters This CDS view does not have any input parameters. Measures and attributes The following attributes are provided: Order category Order type
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Manufacturing |
| Application Component | PP-VDM |
| Capabilities | Analytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Search, Data Source for Data Extraction |
| Package | Manufacturing for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides the prerequisites for answering the following business question:</p> <ul> <li><p>Which order types are maintained for the order categories?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS 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 (24)
| 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.sapObjectNodeType.name | WorkOrderType | 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 | Sales Doc. Type |
| OrderCategory | Order Category | |||
| OrderNumberRange | t003o | numkr | Number range for Orders | |
| CommitmentsMgmtActvtnStatus | t003o | obligo | Commitments Management Active | |
| StatusProfile | t003o | stsma | Status Profile | |
| OperationStatusProfile | Status Profile of an Operation | |||
| ControllingSettlementProfile | t003o | aprof | Settlement Profile | |
| PlanningProfile | t003o | pprof | Planning Profile | |
| BudgetProfile | t003o | bprof | Budget Profile | |
| ExecutionServiceProfile | t003o | exec_profile | Execution Services Profile | |
| ControllingObjectClass | Controlling Object Class | |||
| FunctionalArea | t003o | func_area | Receiving Func. Area | |
| CtrlgTotalsRecordActvtnStatus | t003o | copar | CO Partner Update | |
| ResidenceTime1 | t003o | resz1 | Residence Time 1 (Calendar Months) | |
| ResidenceTime2 | t003o | resz2 | Residence Time 2 (Calendar Months) | |
| OrderMasterDataLayout | t003o | layout | Layout for Master Data Maintenance Orders | |
| TextObjectForm | t003o | tdform | SAPscript Form | |
| ConfigDeprecationCode | t003o | configurationdeprecationcode | Deprecated Entries | |
| OrderIsToBeClassified | t003o | aufkl | 'Order will be classified' indicator | |
| OrderIsReleasedUponCreation | t003o | relkz | Set "Release Immediately" Indicator | |
| OrderHasStatusChangeDocuments | t003o | chgkz | Indicator 'Status Change Documents' | |
| SettlementIsNotRequired | t003o | nabpf | Indicator "Does Not Require Settlement" | |
| OrdIsUsedInIntegratedPlanning | t003o | plint | Indicator for Integrated Planning | |
| NetworkIsForPlanning | t003o | vorpl | Indicator: Planning | |
| RevenuePostingIsAllowed | Indicator: Revenue Posting Allowed | |||
| CollectiveOrderHasAutoGoodsMvt | Indicator: Collective Order with Automatic Goods Movement | |||
| _OrderCategory | _OrderCategory | |||
| _FunctionalArea | _FunctionalArea | |||
| _ControllingObjectClass | _ControllingObjectClass | |||
| _OrderStatusProfile | _OrderStatusProfile | |||
| _OperationStatusProfile | _OperationStatusProfile | |||
| _Text | _Text |
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_OrderType.
-- 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: IPPORDERTYPE
CREATE VIEW I_OrderType AS
SELECT
typ.auart AS OrderType,
cast(typ.autyp as pph_autyp preserving type) AS OrderCategory,
typ.numkr AS OrderNumberRange,
typ.obligo AS CommitmentsMgmtActvtnStatus,
typ.stsma AS StatusProfile,
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,
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,
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
FROM t003o AS typ
LEFT OUTER JOIN I_OrderTypeText AS _Text ON OrderType = _Text.OrderType -- association [0..*]
LEFT OUTER JOIN I_OrderCategory AS _OrderCategory ON OrderCategory = _OrderCategory.OrderCategory -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_ControllingObjectClass AS _ControllingObjectClass ON ControllingObjectClass = _ControllingObjectClass.ControllingObjectClass -- association [0..1]
LEFT OUTER JOIN I_StatusProfile AS _OrderStatusProfile ON StatusProfile = _OrderStatusProfile.StatusProfile -- association [0..1]
LEFT OUTER JOIN I_StatusProfile AS _OperationStatusProfile ON OperationStatusProfile = _OperationStatusProfile.StatusProfile -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA