FINOC_RT_ORD_FILL

DDL: FINOC_RT_ORD_FILL SQL: FINOCV_RTORDFILL Type: view

Orgl Change: Fill Runtime for Order

FINOC_RT_ORD_FILL is a CDS View that provides data about "Orgl Change: Fill Runtime for Order" in SAP S/4HANA. It reads from 4 data sources (I_Order, finoc_rule_t_ord, I_OrganizationalChangeOrder, I_OrganizationalChangeOrder) and exposes 27 fields with key fields OrderID, OrganizationalChange, OrganizationalChange.

Data Sources (4)

SourceAliasJoin Type
I_Order AufkOrder inner
finoc_rule_t_ord OrderRules union_all
I_OrganizationalChangeOrder OrderUiEntry from
I_OrganizationalChangeOrder OrderUiEntry left_outer

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName FINOCV_RTORDFILL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Orgl Change: Fill Runtime for Order view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY OrderID I_OrganizationalChangeOrder OrderID Order ID
KEY OrganizationalChange I_OrganizationalChangeOrder OrganizationalChange Organizational Change
ControllingArea I_OrganizationalChangeOrder ControllingArea Org. Value
CompanyCode I_Order CompanyCode Value
ProfitCenterBeforeOrglChange I_OrganizationalChangeOrder ProfitCenter Old Profit Center
ProfitCenterByOrglChange I_OrganizationalChangeOrder ProfitCenterByOrglChange Profit Centers
ProfitCenterDerivationSrceType Profit Center Source
OrderCategory I_Order OrderCategory Order category
SourceProduct Source Product
SourcePlant Source Plant
SourceCostCenter Source Cost Center
SourceWBSElementInternalID Source WBS Element
SourceProjectInternalID Source Project
aufnrasOrderID
KEY OrganizationalChange finoc_rule_t_ord orgl_change Organizational Change
ControllingArea finoc_rule_t_ord kokrs Org. Value
CompanyCode finoc_rule_t_ord bukrs Value
ProfitCenterBeforeOrglChange finoc_rule_t_ord prctr_old Old Profit Center
ProfitCenterByOrglChange finoc_rule_t_ord prctr Profit Centers
ProfitCenterDerivationSrceType finoc_rule_t_ord prctr_drvtn_source_type Profit Center Source
OrderCategory finoc_rule_t_ord autyp Order category
SourceProduct finoc_rule_t_ord srce_matnr Source Product
SourcePlant finoc_rule_t_ord srce_werks Source Plant
SourceCostCenter finoc_rule_t_ord srce_kostl Source Cost Center
SourceWBSElementInternalID finoc_rule_t_ord srce_ps_psp_pnr Source WBS Element
SourceProjectInternalID finoc_rule_t_ord srce_ps_prj_pnr Source Project
ObjectNumber finoc_rule_t_ord objnr Val. Obj. No.

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 FINOC_RT_ORD_FILL.
-- 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: FINOCV_RTORDFILL

CREATE VIEW FINOC_RT_ORD_FILL AS
SELECT
  OrderUiEntry.OrderID AS OrderID,
  OrderUiEntry.OrganizationalChange AS OrganizationalChange,
  OrderUiEntry.ControllingArea AS ControllingArea,
  AufkOrder.CompanyCode AS CompanyCode,
  OrderUiEntry.ProfitCenter AS ProfitCenterBeforeOrglChange,
  OrderUiEntry.ProfitCenterByOrglChange AS ProfitCenterByOrglChange,
  cast(' ' as finoc_prctr_drvtn_source_type preserving type) AS ProfitCenterDerivationSrceType,
  AufkOrder.OrderCategory AS OrderCategory,
  cast(' ' as finoc_srce_matnr preserving type) AS SourceProduct,
  cast(' ' as finoc_srce_werks preserving type) AS SourcePlant,
  cast( ' ' as finoc_srce_kostl preserving type ) AS SourceCostCenter,
  cast('00000000' as finoc_srce_ps_psp_pnr preserving type) AS SourceWBSElementInternalID,
  cast('00000000' as finoc_srce_ps_prj_pnr preserving type) AS SourceProjectInternalID,
  AufkOrder.ObjectInternalID as ObjectNumber AS aufnrasOrderID,
  OrderRules.objnr AS ObjectNumber
FROM I_OrganizationalChangeOrder AS OrderUiEntry
INNER JOIN I_Order AS AufkOrder ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OrganizationalChangeOrder AS OrderUiEntry ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): finoc_rule_t_ord
;