I_DefectSerialNumberTP

DDL: I_DEFECTSERIALNUMBERTP SQL: IDEFSERNUMTP Type: view TRANSACTIONAL Package: VDM_QM_NOTIFICATION

Serial Number in Defect - TP

I_DefectSerialNumberTP is a Transactional CDS View that provides data about "Serial Number in Defect - TP" in SAP S/4HANA. It reads from 1 data source (I_DefectSerialNumber) and exposes 7 fields with key fields DefectInternalID, DfctSerialNmbrSequentialNumber. It has 1 association to related views. Part of development package VDM_QM_NOTIFICATION.

Data Sources (1)

SourceAliasJoin Type
I_DefectSerialNumber I_DefectSerialNumber from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Defect_TP _Defect $projection.DefectInternalID = _Defect.DefectInternalID

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IDEFSERNUMTP view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
EndUserText.label Serial Number in Defect - TP view
ObjectModel.draftEnabled true view
ObjectModel.createEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.writeDraftPersistence QDEFECTSRN_D view
ObjectModel.writeActivePersistence V_DEFSRN_BO2ACT view
ObjectModel.representativeKey DfctSerialNmbrSequentialNumber view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY DefectInternalID DefectInternalID Internal Defect ID
KEY DfctSerialNmbrSequentialNumber DfctSerialNmbrSequentialNumber
Defect Defect
SerialNumber SerialNumber Serial Number
Equipment Equipment Equipment check
SerialNumberAssignmentDateTime SerialNumberAssignmentDateTime Time Stamp
_Defect _Defect

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_DefectSerialNumberTP.
-- 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.
-- SQL view name: IDEFSERNUMTP

CREATE VIEW I_DefectSerialNumberTP AS
SELECT
  DefectInternalID,
  DfctSerialNmbrSequentialNumber,
  Defect,
  SerialNumber,
  Equipment,
  SerialNumberAssignmentDateTime
FROM I_DefectSerialNumber
LEFT OUTER JOIN I_Defect_TP AS _Defect ON DefectInternalID = _Defect.DefectInternalID  -- association [1..1]
;