FINOC_RULE_SRV_BASE

DDL: FINOC_RULE_SRV_BASE Type: view_entity

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)

SourceAliasJoin Type
crms4d_serv_h crm_head inner
crm_jest CRMStatusObject left_outer
finoc_orglchg oc inner
fco_srvdoc service_doc from

Annotations (6)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;