I_ProfitCenterTP
Profit Center Master Record
I_ProfitCenterTP is a Transactional CDS View that provides data about "Profit Center Master Record" in SAP S/4HANA. It reads from 1 data source (P_ProfitCenterTP) and exposes 63 fields with key fields ControllingArea, ProfitCenter, ValidityEndDate. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProfitCenterTP | P_ProfitCenterTP | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProfitCenterTextTP | _MultiLangText | $projection.ControllingArea = _MultiLangText.ControllingArea and $projection.ProfitCenter = _MultiLangText.ProfitCenter and $projection.ValidityEndDate = _MultiLangText.ValidityEndDate |
| [1] | I_ControllingArea | _ControllingAreaForEdit | $projection.ControllingAreaForEdit = _ControllingAreaForEdit.ControllingArea |
| [0..*] | I_ProfitCenterHierarchyNode | _ProfitCenterHierNodeForEdit | $projection.ControllingAreaForEdit = _ProfitCenterHierNodeForEdit.ControllingArea and $projection.ProfitCenterForEdit = _ProfitCenterHierNodeForEdit.ProfitCenter |
| [0..*] | I_PrftCtrCompCodeAssgmtTP | _CompanyCodeAssignment | $projection.ControllingArea = _CompanyCodeAssignment.ControllingArea and $projection.ProfitCenter = _CompanyCodeAssignment.ProfitCenter and $projection.ValidityEndDate = _CompanyCodeAssignment.ValidityEndDate |
| [1..1] | E_ProfitCenter | _Extension | $projection.ControllingArea = _Extension.ControllingArea and $projection.ProfitCenter = _Extension.ProfitCenter and $projection.ValidityEndDate = _Extension.ValidityEndDate |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIPRFTCTRTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Profit Center Master Record | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeDraftPersistence | CEPC_DRAFT | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.entityChangeStateId | EXTERNAL_CALCULATION | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.sapObjectNodeType.name | ProfitCenter | view | |
| Metadata.allowExtensions | true | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| ControllingAreaForEdit | ControllingArea | Controlling Area | ||
| ProfitCenterForEdit | ProfitCenter | Profit Center | ||
| ValidityEndDateForEdit | ValidityEndDate | ValidTo | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ProfitCenterName | ProfitCenterName | Profit Center Name | ||
| ProfitCenterLongName | ProfitCenterLongName | Profit Center Description | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ProfitCtrResponsiblePersonName | ProfitCtrResponsiblePersonName | Person Respons. | ||
| ProfitCtrResponsibleUser | ProfitCtrResponsibleUser | User Responsible | ||
| ProfitCenterCreationDate | ProfitCenterCreationDate | Entered On | ||
| ProfitCenterCreatedByUser | ProfitCenterCreatedByUser | Created By | ||
| Department | Department | Department | ||
| ProfitCenterStandardHierarchy | ProfitCenterStandardHierarchy | Standard Hierarchy Node | ||
| Segment | Segment | Segment number | ||
| ProfitCenterIsBlocked | ProfitCenterIsBlocked | Locked | ||
| Country | Country | Venue: Ctry/Reg | ||
| FormOfAddress | FormOfAddress | Title Key | ||
| AddressName | AddressName | Name | ||
| AdditionalName | AdditionalName | Name 2 | ||
| CityName | CityName | Name | ||
| District | District | District Court | ||
| ProfitCenterAddrName3 | ProfitCenterAddrName3 | Name 3 | ||
| ProfitCenterAddrName4 | ProfitCenterAddrName4 | Name 4 | ||
| StreetAddressName | StreetAddressName | Street | ||
| POBox | POBox | PO Box | ||
| PostalCode | PostalCode | Postal Code | ||
| POBoxPostalCode | POBoxPostalCode | PO Box Postal Code | ||
| Region | Region | Venue Region | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| Language | Language | Report Text Language | ||
| TeleboxNumber | TeleboxNumber | Telebox Number | ||
| PhoneNumber1 | PhoneNumber1 | Telephone 1 | ||
| PhoneNumber2 | PhoneNumber2 | Telephone 2 | ||
| FaxNumber | FaxNumber | Fax Number | ||
| TelexNumber | TelexNumber | Telex Number | ||
| TeletexNumber | TeletexNumber | Teletex Number | ||
| DataCommunicationPhoneNumber | DataCommunicationPhoneNumber | Data Line | ||
| ProfitCenterPrinterName | ProfitCenterPrinterName | Printer | ||
| ControllingAreaName | ControllingAreaName | Long Text | ||
| CompanyCodeName | CompanyCodeName | Company Name | ||
| CreatedByUserFullName | CreatedByUserFullName | Description | ||
| ETag | ||||
| ChangeDocObject | ChangeDocObject | Object Value | ||
| ProfitCenterResponsibilityArea | ProfitCenterResponsibilityArea | |||
| ProfitCenterHierarchyRespyArea | ProfitCenterHierarchyRespyArea | |||
| PrftCtrTransaclProcgAction | ||||
| ProfitCenterValidityPeriod | ||||
| _Text | _Text | |||
| _Country | _Country | |||
| _ControllingArea | _ControllingArea | |||
| _ControllingAreaForEdit | _ControllingAreaForEdit | |||
| _ProfitCenterHierarchyNode | _ProfitCenterHierarchyNode | |||
| _ProfitCenterHierNodeForEdit | _ProfitCenterHierNodeForEdit | |||
| _Language | _Language | |||
| _Company | _Company | |||
| _Region | _Region | |||
| _ControllingAreaText | _ControllingAreaText | |||
| _CompanyCodeAssignment | _CompanyCodeAssignment | |||
| _MultiLangText | _MultiLangText | |||
| _UserCrtedContactCard | _UserCrtedContactCard |
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_ProfitCenterTP.
-- 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_ProfitCenterTP AS
SELECT
ControllingArea,
ProfitCenter,
ValidityEndDate,
ControllingArea AS ControllingAreaForEdit,
ProfitCenter AS ProfitCenterForEdit,
ValidityEndDate AS ValidityEndDateForEdit,
ValidityStartDate,
ProfitCenterName,
ProfitCenterLongName,
CompanyCode,
ProfitCtrResponsiblePersonName,
ProfitCtrResponsibleUser,
ProfitCenterCreationDate,
ProfitCenterCreatedByUser,
Department,
ProfitCenterStandardHierarchy,
Segment,
ProfitCenterIsBlocked,
Country,
FormOfAddress,
AddressName,
AdditionalName,
CityName,
District,
ProfitCenterAddrName3,
ProfitCenterAddrName4,
StreetAddressName,
POBox,
PostalCode,
POBoxPostalCode,
Region,
TaxJurisdiction,
Language,
TeleboxNumber,
PhoneNumber1,
PhoneNumber2,
FaxNumber,
TelexNumber,
TeletexNumber,
DataCommunicationPhoneNumber,
ProfitCenterPrinterName,
ControllingAreaName,
CompanyCodeName,
CreatedByUserFullName,
cast(concat ( concat( ControllingArea, ProfitCenter), ValidityEndDate ) as hash160) AS ETag,
ChangeDocObject,
ProfitCenterResponsibilityArea,
ProfitCenterHierarchyRespyArea,
cast('' as fac_mpc_tp_action) AS PrftCtrTransaclProcgAction,
cast( concat(ValidityStartDate, concat('-',ValidityEndDate)) as profitcentervalidityperiod ) AS ProfitCenterValidityPeriod
FROM P_ProfitCenterTP
LEFT OUTER JOIN I_ProfitCenterTextTP AS _MultiLangText ON ControllingArea = _MultiLangText.ControllingArea AND ProfitCenter = _MultiLangText.ProfitCenter AND ValidityEndDate = _MultiLangText.ValidityEndDate -- association [0..*]
LEFT OUTER JOIN I_ControllingArea AS _ControllingAreaForEdit ON ControllingAreaForEdit = _ControllingAreaForEdit.ControllingArea -- association [1]
LEFT OUTER JOIN I_ProfitCenterHierarchyNode AS _ProfitCenterHierNodeForEdit ON ControllingAreaForEdit = _ProfitCenterHierNodeForEdit.ControllingArea AND ProfitCenterForEdit = _ProfitCenterHierNodeForEdit.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_PrftCtrCompCodeAssgmtTP AS _CompanyCodeAssignment ON ControllingArea = _CompanyCodeAssignment.ControllingArea AND ProfitCenter = _CompanyCodeAssignment.ProfitCenter AND ValidityEndDate = _CompanyCodeAssignment.ValidityEndDate -- association [0..*]
LEFT OUTER JOIN E_ProfitCenter AS _Extension ON ControllingArea = _Extension.ControllingArea AND ProfitCenter = _Extension.ProfitCenter AND ValidityEndDate = _Extension.ValidityEndDate -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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