I_SpecType

DDL: I_SPECTYPE SQL: ISPECTYPE Type: view BASIC Package: VDM_PLMB_SPC_BAS

Specification Type

I_SpecType is a Basic CDS View that provides data about "Specification Type" in SAP S/4HANA. It reads from 1 data source (tcg31) and exposes 4 fields with key field SpecificationType. It has 3 associations to related views. Part of development package VDM_PLMB_SPC_BAS.

Data Sources (1)

SourceAliasJoin Type
tcg31 tcg31 from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_SpecTypeText _SpecificationTypeText $projection.SpecificationType = _SpecificationTypeText.SpecificationType
[0..*] I_Specification _Specification $projection.SpecificationType = _Specification.SpecificationType
[0..*] I_SpecTypeAssignedCategory _AssignedCategory $projection.SpecificationType = _AssignedCategory.SpecificationType

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISPECTYPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.representativeKey SpecificationType view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
VDM.viewType #BASIC view
EndUserText.label Specification Type view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY SpecificationType Spec. Type
_SpecificationTypeText _SpecificationTypeText
_AssignedCategory _AssignedCategory
_Specification _Specification

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_SpecType.
-- 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: ISPECTYPE

CREATE VIEW I_SpecType AS
SELECT
  cast(subcat as /plmb/spc_type preserving type) AS SpecificationType
FROM tcg31
LEFT OUTER JOIN I_SpecTypeText AS _SpecificationTypeText ON SpecificationType = _SpecificationTypeText.SpecificationType  -- association [0..*]
LEFT OUTER JOIN I_Specification AS _Specification ON SpecificationType = _Specification.SpecificationType  -- association [0..*]
LEFT OUTER JOIN I_SpecTypeAssignedCategory AS _AssignedCategory ON SpecificationType = _AssignedCategory.SpecificationType  -- association [0..*]
;