A_DebitMemoReqText

DDL: A_DEBITMEMOREQTEXT Type: view COMPOSITE

Header Text

A_DebitMemoReqText is a Composite CDS View that provides data about "Header Text" in SAP S/4HANA. It reads from 2 data sources (I_SalesDocumentBasic, P_SalesDocumentText) and exposes 9 fields with key fields DebitMemoRequest, Language, LongTextID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SalesDocumentBasic DebitMemoRequest inner
P_SalesDocumentText P_SalesDocumentText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_DebitMemoRequest _DebitMemoRequest _DebitMemoRequest.DebitMemoRequest = $projection.DebitMemoRequest

Annotations (14)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Header Text view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.sqlViewName ADMRTEXT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY DebitMemoRequest
KEY Language Language Report Text Language
KEY LongTextID LongTextID Text ID
LongText LongText Text Name
DebitMemoRequestType I_SalesDocumentBasic SalesDocumentType Sales Doc. Type
OrganizationDivision I_SalesDocumentBasic OrganizationDivision Org. Division
SalesOrganization I_SalesDocumentBasic SalesOrganization Sales Organization
DistributionChannel I_SalesDocumentBasic DistributionChannel RefDistCh-Cust/Mat.
_DebitMemoRequest _DebitMemoRequest

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 A_DebitMemoReqText.
-- 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.

CREATE VIEW A_DebitMemoReqText AS
SELECT
  cast(DebitMemoReqText.SalesDocument as debit_memo_request preserving type) AS DebitMemoRequest,
  Language,
  LongTextID,
  LongText,
  DebitMemoRequest.SalesDocumentType AS DebitMemoRequestType,
  DebitMemoRequest.OrganizationDivision AS OrganizationDivision,
  DebitMemoRequest.SalesOrganization AS SalesOrganization,
  DebitMemoRequest.DistributionChannel AS DistributionChannel
FROM P_SalesDocumentText
INNER JOIN I_SalesDocumentBasic AS DebitMemoRequest ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_DebitMemoRequest AS _DebitMemoRequest ON _DebitMemoRequest.DebitMemoRequest = DebitMemoRequest  -- association [1..1]
;