I_SrvEntrySheetAcctAssgmtBasic

DDL: I_SRVENTRYSHEETACCTASSGMTBASIC SQL: ISRVETRSHTACCBSC Type: view BASIC

Srv Entry Sheet Account Assignment Basic

I_SrvEntrySheetAcctAssgmtBasic is a Basic CDS View that provides data about "Srv Entry Sheet Account Assignment Basic" in SAP S/4HANA. It reads from 1 data source (mmpur_ses_itm_ac) and exposes 66 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem, AccountAssignment. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_ses_itm_ac Document from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_ServiceEntrySheetBasic _ServiceEntrySheet $projection.ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet
[1..1] I_ServiceEntrySheetItemBasic _ServiceEntrySheetItem $projection.ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItem.ServiceEntrySheetItem
[0..1] I_UnitOfMeasure _UnitValueHelp $projection.quantityunit = _UnitValueHelp.UnitOfMeasure
[0..1] I_REObjectByIntFinNumber _REObjectByIntFinNumber $projection.REInternalFinNumber = _REObjectByIntFinNumber.REInternalFinNumber

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISRVETRSHTACCBSC view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Srv Entry Sheet Account Assignment Basic view
VDM.viewType #BASIC view
ObjectModel.representativeKey AccountAssignment view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (66)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet mmpur_ses_itm_ac serviceentrysheet Service Entry Sheet
KEY ServiceEntrySheetItem mmpur_ses_itm_ac serviceentrysheetitem Item Number of SES
KEY AccountAssignment mmpur_ses_itm_ac srvcentrshtitmacctglin Account Assgmt No.
ServiceEntrySheetUUID mmpur_ses_itm_ac serviceentrysheetuuid Key
ServiceEntrySheetItemUUID mmpur_ses_itm_ac serviceentrysheetitemuuid Key
AccountAssignmentUUID mmpur_ses_itm_ac accountassignmentuuid Key
CreationDateTime mmpur_ses_itm_ac crea_date_time Time Stamp
CreatedByUser mmpur_ses_itm_ac crea_uname User Name
LastChangeDateTime mmpur_ses_itm_ac lchg_date_time Time Stamp
LastChangeUser mmpur_ses_itm_ac lchg_uname User Name
RefDocAccountAssignment mmpur_ses_itm_ac poitmaccassno PO Item Acc Ass
IsDeleted mmpur_ses_itm_ac loekz Status
Quantity mmpur_ses_itm_ac menge WarrCountValue
NetAmount mmpur_ses_itm_ac netwr Value
MultipleAcctAssgmtDistrPercent mmpur_ses_itm_ac vproz Distribution
BusinessArea mmpur_ses_itm_ac gsber Business Area
CostCenter mmpur_ses_itm_ac kostl Substitute CC
SalesOrder mmpur_ses_itm_ac vbeln SD Sched. Agmt
SalesOrderItem mmpur_ses_itm_ac vbelp Schd. Agmt Item
SalesOrderScheduleLine mmpur_ses_itm_ac veten Schedule Line
MasterFixedAsset mmpur_ses_itm_ac anln1 Asset
FixedAsset mmpur_ses_itm_ac anln2 Sub-number
OrderID mmpur_ses_itm_ac aufnr SettlementOrder
ControllingArea mmpur_ses_itm_ac kokrs Org. Value
CostObject mmpur_ses_itm_ac kstrg Cost Objects
ProfitabilitySegment mmpur_ses_itm_ac paobjnr Profit. segment
ProfitCenter mmpur_ses_itm_ac prctr Profit Centers
GLAccount mmpur_ses_itm_ac sakto G/L Account
WBSElementInternalID mmpur_ses_itm_ac ps_psp_pnr WBS Element
WBSElementInternalID_2
ProjectNetwork mmpur_ses_itm_ac nplnr Network
ProjectNetworkInternalID mmpur_ses_itm_ac aufpl TaskList No.Ops
RealEstateObject mmpur_ses_itm_ac imkey Real Estate Key
REInternalFinNumber
NetworkActivityInternalID mmpur_ses_itm_ac aplzl Plan No.f.Oper.
PartnerAccountNumber mmpur_ses_itm_ac vptnr Partner
CostCtrActivityType mmpur_ses_itm_ac lstar Activity Type
BusinessProcess mmpur_ses_itm_ac prznr Sender BProc
SettlementReferenceDate mmpur_ses_itm_ac dabrz Reference date
GoodsRecipientName mmpur_ses_itm_ac wempf Recipient
UnloadingPointName mmpur_ses_itm_ac ablad Unloading Point
OrderInternalID mmpur_ses_itm_ac aufpl_ord Plan No.f.Oper.
OrderIntBillOfOperationsItem mmpur_ses_itm_ac aplzl_ord Counter
CommitmentItem mmpur_ses_itm_ac fipos Commitment item
CommitmentItemShortID Commitment item
FundsCenter mmpur_ses_itm_ac fistl Funds Center
Fund mmpur_ses_itm_ac geber Fund
FunctionalArea mmpur_ses_itm_ac fkber Functional Area
EarmarkedFundsDocument mmpur_ses_itm_ac kblnr Earmarked funds
EarmarkedFundsDocumentItem mmpur_ses_itm_ac kblpos Document Item
BudgetPeriod mmpur_ses_itm_ac budget_pd Rec BudPer
GrantID mmpur_ses_itm_ac grant_nbr Receiver Grant
FundedProgram mmpur_ses_itm_ac measure obsolete
ServiceDocumentType mmpur_ses_itm_ac service_doc_type Transaction Type
ServiceDocument mmpur_ses_itm_ac service_doc_id Transaction ID
ServiceDocumentItem mmpur_ses_itm_ac service_doc_item_id Service Doc. Item
QuantityUnit _ServiceEntrySheetItem QuantityUnit Unit of measure
Currency _ServiceEntrySheetItem Currency Valuation Crcy
PurchasingOrganization _ServiceEntrySheetItem PurchasingOrganization Purchasing Organization
PurchasingGroup _ServiceEntrySheetItem PurchasingGroup Purchasing Group
Plant _ServiceEntrySheetItem Plant Valuation Area
IsEndOfPurposeBlocked _ServiceEntrySheetItem IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
_ServiceEntrySheet _ServiceEntrySheet
_ServiceEntrySheetItem _ServiceEntrySheetItem
_UnitValueHelp _UnitValueHelp
_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_SrvEntrySheetAcctAssgmtBasic.
-- 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: ISRVETRSHTACCBSC

