P_StatusObjectStatusWithGUID

DDL: P_STATUSOBJECTSTATUSWITHGUID SQL: PSTATUSOBJSTATUS Type: view BASIC

P_StatusObjectStatusWithGUID is a Basic CDS View in SAP S/4HANA. It reads from 6 data sources and exposes 20 fields with key fields StatusObjectUUID, StatusCode, StatusCode, StatusCode, StatusCode.

Data Sources (6)

SourceAliasJoin Type
crm_jest crm_jest from
crm_jest crm_jest union_all
crm_jest crm_jest union_all
crm_jest crm_jest union_all
crm_jsto crm_jsto left_outer
crm_jsto crm_jsto left_outer

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey StatusCode view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.sqlViewName PSTATUSOBJSTATUS view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
VDM.private true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY StatusObjectUUID crm_jest objnr Val. Obj. No.
KEY StatusCode crm_jest stat Status of Time-Dependent Document Linkage
StatusProfile crm_jsto stsma Status Profile
IsUserStatus
StatusIsActive
objnrasStatusObjectUUID
KEY StatusCode crm_jest stat Status of Time-Dependent Document Linkage
StatusProfile crm_jsto stsma Status Profile
IsUserStatus
StatusIsActive
objnrasStatusObjectUUID
KEY StatusCode crm_jest stat Status of Time-Dependent Document Linkage
StatusProfile Status Profile
IsUserStatus
StatusIsActive
objnrasStatusObjectUUID
KEY StatusCode crm_jest stat Status of Time-Dependent Document Linkage
StatusProfile Status Profile
IsUserStatus
StatusIsInactive crm_jest inact TRUE

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_StatusObjectStatusWithGUID.
-- 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: PSTATUSOBJSTATUS

CREATE VIEW P_StatusObjectStatusWithGUID AS
SELECT
  crm_jest.objnr AS StatusObjectUUID,
  crm_jest.stat AS StatusCode,
  crm_jsto.stsma AS StatusProfile,
  cast('X' as vdm_j_isuserstatus ) AS IsUserStatus,
  cast('' as vdm_j_statusisactive) AS StatusIsActive,
  crm_jest.inact as StatusIsInactive AS objnrasStatusObjectUUID,
  crm_jest.inact AS StatusIsInactive
FROM crm_jest
LEFT OUTER JOIN crm_jsto ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): crm_jest
;