FINOC_RT_POI_FILL_HISTORY

DDL: FINOC_RT_POI_FILL_HISTORY Type: view_entity Package: FINS_ORGL_CHANGE_RUNTIME

Orgl Change: Fill RT POI (Hist.)

FINOC_RT_POI_FILL_HISTORY is a CDS View that provides data about "Orgl Change: Fill RT POI (Hist.)" in SAP S/4HANA. It reads from 2 data sources (finoc_rh_poi, FINOC_RT_POI_OPEN_ORGL) and exposes 21 fields with key fields ChangeUUID, PurchasingDocument, PurchasingDocumentItem, AccountAssignmentNumber, OrganizationalChange. Part of development package FINS_ORGL_CHANGE_RUNTIME.

Data Sources (2)

SourceAliasJoin Type
finoc_rh_poi h from
FINOC_RT_POI_OPEN_ORGL rt left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED 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 RT POI (Hist.) view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY ChangeUUID finoc_rh_poi change_uuid UUID
KEY PurchasingDocument finoc_rh_poi ebeln Source PurchDoc
KEY PurchasingDocumentItem finoc_rh_poi ebelp Item pur. doc.
KEY AccountAssignmentNumber finoc_rh_poi zekkn Account Assgmt No.
KEY OrganizationalChange finoc_rh_poi orgl_change Organizational Change
ControllingArea finoc_rh_poi kokrs Org. Value
CompanyCode finoc_rh_poi bukrs Value
ProfitCenterBeforeOrglChange finoc_rh_poi prctr_old Old Profit Center
ProfitCenterByOrglChange finoc_rh_poi prctr_old Old Profit Center
ProfitCenterDerivationSrceType finoc_rh_poi prctr_drvtn_source_type Profit Center Source
SourceWBSElementInternalID
SourceProjectInternalID
SourceProduct finoc_rh_poi srce_matnr Source Product
SourcePlant finoc_rh_poi srce_werks Source Plant
SourceSalesDocument finoc_rh_poi srce_kdauf Source Sales Order
SourceSalesDocumentItem finoc_rh_poi srce_kdpos Source Sales Order Item
SourceCostCenter finoc_rh_poi srce_kostl Source Cost Center
SourceMasterFixedAsset finoc_rh_poi srce_anln1 Source Main Asset Number
SourceFixedAsset finoc_rh_poi srce_anln2 Source Asset Subnumber
SourceOrder finoc_rh_poi srce_aufnr Source Order
SourceOperation finoc_rh_poi srce_vornr Source Activity / Operation

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_POI_FILL_HISTORY.
-- 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.

CREATE VIEW FINOC_RT_POI_FILL_HISTORY AS
SELECT
  h.change_uuid AS ChangeUUID,
  h.ebeln AS PurchasingDocument,
  h.ebelp AS PurchasingDocumentItem,
  h.zekkn AS AccountAssignmentNumber,
  h.orgl_change AS OrganizationalChange,
  h.kokrs AS ControllingArea,
  h.bukrs AS CompanyCode,
  h.prctr_old AS ProfitCenterBeforeOrglChange,
  h.prctr_old AS ProfitCenterByOrglChange,
  h.prctr_drvtn_source_type AS ProfitCenterDerivationSrceType,
  cast (h.srce_ps_psp_pnr as ps_s4_proj_pspnr preserving type) AS SourceWBSElementInternalID,
  cast (h.srce_ps_prj_pnr as ps_s4_proj_pspnr preserving type) AS SourceProjectInternalID,
  h.srce_matnr AS SourceProduct,
  h.srce_werks AS SourcePlant,
  h.srce_kdauf AS SourceSalesDocument,
  h.srce_kdpos AS SourceSalesDocumentItem,
  h.srce_kostl AS SourceCostCenter,
  h.srce_anln1 AS SourceMasterFixedAsset,
  h.srce_anln2 AS SourceFixedAsset,
  h.srce_aufnr AS SourceOrder,
  h.srce_vornr AS SourceOperation
FROM finoc_rh_poi AS h
LEFT OUTER JOIN FINOC_RT_POI_OPEN_ORGL AS rt ON /* join condition not captured in parsed metadata */
;