C_SafetyInstructionChapterTP

DDL: C_SAFETYINSTRUCTIONCHAPTERTP Type: view CONSUMPTION

Consumption View for SI Chapter

C_SafetyInstructionChapterTP is a Consumption CDS View that provides data about "Consumption View for SI Chapter" in SAP S/4HANA. It reads from 1 data source (I_SafetyInstructionChapterTP) and exposes 11 fields with key field SafetyInstructionChapterUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SafetyInstructionChapterTP I_SafetyInstructionChapterTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_SafetyInstructionTP _SafetyInstruction $projection.SafetyInstructionUUID = _SafetyInstruction.SafetyInstructionUUID
[1..*] C_SafetyInstrnChapterImageTP _SafetyInstrnChapterImage $projection.SafetyInstructionChapterUUID = _SafetyInstrnChapterImage.SafetyInstructionChapterUUID

Annotations (18)

NameValueLevelField
EndUserText.label Consumption View for SI Chapter view
AbapCatalog.sqlViewName CHSSFSICHAPTER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.representativeKey SafetyInstructionChapterUUID view
ObjectModel.semanticKey SafetyInstructionUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
Metadata.ignorePropagatedAnnotations false view
Metadata.allowExtensions true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY SafetyInstructionChapterUUID SafetyInstructionChapterUUID NodeID
SafetyInstructionUUID SafetyInstructionUUID NodeID
SafetyInstructionChapterType SafetyInstructionChapterType Chapter Type
SafetyInstructionChapterText SafetyInstructionChapterText Chapter Text
SftyInstrnAddlChapterText SftyInstrnAddlChapterText Text Field
SafetyInstructionChapterNumber
SftyInstrnAddlChapterTxtIsUsed
SftyInstrnChapterTxtIsEditable
SafetyInstrnChapterTypeText
_SafetyInstruction
_SafetyInstrnChapterImage _SafetyInstrnChapterImage

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 C_SafetyInstructionChapterTP.
-- 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 C_SafetyInstructionChapterTP AS
SELECT
  SafetyInstructionChapterUUID,
  SafetyInstructionUUID,
  SafetyInstructionChapterType,
  SafetyInstructionChapterText,
  SftyInstrnAddlChapterText,
  cast('0000000000' as abap.numc(10)) AS SafetyInstructionChapterNumber,
  cast('X' as boole_d preserving type ) AS SftyInstrnAddlChapterTxtIsUsed,
  cast('X' as boole_d preserving type ) AS SftyInstrnChapterTxtIsEditable,
  cast('' as abap.char( 60 )) AS SafetyInstrnChapterTypeText,
  / _SafetyInstruction AS _SafetyInstruction
FROM I_SafetyInstructionChapterTP
LEFT OUTER JOIN C_SafetyInstructionTP AS _SafetyInstruction ON SafetyInstructionUUID = _SafetyInstruction.SafetyInstructionUUID  -- association [1..1]
LEFT OUTER JOIN C_SafetyInstrnChapterImageTP AS _SafetyInstrnChapterImage ON SafetyInstructionChapterUUID = _SafetyInstrnChapterImage.SafetyInstructionChapterUUID  -- association [1..*]
;