I_SESAccountAssignmentTP

DDL: I_SESACCOUNTASSIGNMENTTP SQL: ISRVCENTRSH001TP Type: view TRANSACTIONAL

Service Entry Sheet Account Assignment

I_SESAccountAssignmentTP is a Transactional CDS View that provides data about "Service Entry Sheet Account Assignment" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetAcctAssgmt) and exposes 65 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem, AccountAssignment. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceEntrySheetAcctAssgmt Document from

Associations (10)

CardinalityTargetAliasCondition
[1..1] I_ServiceEntrySheetTP _ServiceEntrySheet _ServiceEntrySheet.ServiceEntrySheet = $projection.ServiceEntrySheet
[1..1] I_ServiceEntrySheetItemTP _ServiceEntrySheetItem _ServiceEntrySheetItem.ServiceEntrySheet = $projection.ServiceEntrySheet and _ServiceEntrySheetItem.ServiceEntrySheetItem = $projection.ServiceEntrySheetItem
[0..1] I_UnitOfMeasure _UnitValueHelp _UnitValueHelp.UnitOfMeasure = $projection.QuantityUnit
[0..*] I_UnitOfMeasureText _UnitText _UnitText.UnitOfMeasure = $projection.QuantityUnit
[0..1] I_ControllingArea _ControllingArea _ControllingArea.ControllingArea = $projection.ControllingArea
[0..1] I_GLAccount _GLAccount _GLAccount.CompanyCode = $projection.CompanyCode and _GLAccount.GLAccount = $projection.GLAccount
[0..*] I_GLAccountText _GLAccountText $projection.ChartOfAccounts = _GLAccountText.ChartOfAccounts and $projection.GLAccount = _GLAccountText.GLAccount
[0..1] I_BusinessArea _BusinessArea _BusinessArea.BusinessArea = $projection.BusinessArea
[0..*] I_BusinessAreaText _BusinessAreaText _BusinessAreaText.BusinessArea = $projection.BusinessArea
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ISRVCENTRSH001TP view
EndUserText.label Service Entry Sheet Account Assignment view
ObjectModel.writeDraftPersistence SRVCENTRSHTACC_D view
ObjectModel.writeActivePersistence ISRVCENTRSH001TP view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.updateEnabled true view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.sapObjectNodeType.name ServiceEntrySheet view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet I_ServiceEntrySheetAcctAssgmt ServiceEntrySheet Service Entry Sheet
KEY ServiceEntrySheetItem I_ServiceEntrySheetAcctAssgmt ServiceEntrySheetItem Item Number of SES
KEY AccountAssignment I_ServiceEntrySheetAcctAssgmt AccountAssignment Sender Acct Assgmt
RefDocAccountAssignment I_ServiceEntrySheetAcctAssgmt RefDocAccountAssignment
IsDeleted I_ServiceEntrySheetAcctAssgmt IsDeleted TRUE
QuantityUnit I_ServiceEntrySheetAcctAssgmt QuantityUnit Unit of measure
Quantity I_ServiceEntrySheetAcctAssgmt Quantity Value
CostCenter I_ServiceEntrySheetAcctAssgmt CostCenter Cost Center
MultipleAcctAssgmtDistrPercent I_ServiceEntrySheetAcctAssgmt MultipleAcctAssgmtDistrPercent Distribution
GLAccount I_ServiceEntrySheetAcctAssgmt GLAccount General Ledger
BusinessArea I_ServiceEntrySheetAcctAssgmt BusinessArea Business Area
SalesOrder
SalesOrderItem Sales Order Item
SalesOrderScheduleLine I_ServiceEntrySheetAcctAssgmt SalesOrderScheduleLine SOrder schedule
MasterFixedAsset I_ServiceEntrySheetAcctAssgmt MasterFixedAsset Fixed Asset
FixedAsset I_ServiceEntrySheetAcctAssgmt FixedAsset Sub-number
OrderID I_ServiceEntrySheetAcctAssgmt OrderID Order ID
ControllingArea I_ServiceEntrySheetAcctAssgmt ControllingArea Controlling Area
CostObject I_ServiceEntrySheetAcctAssgmt CostObject Cost Object
ProfitabilitySegment I_ServiceEntrySheetAcctAssgmt ProfitabilitySegment Profitability Segment
ProfitCenter I_ServiceEntrySheetAcctAssgmt ProfitCenter Profit Center
WBSElementInternalID
WBSElementExternalID
ProjectNetwork I_ServiceEntrySheetAcctAssgmt ProjectNetwork Order
ProjectNetworkInternalID I_ServiceEntrySheetAcctAssgmt ProjectNetworkInternalID Plan No.f.Oper.
NetworkActivityInternalID I_ServiceEntrySheetAcctAssgmt NetworkActivityInternalID Counter
NetworkActivity I_ServiceEntrySheetAcctAssgmt NetworkActivity Operation/Activity
RealEstateObject I_ServiceEntrySheetAcctAssgmt RealEstateObject Real Estate Key
CostCtrActivityType I_ServiceEntrySheetAcctAssgmt CostCtrActivityType Activity Type
BusinessProcess I_ServiceEntrySheetAcctAssgmt BusinessProcess Business Process
SettlementReferenceDate I_ServiceEntrySheetAcctAssgmt SettlementReferenceDate Reference date
GoodsRecipientName I_ServiceEntrySheetAcctAssgmt GoodsRecipientName Recipient Name
UnloadingPointName I_ServiceEntrySheetAcctAssgmt UnloadingPointName Unloading Point Name
OrderInternalID I_ServiceEntrySheetAcctAssgmt OrderInternalID Plan No.f.Oper.
OrderIntBillOfOperationsItem I_ServiceEntrySheetAcctAssgmt OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
CommitmentItem Commitment Item Short ID
FundsCenter I_ServiceEntrySheetAcctAssgmt FundsCenter Funds Center
Fund I_ServiceEntrySheetAcctAssgmt Fund Sender Fund
FunctionalArea I_ServiceEntrySheetAcctAssgmt FunctionalArea Sendr Fctl Area
EarmarkedFundsDocument I_ServiceEntrySheetAcctAssgmt EarmarkedFundsDocument Earmarked Funds
EarmarkedFundsDocumentItem I_ServiceEntrySheetAcctAssgmt EarmarkedFundsDocumentItem Document Item
BudgetPeriod I_ServiceEntrySheetAcctAssgmt BudgetPeriod Budget Period
GrantID I_ServiceEntrySheetAcctAssgmt GrantID Sender Grant
FundedProgram I_ServiceEntrySheetAcctAssgmt FundedProgram Funded Program
ServiceDocumentType I_ServiceEntrySheetAcctAssgmt ServiceDocumentType Transaction Type
ServiceDocument I_ServiceEntrySheetAcctAssgmt ServiceDocument Transaction ID
ServiceDocumentItem I_ServiceEntrySheetAcctAssgmt ServiceDocumentItem Service Document
CreationDateTime I_ServiceEntrySheetAcctAssgmt CreationDateTime Timestamp
CreatedByUser
LastChangeDateTime I_ServiceEntrySheetAcctAssgmt LastChangeDateTime Timestamp
LastChangeUser
PurchasingOrganization I_ServiceEntrySheetAcctAssgmt PurchasingOrganization Purchasing Organization
PurchasingGroup I_ServiceEntrySheetAcctAssgmt PurchasingGroup Purchasing Group
Plant I_ServiceEntrySheetAcctAssgmt Plant Valuation Area
IsEndOfPurposeBlocked I_ServiceEntrySheetAcctAssgmt IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
ValidityDate I_ServiceEntrySheetAcctAssgmt ValidityDate Valid On
Currency I_ServiceEntrySheetAcctAssgmt Currency Valuation Crcy
NetAmount I_ServiceEntrySheetAcctAssgmt NetAmount Stated Amount
CompanyCode I_ServiceEntrySheetAcctAssgmt CompanyCode Receiver Company Code
ChartOfAccounts I_ServiceEntrySheetAcctAssgmt ChartOfAccounts Node Class
_ServiceEntrySheet _ServiceEntrySheet
_ServiceEntrySheetItem _ServiceEntrySheetItem
_UnitValueHelp _UnitValueHelp
_UnitText _UnitText
_Currency _Currency

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_SESAccountAssignmentTP.
-- 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: ISRVCENTRSH001TP

