FINOC_CHECK_REC_02_ALL_TO_REC

DDL: FINOC_CHECK_REC_02_ALL_TO_REC Type: view_entity

Org. Change: From All to RE Contract

FINOC_CHECK_REC_02_ALL_TO_REC is a CDS View that provides data about "Org. Change: From All to RE Contract" in SAP S/4HANA. It reads from 12 data sources and exposes 23 fields with key fields orgl_change, obj_objnr, intreno, obj_objnr, intreno.

Data Sources (12)

SourceAliasJoin Type
FINOC_CHECK_REC_01_CCR_TO_REC ccr_to_rec inner
finoc_orglchg oc from
finoc_orglchg oc union
finoc_orglchg oc union
FINOC_CHECK_REC_01_ORD_TO_REC ord_to_rec inner
finoc_rt_ccr rt_ccr inner
finoc_rt_ord rt_ord inner
finoc_rt_rec rt_rec left_outer
finoc_rt_rec rt_rec left_outer
finoc_rt_rec rt_rec left_outer
finoc_rt_wbs rt_wbs inner
FINOC_CHECK_REC_01_WBS_TO_REC wbs_to_rec inner

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Org. Change: From All to RE Contract view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY orgl_change finoc_orglchg orgl_change Organizational Change
KEY obj_objnr finoc_rt_ccr objnr Val. Obj. No.
KEY intreno FINOC_CHECK_REC_01_CCR_TO_REC intreno Source Object
bukrs FINOC_CHECK_REC_01_CCR_TO_REC bukrs Value
recnnr FINOC_CHECK_REC_01_CCR_TO_REC recnnr Contract No.
rec_objnr FINOC_CHECK_REC_01_CCR_TO_REC rec_objnr Val. Obj. No.
kind FINOC_CHECK_REC_01_CCR_TO_REC kind Usage Data Source
xmissing
KEY obj_objnr finoc_rt_ord objnr Val. Obj. No.
KEY intreno FINOC_CHECK_REC_01_ORD_TO_REC intreno Source Object
bukrs FINOC_CHECK_REC_01_ORD_TO_REC bukrs Value
recnnr FINOC_CHECK_REC_01_ORD_TO_REC recnnr Contract No.
rec_objnr FINOC_CHECK_REC_01_ORD_TO_REC rec_objnr Val. Obj. No.
kind FINOC_CHECK_REC_01_ORD_TO_REC kind Usage Data Source
xmissing
KEY obj_objnr finoc_rt_wbs objnr Val. Obj. No.
KEY intreno FINOC_CHECK_REC_01_WBS_TO_REC intreno Source Object
bukrs FINOC_CHECK_REC_01_WBS_TO_REC bukrs Value
recnnr FINOC_CHECK_REC_01_WBS_TO_REC recnnr Contract No.
rec_objnr FINOC_CHECK_REC_01_WBS_TO_REC rec_objnr Val. Obj. No.
kind FINOC_CHECK_REC_01_WBS_TO_REC kind Usage Data Source
xmissing
xdeviates

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_CHECK_REC_02_ALL_TO_REC.
-- 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_CHECK_REC_02_ALL_TO_REC AS
SELECT
  oc.orgl_change AS orgl_change,
  rt_ccr.objnr AS obj_objnr,
  ccr_to_rec.intreno AS intreno,
  ccr_to_rec.bukrs AS bukrs,
  ccr_to_rec.recnnr AS recnnr,
  ccr_to_rec.rec_objnr AS rec_objnr,
  ccr_to_rec.kind AS kind,
  case when ( rt_rec.prctr is initial or rt_rec.prctr is null ) then 'X' else ' ' end AS xmissing,
  case when ( rt_rec.prctr <> rt_wbs.prctr ) then 'X' else ' ' end AS xdeviates
FROM finoc_orglchg AS oc
INNER JOIN finoc_rt_ccr AS rt_ccr ON /* join condition not captured in parsed metadata */
INNER JOIN FINOC_CHECK_REC_01_CCR_TO_REC AS ccr_to_rec ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN finoc_rt_rec AS rt_rec ON /* join condition not captured in parsed metadata */
INNER JOIN finoc_rt_ord AS rt_ord ON /* join condition not captured in parsed metadata */
INNER JOIN FINOC_CHECK_REC_01_ORD_TO_REC AS ord_to_rec ON /* join condition not captured in parsed metadata */
INNER JOIN finoc_rt_wbs AS rt_wbs ON /* join condition not captured in parsed metadata */
INNER JOIN FINOC_CHECK_REC_01_WBS_TO_REC AS wbs_to_rec ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): finoc_orglchg
;