P_Scbo_U

DDL: P_SCBO_U SQL: P_SCBO_U_V Type: view COMPOSITE

Custom Business Objects: BO Draft

P_Scbo_U is a Composite CDS View that provides data about "Custom Business Objects: BO Draft" in SAP S/4HANA. It reads from 3 data sources (I_Scbo, scbo_object_d, scbo_object_d) and exposes 53 fields with key fields BusinessObjectDraftUUID, ActiveBusinessObjectID, ActiveBusinessObjectID.

Data Sources (3)

SourceAliasJoin Type
I_Scbo Active from
scbo_object_d Draft left_outer
scbo_object_d Draft union_all

Annotations (5)

NameValueLevelField
EndUserText.label Custom Business Objects: BO Draft view
AbapCatalog.sqlViewName P_SCBO_U_V view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientDependent false view
VDM.viewType #COMPOSITE view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY BusinessObjectDraftUUID
KEY ActiveBusinessObjectID I_Scbo BusinessObjectID Business Object ID
BusinessObjectIDendasBusinessObjectID
Namespace I_Scbo Namespace Parameter Namespace
Description I_Scbo Description Well Code Des.
DescriptionPlural I_Scbo DescriptionPlural Description Plural
ServiceGenerationIndicator I_Scbo ServiceGenerationIndicator Service Generation
ServiceUrl I_Scbo ServiceUrl Service URL
UIGenerationIndicator I_Scbo UIGenerationIndicator UI Generation
UIUrl I_Scbo UIUrl UI URL
LogicGenerationIndicator I_Scbo LogicGenerationIndicator Logic Generation
BSPAppName I_Scbo BSPAppName BSP App Name
IWSVName I_Scbo IWSVName Service Implement.
IWSGName I_Scbo IWSGName Service
SystemAdminDataGenInd I_Scbo SystemAdminDataGenInd SAD Generation
PublishState I_Scbo PublishState Publish State
LastGenerateTimestamp I_Scbo LastGenerateTimestamp Time Stamp
Transported I_Scbo Transported Truth Value
OriginalLanguage I_Scbo OriginalLanguage Original Language
OriginalRelease I_Scbo OriginalRelease Release
CreatedAt I_Scbo CreatedAt Time Stamp
CreatedBy I_Scbo CreatedBy User Name
LastChangedAt I_Scbo LastChangedAt Time Stamp
LastChangedBy I_Scbo LastChangedBy User Name
IsActiveEntity
HasActiveEntity
KEY ActiveBusinessObjectID scbo_object_d activebusinessobjectid Business Object ID
BusinessObjectID scbo_object_d businessobjectid Business Object ID
Namespace scbo_object_d namespace Parameter Namespace
Description scbo_object_d description Well Code Des.
DescriptionPlural scbo_object_d descriptionplural Description Plural
ServiceGenerationIndicator scbo_object_d servicegenerationindicator Service Generation
ServiceUrl scbo_object_d serviceurl Service URL
UIGenerationIndicator scbo_object_d uigenerationindicator UI Generation
UIUrl scbo_object_d uiurl UI URL
LogicGenerationIndicator scbo_object_d logicgenerationindicator Logic Generation
BSPAppName scbo_object_d bspappname BSP App Name
IWSVName scbo_object_d iwsvname Service Implement.
IWSGName scbo_object_d iwsgname Service
SystemAdminDataGenInd scbo_object_d systemadmindatagenind SAD Generation
PublishState scbo_object_d publishstate Publish State
LastGenerateTimestamp scbo_object_d lastgeneratetimestamp Time Stamp
Transported scbo_object_d transported Truth Value
OriginalLanguage scbo_object_d originallanguage Original Language
OriginalRelease scbo_object_d originalrelease Release
CreatedAt scbo_object_d createdat Time Stamp
CreatedBy scbo_object_d createdby User Name
LastChangedAt scbo_object_d lastchangedat Time Stamp
LastChangedBy scbo_object_d lastchangedby User Name
IsActiveEntity
HasActiveEntity
HasDraftEntity
DraftAdministrativeDataUUID scbo_object_d businessobjectdraftuuid Draft (Technical ID)

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 P_Scbo_U.
-- 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: P_SCBO_U_V

CREATE VIEW P_Scbo_U AS
SELECT
  cast( hextobin('00000000000000000000000000000000') as sdraft_key ) AS BusinessObjectDraftUUID,
  Active.BusinessObjectID AS ActiveBusinessObjectID,
  case when( Active.ActiveBusinessObjectID <> '' ) then Active.ActiveBusinessObjectID else Active.BusinessObjectID end as BusinessObjectID AS BusinessObjectIDendasBusinessObjectID,
  Active.Namespace AS Namespace,
  Active.Description AS Description,
  Active.DescriptionPlural AS DescriptionPlural,
  Active.ServiceGenerationIndicator AS ServiceGenerationIndicator,
  Active.ServiceUrl AS ServiceUrl,
  Active.UIGenerationIndicator AS UIGenerationIndicator,
  Active.UIUrl AS UIUrl,
  Active.LogicGenerationIndicator AS LogicGenerationIndicator,
  Active.BSPAppName AS BSPAppName,
  Active.IWSVName AS IWSVName,
  Active.IWSGName AS IWSGName,
  Active.SystemAdminDataGenInd AS SystemAdminDataGenInd,
  Active.PublishState AS PublishState,
  Active.LastGenerateTimestamp AS LastGenerateTimestamp,
  Active.Transported AS Transported,
  Active.OriginalLanguage AS OriginalLanguage,
  Active.OriginalRelease AS OriginalRelease,
  Active.CreatedAt AS CreatedAt,
  Active.CreatedBy AS CreatedBy,
  Active.LastChangedAt AS LastChangedAt,
  Active.LastChangedBy AS LastChangedBy,
  cast( 'X' as boole_d ) AS IsActiveEntity,
  cast( ' ' as boole_d ) AS HasActiveEntity,
  Draft.businessobjectid AS BusinessObjectID,
  cast( ' ' as boole_d ) AS HasDraftEntity,
  Draft.businessobjectdraftuuid AS DraftAdministrativeDataUUID
FROM I_Scbo AS Active
LEFT OUTER JOIN scbo_object_d AS Draft ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): scbo_object_d
;