A_BillingDocumentText

DDL: A_BILLINGDOCUMENTTEXT Type: view COMPOSITE

Header Text

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

Data Sources (2)

SourceAliasJoin Type
I_BillingDocument BillingDocument inner
P_BillingDocumentText P_BillingDocumentText from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_BillingDocument _BillingDocument _BillingDocument.BillingDocument = $projection.BillingDocument

Annotations (15)

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 ASDBILTEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument SD Document
KEY Language Language Report Text Language
KEY LongTextID LongTextID Text ID
LongText LongText Text Name
BillingDocumentType I_BillingDocument BillingDocumentType Billing Type
SalesOrganization I_BillingDocument SalesOrganization Sales Organization
DistributionChannel I_BillingDocument DistributionChannel RefDistCh-Cust/Mat.
_BillingDocument _BillingDocument

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_BillingDocumentText.
-- 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_BillingDocumentText AS
SELECT
  BillingDocument.BillingDocument AS BillingDocument,
  Language,
  LongTextID,
  LongText,
  BillingDocument.BillingDocumentType AS BillingDocumentType,
  BillingDocument.SalesOrganization AS SalesOrganization,
  BillingDocument.DistributionChannel AS DistributionChannel
FROM P_BillingDocumentText
INNER JOIN I_BillingDocument AS BillingDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_BillingDocument AS _BillingDocument ON _BillingDocument.BillingDocument = BillingDocument  -- association [1..1]
;