C_PrftCtrCompCodeAssgmtTP
Assignment of PrftCtr to company code
C_PrftCtrCompCodeAssgmtTP is a Consumption CDS View that provides data about "Assignment of PrftCtr to company code" in SAP S/4HANA. It reads from 1 data source (I_PrftCtrCompCodeAssgmtTP) and exposes 25 fields with key fields ControllingArea, ProfitCenter, CompanyCode, ValidityEndDate. It has 7 associations to related views. It is exposed through 1 OData service (ASQL_F3516). Part of development package ODATA_PROFIT_CENTER_V2.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PrftCtrCompCodeAssgmtTP | I_PrftCtrCompCodeAssgmtTP | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_ProfitCenterTP | _ParentNode | $projection.ControllingArea = _ParentNode.ControllingArea and $projection.ProfitCenter = _ParentNode.ProfitCenter and $projection.ValidityEndDate = _ParentNode.ValidityEndDate |
| [0..1] | I_JointVentureMaster | _JointVentureMaster | $projection.JointVenture = _JointVentureMaster.JointVenture and $projection.CompanyCode = _JointVentureMaster.CompanyCode |
| [0..1] | I_JointVentureRecovery | _JointVentureRecovery | $projection.JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode and $projection.CompanyCode = _JointVentureRecovery.CompanyCode |
| [0..1] | I_JntVntrEquityTypeMaster | _JntVntrEquityTypeMaster | $projection.JointVentureEquityType = _JntVntrEquityTypeMaster.JointVentureEquityType and $projection.CompanyCode = _JntVntrEquityTypeMaster.CompanyCode |
| [0..1] | I_JntVntrCostCtrType | _JntVntrCostCtrType | $projection.JointVentureObjectType = _JntVntrCostCtrType.JntVntrCostCtrType and $projection.CompanyCode = _JntVntrCostCtrType.CompanyCode |
| [0..1] | I_JntIntrstBillgClass | _JntIntrstBillgClass | $projection.JointVentureClass = _JntIntrstBillgClass.JntIntrstBillgClass and $projection.CompanyCode = _JntIntrstBillgClass.CompanyCode |
| [0..1] | I_JntIntrstBillgSubclass | _JntIntrstBillgSubclass | $projection.CompanyCode = _JntIntrstBillgSubclass.CompanyCode and $projection.JointVentureClass = _JntIntrstBillgSubclass.JntIntrstBillgClass and $projection.JointVentureSubClass = _JntIntrstBillgSubclass.JntIntrstBillgSubClass |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CFIPCTRCOMASTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Assignment of PrftCtr to company code | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Item | view | |
| UI.headerInfo.typeNamePlural | Items | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F3516 | ASQL_F3516 | C2 | NOT_RELEASED |
Fields (25)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| CompanyCodeName | CompanyCodeName | Company Name | ||
| PrftCtrIsAssignedToCompCode | PrftCtrIsAssignedToCompCode | Assigned | ||
| JointVenture | JointVenture | Joint venture | ||
| JointVentureName | _JointVentureMaster | JointVentureName | ||
| JointVentureRecoveryCode | JointVentureRecoveryCode | Recovery Ind. | ||
| JointVentureRecoveryCodeName | ||||
| JointVentureEquityType | JointVentureEquityType | Joint Venture Equity Type | ||
| JointVentureEquityTypeName | ||||
| JointVentureObjectType | JointVentureObjectType | JV Object Type | ||
| JntVntrCostCtrTypeText | ||||
| JointVentureClass | JointVentureClass | JIB/JIBE Class | ||
| JntIntrstBillgClassText | ||||
| JointVentureSubClass | JointVentureSubClass | JIB/JIBE SbClsA | ||
| JntIntrstBillgSubClassText | ||||
| _ParentNode | _ParentNode | |||
| _JointVentureMaster | _JointVentureMaster | |||
| _JointVentureRecovery | _JointVentureRecovery | |||
| _JntVntrEquityTypeMaster | _JntVntrEquityTypeMaster | |||
| _JntVntrCostCtrType | _JntVntrCostCtrType | |||
| _JntIntrstBillgClass | _JntIntrstBillgClass | |||
| _JntIntrstBillgSubclass | _JntIntrstBillgSubclass |
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 C_PrftCtrCompCodeAssgmtTP.
-- 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: CFIPCTRCOMASTP
CREATE VIEW C_PrftCtrCompCodeAssgmtTP AS
SELECT
ControllingArea,
ProfitCenter,
CompanyCode,
ValidityEndDate,
CompanyCodeName,
PrftCtrIsAssignedToCompCode,
JointVenture,
_JointVentureMaster.JointVentureName AS JointVentureName,
JointVentureRecoveryCode,
_JointVentureRecovery._Text[1:Language = $session.system_language].JointVentureRecoveryCodeName AS JointVentureRecoveryCodeName,
JointVentureEquityType,
_JntVntrEquityTypeMaster._JntVntrEquityTypeDesc[1:Language = $session.system_language].JointVentureEquityTypeName AS JointVentureEquityTypeName,
JointVentureObjectType,
_JntVntrCostCtrType._JntVntrCostCtrTypeText[1:Language = $session.system_language].JntVntrCostCtrTypeText AS JntVntrCostCtrTypeText,
JointVentureClass,
_JntIntrstBillgClass._JntIntrstBillgClassText[1:Language = $session.system_language].JntIntrstBillgClassText AS JntIntrstBillgClassText,
JointVentureSubClass,
_JntIntrstBillgSubclass._JntIntrstBillgSubclassT[1:Language = $session.system_language].JntIntrstBillgSubClassText AS JntIntrstBillgSubClassText
FROM I_PrftCtrCompCodeAssgmtTP
LEFT OUTER JOIN C_ProfitCenterTP AS _ParentNode ON ControllingArea = _ParentNode.ControllingArea AND ProfitCenter = _ParentNode.ProfitCenter AND ValidityEndDate = _ParentNode.ValidityEndDate -- association [1..1]
LEFT OUTER JOIN I_JointVentureMaster AS _JointVentureMaster ON JointVenture = _JointVentureMaster.JointVenture AND CompanyCode = _JointVentureMaster.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JointVentureRecovery AS _JointVentureRecovery ON JointVentureRecoveryCode = _JointVentureRecovery.JointVentureRecoveryCode AND CompanyCode = _JointVentureRecovery.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JntVntrEquityTypeMaster AS _JntVntrEquityTypeMaster ON JointVentureEquityType = _JntVntrEquityTypeMaster.JointVentureEquityType AND CompanyCode = _JntVntrEquityTypeMaster.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JntVntrCostCtrType AS _JntVntrCostCtrType ON JointVentureObjectType = _JntVntrCostCtrType.JntVntrCostCtrType AND CompanyCode = _JntVntrCostCtrType.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JntIntrstBillgClass AS _JntIntrstBillgClass ON JointVentureClass = _JntIntrstBillgClass.JntIntrstBillgClass AND CompanyCode = _JntIntrstBillgClass.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_JntIntrstBillgSubclass AS _JntIntrstBillgSubclass ON CompanyCode = _JntIntrstBillgSubclass.CompanyCode AND JointVentureClass = _JntIntrstBillgSubclass.JntIntrstBillgClass AND JointVentureSubClass = _JntIntrstBillgSubclass.JntIntrstBillgSubClass -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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