P_CndnContrActiveStatus

DDL: P_CNDNCONTRACTIVESTATUS Type: view BASIC

P_CndnContrActiveStatus is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (crm_jest, crm_jest) and exposes 7 fields with key fields StatusObjectUUID, StatusCode, StatusCode.

Data Sources (2)

SourceAliasJoin Type
crm_jest crm_jest from
crm_jest crm_jest union_all

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PWCBCCACTSTAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

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

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_CndnContrActiveStatus.
-- 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 P_CndnContrActiveStatus AS
SELECT
  crm_jest.objnr AS StatusObjectUUID,
  crm_jest.stat AS StatusCode,
  cast( '' as wcb_is_user_status ) AS IsUserStatus,
  cast( '' as j_stsma ) as StatusProfile AS objnrasStatusObjectUUID,
  crm_jsto.stsma AS StatusProfile
FROM crm_jest
-- UNION ALL with additional select branch(es): crm_jest
;