CREATE VIEW I_SESAccountAssignmentTP AS
SELECT
  Document.ServiceEntrySheet AS ServiceEntrySheet,
  Document.ServiceEntrySheetItem AS ServiceEntrySheetItem,
  Document.AccountAssignment AS AccountAssignment,
  Document.RefDocAccountAssignment AS RefDocAccountAssignment,
  Document.IsDeleted AS IsDeleted,
  Document.QuantityUnit AS QuantityUnit,
  Document.Quantity AS Quantity,
  Document.CostCenter AS CostCenter,
  Document.MultipleAcctAssgmtDistrPercent AS MultipleAcctAssgmtDistrPercent,
  Document.GLAccount AS GLAccount,
  Document.BusinessArea AS BusinessArea,
  cast(Document.SalesOrder as vdm_sales_order) AS SalesOrder,
  cast(SalesOrderItem as sales_order_item) AS 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,
  cast( Document.WBSElementInternalID_2 as ps_psp_pnr preserving type ) AS WBSElementInternalID,
  cast( ' ' as ps_posid_edit ) AS WBSElementExternalID,
  Document.ProjectNetwork AS ProjectNetwork,
  Document.ProjectNetworkInternalID AS ProjectNetworkInternalID,
  Document.NetworkActivityInternalID AS NetworkActivityInternalID,
  Document.NetworkActivity AS NetworkActivity,
  Document.RealEstateObject AS RealEstateObject,
  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,
  cast( CommitmentItemShortID as fipos preserving type ) AS CommitmentItem,
  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,
  Document.CreationDateTime AS CreationDateTime,
  cast(Document.CreatedByUser as mmpur_ses_createdbyuser preserving type ) AS CreatedByUser,
  Document.LastChangeDateTime AS LastChangeDateTime,
  cast(Document.LastChangeUser as mmpur_ses_lastchangeuser preserving type ) AS LastChangeUser,
  Document.PurchasingOrganization AS PurchasingOrganization,
  Document.PurchasingGroup AS PurchasingGroup,
  Document.Plant AS Plant,
  Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  Document.ValidityDate AS ValidityDate,
  Document.Currency AS Currency,
  Document.NetAmount AS NetAmount,
  Document.CompanyCode AS CompanyCode,
  Document.ChartOfAccounts AS ChartOfAccounts
FROM I_ServiceEntrySheetAcctAssgmt AS Document
LEFT OUTER JOIN I_ServiceEntrySheetTP AS _ServiceEntrySheet ON _ServiceEntrySheet.ServiceEntrySheet = ServiceEntrySheet  -- association [1..1]
LEFT OUTER JOIN I_ServiceEntrySheetItemTP AS _ServiceEntrySheetItem ON _ServiceEntrySheetItem.ServiceEntrySheet = ServiceEntrySheet AND _ServiceEntrySheetItem.ServiceEntrySheetItem = ServiceEntrySheetItem  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitValueHelp ON _UnitValueHelp.UnitOfMeasure = QuantityUnit  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitText ON _UnitText.UnitOfMeasure = QuantityUnit  -- 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.CompanyCode = CompanyCode AND _GLAccount.GLAccount = GLAccount  -- association [0..1]
LEFT OUTER JOIN I_GLAccountText AS _GLAccountText ON ChartOfAccounts = _GLAccountText.ChartOfAccounts AND GLAccount = _GLAccountText.GLAccount  -- association [0..*]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON _BusinessArea.BusinessArea = BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON _BusinessAreaText.BusinessArea = BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
;