I_IntercompanyEmailTmpl

DDL: I_INTERCOMPANYEMAILTMPL SQL: ICAICOETMPL Type: view BASIC Package: FIN_ICA_MATCH

ICA Intercompany Email Template

I_IntercompanyEmailTmpl (Basic)

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

Group Reporting

I_IntercompanyEmailTmpl is a Basic CDS View that provides data about "ICA Intercompany Email Template" in SAP S/4HANA. It reads from 1 data source (icadocm) and exposes 18 fields with key fields MatchingMethodID, MatchingDocument, MatchingDocumentItem. It has 2 associations to related views. Part of development package FIN_ICA_MATCH.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessGroup Reporting
Application ComponentFIN-CS-ICR-2CL
CapabilitiesOutput: Email Data Provider
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageGroup Reporting for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
icadocm docm from

Associations (2)

CardinalityTargetAliasCondition
[1] I_Globalcompany _Company docm.rcomp = _Company.Company
[1] I_Globalcompany _PartnerCompany docm.rassc = _PartnerCompany.Company

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICAICOETMPL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label ICA Intercompany Email Template view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY MatchingMethodID icadocm method_id Matching Method ID
KEY MatchingDocument icadocm docnr Matching Document Number
KEY MatchingDocumentItem icadocm docln Matching Document Line Item Number
Company icadocm rcomp Trading Partner
TradingPartner icadocm rassc Company ID of Trading Partner
MatchingAssignmentNumber icadocm grref Assignment Number
MatchingMethodDesc mtxt descm Medium Length Description
MatchingRuleID icadocm rule_id Matching Rule ID
MatchingRuleDesc rtxt descm Medium Length Description
MatchingReasonCode assign rcode Reason Code
MatchingReasonCodeDesc rctxt descm Medium Length Description
FiscalYearPeriod Fiscal Year + Fiscal Period
ReconciliationCaseID rc recon_case_id Reconciliation Case ID
ReconciliationCaseDesc rct descm Medium Length Description
LoggedInUser user bname User Name in User Master Record
UserDescription adress name_text Full Name of Person
_Company _Company
_PartnerCompany _PartnerCompany

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_IntercompanyEmailTmpl.
-- 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: ICAICOETMPL

CREATE VIEW I_IntercompanyEmailTmpl AS
SELECT
  docm.method_id AS MatchingMethodID,
  docm.docnr AS MatchingDocument,
  docm.docln AS MatchingDocumentItem,
  docm.rcomp AS Company,
  docm.rassc AS TradingPartner,
  docm.grref AS MatchingAssignmentNumber,
  mtxt.descm AS MatchingMethodDesc,
  docm.rule_id AS MatchingRuleID,
  rtxt.descm AS MatchingRuleDesc,
  assign.rcode AS MatchingReasonCode,
  rctxt.descm AS MatchingReasonCodeDesc,
  cast( coalesce( genj_ffd.fiscal_year_period, cons_ffd.fiscal_year_period ) as fins_fyearperiod preserving type ) AS FiscalYearPeriod,
  rc.recon_case_id AS ReconciliationCaseID,
  rct.descm AS ReconciliationCaseDesc,
  user.bname AS LoggedInUser,
  adress.name_text AS UserDescription
FROM icadocm AS docm
LEFT OUTER JOIN I_Globalcompany AS _Company ON docm.rcomp = _Company.Company  -- association [1]
LEFT OUTER JOIN I_Globalcompany AS _PartnerCompany ON docm.rassc = _PartnerCompany.Company  -- association [1]
;