I_ServiceChecklistInstance

DDL: I_SERVICECHECKLISTINSTANCE Type: view_entity BASIC Package: CRMS4_FSM_CHECKLIST_INT

Checklist Instance

I_ServiceChecklistInstance (Basic)

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

Sales

I_ServiceChecklistInstance is a Basic CDS View that provides data about "Checklist Instance" in SAP S/4HANA. It reads from 1 data source (crmd_fsm_in_hdr) and exposes 18 fields with key field ServiceChecklistInstance. It has 4 associations to related views. Part of development package CRMS4_FSM_CHECKLIST_INT.

SAP Help Documentation

CategoryIntegration with SAP Field Service Management
StatusInstance status
Purpose
This CDS view helps users to identify the filled checklist templates by the technician, also called as instances, that are present in the system. This CDS view provides the data to answer the following business questions: What information has been filled by the technician at the customer site on completion of the service job? How many templates have been filled in by technicians in the last month? Which equipment has the most repairs? How can I identify this instance in SAP Field Service Management?

Prerequisites
Authorizations Users who want to use this CDS view must have the authorization object CRMS4_FSMC assigned. This authorization object is for checklists in SAP Field Service Management.

Structure
Important fields in this view include the following: Field Name Description ServiceChecklistInstance Instance ID ServiceChecklistTemplate Template ID SrvcChklstTmplStatus Instance status FSMChecklistInstanceUUID Reference of the instance UUID in SAP Field Service Management SrvcChklstInstceLinkedObject Reference of the object for which the checklist instance was created SrvcChklstInstceLinkdObjType Type of object for which the checklist was created SrvcChklstLanguage Instance language

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessSales
Application ComponentCRM-S4-INT-FSM-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageSales for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
crmd_fsm_in_hdr crmd_fsm_in_hdr from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_SrvcChklstInstceStatus _SrvcChklstInstceStatus $projection.SrvcChklstInstceStatus = _SrvcChklstInstceStatus.SrvcChklstInstceStatus
[0..1] I_SrvcChklstInstceDeltnReason _SrvcChklstInstceDeltnReason $projection.SrvcChklstInstceDeltnReason = _SrvcChklstInstceDeltnReason.SrvcChklstInstceDeltnReason
[0..*] I_SrvcChklstInstceText _SrvcChklstInstceText $projection.ServiceChecklistInstance = _SrvcChklstInstceText.ServiceChecklistInstance
[0..1] E_ServiceChecklistInstance _SrvcChklstInstanceExtn $projection.ServiceChecklistInstance = _SrvcChklstInstanceExtn.ServiceChecklistInstance

Annotations (9)

NameValueLevelField
EndUserText.label Checklist Instance view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ServiceChecklistInstance instance_id Instance ID
ServiceChecklistTemplate template_id Template LinkID
SrvcChklstLanguage source_language Language
SrvcChklstInstceStatus status Workflow Status
SrvcChklstInstceDeltnReason del_reason Checklist Instance Deletion Reason
SrvcChklstCreationDateTime created_at Uploaded On
SrvcChklstCreatedByUser created_by Version Created By
SrvcChklstChangedDateTime last_changed_at Last Changed At
SrvcChklstChangedByUser last_changed_by Last Changed By
FSMChecklistRequest requestuuid Request ID
SrvcChklstInstceLinkedObject linked_obj_ext_id Linked Object ID
SrvcChklstInstceLinkdObjType linked_obj_type Linked Object's Obj. Type
FSMChecklistInstanceUUID fsm_instanceuuid FSM Instance ID
SrvcChklstInstceSourceSystem source_system Source System
FSMChklstInstanceResponsible responsible FSM Checklist Instance Responsible
_SrvcChklstInstceStatus _SrvcChklstInstceStatus
_SrvcChklstInstceDeltnReason _SrvcChklstInstceDeltnReason
_SrvcChklstInstceText _SrvcChklstInstceText

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_ServiceChecklistInstance.
-- 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_ServiceChecklistInstance AS
SELECT
  instance_id AS ServiceChecklistInstance,
  template_id AS ServiceChecklistTemplate,
  source_language AS SrvcChklstLanguage,
  status AS SrvcChklstInstceStatus,
  del_reason AS SrvcChklstInstceDeltnReason,
  created_at AS SrvcChklstCreationDateTime,
  created_by AS SrvcChklstCreatedByUser,
  last_changed_at AS SrvcChklstChangedDateTime,
  last_changed_by AS SrvcChklstChangedByUser,
  requestuuid AS FSMChecklistRequest,
  linked_obj_ext_id AS SrvcChklstInstceLinkedObject,
  linked_obj_type AS SrvcChklstInstceLinkdObjType,
  fsm_instanceuuid AS FSMChecklistInstanceUUID,
  source_system AS SrvcChklstInstceSourceSystem,
  responsible AS FSMChklstInstanceResponsible
FROM crmd_fsm_in_hdr
LEFT OUTER JOIN I_SrvcChklstInstceStatus AS _SrvcChklstInstceStatus ON SrvcChklstInstceStatus = _SrvcChklstInstceStatus.SrvcChklstInstceStatus  -- association [0..1]
LEFT OUTER JOIN I_SrvcChklstInstceDeltnReason AS _SrvcChklstInstceDeltnReason ON SrvcChklstInstceDeltnReason = _SrvcChklstInstceDeltnReason.SrvcChklstInstceDeltnReason  -- association [0..1]
LEFT OUTER JOIN I_SrvcChklstInstceText AS _SrvcChklstInstceText ON ServiceChecklistInstance = _SrvcChklstInstceText.ServiceChecklistInstance  -- association [0..*]
LEFT OUTER JOIN E_ServiceChecklistInstance AS _SrvcChklstInstanceExtn ON ServiceChecklistInstance = _SrvcChklstInstanceExtn.ServiceChecklistInstance  -- association [0..1]
;