FINOC_RULE_SRV_BASE
Orgl Change-Rule: Service Doc Item Base
FINOC_RULE_SRV_BASE is a CDS View that provides data about "Orgl Change-Rule: Service Doc Item Base" in SAP S/4HANA. It reads from 4 data sources (crms4d_serv_h, crm_jest, finoc_orglchg, fco_srvdoc) and exposes 8 fields with key field orgl_change.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| crms4d_serv_h | crm_head | inner |
| crm_jest | CRMStatusObject | left_outer |
| finoc_orglchg | oc | inner |
| fco_srvdoc | service_doc | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Orgl Change-Rule: Service Doc Item Base | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | orgl_change | finoc_orglchg | orgl_change | Organizational Change |
| kokrs | fco_srvdoc | controlling_area | CO Area | |
| bukrs | fco_srvdoc | company_code | Company Code | |
| prctr_old | ||||
| prctr | ||||
| objnr | fco_srvdoc | objnr | Val. Obj. No. | |
| objnr_sc | fco_srvdoc | objnr_sc | Object number | |
| object_type | fco_srvdoc | 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_BASE.
-- 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_BASE AS
SELECT
oc.orgl_change AS orgl_change,
service_doc.controlling_area AS kokrs,
service_doc.company_code AS bukrs,
coalesce(rt.prctr_old, service_doc.profit_center) AS prctr_old,
cast(' ' as finoc_prctr_new preserving type) AS prctr,
service_doc.objnr AS objnr,
service_doc.objnr_sc AS objnr_sc,
service_doc.object_type AS object_type
FROM fco_srvdoc AS service_doc
INNER JOIN finoc_orglchg AS oc ON /* join condition not captured in parsed metadata */
INNER JOIN crms4d_serv_h AS crm_head ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN crm_jest AS CRMStatusObject ON /* join condition not captured in parsed metadata */
;
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