I_SrvcMgmtCstmStsMappingEnhcd
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. Part of development package CRMS4_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustMgmtLfcycUsrStsMapping | _UserStatus | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA