I_SESAccountAssignmentAPI01

DDL: I_SESACCOUNTASSIGNMENTAPI01 SQL: IMMSESACAPI01 Type: view BASIC

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

CategoryCDS Views for Operational Procurement
Purpose
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

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-SVC-SES
CapabilitiesData Source in SQL Select
PackageSourcing & 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

Data Sources (1)

SourceAliasJoin Type
I_SrvEntrySheetAcctAssgmtBasic I_SrvEntrySheetAcctAssgmtBasic from

Associations (2)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;