CREATE VIEW I_SrvEntrySheetAcctAssgmtBasic AS
SELECT
  Document.serviceentrysheet AS ServiceEntrySheet,
  Document.serviceentrysheetitem AS ServiceEntrySheetItem,
  Document.srvcentrshtitmacctglin AS AccountAssignment,
  Document.serviceentrysheetuuid AS ServiceEntrySheetUUID,
  Document.serviceentrysheetitemuuid AS ServiceEntrySheetItemUUID,
  Document.accountassignmentuuid AS AccountAssignmentUUID,
  Document.crea_date_time AS CreationDateTime,
  Document.crea_uname AS CreatedByUser,
  Document.lchg_date_time AS LastChangeDateTime,
  Document.lchg_uname AS LastChangeUser,
  Document.poitmaccassno AS RefDocAccountAssignment,
  Document.loekz AS IsDeleted,
  Document.menge AS Quantity,
  Document.netwr AS NetAmount,
  Document.vproz AS MultipleAcctAssgmtDistrPercent,
  Document.gsber AS BusinessArea,
  Document.kostl AS CostCenter,
  Document.vbeln AS SalesOrder,
  Document.vbelp AS SalesOrderItem,
  Document.veten AS SalesOrderScheduleLine,
  Document.anln1 AS MasterFixedAsset,
  Document.anln2 AS FixedAsset,
  Document.aufnr AS OrderID,
  Document.kokrs AS ControllingArea,
  Document.kstrg AS CostObject,
  Document.paobjnr AS ProfitabilitySegment,
  Document.prctr AS ProfitCenter,
  Document.sakto AS GLAccount,
  Document.ps_psp_pnr AS WBSElementInternalID,
  cast( Document.ps_psp_pnr as ps_s4_pspnr preserving type ) AS WBSElementInternalID_2,
  Document.nplnr AS ProjectNetwork,
  Document.aufpl AS ProjectNetworkInternalID,
  Document.imkey AS RealEstateObject,
  cast( Document.imkey as recaimkeyfi preserving type ) AS REInternalFinNumber,
  Document.aplzl AS NetworkActivityInternalID,
  Document.vptnr AS PartnerAccountNumber,
  Document.lstar AS CostCtrActivityType,
  Document.prznr AS BusinessProcess,
  Document.dabrz AS SettlementReferenceDate,
  Document.wempf AS GoodsRecipientName,
  Document.ablad AS UnloadingPointName,
  Document.aufpl_ord AS OrderInternalID,
  Document.aplzl_ord AS OrderIntBillOfOperationsItem,
  Document.fipos AS CommitmentItem,
  cast( fipos as fmis_ci_internalname preserving type ) AS CommitmentItemShortID,
  Document.fistl AS FundsCenter,
  Document.geber AS Fund,
  Document.fkber AS FunctionalArea,
  Document.kblnr AS EarmarkedFundsDocument,
  Document.kblpos AS EarmarkedFundsDocumentItem,
  Document.budget_pd AS BudgetPeriod,
  Document.grant_nbr AS GrantID,
  Document.measure AS FundedProgram,
  Document.service_doc_type AS ServiceDocumentType,
  Document.service_doc_id AS ServiceDocument,
  Document.service_doc_item_id AS ServiceDocumentItem,
  _ServiceEntrySheetItem.QuantityUnit AS QuantityUnit,
  _ServiceEntrySheetItem.Currency AS Currency,
  _ServiceEntrySheetItem.PurchasingOrganization AS PurchasingOrganization,
  _ServiceEntrySheetItem.PurchasingGroup AS PurchasingGroup,
  _ServiceEntrySheetItem.Plant AS Plant,
  _ServiceEntrySheetItem.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked
FROM mmpur_ses_itm_ac AS Document
LEFT OUTER JOIN I_ServiceEntrySheetBasic AS _ServiceEntrySheet ON ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet  -- association [1..1]
LEFT OUTER JOIN I_ServiceEntrySheetItemBasic AS _ServiceEntrySheetItem ON ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet AND ServiceEntrySheetItem = _ServiceEntrySheetItem.ServiceEntrySheetItem  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitValueHelp ON quantityunit = _UnitValueHelp.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_REObjectByIntFinNumber AS _REObjectByIntFinNumber ON REInternalFinNumber = _REObjectByIntFinNumber.REInternalFinNumber  -- association [0..1]
;