FINOC_RT_REC_FILL

DDL: FINOC_RT_REC_FILL Type: view_entity

OrglChg: Fill RT for Real Estate Contr.

FINOC_RT_REC_FILL is a CDS View that provides data about "OrglChg: Fill RT for Real Estate Contr." in SAP S/4HANA. It reads from 11 data sources and exposes 8 fields with key field InternalRealEstateNumber.

Data Sources (11)

SourceAliasJoin Type
tka02 contrlg_area inner
finoc_rt_ccr cost_center_rt left_outer
finoc_orglchg oc inner
finoc_rt_ord order_rt left_outer
finoc_rt_rec real_estate_rt left_outer
vicncn rec from
vicaintreno rec_bukrs inner
FINOC_RT_REC_FILL_ACCTOBJ rules_table inner
jest status_active left_outer
jest status_inactive left_outer
finoc_rt_wbs wbs_element_rt left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label OrglChg: Fill RT for Real Estate Contr. view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY InternalRealEstateNumber vicncn intreno Source Object
OrganizationalChange finoc_orglchg orgl_change Organizational Change
ControllingArea tka02 kokrs Org. Value
CompanyCode vicaintreno bukrs Value
prctrendasProfitCenterByOrglChange
ObjectNumber vicncn objnr Val. Obj. No.
RealEstateContract vicncn recnnr Contract No.
RealEstateInternalFinNumber vicncn imkey Real Estate Key

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

CREATE VIEW FINOC_RT_REC_FILL AS
SELECT
  rec.intreno AS InternalRealEstateNumber,
  oc.orgl_change AS OrganizationalChange,
  contrlg_area.kokrs AS ControllingArea,
  rec_bukrs.bukrs AS CompanyCode,
  case when cost_center_rt.kostl is not null then cost_center_rt.prctr when wbs_element_rt.ps_psp_pnr is not null then wbs_element_rt.prctr when order_rt.aufnr is not null then order_rt.prctr end as ProfitCenterByOrglChange AS prctrendasProfitCenterByOrglChange,
  rec.objnr AS ObjectNumber,
  rec.recnnr AS RealEstateContract,
  rec.imkey AS RealEstateInternalFinNumber
FROM vicncn AS rec
INNER JOIN finoc_orglchg AS oc ON /* join condition not captured in parsed metadata */
INNER JOIN vicaintreno AS rec_bukrs ON /* join condition not captured in parsed metadata */
INNER JOIN tka02 AS contrlg_area ON /* join condition not captured in parsed metadata */
INNER JOIN FINOC_RT_REC_FILL_ACCTOBJ AS rules_table ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finoc_rt_ccr AS cost_center_rt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finoc_rt_wbs AS wbs_element_rt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finoc_rt_ord AS order_rt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finoc_rt_rec AS real_estate_rt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN jest AS status_active ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN jest AS status_inactive ON /* join condition not captured in parsed metadata */
;