I_BankAcctReqEmailTemplate

DDL: I_BANKACCTREQEMAILTEMPLATE SQL: IBAMREQEMAIL Type: view COMPOSITE

Email Template for BAM Change request

I_BankAcctReqEmailTemplate is a Composite CDS View that provides data about "Email Template for BAM Change request" in SAP S/4HANA. It reads from 1 data source (I_BankAcctChangeRequest) and exposes 18 fields with key field BankAccountChangeRequest. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BankAcctChangeRequest BankAcctCR from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_UserContactCard _Contact $projection.CreatedByUser = _Contact.ContactCardID
[0..1] I_UserContactCard _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.ContactCardID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IBAMREQEMAIL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Email Template for BAM Change request view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY BankAccountChangeRequest BankAccountChangeRequest Request unique ID
BankAccountAction BankAccountAction Action
BankAccountActionText BankAccountActionText
BankAccountChangeRequestStatus BankAccountChangeRequestStatus Trade Req. Status
BankAccountChangeRequestStep BankAccountChangeRequestStep Request Step
BankAccountReqStatusText BankAccountReqStatusText
BankAcctChangeReqHeadingText BankAcctChangeReqHeadingText View Title
BankAcctChangeRequestDueDate BankAcctChangeRequestDueDate Promised For
CreatedByUser CreatedByUser User Name
CreatedByUserFullName _Contact FullName Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangedByUserFullName _LastChangedByUser FullName Name
BankCountry
Bank
BankAccountNumber
BankAccountCurrency
BankAccountURL

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 I_BankAcctReqEmailTemplate.
-- 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: IBAMREQEMAIL

CREATE VIEW I_BankAcctReqEmailTemplate AS
SELECT
  BankAccountChangeRequest,
  BankAccountAction,
  BankAccountActionText,
  BankAccountChangeRequestStatus,
  BankAccountChangeRequestStep,
  BankAccountReqStatusText,
  BankAcctChangeReqHeadingText,
  BankAcctChangeRequestDueDate,
  CreatedByUser,
  _Contact.FullName AS CreatedByUserFullName,
  CreationDate,
  LastChangedByUser,
  _LastChangedByUser.FullName AS LastChangedByUserFullName,
  cast (' ' as fclm_bam_bank_country_key ) AS BankCountry,
  cast (' ' as fclm_bam_bank_key ) AS Bank,
  cast (' ' as fclm_bam_acc_num ) AS BankAccountNumber,
  cast (' ' as waers_curc ) AS BankAccountCurrency,
  cast( ' ' as fclm_bam_acc_url) AS BankAccountURL
FROM I_BankAcctChangeRequest AS BankAcctCR
LEFT OUTER JOIN I_UserContactCard AS _Contact ON CreatedByUser = _Contact.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.ContactCardID  -- association [0..1]
;