ESH_S_PROFIT_CENTER

DDL: ESH_S_PROFIT_CENTER SQL: ESH_U_PROFIT_CEN Type: view

ESH_S_PROFIT_CENTER is a CDS View in SAP S/4HANA. It reads from 1 data source (ESH_N_PROFIT_CENTER_CEPC) and exposes 53 fields.

Data Sources (1)

SourceAliasJoin Type
ESH_N_PROFIT_CENTER_CEPC ESH_N_PROFIT_CENTER_CEPC from

Parameters (2)

NameTypeDefault
P_Language abap.lang
P_ReferenceDate abap.dats

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ESH_U_PROFIT_CEN view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view
ClientHandling.type #INHERITED view
AbapCatalog.compiler.compareFilter true view
Metadata.allowExtensions true view
UI.headerInfo.typeName Profit center view
UI.headerInfo.typeNamePlural Profit Centers view
ObjectModel.sapObjectNodeType.name ProfitCenter view
Consumption.semanticObject ProfitCenter view
Search.searchable true view
EnterpriseSearch.enabled true view
UI.headerInfo.title.value KTEXT view

Fields (53)

KeyFieldSource TableSource FieldDescription
prctr prctr Profit Centers
datbi datbi Valid to
kokrs kokrs Org. Value
datab datab Valid from
ersda ersda Created on
usnam usnam Created by
merkmal merkmal Characteristic
abtei abtei Org.area
verak verak Person Responsible
verak_user verak_user User Responsible
waers waers Transaction Currency
nprctr nprctr Successor
land1 land1 Trip Ctry/Reg
anred anred Title
name1 name1 PA text
name2 name2 Name2/First nme
name3 name3 Name 3
name4 name4 Name 4
ort01 ort01 Province
ort02 ort02 District
stras stras Street/House
pfach pfach PO Box
pstlz pstlz Postal Code
pstl2 pstl2 PO Box PCode
spras spras Off. Language
telbx telbx Telebox
telf1 telf1 Telephone no.
telf2 telf2 Telephone 2
telfx telfx Fax Number
teltx teltx Teletex
telx1 telx1 Telex
datlt datlt Data line
drnam drnam Printer name
khinr khinr Standard Hierarchy
vname vname Volatility Name
recid recid Statistical Key Figure Item
etype etype RDS Entity Type
txjcd txjcd Tax Jurisdict.
regio regio Resident Region
kvewe kvewe Usage
kappl kappl Application
kalsm kalsm Search Proced.
logsystem logsystem Logical System
lock_ind lock_ind Locked
pca_template pca_template Form. Planning Temp.
segment segment Segment
ktext Name
ltext Description
bezei _CEPC2TKA01 bezei Controlling Area Name
name Segment Name
NAME_TEXT1 User Responsible
LOCK_TEXT Locked Description
domvalue_l

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 ESH_S_PROFIT_CENTER.
-- 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: ESH_U_PROFIT_CEN
-- Parameters: P_Language : abap.lang, P_ReferenceDate : abap.dats

CREATE VIEW ESH_S_PROFIT_CENTER AS
SELECT
  prctr,
  datbi,
  kokrs,
  datab,
  ersda,
  usnam,
  merkmal,
  abtei,
  verak,
  verak_user,
  waers,
  nprctr,
  land1,
  anred,
  name1,
  name2,
  name3,
  name4,
  ort01,
  ort02,
  stras,
  pfach,
  pstlz,
  pstl2,
  spras,
  telbx,
  telf1,
  telf2,
  telfx,
  teltx,
  telx1,
  datlt,
  drnam,
  khinr,
  vname,
  recid,
  etype,
  txjcd,
  regio,
  kvewe,
  kappl,
  kalsm,
  logsystem,
  lock_ind,
  pca_template,
  segment,
  _TO_CEPCT[ 1: spras = $parameters.P_Language and datbi >= $parameters.P_ReferenceDate ].ktext AS ktext,
  _TO_CEPCT[ 1: spras = $parameters.P_Language and datbi >= $parameters.P_ReferenceDate ].ltext AS ltext,
  _CEPC2TKA01.bezei AS bezei,
  _CEPC2FAGL_SEGMT[ 1: langu = $parameters.P_Language ].name AS name,
  _005056B254401E_90816669D010FE._TO_USER_NAME.name_text AS NAME_TEXT1,
  _CEPC2XFELD[ 1: DOMALANGU = $parameters.P_Language ].VALUE_TEXT AS LOCK_TEXT,
  _CEPC2XFELD[ 1: DOMALANGU = $parameters.P_Language ].domvalue_l AS domvalue_l
FROM ESH_N_PROFIT_CENTER_CEPC
;