I_Scbo_reg

DDL: I_SCBO_REG SQL: I_SCBO_REG_V Type: view

Custom Business Objects: Registry

I_Scbo_reg is a CDS View that provides data about "Custom Business Objects: Registry" in SAP S/4HANA. It reads from 3 data sources (P_Scbo_User, P_Scbo_User, P_Scbo_Reg_Union) and exposes 27 fields with key field BusinessObjectID. It has 4 associations to related views.

Data Sources (3)

SourceAliasJoin Type
P_Scbo_User _ChangeUser left_outer
P_Scbo_User _CreateUser left_outer
P_Scbo_Reg_Union BusinessObject from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Scbo_Node ActiveRootNode ActiveRootNode.BusinessObjectID = BusinessObject.BusinessObjectID and ActiveRootNode.VersionNumber = BusinessObject.VersionNumber and ActiveRootNode.ParentNodeID = ''
[0..1] I_Scbo_Node DraftRootNode DraftRootNode.BusinessObjectID = BusinessObject.DraftBusinessObjectID and DraftRootNode.VersionNumber = BusinessObject.VersionNumber and DraftRootNode.ParentNodeID = ''
[0..*] I_Scbo_Element ActiveRootNodeElements ActiveRootNodeElements.BusinessObjectID = BusinessObject.BusinessObjectID and ActiveRootNodeElements.NodeID = ActiveRootNodeID and ActiveRootNodeElements.VersionNumber = BusinessObject.VersionNumber
[0..*] I_Scbo_Element DraftRootNodeElements DraftRootNodeElements.BusinessObjectID = BusinessObject.DraftBusinessObjectID and DraftRootNodeElements.NodeID = DraftRootNodeID and DraftRootNodeElements.VersionNumber = BusinessObject.VersionNumber

Annotations (5)

NameValueLevelField
EndUserText.label Custom Business Objects: Registry view
AbapCatalog.sqlViewName I_SCBO_REG_V view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientDependent false view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY BusinessObjectID P_Scbo_Reg_Union BusinessObjectID Business Object ID
DraftBusinessObjectID P_Scbo_Reg_Union DraftBusinessObjectID Business Object ID
VersionNumber P_Scbo_Reg_Union VersionNumber Version Number
Namespace P_Scbo_Reg_Union Namespace Parameter Namespace
Description P_Scbo_Reg_Union Description Well Code Des.
DescriptionPlural P_Scbo_Reg_Union DescriptionPlural Description Plural
CreatedAt P_Scbo_Reg_Union CreatedAt Time Stamp
CreatedBy P_Scbo_Reg_Union CreatedBy User Name
LastChangedAt P_Scbo_Reg_Union LastChangedAt Time Stamp
LastChangedBy P_Scbo_Reg_Union LastChangedBy User Name
PublishState P_Scbo_Reg_Union PublishState Publish State
OriginalRelease P_Scbo_Reg_Union OriginalRelease Release
CreatedByName P_Scbo_User description Well Code Des.
LastChangedByName P_Scbo_User description Well Code Des.
PublishStateDescription State_Texts description Well Code Des.
char1endasHasDraft
char1endasHasActive
ActiveRootNodeID ActiveRootNode NodeID Workflow Step
DraftRootNodeID DraftRootNode NodeID Workflow Step
NodeIDendasRootNodeID
Active Active Usage Active
Draft Draft Max Vehicle Draft
State_Texts State_Texts
ActiveRootNode ActiveRootNode
DraftRootNode DraftRootNode
ActiveRootNodeElements ActiveRootNodeElements
DraftRootNodeElements DraftRootNodeElements

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_Scbo_reg.
-- 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: I_SCBO_REG_V

CREATE VIEW I_Scbo_reg AS
SELECT
  BusinessObject.BusinessObjectID AS BusinessObjectID,
  BusinessObject.DraftBusinessObjectID AS DraftBusinessObjectID,
  BusinessObject.VersionNumber AS VersionNumber,
  BusinessObject.Namespace AS Namespace,
  BusinessObject.Description AS Description,
  BusinessObject.DescriptionPlural AS DescriptionPlural,
  BusinessObject.CreatedAt AS CreatedAt,
  BusinessObject.CreatedBy AS CreatedBy,
  BusinessObject.LastChangedAt AS LastChangedAt,
  BusinessObject.LastChangedBy AS LastChangedBy,
  BusinessObject.PublishState AS PublishState,
  BusinessObject.OriginalRelease AS OriginalRelease,
  _CreateUser.description AS CreatedByName,
  _ChangeUser.description AS LastChangedByName,
  State_Texts.description AS PublishStateDescription,
  case when Draft.BusinessObjectID is not null then cast ('X' as abap.char(1)) else cast (' ' as abap.char(1)) end as HasDraft AS char1endasHasDraft,
  case when Active.BusinessObjectID is not null then cast ('X' as abap.char(1)) else cast (' ' as abap.char(1)) end as HasActive AS char1endasHasActive,
  ActiveRootNode.NodeID AS ActiveRootNodeID,
  DraftRootNode.NodeID AS DraftRootNodeID,
  case when DraftRootNode.NodeID is not null then DraftRootNode.NodeID else ActiveRootNode.NodeID end as RootNodeID AS NodeIDendasRootNodeID,
  Active,
  Draft,
  State_Texts,
  ActiveRootNode,
  DraftRootNode,
  ActiveRootNodeElements,
  DraftRootNodeElements
FROM P_Scbo_Reg_Union AS BusinessObject
LEFT OUTER JOIN P_Scbo_User AS _CreateUser ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_Scbo_User AS _ChangeUser ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Scbo_Node AS ActiveRootNode ON ActiveRootNode.BusinessObjectID = BusinessObject.BusinessObjectID AND ActiveRootNode.VersionNumber = BusinessObject.VersionNumber AND ActiveRootNode.ParentNodeID = ''  -- association [0..1]
LEFT OUTER JOIN I_Scbo_Node AS DraftRootNode ON DraftRootNode.BusinessObjectID = BusinessObject.DraftBusinessObjectID AND DraftRootNode.VersionNumber = BusinessObject.VersionNumber AND DraftRootNode.ParentNodeID = ''  -- association [0..1]
LEFT OUTER JOIN I_Scbo_Element AS ActiveRootNodeElements ON ActiveRootNodeElements.BusinessObjectID = BusinessObject.BusinessObjectID AND ActiveRootNodeElements.NodeID = ActiveRootNodeID AND ActiveRootNodeElements.VersionNumber = BusinessObject.VersionNumber  -- association [0..*]
LEFT OUTER JOIN I_Scbo_Element AS DraftRootNodeElements ON DraftRootNodeElements.BusinessObjectID = BusinessObject.DraftBusinessObjectID AND DraftRootNodeElements.NodeID = DraftRootNodeID AND DraftRootNodeElements.VersionNumber = BusinessObject.VersionNumber  -- association [0..*]
;