R_ProfitCenterTP

DDL: R_PROFITCENTERTP Type: view_entity TRANSACTIONAL

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)

SourceAliasJoin Type
I_ProfitCenter I_ProfitCenter from

Associations (2)

CardinalityTargetAliasCondition
[0..*] R_ProfitCenterTextTP _ProfitCenterTextTP
[0..*] R_PrftCtrCompCodeAssgmtTP _PrftCtrCompCodeAssgmtTP

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;