R_SrvcOrdTmplItemUserStatusTP

DDL: R_SRVCORDTMPLITEMUSERSTATUSTP Type: view_entity TRANSACTIONAL

Service Order Temp Item User Status - TP

R_SrvcOrdTmplItemUserStatusTP is a Transactional CDS View that provides data about "Service Order Temp Item User Status - TP" in SAP S/4HANA. It reads from 3 data sources (I_ServiceDocumentItem, I_SrvcMgmtObjectStatus, P_StatusObjectWithGUID) and exposes 8 fields with key fields ServiceOrderTemplate, ServiceOrderTemplateItem, UserStatus. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_ServiceDocumentItem ServiceOrderTemplateItem inner
I_SrvcMgmtObjectStatus ServiceOrderTemplateItemStatus from
P_StatusObjectWithGUID StatusObject inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] R_ServiceOrderTemplateTP _ServiceOrderTemplateTP $projection.ServiceOrderTemplate = _ServiceOrderTemplateTP.ServiceOrderTemplate
[0..1] I_StatusCode _StatusCode $projection.UserStatus = _StatusCode.StatusCode and $projection.StatusProfile = _StatusCode.StatusProfile
[0..1] I_StatusProfile _StatusProfile $projection.StatusProfile = _StatusProfile.StatusProfile

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Service Order Temp Item User Status - TP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrderTemplate I_ServiceDocumentItem ServiceDocument Transaction ID
KEY ServiceOrderTemplateItem I_ServiceDocumentItem ServiceDocumentItem Service Document
KEY UserStatus I_SrvcMgmtObjectStatus SrvcMgmtObjectStatus Status of Time-Dependent Document Linkage
StatusProfile P_StatusObjectWithGUID StatusProfile Status Profile
_StatusCode _StatusCode
_StatusProfile _StatusProfile
_ServiceOrderTemplateItemTP _ServiceOrderTemplateItemTP
_ServiceOrderTemplateTP _ServiceOrderTemplateTP

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 R_SrvcOrdTmplItemUserStatusTP.
-- 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 R_SrvcOrdTmplItemUserStatusTP AS
SELECT
  ServiceOrderTemplateItem.ServiceDocument AS ServiceOrderTemplate,
  ServiceOrderTemplateItem.ServiceDocumentItem AS ServiceOrderTemplateItem,
  ServiceOrderTemplateItemStatus.SrvcMgmtObjectStatus AS UserStatus,
  StatusObject.StatusProfile AS StatusProfile
FROM I_SrvcMgmtObjectStatus AS ServiceOrderTemplateItemStatus
INNER JOIN P_StatusObjectWithGUID AS StatusObject ON /* join condition not captured in parsed metadata */
INNER JOIN I_ServiceDocumentItem AS ServiceOrderTemplateItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_ServiceOrderTemplateTP AS _ServiceOrderTemplateTP ON ServiceOrderTemplate = _ServiceOrderTemplateTP.ServiceOrderTemplate  -- association [1..1]
LEFT OUTER JOIN I_StatusCode AS _StatusCode ON UserStatus = _StatusCode.StatusCode AND StatusProfile = _StatusCode.StatusProfile  -- association [0..1]
LEFT OUTER JOIN I_StatusProfile AS _StatusProfile ON StatusProfile = _StatusProfile.StatusProfile  -- association [0..1]
;