I_SESAccountAssignmentAPI01
Service Entry Sheet Account Assignment
I_SESAccountAssignmentAPI01 (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sourcing & Procurement
I_SESAccountAssignmentAPI01 is a Basic 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 58 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem, AccountAssignmentNumber. It has 2 associations to related views.
SAP Help Documentation
| Category | CDS Views for Operational Procurement |
|---|
This CDS view helps retrieve the fields related to account assignments details of a service entry sheet. A service entry sheet can be assigned to single or to multiple accounts. For further information, see Account Assignment in Service Entry Sheets - Lean Services . To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_PRC_BC_PURCHASER_SES Users who want to use this CDS view must have the following authorization objects assigned: M_SES_EKO (Purchasing Organization in Service Entry Sheet) M_SES_EKG (Purchasing Group in Service Entry Sheet) M_SES_WRK (Plant in Service Entry Sheet)
Structure
Business Objects This view is built on the following business object: Service Entry Sheet (Lean Services) Important Fields Important fields in this view include the following: Field Name Description ServiceEntrySheet ID of the service entry sheet ServiceEntrySheetItem ID of the service entry sheet item AccountAssignmentNumber Number of account assignment
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sourcing & Procurement |
| Application Component | MM-PUR-SVC-SES |
| Capabilities | Data Source in SQL Select |
| Package | Sourcing & Procurement for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view helps retrieve the fields related to account assignments details of a service entry sheet. A service entry sheet can be assigned to single or to multiple accounts. For further information, see Account Assignment in Service Entry Sheets - Lean Services.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvEntrySheetAcctAssgmtBasic | I_SrvEntrySheetAcctAssgmtBasic | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ServiceEntrySheetAPI01 | _ServiceEntrySheet | $projection.ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet |
| [1..1] | I_ServiceEntrySheetItemAPI01 | _ServiceEntrySheetItem | $projection.ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItem.ServiceEntrySheetItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | IMMSESACAPI01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Service Entry Sheet Account Assignment | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceEntrySheet | ServiceEntrySheet | Service Entry Sheet | |
| KEY | ServiceEntrySheetItem | ServiceEntrySheetItem | Item Number of Service Entry Sheet | |
| KEY | AccountAssignmentNumber | AccountAssignment | Sequential Number of Account Assignment | |
| SESRefDocAccountAssignment | RefDocAccountAssignment | Account Assignment Number of the Referenced PO Item | ||
| IsDeleted | IsDeleted | Deletion Indicator: Purchasing Document Account Assignment | ||
| Quantity | Quantity | Quantity | ||
| QuantityUnit | QuantityUnit | Unit of Measure for Service Entry Statement | ||
| NetAmount | NetAmount | Net Amount in Transaction Currency | ||
| Currency | Currency | Valuation Crcy | ||
| MultipleAcctAssgmtDistrPercent | MultipleAcctAssgmtDistrPercent | Distribution percentage in the case of multiple acct assgt | ||
| BusinessArea | BusinessArea | Business Area | ||
| CostCenter | CostCenter | Cost Center | ||
| SalesOrder | SalesOrder | Sales and Distribution Document Number | ||
| SalesOrderItem | SalesOrderItem | Sales Document Item | ||
| SalesOrderScheduleLine | SalesOrderScheduleLine | Schedule Line Number | ||
| MasterFixedAsset | MasterFixedAsset | Main Asset Number | ||
| FixedAsset | FixedAsset | Asset Subnumber | ||
| OrderID | OrderID | Order Number | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| CostObject | CostObject | Cost Object | ||
| ProfitabilitySegment | Profitability Segment | |||
| ProfitCenter | ProfitCenter | Profit Center | ||
| GLAccount | GLAccount | G/L Account Number | ||
| WBSElementInternalID | WBSElementInternalID_2 | WBS Element | ||
| ProjectNetwork | ProjectNetwork | Network Number for Account Assignment | ||
| ProjectNetworkInternalID | ProjectNetworkInternalID | Routing number of operations in the order | ||
| REInternalFinNumber | REInternalFinNumber | Internal Key of Real Estate Object (FI) | ||
| NetworkActivityInternalID | NetworkActivityInternalID | Internal counter | ||
| PartnerAccountNumber | PartnerAccountNumber | Partner account number | ||
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| BusinessProcess | BusinessProcess | Business Process | ||
| SettlementReferenceDate | SettlementReferenceDate | Reference date for settlement | ||
| GoodsRecipientName | GoodsRecipientName | Goods Recipient | ||
| UnloadingPointName | UnloadingPointName | Unloading Point Name | ||
| OrderInternalID | OrderInternalID | Routing number of operations in the order | ||
| OrderIntBillOfOperationsItem | OrderIntBillOfOperationsItem | Order Internal Bill of Operations Item | ||
| CommitmentItemShortID | CommitmentItemShortID | Commitment Item Short ID | ||
| FundsCenter | FundsCenter | Funds Center | ||
| Fund | Fund | Sender Fund | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| EarmarkedFundsDocument | EarmarkedFundsDocument | Document Number for Earmarked Funds | ||
| EarmarkedFundsDocumentItem | EarmarkedFundsDocumentItem | Earmarked Funds: Document Item | ||
| BudgetPeriod | BudgetPeriod | Budget Period | ||
| GrantID | GrantID | Sender Grant | ||
| FundedProgram | FundedProgram | Funded Program | ||
| ServiceDocumentType | ServiceDocumentType | Service Document Type | ||
| ServiceDocument | ServiceDocument | Service Document ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document Item ID | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| Plant | Plant | Valuation Area | ||
| IsEndOfPurposeBlocked | IsEndOfPurposeBlocked | Business Purpose Completed | ||
| CreationDateTime | CreationDateTime | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | ||
| CreatedByUser | CreatedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | ||
| LastChangedByUser | LastChangeUser | User Name | ||
| _ServiceEntrySheet | _ServiceEntrySheet | |||
| _ServiceEntrySheetItem | _ServiceEntrySheetItem |
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_SESAccountAssignmentAPI01.
-- 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: IMMSESACAPI01
CREATE VIEW I_SESAccountAssignmentAPI01 AS
SELECT
ServiceEntrySheet,
ServiceEntrySheetItem,
AccountAssignment AS AccountAssignmentNumber,
RefDocAccountAssignment AS SESRefDocAccountAssignment,
IsDeleted,
Quantity,
QuantityUnit,
NetAmount,
Currency,
MultipleAcctAssgmtDistrPercent,
BusinessArea,
CostCenter,
SalesOrder,
SalesOrderItem,
SalesOrderScheduleLine,
MasterFixedAsset,
FixedAsset,
OrderID,
ControllingArea,
CostObject,
cast( ProfitabilitySegment as rkeobjnr_char ) AS ProfitabilitySegment,
ProfitCenter,
GLAccount,
WBSElementInternalID_2 AS WBSElementInternalID,
ProjectNetwork,
ProjectNetworkInternalID,
REInternalFinNumber,
NetworkActivityInternalID,
PartnerAccountNumber,
CostCtrActivityType,
BusinessProcess,
SettlementReferenceDate,
GoodsRecipientName,
UnloadingPointName,
OrderInternalID,
OrderIntBillOfOperationsItem,
CommitmentItemShortID,
FundsCenter,
Fund,
FunctionalArea,
EarmarkedFundsDocument,
EarmarkedFundsDocumentItem,
BudgetPeriod,
GrantID,
FundedProgram,
ServiceDocumentType,
ServiceDocument,
ServiceDocumentItem,
PurchasingOrganization,
PurchasingGroup,
Plant,
IsEndOfPurposeBlocked,
CreationDateTime,
CreatedByUser,
LastChangeDateTime,
LastChangeUser AS LastChangedByUser
FROM I_SrvEntrySheetAcctAssgmtBasic
LEFT OUTER JOIN I_ServiceEntrySheetAPI01 AS _ServiceEntrySheet ON ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet -- association [1..1]
LEFT OUTER JOIN I_ServiceEntrySheetItemAPI01 AS _ServiceEntrySheetItem ON ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet AND ServiceEntrySheetItem = _ServiceEntrySheetItem.ServiceEntrySheetItem -- association [1..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