P_SrvcMgmtCstmStsMappingEnhcd

DDL: P_SRVCMGMTCSTMSTSMAPPINGENHCD Type: view COMPOSITE Package: CRMS4_ANALYTICS

Service Contract Filtered User Status

P_SrvcMgmtCstmStsMappingEnhcd is a Composite CDS View that provides data about "Service Contract Filtered User Status" in SAP S/4HANA. It reads from 1 data source (I_SrvcMgmtCstmStsMappingEnhcd) and exposes 10 fields with key fields ServiceDocumentStatus, ServiceDocumentType, ServiceObjectType, StatusProfile. It has 2 associations to related views. Part of development package CRMS4_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_SrvcMgmtCstmStsMappingEnhcd I_SrvcMgmtCstmStsMappingEnhcd from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_ServiceDocumentType _ServiceDocumentType $projection.ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType
[0..1] I_CustMgmtBusObjType _ServiceObjectType $projection.ServiceObjectType = _ServiceObjectType.BusinessObjectType

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PSVMGMTCSTMSTSMP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentStatus ServiceDocumentStatus
KEY ServiceDocumentType ServiceDocumentType Transaction Type
KEY ServiceObjectType ServiceObjectType Object Type
KEY StatusProfile StatusProfile Status Profile
StatusDescription StatusDescription
Language Language Report Text Language
_ServiceDocumentType _ServiceDocumentType
_ServiceDocumentStatus _ServiceDocumentStatus
_ServiceObjectType _ServiceObjectType
_StatusProfile _StatusProfile

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_SrvcMgmtCstmStsMappingEnhcd.
-- 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_SrvcMgmtCstmStsMappingEnhcd AS
SELECT
  ServiceDocumentStatus,
  ServiceDocumentType,
  ServiceObjectType,
  StatusProfile,
  StatusDescription,
  Language
FROM I_SrvcMgmtCstmStsMappingEnhcd
LEFT OUTER JOIN I_ServiceDocumentType AS _ServiceDocumentType ON ServiceDocumentType = _ServiceDocumentType.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_CustMgmtBusObjType AS _ServiceObjectType ON ServiceObjectType = _ServiceObjectType.BusinessObjectType  -- association [0..1]
;