I_ServiceEntrySheetAcctAssgmt
Service Entry Sheet Account Assignment
I_ServiceEntrySheetAcctAssgmt is a Composite CDS View that provides data about "Service Entry Sheet Account Assignment" in SAP S/4HANA. It reads from 1 data source (I_SrvEntrySheetAcctAssgmtBasic) and exposes 70 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem, AccountAssignment. It has 8 associations to related views. Part of development package APPL_MM_PUR_SES_TR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvEntrySheetAcctAssgmtBasic | Document | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ServiceEntrySheet | _ServiceEntrySheet | _ServiceEntrySheet.ServiceEntrySheet = $projection.ServiceEntrySheet |
| [1..1] | I_ServiceEntrySheetItem | _ServiceEntrySheetItem | _ServiceEntrySheetItem.ServiceEntrySheet = $projection.ServiceEntrySheet and _ServiceEntrySheetItem.ServiceEntrySheetItem = $projection.ServiceEntrySheetItem |
| [0..*] | I_UnitOfMeasureText | _UnitText | $projection.QuantityUnit = _UnitText.UnitOfMeasure |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_GLAccount | _GLAccount | $projection.GLAccount = _GLAccount.GLAccount and $projection.CompanyCode = _GLAccount.CompanyCode |
| [0..*] | I_GLAccountText | _GLAccountText | $projection.ChartOfAccounts = _GLAccountText.ChartOfAccounts and $projection.GLAccount = _GLAccountText.GLAccount |
| [0..1] | I_Currency | _Currency | $projection.Currency = _Currency.Currency |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISRVCENTRSHTACCT | 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 Account Assignment | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (70)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceEntrySheet | I_SrvEntrySheetAcctAssgmtBasic | ServiceEntrySheet | Service Entry Sheet |
| KEY | ServiceEntrySheetItem | I_SrvEntrySheetAcctAssgmtBasic | ServiceEntrySheetItem | Item Number of SES |
| KEY | AccountAssignment | I_SrvEntrySheetAcctAssgmtBasic | AccountAssignment | Sender Acct Assgmt |
| RefDocAccountAssignment | I_SrvEntrySheetAcctAssgmtBasic | RefDocAccountAssignment | PO Item Acc Ass | |
| IsDeleted | I_SrvEntrySheetAcctAssgmtBasic | IsDeleted | TRUE | |
| QuantityUnit | QuantityUnit | Unit of measure | ||
| Quantity | I_SrvEntrySheetAcctAssgmtBasic | Quantity | Value | |
| NetAmount | I_SrvEntrySheetAcctAssgmtBasic | NetAmount | Stated Amount | |
| CostCenter | I_SrvEntrySheetAcctAssgmtBasic | CostCenter | Cost Center | |
| MultipleAcctAssgmtDistrPercent | I_SrvEntrySheetAcctAssgmtBasic | MultipleAcctAssgmtDistrPercent | Distribution | |
| GLAccount | I_SrvEntrySheetAcctAssgmtBasic | GLAccount | General Ledger | |
| BusinessArea | I_SrvEntrySheetAcctAssgmtBasic | BusinessArea | Business Area | |
| SalesOrder | I_SrvEntrySheetAcctAssgmtBasic | SalesOrder | SD Document | |
| SalesOrderItem | SalesOrderItem | Sales Order Item | ||
| SalesOrderScheduleLine | I_SrvEntrySheetAcctAssgmtBasic | SalesOrderScheduleLine | SOrder schedule | |
| MasterFixedAsset | I_SrvEntrySheetAcctAssgmtBasic | MasterFixedAsset | Fixed Asset | |
| FixedAsset | I_SrvEntrySheetAcctAssgmtBasic | FixedAsset | Sub-number | |
| OrderID | I_SrvEntrySheetAcctAssgmtBasic | OrderID | Order ID | |
| ControllingArea | I_SrvEntrySheetAcctAssgmtBasic | ControllingArea | Controlling Area | |
| CostObject | I_SrvEntrySheetAcctAssgmtBasic | CostObject | Cost Object | |
| ProfitabilitySegment | I_SrvEntrySheetAcctAssgmtBasic | ProfitabilitySegment | Profitability Segment | |
| ProfitCenter | I_SrvEntrySheetAcctAssgmtBasic | ProfitCenter | Profit Center | |
| WBSElementInternalID | I_SrvEntrySheetAcctAssgmtBasic | WBSElementInternalID | WBS Internal ID | |
| WBSElementInternalID_2 | I_SrvEntrySheetAcctAssgmtBasic | WBSElementInternalID_2 | ||
| ProjectNetwork | I_SrvEntrySheetAcctAssgmtBasic | ProjectNetwork | Order | |
| ProjectNetworkInternalID | I_SrvEntrySheetAcctAssgmtBasic | ProjectNetworkInternalID | Plan No.f.Oper. | |
| NetworkActivity | ||||
| NetworkActivityInternalID | I_SrvEntrySheetAcctAssgmtBasic | NetworkActivityInternalID | Counter | |
| PartnerAccountNumber | I_SrvEntrySheetAcctAssgmtBasic | PartnerAccountNumber | Partner | |
| RealEstateObject | Real Estate Key | |||
| REInternalFinNumber | REInternalFinNumber | Real Estate Key | ||
| CostCtrActivityType | I_SrvEntrySheetAcctAssgmtBasic | CostCtrActivityType | Activity Type | |
| BusinessProcess | I_SrvEntrySheetAcctAssgmtBasic | BusinessProcess | Business Process | |
| SettlementReferenceDate | I_SrvEntrySheetAcctAssgmtBasic | SettlementReferenceDate | Reference date | |
| GoodsRecipientName | I_SrvEntrySheetAcctAssgmtBasic | GoodsRecipientName | Recipient Name | |
| UnloadingPointName | I_SrvEntrySheetAcctAssgmtBasic | UnloadingPointName | Unloading Point Name | |
| OrderInternalID | I_SrvEntrySheetAcctAssgmtBasic | OrderInternalID | Plan No.f.Oper. | |
| OrderIntBillOfOperationsItem | I_SrvEntrySheetAcctAssgmtBasic | OrderIntBillOfOperationsItem | Order Internal Bill of Operations Item | |
| CommitmentItem | I_SrvEntrySheetAcctAssgmtBasic | CommitmentItem | Commitment item | |
| CommitmentItemShortID | I_SrvEntrySheetAcctAssgmtBasic | CommitmentItemShortID | Commitment Item Short ID | |
| FundsCenter | I_SrvEntrySheetAcctAssgmtBasic | FundsCenter | Funds Center | |
| Fund | I_SrvEntrySheetAcctAssgmtBasic | Fund | Sender Fund | |
| FunctionalArea | I_SrvEntrySheetAcctAssgmtBasic | FunctionalArea | Sendr Fctl Area | |
| EarmarkedFundsDocument | I_SrvEntrySheetAcctAssgmtBasic | EarmarkedFundsDocument | Earmarked Funds | |
| EarmarkedFundsDocumentItem | I_SrvEntrySheetAcctAssgmtBasic | EarmarkedFundsDocumentItem | Document Item | |
| BudgetPeriod | I_SrvEntrySheetAcctAssgmtBasic | BudgetPeriod | Budget Period | |
| GrantID | I_SrvEntrySheetAcctAssgmtBasic | GrantID | Sender Grant | |
| FundedProgram | I_SrvEntrySheetAcctAssgmtBasic | FundedProgram | Funded Program | |
| ServiceDocumentType | I_SrvEntrySheetAcctAssgmtBasic | ServiceDocumentType | Transaction Type | |
| ServiceDocument | I_SrvEntrySheetAcctAssgmtBasic | ServiceDocument | Transaction ID | |
| ServiceDocumentItem | I_SrvEntrySheetAcctAssgmtBasic | ServiceDocumentItem | Service Document | |
| CreationDateTime | ||||
| CreatedByUser | I_SrvEntrySheetAcctAssgmtBasic | CreatedByUser | User Name | |
| LastChangeDateTime | I_SrvEntrySheetAcctAssgmtBasic | LastChangeDateTime | Timestamp | |
| LastChangeUser | I_SrvEntrySheetAcctAssgmtBasic | LastChangeUser | User Name | |
| PurchasingOrganization | I_SrvEntrySheetAcctAssgmtBasic | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_SrvEntrySheetAcctAssgmtBasic | PurchasingGroup | Purchasing Group | |
| Plant | I_SrvEntrySheetAcctAssgmtBasic | Plant | Valuation Area | |
| IsEndOfPurposeBlocked | I_SrvEntrySheetAcctAssgmtBasic | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |
| ValidityDate | ||||
| Currency | _ServiceEntrySheetItem | PurchaseOrderCurrency | Order currency | |
| CompanyCode | _ServiceEntrySheetItem | PurchaseOrderItemCompanyCode | ||
| ChartOfAccounts | _ControllingArea | ChartOfAccounts | Node Class | |
| _ServiceEntrySheet | _ServiceEntrySheet | |||
| _ServiceEntrySheetItem | _ServiceEntrySheetItem | |||
| _UnitValueHelp | I_SrvEntrySheetAcctAssgmtBasic | _UnitValueHelp | ||
| _UnitText | _UnitText | |||
| _Currency | _Currency | |||
| _CompanyCode | _CompanyCode | |||
| _REObjectByIntFinNumber | _REObjectByIntFinNumber |
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_ServiceEntrySheetAcctAssgmt.
-- 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.
-- SQL view name: ISRVCENTRSHTACCT
CREATE VIEW I_ServiceEntrySheetAcctAssgmt AS
SELECT
Document.ServiceEntrySheet AS ServiceEntrySheet,
Document.ServiceEntrySheetItem AS ServiceEntrySheetItem,
Document.AccountAssignment AS AccountAssignment,
Document.RefDocAccountAssignment AS RefDocAccountAssignment,
Document.IsDeleted AS IsDeleted,
QuantityUnit,
Document.Quantity AS Quantity,
Document.NetAmount AS NetAmount,
Document.CostCenter AS CostCenter,
Document.MultipleAcctAssgmtDistrPercent AS MultipleAcctAssgmtDistrPercent,
Document.GLAccount AS GLAccount,
Document.BusinessArea AS BusinessArea,
Document.SalesOrder AS SalesOrder,
SalesOrderItem,
Document.SalesOrderScheduleLine AS SalesOrderScheduleLine,
Document.MasterFixedAsset AS MasterFixedAsset,
Document.FixedAsset AS FixedAsset,
Document.OrderID AS OrderID,
Document.ControllingArea AS ControllingArea,
Document.CostObject AS CostObject,
Document.ProfitabilitySegment AS ProfitabilitySegment,
Document.ProfitCenter AS ProfitCenter,
Document.WBSElementInternalID AS WBSElementInternalID,
Document.WBSElementInternalID_2 AS WBSElementInternalID_2,
Document.ProjectNetwork AS ProjectNetwork,
Document.ProjectNetworkInternalID AS ProjectNetworkInternalID,
cast (' ' as ps_s4_vornr) AS NetworkActivity,
Document.NetworkActivityInternalID AS NetworkActivityInternalID,
Document.PartnerAccountNumber AS PartnerAccountNumber,
cast( REInternalFinNumber as imkey ) AS RealEstateObject,
REInternalFinNumber,
Document.CostCtrActivityType AS CostCtrActivityType,
Document.BusinessProcess AS BusinessProcess,
Document.SettlementReferenceDate AS SettlementReferenceDate,
Document.GoodsRecipientName AS GoodsRecipientName,
Document.UnloadingPointName AS UnloadingPointName,
Document.OrderInternalID AS OrderInternalID,
Document.OrderIntBillOfOperationsItem AS OrderIntBillOfOperationsItem,
Document.CommitmentItem AS CommitmentItem,
Document.CommitmentItemShortID AS CommitmentItemShortID,
Document.FundsCenter AS FundsCenter,
Document.Fund AS Fund,
Document.FunctionalArea AS FunctionalArea,
Document.EarmarkedFundsDocument AS EarmarkedFundsDocument,
Document.EarmarkedFundsDocumentItem AS EarmarkedFundsDocumentItem,
Document.BudgetPeriod AS BudgetPeriod,
Document.GrantID AS GrantID,
Document.FundedProgram AS FundedProgram,
Document.ServiceDocumentType AS ServiceDocumentType,
Document.ServiceDocument AS ServiceDocument,
Document.ServiceDocumentItem AS ServiceDocumentItem,
cast(Document.CreationDateTime as mmpur_ses_created_on) AS CreationDateTime,
Document.CreatedByUser AS CreatedByUser,
Document.LastChangeDateTime AS LastChangeDateTime,
Document.LastChangeUser AS LastChangeUser,
Document.PurchasingOrganization AS PurchasingOrganization,
Document.PurchasingGroup AS PurchasingGroup,
Document.Plant AS Plant,
Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
cast(substring( cast(tstmp_current_utctimestamp() as abap.char( 17 ) ), 1, 8 ) as abap.dats ) AS ValidityDate,
_ServiceEntrySheetItem.PurchaseOrderCurrency AS Currency,
_ServiceEntrySheetItem.PurchaseOrderItemCompanyCode AS CompanyCode,
_ControllingArea.ChartOfAccounts AS ChartOfAccounts,
Document._UnitValueHelp AS _UnitValueHelp
FROM I_SrvEntrySheetAcctAssgmtBasic AS Document
LEFT OUTER JOIN I_ServiceEntrySheet AS _ServiceEntrySheet ON _ServiceEntrySheet.ServiceEntrySheet = ServiceEntrySheet -- association [1..1]
LEFT OUTER JOIN I_ServiceEntrySheetItem AS _ServiceEntrySheetItem ON _ServiceEntrySheetItem.ServiceEntrySheet = ServiceEntrySheet AND _ServiceEntrySheetItem.ServiceEntrySheetItem = ServiceEntrySheetItem -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitText ON QuantityUnit = _UnitText.UnitOfMeasure -- association [0..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount AND CompanyCode = _GLAccount.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _GLAccountText ON ChartOfAccounts = _GLAccountText.ChartOfAccounts AND GLAccount = _GLAccountText.GLAccount -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- 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