FINOC_CHECK_REC_02_ALL_TO_REC
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA