R_ProfitCenterTP
Profit Center - TP
R_ProfitCenterTP is a Transactional CDS View that provides data about "Profit Center - TP" in SAP S/4HANA. It reads from 1 data source (I_ProfitCenter) and exposes 43 fields with key fields ControllingArea, ProfitCenter, ValidityEndDate. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ProfitCenter | I_ProfitCenter | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_ProfitCenterTextTP | _ProfitCenterTextTP | |
| [0..*] | R_PrftCtrCompCodeAssgmtTP | _PrftCtrCompCodeAssgmtTP | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Profit Center - TP | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.sapObjectNodeType.name | ProfitCenter | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingArea | ControllingArea | Controlling Area | |
| KEY | ProfitCenter | ProfitCenter | Profit Center | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ControllingAreaForEdit | ControllingArea | Controlling Area | ||
| ProfitCenterForEdit | ProfitCenter | Profit Center | ||
| ValidityEndDateForEdit | ValidityEndDate | ValidTo | ||
| ProfitCenterName | ||||
| ProfitCenterLongName | ||||
| ProfitCtrResponsiblePersonName | ProfitCtrResponsiblePersonName | Person Respons. | ||
| ProfitCtrResponsibleUser | ProfitCtrResponsibleUser | User Responsible | ||
| ProfitCenterCreationDate | ProfitCenterCreationDate | Entered On | ||
| ProfitCenterCreatedByUser | ProfitCenterCreatedByUser | Created By | ||
| ProfitCenterIsBlocked | Locked | |||
| ProfitCenterStandardHierarchy | Standard Hierarchy Node | |||
| Segment | Segment | Segment number | ||
| ProfitCenterDepartment | Department | Department | ||
| FormulaPlanningTemplate | FormulaPlanningTemplate | Form. Planning Temp. | ||
| ProfitCenterTitleName | FormOfAddress | Title Key | ||
| AddressName | AddressName | Name | ||
| AdditionalName | AdditionalName | Name 2 | ||
| ProfitCenterAddrName3 | ProfitCenterAddrName3 | Name 3 | ||
| ProfitCenterAddrName4 | ProfitCenterAddrName4 | Name 4 | ||
| StreetAddressName | StreetAddressName | Street | ||
| CityName | CityName | Name | ||
| PostalCode | PostalCode | Postal Code | ||
| District | District | District Court | ||
| Country | Venue: Ctry/Reg | |||
| Region | Region | Venue Region | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| POBox | POBox | PO Box | ||
| POBoxPostalCode | POBoxPostalCode | PO Box Postal Code | ||
| Language | Language | Report Text Language | ||
| PhoneNumber1 | PhoneNumber1 | Telephone 1 | ||
| PhoneNumber2 | PhoneNumber2 | Telephone 2 | ||
| FaxNumber | FaxNumber | Fax Number | ||
| TeleboxNumber | Telebox Number | |||
| TelexNumber | Telex Number | |||
| TeletexNumber | Teletex Number | |||
| DataCommunicationPhoneNumber | Data Line | |||
| ProfitCenterPrinterName | Printer | |||
| _ProfitCenterTextTP | _ProfitCenterTextTP | |||
| _PrftCtrCompCodeAssgmtTP | _PrftCtrCompCodeAssgmtTP |
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 R_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 R_ProfitCenterTP AS
SELECT
ControllingArea,
ProfitCenter,
ValidityEndDate,
ValidityStartDate,
ControllingArea AS ControllingAreaForEdit,
ProfitCenter AS ProfitCenterForEdit,
ValidityEndDate AS ValidityEndDateForEdit,
_Text[1:Language=$session.system_language].ProfitCenterName AS ProfitCenterName,
_Text[1:Language=$session.system_language].ProfitCenterLongName AS ProfitCenterLongName,
ProfitCtrResponsiblePersonName,
ProfitCtrResponsibleUser,
ProfitCenterCreationDate,
ProfitCenterCreatedByUser,
cast ( ProfitCenterIsBlocked as fac_mpc_lock_indicator preserving type ) AS ProfitCenterIsBlocked,
cast( ProfitCenterStandardHierarchy as fac_mpc_pcg preserving type ) AS ProfitCenterStandardHierarchy,
Segment,
Department AS ProfitCenterDepartment,
FormulaPlanningTemplate,
FormOfAddress AS ProfitCenterTitleName,
AddressName,
AdditionalName,
ProfitCenterAddrName3,
ProfitCenterAddrName4,
StreetAddressName,
CityName,
PostalCode,
District,
cast(Country as fis_land1 preserving type ) AS Country,
Region,
TaxJurisdiction,
POBox,
POBoxPostalCode,
Language,
PhoneNumber1,
PhoneNumber2,
FaxNumber,
cast( TeleboxNumber as fac_mpc_comm_telbx preserving type ) AS TeleboxNumber,
cast( TelexNumber as fac_mpc_comm_telx1 preserving type ) AS TelexNumber,
cast( TeletexNumber as fac_mpc_teltx preserving type ) AS TeletexNumber,
cast( DataCommunicationPhoneNumber as fac_mpc_comm_data_line preserving type ) AS DataCommunicationPhoneNumber,
cast( ProfitCenterPrinterName as fac_mpc_comm_printer preserving type ) AS ProfitCenterPrinterName
FROM I_ProfitCenter
LEFT OUTER JOIN R_ProfitCenterTextTP AS _ProfitCenterTextTP ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_PrftCtrCompCodeAssgmtTP AS _PrftCtrCompCodeAssgmtTP ON /* condition not available in parsed metadata */ -- association [0..*]
;
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