R_SrvcOrdItemDefectTP

DDL: R_SRVCORDITEMDEFECTTP Type: view_entity TRANSACTIONAL

Service Order Item Defect - TP

R_SrvcOrdItemDefectTP is a Transactional CDS View that provides data about "Service Order Item Defect - TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDefect) and exposes 12 fields with key fields ServiceOrder, ServiceOrderItem, SrvcDocTypeDefectCodeProfType, ServiceDefectSequence. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDefect I_ServiceDefect from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_ServiceOrderTP _ServiceOrderTP $projection.ServiceOrder = _ServiceOrderTP.ServiceOrder

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 Item Defect - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ServiceOrder ServiceDocument Transaction ID
KEY ServiceOrderItem ServiceDocumentItem Service Document
KEY SrvcDocTypeDefectCodeProfType SrvcDocTypeDefectCodeProfType SubjPrfileCtgry
KEY ServiceDefectSequence ServiceDefectSequence User Types Sort Ord.
SrvcDocTypeDefectCodeProfile SrvcDocTypeDefectCodeProfile Subject Profile
ServiceDefectCodeCatalog ServiceDefectCodeCatalog Catalog
ServiceDefectCodeGroup ServiceDefectCodeGroup Code Group
ServiceDefectCode ServiceDefectCode Water Hazard Cl.
ServiceDefectSchema ServiceDefectSchema Schema ID
ServiceDefectCategory ServiceDefectCategory Technical Catalog ID
_ServiceOrderItemTP _ServiceOrderItemTP
_ServiceOrderTP _ServiceOrderTP

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_SrvcOrdItemDefectTP.
-- 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_SrvcOrdItemDefectTP AS
SELECT
  ServiceDocument AS ServiceOrder,
  ServiceDocumentItem AS ServiceOrderItem,
  SrvcDocTypeDefectCodeProfType,
  ServiceDefectSequence,
  SrvcDocTypeDefectCodeProfile,
  ServiceDefectCodeCatalog,
  ServiceDefectCodeGroup,
  ServiceDefectCode,
  ServiceDefectSchema,
  ServiceDefectCategory
FROM I_ServiceDefect
LEFT OUTER JOIN R_ServiceOrderTP AS _ServiceOrderTP ON ServiceOrder = _ServiceOrderTP.ServiceOrder  -- association [1..1]
;