I_SCBO_ASSOCIATION_CBO2

DDL: I_SCBO_ASSOCIATION_CBO2 Type: view_entity Package: S_CBO_PUBLIC

Custom Business Objects: Associable CBO2

I_SCBO_ASSOCIATION_CBO2 is a CDS View that provides data about "Custom Business Objects: Associable CBO2" in SAP S/4HANA. It reads from 9 data sources and exposes 29 fields with key field BusinessObjectID. Part of development package S_CBO_PUBLIC.

Data Sources (9)

SourceAliasJoin Type
scbo2_object BusinessObject from
dd04l DescriptionDataElement left_outer
scbo2_element DescriptionElement left_outer
dd03l DescriptionTableField left_outer
dd04l KeyDataElement left_outer
scbo2_element KeyElement left_outer
dd03l KeyTableField left_outer
scbo2_node Node inner
N_SCBO2_KEY_NR NumberOfKeys inner

Annotations (2)

NameValueLevelField
EndUserText.label Custom Business Objects: Associable CBO2 view
AccessControl.authorizationCheck #NOT_ALLOWED view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY BusinessObjectID scbo2_object business_object_id Business Object ID
BusinessObjectName scbo2_object description Well Code Des.
ScenarioID scbo2_object scenario_id Workflow definition
DAMIndicator scbo2_object data_access_mng_indicator Truth Value
VhCDSViewName scbo2_object valuehelp_view_name Object name
VhMetadataExtensionName scbo2_object valuehelp_metadata_extension Name of DDLX Source
NodeID scbo2_node node_id Workflow Step
NodeName scbo2_node description Well Code Des.
KeyElementID scbo2_element element_id OAN Element ID
KeyElementAlias scbo2_element element_alias Field Name
KeyElementLabel scbo2_element description Well Code Des.
KeyElementSemanticType scbo2_element type Worklist Type
KeyElementDataElement dd03l rollname Repr. Data Elem
KeyElementType dd03l datatype Field Type
KeyElementLength dd03l leng No. of Characters
KeyElementDecimals dd03l decimals Rounding Places
lowercaseendasKeyElementLowercase
DescriptionElementID scbo2_element element_id OAN Element ID
DescriptionElementAlias scbo2_element element_alias Field Name
DescriptionElementLabel scbo2_element description Well Code Des.
DescriptionElementSemanticType scbo2_element type Worklist Type
DescriptionElementDataElement dd03l rollname Repr. Data Elem
DescriptionElementType dd03l datatype Field Type
DescriptionElementLength dd03l leng No. of Characters
DescriptionElementDecimals dd03l decimals Rounding Places
DescriptionElementLowercase
SemanticObjectName scbo2_object semantic_object Semantic Object
SemanticActionName
CustomBusinessObjectVersion

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_ASSOCIATION_CBO2.
-- 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_SCBO_ASSOCIATION_CBO2 AS
SELECT
  BusinessObject.business_object_id AS BusinessObjectID,
  BusinessObject.description AS BusinessObjectName,
  BusinessObject.scenario_id AS ScenarioID,
  BusinessObject.data_access_mng_indicator AS DAMIndicator,
  BusinessObject.valuehelp_view_name AS VhCDSViewName,
  BusinessObject.valuehelp_metadata_extension AS VhMetadataExtensionName,
  Node.node_id AS NodeID,
  Node.description AS NodeName,
  KeyElement.element_id AS KeyElementID,
  KeyElement.element_alias AS KeyElementAlias,
  KeyElement.description AS KeyElementLabel,
  KeyElement.type AS KeyElementSemanticType,
  KeyTableField.rollname AS KeyElementDataElement,
  KeyTableField.datatype AS KeyElementType,
  KeyTableField.leng AS KeyElementLength,
  KeyTableField.decimals AS KeyElementDecimals,
  case when KeyElement.type = 'TEXT' then 'X' else KeyDataElement.lowercase end as KeyElementLowercase AS lowercaseendasKeyElementLowercase,
  DescriptionElement.element_id AS DescriptionElementID,
  DescriptionElement.element_alias AS DescriptionElementAlias,
  DescriptionElement.description AS DescriptionElementLabel,
  DescriptionElement.type AS DescriptionElementSemanticType,
  DescriptionTableField.rollname AS DescriptionElementDataElement,
  DescriptionTableField.datatype AS DescriptionElementType,
  DescriptionTableField.leng AS DescriptionElementLength,
  DescriptionTableField.decimals AS DescriptionElementDecimals,
  'X' AS DescriptionElementLowercase,
  BusinessObject.semantic_object AS SemanticObjectName,
  'maintain' AS SemanticActionName,
  'CBO2' AS CustomBusinessObjectVersion
FROM scbo2_object AS BusinessObject
INNER JOIN scbo2_node AS Node ON /* join condition not captured in parsed metadata */
INNER JOIN N_SCBO2_KEY_NR AS NumberOfKeys ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN scbo2_element AS KeyElement ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN scbo2_element AS DescriptionElement ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd03l AS KeyTableField ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd03l AS DescriptionTableField ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd04l AS KeyDataElement ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd04l AS DescriptionDataElement ON /* join condition not captured in parsed metadata */
;