P_EIT_UI_Template

DDL: P_EIT_UI_TEMPLATE SQL: PEITUITMPL Type: view Package: S_APS_ODATA_EXT_EIT_IMPORT

Extensibility Template: Templates

P_EIT_UI_Template is a CDS View that provides data about "Extensibility Template: Templates" in SAP S/4HANA. It reads from 1 data source (eit_imp_tmpl) and exposes 22 fields with key fields TemplateId, TemplateVersion. It has 7 associations to related views. Part of development package S_APS_ODATA_EXT_EIT_IMPORT.

Data Sources (1)

SourceAliasJoin Type
eit_imp_tmpl eit_imp_tmpl from

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_Eit_Template_Action _Action _Action.Code = $projection.Action
[0..1] I_Eit_Template_Status _Status _Status.Status = $projection.Status
[0..1] P_EIT_User_Name _ImportedBy _ImportedBy.UserName = $projection.ImportedBy
[0..1] P_EIT_User_Name _LastChangedBy _LastChangedBy.UserName = $projection.LastChangedBy
[0..1] P_EIT_UI_Template_Status_UI _UIStatus _UIStatus.TemplateId = $projection.TemplateId and _UIStatus.TemplateVersion = $projection.TemplateVersion
[0..*] P_EIT_Action_Log _ActionLogs _ActionLogs.TemplateId = $projection.TemplateId and _ActionLogs.TemplateVersion = $projection.TemplateVersion
[0..*] P_EIT_UI_Template_Item _TemplateItems _TemplateItems.TemplateId = $projection.TemplateId and _TemplateItems.TemplateVersion = $projection.TemplateVersion

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PEITUITMPL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label Extensibility Template: Templates view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY TemplateId template_id Template LinkID
KEY TemplateVersion template_version Template Version
TemplateType template_type Template Type
TemplateFileName template_file_name Template File Name
Description description Well Code Des.
ProviderName provider_name Provider Name
SourceTemplateId source_template_id Identifier
SourceDownloadNumber source_download_number Provider File Number
CompanyURL company_url Company Url
ImportedBy imported_by User Name
ImportedAt imported_at Timestamp of Import
LastChangedBy last_changed_by Username
LastChangedAt last_changed_at Timestamp
Action action User action
Status status Workflow Status
_Action _Action
_Status _Status
_ImportedBy _ImportedBy
_LastChangedBy _LastChangedBy
_ActionLogs _ActionLogs
_TemplateItems _TemplateItems
_UIStatus _UIStatus

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 P_EIT_UI_Template.
-- 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: PEITUITMPL

CREATE VIEW P_EIT_UI_Template AS
SELECT
  template_id AS TemplateId,
  template_version AS TemplateVersion,
  template_type AS TemplateType,
  template_file_name AS TemplateFileName,
  Description,
  provider_name AS ProviderName,
  source_template_id AS SourceTemplateId,
  source_download_number AS SourceDownloadNumber,
  company_url AS CompanyURL,
  imported_by AS ImportedBy,
  imported_at AS ImportedAt,
  last_changed_by AS LastChangedBy,
  last_changed_at AS LastChangedAt,
  Action,
  Status
FROM eit_imp_tmpl
LEFT OUTER JOIN I_Eit_Template_Action AS _Action ON _Action.Code = Action  -- association [0..1]
LEFT OUTER JOIN I_Eit_Template_Status AS _Status ON _Status.Status = Status  -- association [0..1]
LEFT OUTER JOIN P_EIT_User_Name AS _ImportedBy ON _ImportedBy.UserName = ImportedBy  -- association [0..1]
LEFT OUTER JOIN P_EIT_User_Name AS _LastChangedBy ON _LastChangedBy.UserName = LastChangedBy  -- association [0..1]
LEFT OUTER JOIN P_EIT_UI_Template_Status_UI AS _UIStatus ON _UIStatus.TemplateId = TemplateId AND _UIStatus.TemplateVersion = TemplateVersion  -- association [0..1]
LEFT OUTER JOIN P_EIT_Action_Log AS _ActionLogs ON _ActionLogs.TemplateId = TemplateId AND _ActionLogs.TemplateVersion = TemplateVersion  -- association [0..*]
LEFT OUTER JOIN P_EIT_UI_Template_Item AS _TemplateItems ON _TemplateItems.TemplateId = TemplateId AND _TemplateItems.TemplateVersion = TemplateVersion  -- association [0..*]
;