I_OrderType

DDL: I_ORDERTYPE SQL: IPPORDERTYPE Type: view BASIC

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

CategoryCDS Views for Discrete and Process Manufacturing
Data CategoryDimension
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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAnalytical 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
PackageManufacturing 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

Data Sources (1)

SourceAliasJoin Type
t003o typ from

Associations (6)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;