I_ServiceDocumentSuccessor

DDL: I_SERVICEDOCUMENTSUCCESSOR Type: view BASIC

Follow-Up Service Transaction

I_ServiceDocumentSuccessor (Basic)

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

ServiceDocumentSuccessor · Sales

I_ServiceDocumentSuccessor is a Basic CDS View (Fact) that provides data about "Follow-Up Service Transaction" in SAP S/4HANA. It reads from 1 data source (crmd_brelvonae) and exposes 10 fields with key fields ServiceDocumentRelationUUID, ServiceDocRltnSequenceNumber. It has 1 association to related views.

SAP Help Documentation

CategoryService Operations and Processes
Data CategoryFact
Purpose
This CDS view is used to identify follow-up service transactions of service transactions. 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: Authorization Object Description CRM_SEO Authorization Object CRM Order – Business Object Service Order CRM_CON_SE Authorization Object CRM Order – Bus.Ob.Service Confirmation CRM_CO_SE Authorization Object CRM Order – Bus. Ob. Service Contract CRM_INCDNT Authorization Object CRM Order: Incident Management CRMS4_SOLO Authorization Object for Solution Order

Structure
Important Fields Important fields in this view include the following: Field Name Description ServiceDocumentRelationType Relation type ServiceDocumentUUID Object GUID of the service transaction ServiceObjectType Object type of the service transaction ServiceDocumentSuccessorUUID Object GUID of the follow-up service transaction ServiceDocSuccessor Object ID of the follow-up service transaction ServiceDocSuccessorBusObjType Object type of the follow-up service transaction

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentCRM-S4-REP-RFW
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is used to identify follow-up service transactions of service transactions.</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
crmd_brelvonae crmd_brelvonae from

Associations (1)

CardinalityTargetAliasCondition
[1] I_ServiceDocumentEnhcd _ServiceDoc $projection.ServiceDocumentSuccessorUUID = _ServiceDoc.ServiceDocumentUUID and $projection.ServiceDocSuccessorBusObjType = _ServiceDoc.ServiceObjectType

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Follow-Up Service Transaction view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #FACT view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISERVDOCSUCC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.sapObjectNodeType.name ServiceDocumentSuccessor view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentRelationUUID relationid Object Relationship Service : GUID binary link
KEY ServiceDocRltnSequenceNumber posno Sequential Number of Segment in IDoc Type
ServiceDocumentRelationType breltyp Relationship type
ServiceDocumentUUID objguid_a_sel GUID of a CRM Order Object
ServiceObjectType objtype_a_sel Object Type
ServiceDocumentRelationKind vona_kind Type of binary relationship types VONA
ServiceDocumentSuccessorUUID objguid_b_sel GUID of a CRM Order Object
ServiceDocSuccessor objkey_b_sel Object key
ServiceDocSuccessorBusObjType objtype_b_sel Object Type
_ServiceDoc _ServiceDoc

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_ServiceDocumentSuccessor.
-- 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_ServiceDocumentSuccessor AS
SELECT
  relationid AS ServiceDocumentRelationUUID,
  posno AS ServiceDocRltnSequenceNumber,
  breltyp AS ServiceDocumentRelationType,
  objguid_a_sel AS ServiceDocumentUUID,
  objtype_a_sel AS ServiceObjectType,
  vona_kind AS ServiceDocumentRelationKind,
  objguid_b_sel AS ServiceDocumentSuccessorUUID,
  objkey_b_sel AS ServiceDocSuccessor,
  objtype_b_sel AS ServiceDocSuccessorBusObjType
FROM crmd_brelvonae
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _ServiceDoc ON ServiceDocumentSuccessorUUID = _ServiceDoc.ServiceDocumentUUID AND ServiceDocSuccessorBusObjType = _ServiceDoc.ServiceObjectType  -- association [1]
;