I_SrvcMgmtKnowledgeObject
Service Management Knowledge Object
I_SrvcMgmtKnowledgeObject is a Basic CDS View that provides data about "Service Management Knowledge Object" in SAP S/4HANA. It reads from 1 data source (crms4d_knar_h) and exposes 44 fields with key fields ServiceObjectType, KnowledgeArticle. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| crms4d_knar_h | crms4d_knar_h | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustMgmtBusObjType | _CustMgmtBusObjType | $projection.ServiceObjectType = _CustMgmtBusObjType.BusinessObjectType |
| [0..1] | I_BusinessActivityCategory | _ActivityCategory | $projection.ServiceDocumentCategory = _ActivityCategory.BusinessActivityCategory |
| [1..1] | I_ServiceDocumentType | _ServiceDocumentType | $projection.SrvcMgmtKnwlObjType = _ServiceDocumentType.ServiceDocumentType |
| [1..1] | I_ServiceDocumentPriority | _ServiceDocumentPriority | $projection.ServiceDocumentPriority = _ServiceDocumentPriority.ServiceDocumentPriority |
| [0..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_Division | _Division | $projection.Division = _Division.Division |
| [0..1] | I_SrvcMgmtOrganizationUnit | _SalesOrganizationOrgUnit | $projection.SalesOrganizationOrgUnitID = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated |
| [0..1] | I_SrvcMgmtOrganizationUnit | _SalesOfficeOrgUnit | $projection.SalesOfficeOrgUnitID = _SalesOfficeOrgUnit.OrgUnitTypeIDConcatenated |
| [0..1] | I_SrvcMgmtOrganizationUnit | _SalesGroupOrgUnit | $projection.SalesGroupOrgUnitID = _SalesGroupOrgUnit.OrgUnitTypeIDConcatenated |
| [0..1] | I_SrvcMgmtOrganizationUnit | _ResponsibleSalesOrganization | $projection.ResponsibleSalesOrganization = _ResponsibleSalesOrganization.OrgUnitTypeIDConcatenated |
| [0..1] | I_SrvcMgmtOrganizationUnit | _ServiceOrganization | $projection.ServiceOrganization = _ServiceOrganization.OrgUnitTypeIDConcatenated |
| [0..1] | I_SrvcMgmtOrganizationUnit | _ResponsibleServiceOrg | $projection.ResponsibleServiceOrganization = _ResponsibleServiceOrg.OrgUnitTypeIDConcatenated |
| [0..1] | I_BusinessPartner | _RespEmployeeBusinessPartnerId | $projection.RespEmployeeBusinessPartnerId = _RespEmployeeBusinessPartnerId.BusinessPartner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Service Management Knowledge Object | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceObjectType | objtype_h | Trans. Cat. | |
| KEY | KnowledgeArticle | object_id | Transaction ID | |
| ServiceDocumentCategory | category | Violation Category | ||
| ServiceDocumentPriority | priority | Workflow priority | ||
| BusinessActivityClass | class | User Group | ||
| SMKnwlObjValidityStartDateTime | valid_from | Validity Start Time | ||
| SMKnwlObjValidityEndDateTime | valid_to | Validity End Time | ||
| SrvcMgmtKnowledgeObjectUUID | header_guid | Unique Identifier | ||
| SrvcMgmtKnwlObjType | process_type | Type of Data | ||
| SrvcMgmtKnwlObjPostingDate | posting_date | Posting Date | ||
| SrvcMgmtKnwlObjDescription | description_h | Description | ||
| Language | descr_language | Language | ||
| ServiceDocumentTemplateType | template_type | Template Type | ||
| SMKnwlObjCreationDateTime | created_at_h | Created On | ||
| SMKnwlObjCreatedByUser | created_by_h | Created By | ||
| SMKnwlObjChangedDateTime | changed_at_h | Changed On | ||
| SMKnwlObjChangedByUser | changed_by_h | Changed By | ||
| DistributionChannel | dis_channel | Distribution Channel | ||
| Division | division | Internal Division ID | ||
| SalesOrganizationOrgUnitID | sales_org | Sales Organization | ||
| SalesOfficeOrgUnitID | sales_office | Sales Office | ||
| SalesGroupOrgUnitID | sales_group | Sales Group | ||
| ResponsibleSalesOrganization | sales_org_resp | Org. Unit (Sales) | ||
| ServiceOrganization | service_org | Service Organization | ||
| ResponsibleServiceOrganization | service_org_resp | Resp. Org. Unit | ||
| RespEmployeeBusinessPartnerId | person_resp | Employee Responsible | ||
| SrvcMgmtKnwlObjStatus | stat_lifecycle | Unique Custom Status | ||
| SrvcMgmtKnwlObjIsReleased | stat_released | Release Status | ||
| SrvcMgmtKnwlObjIsRejected | stat_cancelled | Cancellation Status | ||
| SrvcMgmtKnwlObjHasError | stat_error | Error Status | ||
| SrvcMgmtKnwlObjIsOpen | stat_open | Open | ||
| _CustMgmtBusObjType | _CustMgmtBusObjType | |||
| _ActivityCategory | _ActivityCategory | |||
| _ServiceDocumentType | _ServiceDocumentType | |||
| _ServiceDocumentPriority | _ServiceDocumentPriority | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _SalesOrganizationOrgUnit | _SalesOrganizationOrgUnit | |||
| _SalesOfficeOrgUnit | _SalesOfficeOrgUnit | |||
| _SalesGroupOrgUnit | _SalesGroupOrgUnit | |||
| _ResponsibleSalesOrganization | _ResponsibleSalesOrganization | |||
| _ServiceOrganization | _ServiceOrganization | |||
| _ResponsibleServiceOrg | _ResponsibleServiceOrg | |||
| _RespEmployeeBusinessPartnerId | _RespEmployeeBusinessPartnerId |
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_SrvcMgmtKnowledgeObject.
-- 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_SrvcMgmtKnowledgeObject AS
SELECT
objtype_h AS ServiceObjectType,
object_id AS KnowledgeArticle,
category AS ServiceDocumentCategory,
priority AS ServiceDocumentPriority,
class AS BusinessActivityClass,
valid_from AS SMKnwlObjValidityStartDateTime,
valid_to AS SMKnwlObjValidityEndDateTime,
header_guid AS SrvcMgmtKnowledgeObjectUUID,
process_type AS SrvcMgmtKnwlObjType,
posting_date AS SrvcMgmtKnwlObjPostingDate,
description_h AS SrvcMgmtKnwlObjDescription,
descr_language AS Language,
template_type AS ServiceDocumentTemplateType,
created_at_h AS SMKnwlObjCreationDateTime,
created_by_h AS SMKnwlObjCreatedByUser,
changed_at_h AS SMKnwlObjChangedDateTime,
changed_by_h AS SMKnwlObjChangedByUser,
dis_channel AS DistributionChannel,
Division,
sales_org AS SalesOrganizationOrgUnitID,
sales_office AS SalesOfficeOrgUnitID,
sales_group AS SalesGroupOrgUnitID,
sales_org_resp AS ResponsibleSalesOrganization,
service_org AS ServiceOrganization,
service_org_resp AS ResponsibleServiceOrganization,
person_resp AS RespEmployeeBusinessPartnerId,
stat_lifecycle AS SrvcMgmtKnwlObjStatus,
stat_released AS SrvcMgmtKnwlObjIsReleased,
stat_cancelled AS SrvcMgmtKnwlObjIsRejected,
stat_error AS SrvcMgmtKnwlObjHasError,
stat_open AS SrvcMgmtKnwlObjIsOpen
FROM crms4d_knar_h
LEFT OUTER JOIN I_CustMgmtBusObjType AS _CustMgmtBusObjType ON ServiceObjectType = _CustMgmtBusObjType.BusinessObjectType -- association [1..1]
LEFT OUTER JOIN I_BusinessActivityCategory AS _ActivityCategory ON ServiceDocumentCategory = _ActivityCategory.BusinessActivityCategory -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentType AS _ServiceDocumentType ON SrvcMgmtKnwlObjType = _ServiceDocumentType.ServiceDocumentType -- association [1..1]
LEFT OUTER JOIN I_ServiceDocumentPriority AS _ServiceDocumentPriority ON ServiceDocumentPriority = _ServiceDocumentPriority.ServiceDocumentPriority -- association [1..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [0..1]
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _SalesOrganizationOrgUnit ON SalesOrganizationOrgUnitID = _SalesOrganizationOrgUnit.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _SalesOfficeOrgUnit ON SalesOfficeOrgUnitID = _SalesOfficeOrgUnit.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _SalesGroupOrgUnit ON SalesGroupOrgUnitID = _SalesGroupOrgUnit.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _ResponsibleSalesOrganization ON ResponsibleSalesOrganization = _ResponsibleSalesOrganization.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _ServiceOrganization ON ServiceOrganization = _ServiceOrganization.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_SrvcMgmtOrganizationUnit AS _ResponsibleServiceOrg ON ResponsibleServiceOrganization = _ResponsibleServiceOrg.OrgUnitTypeIDConcatenated -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _RespEmployeeBusinessPartnerId ON RespEmployeeBusinessPartnerId = _RespEmployeeBusinessPartnerId.BusinessPartner -- 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