C_IHBAccountApprovalStartEml

DDL: C_IHBACCOUNTAPPROVALSTARTEML SQL: CIHBARRPEML2 Type: view CONSUMPTION

IHB Account Email Template Provider

C_IHBAccountApprovalStartEml is a Consumption CDS View that provides data about "IHB Account Email Template Provider" in SAP S/4HANA. It reads from 1 data source (I_WorkflowTask) and exposes 17 fields with key field WorkflowTaskInternalID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_WorkflowTask _Workflowtask from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_WorkflowTaskURL _WorkflowTaskURL $projection.WorkflowTaskInternalID = _WorkflowTaskURL.WorkflowTaskInternalID
[0..1] I_IHBBankArea _IHBBankArea $projection.IHBBankArea = _IHBBankArea.IHBBankArea
[0..1] C_IHBAccountActivityVH _IHBAccountActivity $projection.IHBAccountApprovalActivity = _IHBAccountActivity.IHBAccountActivity

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CIHBARRPEML2 view
EndUserText.label IHB Account Email Template Provider view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY WorkflowTaskInternalID I_WorkflowTask WorkflowTaskInternalID Work Item ID
IHBAccountUUID _IHBAccountTP IHBAccountUUID Account ID
IHBAccountApprovalActivity _IHBAccountTP IHBAccountApprovalActivity AcctDualCtrlActiv
IHBAccountActivityText _IHBAccountActivity IHBAccountActivityText
IHBBankArea _IHBAccountTP IHBBankArea Bank Area
IHBBankKey _IHBBankArea IHBBankKey IHB Bank Key
IHBBankAreaCountry _IHBBankArea IHBBankAreaCountry Bank Ctry/Rgn. Key
IHBAccountNumber _IHBAccountTP IHBAccountNumber Account Number
IHBAccountCurrency _IHBAccountTP IHBAccountCurrency Currency
IHBAccountHolder _IHBAccountTP IHBAccountHolder Busn. Partner
IHBAccountAliasName _IHBAccountTP IHBAccountAliasName Alias
IHBAccountGroupName _IHBAccountTP IHBAccountGroupName Account Group
IHBAccountChangedByUser _IHBAccountTP IHBAccountChangedByUser Changed by
IHBAccountChangedByUserText
IHBAccountChangedDate
IHBAccountChangedTime
WorkflowTaskURL _WorkflowTaskURL WorkflowTaskURL

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 C_IHBAccountApprovalStartEml.
-- 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: CIHBARRPEML2

CREATE VIEW C_IHBAccountApprovalStartEml AS
SELECT
  _Workflowtask.WorkflowTaskInternalID AS WorkflowTaskInternalID,
  _IHBAccountTP.IHBAccountUUID AS IHBAccountUUID,
  _IHBAccountTP.IHBAccountApprovalActivity AS IHBAccountApprovalActivity,
  _IHBAccountActivity.IHBAccountActivityText AS IHBAccountActivityText,
  _IHBAccountTP.IHBBankArea AS IHBBankArea,
  _IHBBankArea.IHBBankKey AS IHBBankKey,
  _IHBBankArea.IHBBankAreaCountry AS IHBBankAreaCountry,
  _IHBAccountTP.IHBAccountNumber AS IHBAccountNumber,
  _IHBAccountTP.IHBAccountCurrency AS IHBAccountCurrency,
  _IHBAccountTP.IHBAccountHolder AS IHBAccountHolder,
  _IHBAccountTP.IHBAccountAliasName AS IHBAccountAliasName,
  _IHBAccountTP.IHBAccountGroupName AS IHBAccountGroupName,
  _IHBAccountTP.IHBAccountChangedByUser AS IHBAccountChangedByUser,
  _IHBAccountTP._ChangedBy.UserDescription AS IHBAccountChangedByUserText,
  cast(tstmp_to_dats( _IHBAccountTP.IHBAccountChangedDateTime, 'UTC', $session.client, 'NULL' ) as sww_lsd ) AS IHBAccountChangedDate,
  cast(tstmp_to_tims( _IHBAccountTP.IHBAccountChangedDateTime, 'UTC', $session.client, 'NULL' ) as sww_lst ) AS IHBAccountChangedTime,
  _WorkflowTaskURL.WorkflowTaskURL AS WorkflowTaskURL
FROM I_WorkflowTask AS _Workflowtask
LEFT OUTER JOIN I_WorkflowTaskURL AS _WorkflowTaskURL ON WorkflowTaskInternalID = _WorkflowTaskURL.WorkflowTaskInternalID  -- association [0..1]
LEFT OUTER JOIN I_IHBBankArea AS _IHBBankArea ON IHBBankArea = _IHBBankArea.IHBBankArea  -- association [0..1]
LEFT OUTER JOIN C_IHBAccountActivityVH AS _IHBAccountActivity ON IHBAccountApprovalActivity = _IHBAccountActivity.IHBAccountActivity  -- association [0..1]
;