I_ShiftNoteReferenceObject

DDL: I_SHIFTNOTEREFERENCEOBJECT Type: view_entity COMPOSITE

Shift Note Reference Object

I_ShiftNoteReferenceObject is a Composite CDS View that provides data about "Shift Note Reference Object" in SAP S/4HANA. It reads from 3 data sources (I_GnrcObjectRelationshipLink, I_GnrcObjectRelationshipRole, I_GnrcObjectRelationshipRole) and exposes 5 fields with key field ShiftNoteID. It has 2 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_GnrcObjectRelationshipLink BinRel from
I_GnrcObjectRelationshipRole RelRoles_Ref inner
I_GnrcObjectRelationshipRole RelRoles_ShN inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ShiftNote _ShiftNote $projection.ShiftNoteID = _ShiftNote.ShiftNoteID
[0..*] I_BusinessObjTypeText _Text $projection.ShiftNoteReferenceObjectType = _Text.BusinessObjectType

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Shift Note Reference Object view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #COMPOSITE view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ShiftNoteID
ShiftNoteReferenceObjectType I_GnrcObjectRelationshipRole GnrcObjRelshpRoleObjectType Translation OType
ShiftNoteReferenceObjectKey I_GnrcObjectRelationshipRole GnrcObjRelshpRoleObjectKey Push Object Key
Associations_ShiftNote
_Text _Text

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_ShiftNoteReferenceObject.
-- 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 I_ShiftNoteReferenceObject AS
SELECT
  cast( substring( RelRoles_ShN.GnrcObjRelshpRoleObjectKey,1,12 ) as cocf_sn_id preserving type) AS ShiftNoteID,
  RelRoles_Ref.GnrcObjRelshpRoleObjectType AS ShiftNoteReferenceObjectType,
  RelRoles_Ref.GnrcObjRelshpRoleObjectKey AS ShiftNoteReferenceObjectKey
FROM I_GnrcObjectRelationshipLink AS BinRel
INNER JOIN I_GnrcObjectRelationshipRole AS RelRoles_ShN ON /* join condition not captured in parsed metadata */
INNER JOIN I_GnrcObjectRelationshipRole AS RelRoles_Ref ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ShiftNote AS _ShiftNote ON ShiftNoteID = _ShiftNote.ShiftNoteID  -- association [1..1]
LEFT OUTER JOIN I_BusinessObjTypeText AS _Text ON ShiftNoteReferenceObjectType = _Text.BusinessObjectType  -- association [0..*]
;