C_BalanceConfirmationEmailTmpl

DDL: C_BALANCECONFIRMATIONEMAILTMPL SQL: CBLNCCNFRMEMAILT Type: view CONSUMPTION Package: FINS_OUTPUT_MGMT_FO_BLNC_CNFRM

Email Template for Balance Confirmation

C_BalanceConfirmationEmailTmpl (Consumption)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Financial Operations

C_BalanceConfirmationEmailTmpl is a Consumption CDS View that provides data about "Email Template for Balance Confirmation" in SAP S/4HANA. It reads from 3 data sources (R_BalanceConfirmationEmailTmpl, I_EmlTmplCustSuplrCompanyCode, I_OutputRequestItem) and exposes 13 fields with key field OutputRequestItemUUID. It has 1 association to related views. Part of development package FINS_OUTPUT_MGMT_FO_BLNC_CNFRM.

SAP Help Documentation

CategoryCDS Views for Receivables Management
Purpose
This CDS view helps in the context of output management to retrieve e-mail template relevant information for sending balance confirmation letters and checklist as attachment. The fields included in the view can be used as placeholders, to make an email text more specific. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations The following business catalog needs to be assigned to a user to be able to use this CDS view: SAP_FIN_BC_APAR_CORR_PC

Structure
Fields Used for Filtering The main filter is as follows: CompanyCode : This field is used to specify the company code. Further Important Fields Important fields in this view include the following: Field Name Description Account Recipient ID CompanyCode Output Management: Organization ID FinancialAccountType Financial Account Type BalanceConfirmationID Application Object ID

View on SAP Help Portal →

SAP API Hub

CategoryConsumption
StateC1
Line of BusinessFinancial Operations
Application ComponentFI-AR-AR-G-2CL
CapabilitiesData Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageFinancial Operations for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view helps in the context of output management to retrieve e-mail template relevant information for sending balance confirmation letters and checklist as attachment. The fields included in the view can be used as placeholders, to make an email text more specific.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (3)

SourceAliasJoin Type
R_BalanceConfirmationEmailTmpl _BalanceConfirmation inner
I_EmlTmplCustSuplrCompanyCode _EmlTmpl inner
I_OutputRequestItem _ORItem from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_EmlTmplCustSuplrCompanyCode _EmailTmpl $projection.Account = _EmailTmpl.Account and $projection.CompanyCode = _EmailTmpl.CompanyCode and $projection.FinancialAccountType = _EmailTmpl.FinancialAccountType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CBLNCCNFRMEMAILT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Email Template for Balance Confirmation view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY OutputRequestItemUUID OutputRequestItemUUID NodeID
Account Recipient Recipient ID
CompanyCode SenderOrganizationalCenter Output Management: Organization ID
FinancialAccountType Financial Account Type
BalanceConfirmationID OutputControlApplicationObject Application Object ID
Name I_EmlTmplCustSuplrCompanyCode Name Name of Customer
FullName I_EmlTmplCustSuplrCompanyCode FullName Customer Full Name
CompanyCodeName I_EmlTmplCustSuplrCompanyCode CompanyCodeName Name of Company Code or Company
ReferenceAccountGroup I_EmlTmplCustSuplrCompanyCode ReferenceAccountGroup Customer Account Group
KeyDate R_BalanceConfirmationEmailTmpl KeyDate Balance Reconciliation Key Date
IssueDate R_BalanceConfirmationEmailTmpl IssueDate Issue Date of the Balance Confirmations
ReplyUntilDate R_BalanceConfirmationEmailTmpl ReplyUntilDate Latest Date up Until Which a Reply Should Take Place
_EmailTmpl _EmailTmpl

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_BalanceConfirmationEmailTmpl.
-- 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: CBLNCCNFRMEMAILT

CREATE VIEW C_BalanceConfirmationEmailTmpl AS
SELECT
  OutputRequestItemUUID,
  Recipient AS Account,
  SenderOrganizationalCenter AS CompanyCode,
  cast (RecipientRole as fis_koart) AS FinancialAccountType,
  OutputControlApplicationObject AS BalanceConfirmationID,
  _EmlTmpl.Name AS Name,
  _EmlTmpl.FullName AS FullName,
  _EmlTmpl.CompanyCodeName AS CompanyCodeName,
  _EmlTmpl.ReferenceAccountGroup AS ReferenceAccountGroup,
  _BalanceConfirmation.KeyDate AS KeyDate,
  _BalanceConfirmation.IssueDate AS IssueDate,
  _BalanceConfirmation.ReplyUntilDate AS ReplyUntilDate
FROM I_OutputRequestItem AS _ORItem
INNER JOIN I_EmlTmplCustSuplrCompanyCode AS _EmlTmpl ON /* join condition not captured in parsed metadata */
INNER JOIN R_BalanceConfirmationEmailTmpl AS _BalanceConfirmation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EmlTmplCustSuplrCompanyCode AS _EmailTmpl ON Account = _EmailTmpl.Account AND CompanyCode = _EmailTmpl.CompanyCode AND FinancialAccountType = _EmailTmpl.FinancialAccountType  -- association [0..1]
;