I_SrvcDocExecutionStatus

DDL: I_SRVCDOCEXECUTIONSTATUS Type: view BASIC Package: CRMS4_SERV_COMMON

Service Transaction Execution Status

I_SrvcDocExecutionStatus (Basic)

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

Service Transaction Execution Status · Sales

I_SrvcDocExecutionStatus is a Basic CDS View (Dimension) that provides data about "Service Transaction Execution Status" in SAP S/4HANA. It reads from 1 data source (crms4c_stat_exec) and exposes 4 fields with key fields ServiceDocumentIsQuotation, SrvcDocExecutionStatus. It has 2 associations to related views. Part of development package CRMS4_SERV_COMMON.

SAP Help Documentation

CategoryService Operations and Processes
StatusExecution status
Purpose
This view provides a value help for the field SrvcDocExecutionStatus (Execution Status of Service Transaction) on header and item level. The view can be used for SAP object type Service Order and Service Quotation only. Please note that the values are different for service orders and service quotations. 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 don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description ServiceDocumentIsQuotation Boolean flag that indicates whether a service transaction is a service quotation SrvcDocExecutionStatus Execution status

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

Constraints
This view contains values only for service orders.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSales
Application ComponentCRM-S4-SRV-SVO-2CL
CapabilitiesData Source for Data Extraction,Association Target for Defining CDS Entities,Data Source in SQL Select,Analytical Dimension,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSales for SAP S/4HANA Cloud Public Edition
Description <p>This view provides a value help for the field SrvcDocExecutionStatus (Execution Status of Service Transaction) on header and item level. The view can be used for SAP object type Service Order and Service Quotation only. Please note that the values are different for service orders and service quotations.</p> <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
crms4c_stat_exec crms4c_stat_exec from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_SrvcDocExecutionStatusText _Text $projection.SrvcDocExecutionStatus = _Text.SrvcDocExecutionStatus and $projection.ServiceDocumentIsQuotation = _Text.ServiceDocumentIsQuotation
[1..1] I_SrvcDocQuotationStatus_2 _SrvcDocIsQuotation $projection.ServiceDocumentIsQuotation = _SrvcDocIsQuotation.ServiceDocumentIsQuotation

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName ISRVCDOCEXECST view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Service Transaction Execution Status view
ObjectModel.representativeKey SrvcDocExecutionStatus view
ObjectModel.sapObjectNodeType.name SrvcDocExecutionStatus view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.resultSet.sizeCategory #XS view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentIsQuotation stat_quotation Quotation Status
KEY SrvcDocExecutionStatus stat_execution Execution Status
_Text _Text
_SrvcDocIsQuotation _SrvcDocIsQuotation

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_SrvcDocExecutionStatus.
-- 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_SrvcDocExecutionStatus AS
SELECT
  stat_quotation AS ServiceDocumentIsQuotation,
  stat_execution AS SrvcDocExecutionStatus
FROM crms4c_stat_exec
LEFT OUTER JOIN I_SrvcDocExecutionStatusText AS _Text ON SrvcDocExecutionStatus = _Text.SrvcDocExecutionStatus AND ServiceDocumentIsQuotation = _Text.ServiceDocumentIsQuotation  -- association [0..*]
LEFT OUTER JOIN I_SrvcDocQuotationStatus_2 AS _SrvcDocIsQuotation ON ServiceDocumentIsQuotation = _SrvcDocIsQuotation.ServiceDocumentIsQuotation  -- association [1..1]
;