I_ServiceDocumentType

DDL: I_SERVICEDOCUMENTTYPE Type: view BASIC

Service Transaction Type

I_ServiceDocumentType (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Service Transaction Type · Sales

I_ServiceDocumentType is a Basic CDS View (Dimension) that provides data about "Service Transaction Type" in SAP S/4HANA. It reads from 1 data source (crmc_proc_type) and exposes 10 fields with key field ServiceDocumentType. It has 2 associations to related views.

SAP Help Documentation

CategoryService Operations and Processes
Data CategoryDimension
Purpose
This CDS view provides transaction types and the associated technical object types. This CDS view provides the data to answer the following business questions: What transaction types are there? Which technical object types are associated with the transaction types? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: CRM_ORD_PR (Authorization Object CRM Order – Business Transaction Type)

Structure
Important Fields Important fields in this view include the following: Field Name Description ServiceDocumentType Key Transaction type ServiceObjectType Object type of a service transaction

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentCRM-S4-REP-RFW
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Data Extraction
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides transaction types and the associated technical object types.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What transaction types are there?</p></li> <li><p>Which technical object types are associated with the transaction types?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
crmc_proc_type crmc_proc_type from

Associations (2)

CardinalityTargetAliasCondition
[1..*] I_ServiceDocumentTypeText _ServiceDocumentTypeText $projection.ServiceDocumentType = _ServiceDocumentTypeText.ServiceDocumentType
[1..*] I_BusinessObjTypeText _ServiceObjectTypeText $projection.ServiceObjectType = _ServiceObjectTypeText.BusinessObjectType

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName ISERVDOCTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Service Transaction Type view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ServiceDocumentType view
ObjectModel.sapObjectNodeType.name ServiceDocumentType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentType process_type Business Transaction Type
ServiceObjectType object_type Leading Business Transaction Category
CustMgmtServiceTeamProfile service_team_profile Service Team Profile
SrvcProcessStepOverviewProfile proc_stp_ovw_prfl Profile for Process Step Overview
ServiceDocumentTemplateType template_type Service Transaction: Template Type
SrvcDocTypeBlockingStatus process_blocked Active Indicator: Transaction
StatusProfile user_stat_proc Status Profile
SrvcRejectionReasonProfile rejprofile Rejection Profile Name
_ServiceDocumentTypeText _ServiceDocumentTypeText
_ServiceObjectTypeText _ServiceObjectTypeText

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_ServiceDocumentType.
-- 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.

CREATE VIEW I_ServiceDocumentType AS
SELECT
  process_type AS ServiceDocumentType,
  object_type AS ServiceObjectType,
  service_team_profile AS CustMgmtServiceTeamProfile,
  proc_stp_ovw_prfl AS SrvcProcessStepOverviewProfile,
  template_type AS ServiceDocumentTemplateType,
  process_blocked AS SrvcDocTypeBlockingStatus,
  user_stat_proc AS StatusProfile,
  rejprofile AS SrvcRejectionReasonProfile
FROM crmc_proc_type
LEFT OUTER JOIN I_ServiceDocumentTypeText AS _ServiceDocumentTypeText ON ServiceDocumentType = _ServiceDocumentTypeText.ServiceDocumentType  -- association [1..*]
LEFT OUTER JOIN I_BusinessObjTypeText AS _ServiceObjectTypeText ON ServiceObjectType = _ServiceObjectTypeText.BusinessObjectType  -- association [1..*]
;