FINOC_RULE_SRV_EXAMPLE
Customer Rule SRV
FINOC_RULE_SRV_EXAMPLE is a CDS View that provides data about "Customer Rule SRV" in SAP S/4HANA. It reads from 4 data sources (FINOC_RULE_SRV_BASE, FINOC_RULE_SRV_BASE, fco_srvdoc, I_OrglChangeServiceDocItem) and exposes 11 fields with key field orgl_change.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| FINOC_RULE_SRV_BASE | dependent_obj | union_all |
| FINOC_RULE_SRV_BASE | FINOC_RULE_SRV_BASE | from |
| fco_srvdoc | root_obj | inner |
| I_OrglChangeServiceDocItem | SRVUiEntry | left_outer |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 | Customer Rule SRV | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| kokrs | kokrs | Org. Value | ||
| bukrs | bukrs | Value | ||
| prctr_old | prctr_old | Old Profit Center | ||
| objnr | objnr | Val. Obj. No. | ||
| KEY | orgl_change | |||
| kokrs | FINOC_RULE_SRV_BASE | kokrs | Org. Value | |
| bukrs | FINOC_RULE_SRV_BASE | bukrs | Value | |
| prctr_old | FINOC_RULE_SRV_BASE | prctr_old | Old Profit Center | |
| prctr | ||||
| objnr | FINOC_RULE_SRV_BASE | objnr | Val. Obj. No. | |
| object_type | FINOC_RULE_SRV_BASE | object_type | Type |
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_RULE_SRV_EXAMPLE.
-- 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_RULE_SRV_EXAMPLE AS
SELECT
kokrs,
bukrs,
prctr_old,
objnr,
cast(' OC_1' as finoc_orgl_change preserving type ) AS orgl_change,
cast(' PC_1' as finoc_prctr_new preserving type ) AS prctr,
dependent_obj.object_type AS object_type
FROM FINOC_RULE_SRV_BASE
INNER JOIN fco_srvdoc AS root_obj ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_OrglChangeServiceDocItem AS SRVUiEntry ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): FINOC_RULE_SRV_BASE
;
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