C_SESAccountAssignmentWD

DDL: C_SESACCOUNTASSIGNMENTWD SQL: CSRVCENTRSH001WD Type: view CONSUMPTION Package: APPL_MM_PUR_SES_TR

Service Entry Sheet Account Assignment

C_SESAccountAssignmentWD is a Consumption CDS View that provides data about "Service Entry Sheet Account Assignment" in SAP S/4HANA. It reads from 1 data source (I_SESAccountAssignmentTP) and exposes 84 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem, AccountAssignment. It has 22 associations to related views. Part of development package APPL_MM_PUR_SES_TR.

Data Sources (1)

SourceAliasJoin Type
I_SESAccountAssignmentTP Document from

Associations (22)

CardinalityTargetAliasCondition
[1..1] C_ServiceEntrySheetWD _ServiceEntrySheet _ServiceEntrySheet.ServiceEntrySheet = $projection.ServiceEntrySheet
[1..1] C_ServiceEntrySheetItemWD _ServiceEntrySheetItem _ServiceEntrySheetItem.ServiceEntrySheet = $projection.ServiceEntrySheet and _ServiceEntrySheetItem.ServiceEntrySheetItem = $projection.ServiceEntrySheetItem
[0..1] I_MM_CostCenterValueHelp _CostCenterValueHelp _CostCenterValueHelp.CostCenter = $projection.CostCenter and _CostCenterValueHelp.ControllingArea = $projection.ControllingArea and _CostCenterValueHelp.CompanyCode = $projection.CompanyCode
[0..1] I_MM_SalesOrderValueHelp _SalesOrderValueHelp _SalesOrderValueHelp.SalesOrder = $projection.SalesOrder
[0..1] I_MM_SalesOrderItemVH _SalesOrderItemValueHelp _SalesOrderItemValueHelp.SalesOrder = $projection.SalesOrder and _SalesOrderItemValueHelp.SalesOrderItem = $projection.SalesOrderItem
[0..1] I_MM_FixedAssetValueHelp _FixedAssetValueHelp _FixedAssetValueHelp.CompanyCode = $projection.CompanyCode and _FixedAssetValueHelp.FixedAsset = $projection.FixedAsset and _FixedAssetValueHelp.MasterFixedAsset = $projection.MasterFixedAsset
[0..1] I_MM_ProfitCenterValueHelp _ProfitCenterValueHelp _ProfitCenterValueHelp.ControllingArea = $projection.ControllingArea and _ProfitCenterValueHelp.ProfitCenter = $projection.ProfitCenter and _ProfitCenterValueHelp.ValidityEndDate >= $projection.ValidityDate
[0..1] I_MM_ProjectNetworkVH _ProjectNetworkValueHelp _ProjectNetworkValueHelp.ProjectNetwork = $projection.ProjectNetwork
[0..1] I_MM_NetworkActivityVH _NetworkActivityValueHelp _NetworkActivityValueHelp.ProjectNetwork = $projection.ProjectNetwork and _NetworkActivityValueHelp.NetworkActivity = $projection.NetworkActivity
[0..1] I_MM_GLAccountVH _GLAccountValueHelp _GLAccountValueHelp.CompanyCode = $projection.CompanyCode and _GLAccountValueHelp.GLAccount = $projection.GLAccount
[0..1] I_MM_ControllingAreaVH _ControllingAreaVH _ControllingAreaVH.ControllingArea = $projection.ControllingArea
[0..*] I_FundStdVH _FundStdVH _FundStdVH.Fund = $projection.Fund
[0..1] I_BudgetPeriodStdVH _BudgetPeriodStdVH _BudgetPeriodStdVH.BudgetPeriod = $projection.BudgetPeriod
[0..*] I_FundsCenterStdVH _FundsCenterStdVH _FundsCenterStdVH.FundsCenter = $projection.FundsCenter
[0..*] I_CommitmentItemStdVH _CommitmentItemStdVH _CommitmentItemStdVH.CommitmentItem = $projection.CommitmentItem
[0..1] I_FndsMgmtFuncnlAreaStdVH _FndsMgmtFuncnlAreaStdVH _FndsMgmtFuncnlAreaStdVH.FunctionalArea = $projection.FunctionalArea
[0..*] I_EarmarkedFundsStdVH _EarmarkedFundsStdVH _EarmarkedFundsStdVH.EarmarkedFunds = $projection.EarmarkedFundsDocument
[0..1] I_GrantStdVH _GrantStdVH _GrantStdVH.GrantID = $projection.GrantID
[0..*] I_FundedProgramText _FundedProgramText _FundedProgramText.FundedProgram = $projection.FundedProgram
[0..1] I_AcctgServiceDocumentTypeVH _AcctgServiceDocumentTypeVH $projection.ServiceDocumentType = _AcctgServiceDocumentTypeVH.ServiceDocumentType
[0..*] I_AcctgServiceDocumentVH _AcctgServiceDocumentVH $projection.ServiceDocument = _AcctgServiceDocumentVH.ServiceDocument
[0..*] I_AcctgServiceDocumentItemVH _AcctgServiceDocumentItemVH $projection.ServiceDocumentItem = _AcctgServiceDocumentItemVH.ServiceDocumentItem and $projection.ServiceDocument = _AcctgServiceDocumentItemVH.ServiceDocument

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CSRVCENTRSH001WD view
EndUserText.label Service Entry Sheet Account Assignment view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
UI.headerInfo.typeName Account Assignment view
UI.headerInfo.typeNamePlural Account Assignments view
UI.headerInfo.description.value AccountAssignment view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.createEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (84)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet I_SESAccountAssignmentTP ServiceEntrySheet Service Entry Sheet
KEY ServiceEntrySheetItem I_SESAccountAssignmentTP ServiceEntrySheetItem Item Number of SES
KEY AccountAssignment I_SESAccountAssignmentTP AccountAssignment Sender Acct Assgmt
RefDocAccountAssignment I_SESAccountAssignmentTP RefDocAccountAssignment PO Item Acc. Assgmt.
IsDeleted I_SESAccountAssignmentTP IsDeleted TRUE
QuantityUnit I_SESAccountAssignmentTP QuantityUnit Unit of measure
Quantity I_SESAccountAssignmentTP Quantity Value
CostCenter I_SESAccountAssignmentTP CostCenter Cost Center
MultipleAcctAssgmtDistrPercent I_SESAccountAssignmentTP MultipleAcctAssgmtDistrPercent Distribution
GLAccount I_SESAccountAssignmentTP GLAccount General Ledger
BusinessArea I_SESAccountAssignmentTP BusinessArea Business Area
SalesOrder I_SESAccountAssignmentTP SalesOrder SD Document
SalesOrderItem I_SESAccountAssignmentTP SalesOrderItem Sales Order Item
SalesOrderScheduleLine I_SESAccountAssignmentTP SalesOrderScheduleLine SOrder schedule
MasterFixedAsset I_SESAccountAssignmentTP MasterFixedAsset Fixed Asset
FixedAsset I_SESAccountAssignmentTP FixedAsset Sub-number
OrderID I_SESAccountAssignmentTP OrderID Order ID
ControllingArea I_SESAccountAssignmentTP ControllingArea Controlling Area
CostObject I_SESAccountAssignmentTP CostObject Cost Object
ProfitabilitySegment I_SESAccountAssignmentTP ProfitabilitySegment Profitability Segment
ProfitCenter I_SESAccountAssignmentTP ProfitCenter Profit Center
WBSElementInternalID I_SESAccountAssignmentTP WBSElementInternalID WBS Internal ID
ProjectNetwork I_SESAccountAssignmentTP ProjectNetwork Order
ProjectNetworkInternalID I_SESAccountAssignmentTP ProjectNetworkInternalID Plan No.f.Oper.
NetworkActivityInternalID I_SESAccountAssignmentTP NetworkActivityInternalID Counter
NetworkActivity I_SESAccountAssignmentTP NetworkActivity Operation/Activity
RealEstateObject I_SESAccountAssignmentTP RealEstateObject Real Estate Key
CostCtrActivityType I_SESAccountAssignmentTP CostCtrActivityType Activity Type
BusinessProcess I_SESAccountAssignmentTP BusinessProcess Business Process
SettlementReferenceDate I_SESAccountAssignmentTP SettlementReferenceDate Reference date
GoodsRecipientName I_SESAccountAssignmentTP GoodsRecipientName Recipient Name
UnloadingPointName I_SESAccountAssignmentTP UnloadingPointName Unloading Point Name
OrderInternalID I_SESAccountAssignmentTP OrderInternalID Plan No.f.Oper.
OrderIntBillOfOperationsItem I_SESAccountAssignmentTP OrderIntBillOfOperationsItem Order Internal Bill of Operations Item
Fund I_SESAccountAssignmentTP Fund Sender Fund
BudgetPeriod I_SESAccountAssignmentTP BudgetPeriod Budget Period
FunctionalArea I_SESAccountAssignmentTP FunctionalArea Sendr Fctl Area
GrantID I_SESAccountAssignmentTP GrantID Sender Grant
CommitmentItem I_SESAccountAssignmentTP CommitmentItem Commitment item
FundsCenter I_SESAccountAssignmentTP FundsCenter Funds Center
EarmarkedFundsDocument I_SESAccountAssignmentTP EarmarkedFundsDocument Earmarked Funds
EarmarkedFundsDocumentItem I_SESAccountAssignmentTP EarmarkedFundsDocumentItem Document Item
FundedProgram I_SESAccountAssignmentTP FundedProgram Funded Program
ServiceDocumentType I_SESAccountAssignmentTP ServiceDocumentType Transaction Type
ServiceDocument I_SESAccountAssignmentTP ServiceDocument Transaction ID
ServiceDocumentItem I_SESAccountAssignmentTP ServiceDocumentItem Service Document
CreationDateTime I_SESAccountAssignmentTP CreationDateTime Timestamp
CreatedByUser I_SESAccountAssignmentTP CreatedByUser User Name
LastChangeDateTime I_SESAccountAssignmentTP LastChangeDateTime Timestamp
LastChangedByUser I_SESAccountAssignmentTP LastChangeUser User Name
PurchasingOrganization I_SESAccountAssignmentTP PurchasingOrganization Purchasing Organization
PurchasingGroup I_SESAccountAssignmentTP PurchasingGroup Purchasing Group
Plant I_SESAccountAssignmentTP Plant Valuation Area
IsEndOfPurposeBlocked I_SESAccountAssignmentTP IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
ValidityDate I_SESAccountAssignmentTP ValidityDate Validity Date
Currency I_SESAccountAssignmentTP Currency Valuation Crcy
NetAmount I_SESAccountAssignmentTP NetAmount Stated Amount
CompanyCode I_SESAccountAssignmentTP CompanyCode Receiver Company Code
ChartOfAccounts I_SESAccountAssignmentTP ChartOfAccounts Node Class
_ServiceEntrySheet _ServiceEntrySheet
_ServiceEntrySheetItem _ServiceEntrySheetItem
_CostCenterValueHelp _CostCenterValueHelp
_SalesOrderValueHelp _SalesOrderValueHelp
_SalesOrderItemValueHelp _SalesOrderItemValueHelp
_FixedAssetValueHelp _FixedAssetValueHelp
_ProfitCenterValueHelp _ProfitCenterValueHelp
_ProjectNetworkValueHelp _ProjectNetworkValueHelp
_NetworkActivityValueHelp _NetworkActivityValueHelp
_GLAccountValueHelp _GLAccountValueHelp
_ControllingAreaVH _ControllingAreaVH
_FundStdVH _FundStdVH
_BudgetPeriodStdVH _BudgetPeriodStdVH
_FundsCenterStdVH _FundsCenterStdVH
_CommitmentItemStdVH _CommitmentItemStdVH
_FndsMgmtFuncnlAreaStdVH _FndsMgmtFuncnlAreaStdVH
_EarmarkedFundsStdVH _EarmarkedFundsStdVH
_GrantStdVH _GrantStdVH
_FundedProgramText _FundedProgramText
_AcctgServiceDocumentTypeVH _AcctgServiceDocumentTypeVH
_AcctgServiceDocumentVH _AcctgServiceDocumentVH
_AcctgServiceDocumentItemVH _AcctgServiceDocumentItemVH
_UnitValueHelp I_SESAccountAssignmentTP _UnitValueHelp
_UnitText I_SESAccountAssignmentTP _UnitText
_Currency I_SESAccountAssignmentTP _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 C_SESAccountAssignmentWD.
-- 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: CSRVCENTRSH001WD

CREATE VIEW C_SESAccountAssignmentWD 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,
  Document.SalesOrder AS SalesOrder,
  Document.SalesOrderItem 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,
  Document.WBSElementInternalID AS WBSElementInternalID,
  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,
  Document.Fund AS Fund,
  Document.BudgetPeriod AS BudgetPeriod,
  Document.FunctionalArea AS FunctionalArea,
  Document.GrantID AS GrantID,
  Document.CommitmentItem AS CommitmentItem,
  Document.FundsCenter AS FundsCenter,
  Document.EarmarkedFundsDocument AS EarmarkedFundsDocument,
  Document.EarmarkedFundsDocumentItem AS EarmarkedFundsDocumentItem,
  Document.FundedProgram AS FundedProgram,
  Document.ServiceDocumentType AS ServiceDocumentType,
  Document.ServiceDocument AS ServiceDocument,
  Document.ServiceDocumentItem AS ServiceDocumentItem,
  Document.CreationDateTime AS CreationDateTime,
  Document.CreatedByUser AS CreatedByUser,
  Document.LastChangeDateTime AS LastChangeDateTime,
  Document.LastChangeUser AS LastChangedByUser,
  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,
  Document._UnitValueHelp AS _UnitValueHelp,
  Document._UnitText AS _UnitText,
  Document._Currency AS _Currency
