C_DebitMemoReqWrkflwEmlTmpl

DDL: C_DEBITMEMOREQWRKFLWEMLTMPL SQL: CSDDMRWFEMLTMPL Type: view CONSUMPTION

Email Template for Debit Memo Req Wrkflw

C_DebitMemoReqWrkflwEmlTmpl is a Consumption CDS View that provides data about "Email Template for Debit Memo Req Wrkflw" in SAP S/4HANA. It reads from 1 data source (I_WorkflowTask) and exposes 20 fields with key field WorkflowTaskInternalID.

Data Sources (1)

SourceAliasJoin Type
I_WorkflowTask Workflowtask from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CSDDMRWFEMLTMPL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Email Template for Debit Memo Req Wrkflw 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

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY WorkflowTaskInternalID I_WorkflowTask WorkflowTaskInternalID Work Item ID
DebitMemoRequest DebitMemoRequest DebitMemoRequest
SalesOrganizationName
SalesOrganization DebitMemoRequest SalesOrganization Sales Organization
DistributionChannelName
DistributionChannel DebitMemoRequest DistributionChannel RefDistCh-Cust/Mat.
DivisionName
OrganizationDivision DebitMemoRequest OrganizationDivision Org. Division
DebitMemoRequestTypeName
DebitMemoRequestType DebitMemoRequest DebitMemoRequestType
DebitMemoRequestDate DebitMemoRequest DebitMemoRequestDate
SDDocumentReasonText
SDDocumentReason DebitMemoRequest SDDocumentReason Order Reason
CustomerName _SoldToParty CustomerName Name of Customer
SoldToParty DebitMemoRequest SoldToParty Sold-to Party
TransactionCurrency DebitMemoRequest TransactionCurrency Transaction Currency
TotalNetAmount DebitMemoRequest TotalNetAmount Total Net Amount
WorkflowTaskPriority I_WorkflowTask WorkflowTaskPriority Priority
WorkflowTaskStatus I_WorkflowTask WorkflowTaskStatus Status
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_DebitMemoReqWrkflwEmlTmpl.
-- 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: CSDDMRWFEMLTMPL

CREATE VIEW C_DebitMemoReqWrkflwEmlTmpl AS
SELECT
  Workflowtask.WorkflowTaskInternalID AS WorkflowTaskInternalID,
  DebitMemoRequest.DebitMemoRequest AS DebitMemoRequest,
  _SalesOrganization._Text[1: Language=$session.system_language ].SalesOrganizationName AS SalesOrganizationName,
  DebitMemoRequest.SalesOrganization AS SalesOrganization,
  _DistributionChannel._Text[1: Language=$session.system_language ].DistributionChannelName AS DistributionChannelName,
  DebitMemoRequest.DistributionChannel AS DistributionChannel,
  _OrganizationDivision._Text[1: Language=$session.system_language ].DivisionName AS DivisionName,
  DebitMemoRequest.OrganizationDivision AS OrganizationDivision,
  cast(_DebitMemoRequestType._Text[1:Language=$session.system_language].SalesDocumentTypeName as sd_debit_memo_req_type_name preserving type) AS DebitMemoRequestTypeName,
  DebitMemoRequest.DebitMemoRequestType AS DebitMemoRequestType,
  DebitMemoRequest.DebitMemoRequestDate AS DebitMemoRequestDate,
  _SDDocumentReason._Text[1:Language=$session.system_language].SDDocumentReasonText AS SDDocumentReasonText,
  DebitMemoRequest.SDDocumentReason AS SDDocumentReason,
  _SoldToParty.CustomerName AS CustomerName,
  DebitMemoRequest.SoldToParty AS SoldToParty,
  DebitMemoRequest.TransactionCurrency AS TransactionCurrency,
  DebitMemoRequest.TotalNetAmount AS TotalNetAmount,
  Workflowtask.WorkflowTaskPriority AS WorkflowTaskPriority,
  Workflowtask.WorkflowTaskStatus AS WorkflowTaskStatus,
  _WorkflowTaskURL.WorkflowTaskURL AS WorkflowTaskURL
FROM I_WorkflowTask AS Workflowtask
;