CRMS4_IU_I_USR

DDL: CRMS4_IU_I_USR Type: view_entity

Utilities Service Request

CRMS4_IU_I_USR is a CDS View that provides data about "Utilities Service Request" in SAP S/4HANA. It reads from 2 data sources (crms4d_serv_h, I_ServiceDocument) and exposes 35 fields with key fields ServiceObjectType, ServiceDocument. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
crms4d_serv_h crms4d_serv_h inner
I_ServiceDocument I_ServiceDocument from

Associations (1)

CardinalityTargetAliasCondition
[1..1] CRMS4_IU_I_USOREF UtilitiesServiceDocumentRef UtilitiesServiceDocumentRef.ServiceObjectType = $projection.ServiceObjectType and UtilitiesServiceDocumentRef.ServiceDocument = $projection.ServiceDocument and UtilitiesServiceDocumentRef.SrvcRefObjIsMainObject = 'X'

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Utilities Service Request view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey ServiceDocument view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType I_ServiceDocument ServiceObjectType Object Type
KEY ServiceDocument I_ServiceDocument ServiceDocument Transaction ID
SoldToParty I_ServiceDocument SoldToParty Sold-to Party
ServiceDocumentDescription I_ServiceDocument ServiceDocumentDescription Description
PostingDate I_ServiceDocument PostingDate Posting Date for GR
ServiceDocumentPriority I_ServiceDocument ServiceDocumentPriority Workflow priority
ServiceDocumentUUID I_ServiceDocument ServiceDocumentUUID Object GUID
ServiceDocumentStatus I_ServiceDocument ServiceDocumentStatus Unique Custom Status
RequestedServiceStartDateTime I_ServiceDocument RequestedServiceStartDateTime Start Date/Time
RequestedServiceEndDateTime I_ServiceDocument RequestedServiceEndDateTime Service Request Due
ServiceDocumentType I_ServiceDocument ServiceDocumentType Transaction Type
ResponsibleEmployee I_ServiceDocument ResponsibleEmployee Employee Resp.
SalesOrganization I_ServiceDocument SalesOrganization Sales Organization
DistributionChannel I_ServiceDocument DistributionChannel RefDistCh-Cust/Mat.
Division I_ServiceDocument Division Internal Division ID
SalesOffice I_ServiceDocument SalesOffice Sales Office
SalesGroup I_ServiceDocument SalesGroup Sales Group
SalesOrganizationOrgUnitID I_ServiceDocument SalesOrganizationOrgUnitID Sales Organization
SalesOfficeOrgUnitID I_ServiceDocument SalesOfficeOrgUnitID Sales Office
SalesGroupOrgUnitID I_ServiceDocument SalesGroupOrgUnitID Sales Group
ServiceOrganization I_ServiceDocument ServiceOrganization Service Organization
RecommendedServicePriority
ServiceDocumentUrgency I_ServiceDocument ServiceDocumentUrgency Urgency
ServiceDocumentImpact I_ServiceDocument ServiceDocumentImpact Impact
ServiceEscalationLevel I_ServiceDocument ServiceEscalationLevel Step escalation?
ServiceDocumentProblemCategory I_ServiceDocument ServiceDocumentProblemCategory Problem Category
ServiceRisk I_ServiceDocument ServiceRisk Risk
SerialNumber
Equipment UtilitiesServiceDocumentRef Equipment Equipment check
FunctionalLocation UtilitiesServiceDocumentRef FunctionalLocation Object ID
ServiceReferenceObjectType UtilitiesServiceDocumentRef ServiceReferenceObjectType
ServiceReasonSchema
ServiceReasonCategory I_ServiceDocument ServiceReasonCategory Schema ID
ServiceDefectSchema I_ServiceDocument ServiceDefectSchema Schema ID
ServiceDefectCategory I_ServiceDocument ServiceDefectCategory Category ID

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 CRMS4_IU_I_USR.
-- 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 CRMS4_IU_I_USR AS
SELECT
  I_ServiceDocument.ServiceObjectType AS ServiceObjectType,
  I_ServiceDocument.ServiceDocument AS ServiceDocument,
  I_ServiceDocument.SoldToParty AS SoldToParty,
  I_ServiceDocument.ServiceDocumentDescription AS ServiceDocumentDescription,
  I_ServiceDocument.PostingDate AS PostingDate,
  I_ServiceDocument.ServiceDocumentPriority AS ServiceDocumentPriority,
  I_ServiceDocument.ServiceDocumentUUID AS ServiceDocumentUUID,
  I_ServiceDocument.ServiceDocumentStatus AS ServiceDocumentStatus,
  I_ServiceDocument.RequestedServiceStartDateTime AS RequestedServiceStartDateTime,
  I_ServiceDocument.RequestedServiceEndDateTime AS RequestedServiceEndDateTime,
  I_ServiceDocument.ServiceDocumentType AS ServiceDocumentType,
  I_ServiceDocument.ResponsibleEmployee AS ResponsibleEmployee,
  I_ServiceDocument.SalesOrganization AS SalesOrganization,
  I_ServiceDocument.DistributionChannel AS DistributionChannel,
  I_ServiceDocument.Division AS Division,
  I_ServiceDocument.SalesOffice AS SalesOffice,
  I_ServiceDocument.SalesGroup AS SalesGroup,
  I_ServiceDocument.SalesOrganizationOrgUnitID AS SalesOrganizationOrgUnitID,
  I_ServiceDocument.SalesOfficeOrgUnitID AS SalesOfficeOrgUnitID,
  I_ServiceDocument.SalesGroupOrgUnitID AS SalesGroupOrgUnitID,
  I_ServiceDocument.ServiceOrganization AS ServiceOrganization,
  I_ServiceDocument.ServiceDocumentUrgency AS ServiceDocumentUrgency,
  I_ServiceDocument.ServiceDocumentImpact AS ServiceDocumentImpact,
  I_ServiceDocument.ServiceEscalationLevel AS ServiceEscalationLevel,
  I_ServiceDocument.ServiceDocumentProblemCategory AS ServiceDocumentProblemCategory,
  I_ServiceDocument.ServiceRisk AS ServiceRisk,
  UtilitiesServiceDocumentRef.Equipment AS Equipment,
  UtilitiesServiceDocumentRef.FunctionalLocation AS FunctionalLocation,
  UtilitiesServiceDocumentRef.ServiceReferenceObjectType AS ServiceReferenceObjectType,
  I_ServiceDocument.ServiceReasonCategory AS ServiceReasonCategory,
  I_ServiceDocument.ServiceDefectSchema AS ServiceDefectSchema,
  I_ServiceDocument.ServiceDefectCategory AS ServiceDefectCategory
FROM I_ServiceDocument
INNER JOIN crms4d_serv_h ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN CRMS4_IU_I_USOREF AS UtilitiesServiceDocumentRef ON UtilitiesServiceDocumentRef.ServiceObjectType = ServiceObjectType AND UtilitiesServiceDocumentRef.ServiceDocument = ServiceDocument AND UtilitiesServiceDocumentRef.SrvcRefObjIsMainObject = 'X'  -- association [1..1]
;