C_ServiceOrderTypeVH
Service Order Type
C_ServiceOrderTypeVH is a Consumption CDS View that provides data about "Service Order Type" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentType) and exposes 5 fields with key field ServiceOrderType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentType | I_ServiceDocumentType | inner |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSERVORDTYPEVH | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Search.searchable | true | view | |
| EndUserText.label | Service Order Type | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| UI.headerInfo.typeName | Service Order Type | view | |
| UI.headerInfo.typeNamePlural | Service Order Types | view | |
| Consumption.ranked | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceOrderType | Service Order type | ||
| ServiceObjectType | OrderType | ServiceObjectType | ||
| ServiceOrderTypeName | ||||
| ServiceOrderTypeShortName | ||||
| _ServiceDocumentTypeText | _ServiceDocumentTypeText |
@AbapCatalog.sqlViewName: 'CSERVORDTYPEVH'
@VDM.viewType: #CONSUMPTION
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@Search.searchable: true
@EndUserText.label: 'Service Order Type'
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory : #S
@ObjectModel.resultSet.sizeCategory: #XS
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.supportedCapabilities: [#VALUE_HELP_PROVIDER]
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
@UI.headerInfo:{
typeName: 'Service Order Type',
typeNamePlural: 'Service Order Types'
}
@Consumption.ranked:true
//This view is used for default values in Launchpad
define view C_ServiceOrderTypeVH
as select distinct from I_ServiceOrderTypeVH as OrderType
inner join I_ServiceDocumentType on I_ServiceDocumentType.ServiceDocumentType = OrderType.ServiceDocumentType
and I_ServiceDocumentType.ServiceDocumentTemplateType != 'D'
{
@Search: { defaultSearchElement: true, ranking: #HIGH }
@EndUserText.label : 'Service Order type'
@ObjectModel.text.element: ['ServiceOrderTypeName']
@UI.textArrangement: #TEXT_FIRST
@Consumption.filter.hidden: true
key cast( OrderType.ServiceDocumentType as crms4_srvo_process_type preserving type ) as ServiceOrderType,
@Search: { defaultSearchElement: true, ranking: #LOW }
@Consumption.filter.hidden: true
OrderType.ServiceObjectType,
@Semantics.text: true
@Search: { defaultSearchElement: true, ranking: #LOW }
@Consumption.filter.hidden: true
_ServiceDocumentTypeText[1:Language=$session.system_language].ServiceDocumentTypeName as ServiceOrderTypeName,
@Search: { defaultSearchElement: true, ranking: #LOW }
@Consumption.filter.hidden: true
_ServiceDocumentTypeText[1:Language=$session.system_language].ServiceDocumentTypeShortName as ServiceOrderTypeShortName,
@Consumption.filter.hidden: true
_ServiceDocumentTypeText
}
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