I_ServiceEntrySheetBasic
Service Entry Sheet Basic
I_ServiceEntrySheetBasic is a Basic CDS View that provides data about "Service Entry Sheet Basic" in SAP S/4HANA. It reads from 1 data source (mmpur_ses_header) and exposes 31 fields with key field ServiceEntrySheet. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmpur_ses_header | Document | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_ServiceEntrySheetItemBasic | _ServiceEntrySheetItem | $projection.ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet |
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
| [0..1] | I_SrvcEntrShtApprovalStatus | _ApprovalStatusValueHelp | $projection.ApprovalStatus = _ApprovalStatusValueHelp.ApprovalStatus |
| [1..1] | I_SESWorkflowStatus | _SESWorkflowStatus | $projection.ServiceEntrySheet = _SESWorkflowStatus.ServiceEntrySheet |
| [0..1] | I_SrvcEntrShtRespUsrValueHelp | _ResponsiblePersonValueHelp | $projection.ResponsiblePerson = _ResponsiblePersonValueHelp.EmploymentInternalID |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangeUser | $projection.LastChangeUser = _LastChangeUser.UserID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRVCENTRSHTBSC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Service Entry Sheet Basic | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.representativeKey | ServiceEntrySheet | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceEntrySheet | mmpur_ses_header | serviceentrysheet | |
| ServiceEntrySheetUUID | mmpur_ses_header | serviceentrysheetuuid | ||
| ServiceEntrySheetName | mmpur_ses_header | name | ||
| Supplier | mmpur_ses_header | supplier | ||
| PurchaseOrder | mmpur_ses_header | referencepurchaseorder | ||
| IsDeleted | mmpur_ses_header | deletioncode | ||
| ApprovalDateTime | mmpur_ses_header | approval_date_time | ||
| ResponsiblePerson | mmpur_ses_header | responsibleperson | ||
| OriginObjectType | mmpur_ses_header | originobjecttype | ||
| Currency | mmpur_ses_header | currency | ||
| MaterialDocument | mmpur_ses_header | mblnr | ||
| MaterialDocumentYear | mmpur_ses_header | mjahr | ||
| PurchasingOrganization | mmpur_ses_header | purchasingorganization | ||
| PurchasingGroup | mmpur_ses_header | purchasinggroup | ||
| CreationDateTime | mmpur_ses_header | crea_date_time | ||
| CreatedByUser | mmpur_ses_header | crea_uname | ||
| LastChangeDateTime | mmpur_ses_header | lchg_date_time | ||
| LastChangeUser | mmpur_ses_header | lchg_uname | ||
| IsEndOfPurposeBlocked | mmpur_ses_header | iseopblocked | ||
| PurgDocExternalSystem | mmpur_ses_header | externalsystem | ||
| PurgDocExternalReference | mmpur_ses_header | externalreferenceid | ||
| ExternalRevisionDateTime | mmpur_ses_header | ext_rev_tmstmp | ||
| PostingDate | mmpur_ses_header | postingdate | ||
| PricingDocument | mmpur_ses_header | knumv | ||
| _ServiceEntrySheetItem | _ServiceEntrySheetItem | |||
| _Supplier | _Supplier | |||
| _ApprovalStatusValueHelp | _ApprovalStatusValueHelp | |||
| _ResponsiblePersonValueHelp | _ResponsiblePersonValueHelp | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangeUser | _LastChangeUser | |||
| _SESWorkflowStatus | _SESWorkflowStatus |
@AbapCatalog.sqlViewName: 'ISRVCENTRSHTBSC'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.privilegedAssociations: [ '_SESWorkflowStatus' ]
@AccessControl.personalData.blocking: #REQUIRED
@EndUserText.label: 'Service Entry Sheet Basic'
@VDM.viewType : #BASIC
@ObjectModel: {
compositionRoot: true,
representativeKey: 'ServiceEntrySheet',
usageType.serviceQuality: #A,
usageType.sizeCategory: #L,
usageType.dataClass: #TRANSACTIONAL
}
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define view I_ServiceEntrySheetBasic
as select from mmpur_ses_header as Document
association [1..*] to I_ServiceEntrySheetItemBasic as _ServiceEntrySheetItem on $projection.ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet
association [0..1] to I_Supplier as _Supplier on $projection.Supplier = _Supplier.Supplier
association [0..1] to I_SrvcEntrShtApprovalStatus as _ApprovalStatusValueHelp on $projection.ApprovalStatus = _ApprovalStatusValueHelp.ApprovalStatus
association [1..1] to I_SESWorkflowStatus as _SESWorkflowStatus on $projection.ServiceEntrySheet = _SESWorkflowStatus.ServiceEntrySheet
association [0..1] to I_SrvcEntrShtRespUsrValueHelp as _ResponsiblePersonValueHelp on $projection.ResponsiblePerson = _ResponsiblePersonValueHelp.EmploymentInternalID
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangeUser on $projection.LastChangeUser = _LastChangeUser.UserID
{
key Document.serviceentrysheet as ServiceEntrySheet,
Document.serviceentrysheetuuid as ServiceEntrySheetUUID,
@Semantics.text: true
Document.name as ServiceEntrySheetName,
@ObjectModel.foreignKey.association: '_Supplier'
Document.supplier as Supplier,
Document.referencepurchaseorder as PurchaseOrder,
Document.deletioncode as IsDeleted,
@ObjectModel.foreignKey.association: '_ApprovalStatusValueHelp'
case when Document.deletioncode is not initial
then cast( '60' as mmpur_ses_approval_status )
when Document.deletioncode is initial
then cast( Document.approvalstatus as mmpur_ses_approval_status preserving type )
end as ApprovalStatus,
Document.approval_date_time as ApprovalDateTime,
@Consumption.valueHelp: '_ResponsiblePersonValueHelp'
Document.responsibleperson as ResponsiblePerson,
Document.originobjecttype as OriginObjectType,
@Semantics.currencyCode:true
Document.currency as Currency,
Document.mblnr as MaterialDocument,
Document.mjahr as MaterialDocumentYear,
Document.purchasingorganization as PurchasingOrganization,
Document.purchasinggroup as PurchasingGroup,
Document.crea_date_time as CreationDateTime,
@Semantics.user.createdBy: true
Document.crea_uname as CreatedByUser,
Document.lchg_date_time as LastChangeDateTime,
@Semantics.user.lastChangedBy: true
Document.lchg_uname as LastChangeUser,
// Data Privacy and Protection
@UI.hidden: true
@Consumption.hidden: true
@ObjectModel.readOnly: true
Document.iseopblocked as IsEndOfPurposeBlocked,
Document.externalsystem as PurgDocExternalSystem,
Document.externalreferenceid as PurgDocExternalReference,
Document.ext_rev_tmstmp as ExternalRevisionDateTime,
Document.postingdate as PostingDate,
Document.knumv as PricingDocument,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_ServiceEntrySheetItem,
_Supplier,
_ApprovalStatusValueHelp,
_ResponsiblePersonValueHelp,
_CreatedByUser,
_LastChangeUser,
_SESWorkflowStatus
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MMPUR_SES_HEADER"
],
"ASSOCIATED":
[
"I_SERVICEENTRYSHEETITEMBASIC",
"I_SESWORKFLOWSTATUS",
"I_SRVCENTRSHTAPPROVALSTATUS",
"I_SRVCENTRSHTRESPUSRVALUEHELP",
"I_SUPPLIER",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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