I_SrvcMgmtCstmStsMappingEnhcd

DDL: I_SRVCMGMTCSTMSTSMAPPINGENHCD Type: view BASIC

User Status of Service Transaction

I_SrvcMgmtCstmStsMappingEnhcd is a Basic CDS View (Dimension) that provides data about "User Status of Service Transaction" in SAP S/4HANA. It reads from 1 data source (I_CustMgmtLfcycUsrStsMapping) and exposes 13 fields with key fields ServiceDocumentStatus, StatusProfile, Language. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustMgmtLfcycUsrStsMapping _UserStatus from

Associations (3)

CardinalityTargetAliasCondition
[1..*] crms4c_stat_lc_t _Statustxt _UserStatus.CustMgmtLifecycleUserStatus = _Statustxt.stat_lifecycle
[1..*] I_ServiceDocumentType _SrvcDocumentType $projection.StatusProfile = _SrvcDocumentType.StatusProfile
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (15)

NameValueLevelField
EndUserText.label User Status of Service Transaction view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey ServiceDocumentStatus view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISVMGMTCSTMSTSMP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ServiceDocumentStatus CustMgmtLifecycleUserStatus Value
KEY StatusProfile I_CustMgmtLfcycUsrStsMapping StatusProfile Status Profile
KEY Language _Statustxt language Report Text Language
ServiceDocumentType _SrvcDocumentType ServiceDocumentType Transaction Type
ServiceObjectType _SrvcDocumentType ServiceObjectType Object Type
StatusDescription
SrvcDocTypeBlockingStatus _SrvcDocumentType SrvcDocTypeBlockingStatus
_ServiceDocumentTypeText _SrvcDocumentType _ServiceDocumentTypeText
_ServiceObjectTypeText _SrvcDocumentType _ServiceObjectTypeText
_SrvcDocumentType _SrvcDocumentType
_StatusProfile _StatusProfile
_Language _Language
_ServiceDocumentStatus _CustMgmtLifecycleUserStatus

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_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 I_SrvcMgmtCstmStsMappingEnhcd AS
SELECT
  CustMgmtLifecycleUserStatus AS ServiceDocumentStatus,
  _UserStatus.StatusProfile AS StatusProfile,
  _Statustxt.language AS Language,
  _SrvcDocumentType.ServiceDocumentType AS ServiceDocumentType,
  _SrvcDocumentType.ServiceObjectType AS ServiceObjectType,
  cast( _Statustxt.description as char60) AS StatusDescription,
  _SrvcDocumentType.SrvcDocTypeBlockingStatus AS SrvcDocTypeBlockingStatus,
  _SrvcDocumentType._ServiceDocumentTypeText AS _ServiceDocumentTypeText,
  _SrvcDocumentType._ServiceObjectTypeText AS _ServiceObjectTypeText
FROM I_CustMgmtLfcycUsrStsMapping AS _UserStatus
LEFT OUTER JOIN crms4c_stat_lc_t AS _Statustxt ON _UserStatus.CustMgmtLifecycleUserStatus = _Statustxt.stat_lifecycle  -- association [1..*]
LEFT OUTER JOIN I_ServiceDocumentType AS _SrvcDocumentType ON StatusProfile = _SrvcDocumentType.StatusProfile  -- association [1..*]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;