I_RACompanyCodeSetting

DDL: I_RACOMPANYCODESETTING SQL: IRACOCDSETTING Type: view BASIC

Revenue Accounting Company Code Setting

I_RACompanyCodeSetting is a Basic CDS View that provides data about "Revenue Accounting Company Code Setting" in SAP S/4HANA. It reads from 1 data source (farr_c_acpr_bukr) and exposes 4 fields with key fields CompanyCode, AccountingPrinciple. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
farr_c_acpr_bukr farr_c_acpr_bukr from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_AccountingPrinciple _AccountingPrinciple $projection.AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IRACOCDSETTING view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Revenue Accounting Company Code Setting view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY AccountingPrinciple acct_principle Accounting Principle
_CompanyCode _CompanyCode
_AccountingPrinciple _AccountingPrinciple

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 I_RACompanyCodeSetting.
-- 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.
-- SQL view name: IRACOCDSETTING

CREATE VIEW I_RACompanyCodeSetting AS
SELECT
  bukrs AS CompanyCode,
  acct_principle AS AccountingPrinciple
FROM farr_c_acpr_bukr
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_AccountingPrinciple AS _AccountingPrinciple ON AccountingPrinciple = _AccountingPrinciple.AccountingPrinciple  -- association [1..1]
;