I_PrftCtrSpcfcCoCodeAssgmt

DDL: I_PRFTCTRSPCFCCOCODEASSGMT Type: view BASIC

Profit center specific company code assignment

I_PrftCtrSpcfcCoCodeAssgmt is a Basic CDS View that provides data about "Profit center specific company code assignment" in SAP S/4HANA. It reads from 1 data source (cepc_bukrs) and exposes 5 fields with key fields ControllingArea, ProfitCenter, CompanyCode. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cepc_bukrs cepc_bukrs from

Associations (2)

CardinalityTargetAliasCondition
[1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IPRFTCTRSPCCASGN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Profit center specific company code assignment view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea kokrs Org. Value
KEY ProfitCenter prctr Profit Centers
KEY CompanyCode bukrs Value
_ControllingArea _ControllingArea
_CompanyCode _CompanyCode

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_PrftCtrSpcfcCoCodeAssgmt.
-- 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 I_PrftCtrSpcfcCoCodeAssgmt AS
SELECT
  kokrs AS ControllingArea,
  prctr AS ProfitCenter,
  bukrs AS CompanyCode
FROM cepc_bukrs
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1]
;