FROM I_SESAccountAssignmentTP AS Document
LEFT OUTER JOIN C_ServiceEntrySheetWD AS _ServiceEntrySheet ON _ServiceEntrySheet.ServiceEntrySheet = ServiceEntrySheet  -- association [1..1]
LEFT OUTER JOIN C_ServiceEntrySheetItemWD AS _ServiceEntrySheetItem ON _ServiceEntrySheetItem.ServiceEntrySheet = ServiceEntrySheet AND _ServiceEntrySheetItem.ServiceEntrySheetItem = ServiceEntrySheetItem  -- association [1..1]
LEFT OUTER JOIN I_MM_CostCenterValueHelp AS _CostCenterValueHelp ON _CostCenterValueHelp.CostCenter = CostCenter AND _CostCenterValueHelp.ControllingArea = ControllingArea AND _CostCenterValueHelp.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_MM_SalesOrderValueHelp AS _SalesOrderValueHelp ON _SalesOrderValueHelp.SalesOrder = SalesOrder  -- association [0..1]
LEFT OUTER JOIN I_MM_SalesOrderItemVH AS _SalesOrderItemValueHelp ON _SalesOrderItemValueHelp.SalesOrder = SalesOrder AND _SalesOrderItemValueHelp.SalesOrderItem = SalesOrderItem  -- association [0..1]
LEFT OUTER JOIN I_MM_FixedAssetValueHelp AS _FixedAssetValueHelp ON _FixedAssetValueHelp.CompanyCode = CompanyCode AND _FixedAssetValueHelp.FixedAsset = FixedAsset AND _FixedAssetValueHelp.MasterFixedAsset = MasterFixedAsset  -- association [0..1]
LEFT OUTER JOIN I_MM_ProfitCenterValueHelp AS _ProfitCenterValueHelp ON _ProfitCenterValueHelp.ControllingArea = ControllingArea AND _ProfitCenterValueHelp.ProfitCenter = ProfitCenter AND _ProfitCenterValueHelp.ValidityEndDate >= ValidityDate  -- association [0..1]
LEFT OUTER JOIN I_MM_ProjectNetworkVH AS _ProjectNetworkValueHelp ON _ProjectNetworkValueHelp.ProjectNetwork = ProjectNetwork  -- association [0..1]
LEFT OUTER JOIN I_MM_NetworkActivityVH AS _NetworkActivityValueHelp ON _NetworkActivityValueHelp.ProjectNetwork = ProjectNetwork AND _NetworkActivityValueHelp.NetworkActivity = NetworkActivity  -- association [0..1]
LEFT OUTER JOIN I_MM_GLAccountVH AS _GLAccountValueHelp ON _GLAccountValueHelp.CompanyCode = CompanyCode AND _GLAccountValueHelp.GLAccount = GLAccount  -- association [0..1]
LEFT OUTER JOIN I_MM_ControllingAreaVH AS _ControllingAreaVH ON _ControllingAreaVH.ControllingArea = ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_FundStdVH AS _FundStdVH ON _FundStdVH.Fund = Fund  -- association [0..*]
LEFT OUTER JOIN I_BudgetPeriodStdVH AS _BudgetPeriodStdVH ON _BudgetPeriodStdVH.BudgetPeriod = BudgetPeriod  -- association [0..1]
LEFT OUTER JOIN I_FundsCenterStdVH AS _FundsCenterStdVH ON _FundsCenterStdVH.FundsCenter = FundsCenter  -- association [0..*]
LEFT OUTER JOIN I_CommitmentItemStdVH AS _CommitmentItemStdVH ON _CommitmentItemStdVH.CommitmentItem = CommitmentItem  -- association [0..*]
LEFT OUTER JOIN I_FndsMgmtFuncnlAreaStdVH AS _FndsMgmtFuncnlAreaStdVH ON _FndsMgmtFuncnlAreaStdVH.FunctionalArea = FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_EarmarkedFundsStdVH AS _EarmarkedFundsStdVH ON _EarmarkedFundsStdVH.EarmarkedFunds = EarmarkedFundsDocument  -- association [0..*]
LEFT OUTER JOIN I_GrantStdVH AS _GrantStdVH ON _GrantStdVH.GrantID = GrantID  -- association [0..1]
LEFT OUTER JOIN I_FundedProgramText AS _FundedProgramText ON _FundedProgramText.FundedProgram = FundedProgram  -- association [0..*]
LEFT OUTER JOIN I_AcctgServiceDocumentTypeVH AS _AcctgServiceDocumentTypeVH ON ServiceDocumentType = _AcctgServiceDocumentTypeVH.ServiceDocumentType  -- association [0..1]
LEFT OUTER JOIN I_AcctgServiceDocumentVH AS _AcctgServiceDocumentVH ON ServiceDocument = _AcctgServiceDocumentVH.ServiceDocument  -- association [0..*]
LEFT OUTER JOIN I_AcctgServiceDocumentItemVH AS _AcctgServiceDocumentItemVH ON ServiceDocumentItem = _AcctgServiceDocumentItemVH.ServiceDocumentItem AND ServiceDocument = _AcctgServiceDocumentItemVH.ServiceDocument  -- association [0..*]
;