I_BillingDocEnhancedFields

DDL: I_BILLINGDOCENHANCEDFIELDS Type: view COMPOSITE

Billing Document Enhanced Fields

I_BillingDocEnhancedFields is a Composite CDS View that provides data about "Billing Document Enhanced Fields" in SAP S/4HANA. It reads from 1 data source (I_BillingDocument) and exposes 6 fields with key field BillingDocument.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocument BillingDocument from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Billing Document Enhanced Fields view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDBILDOCENHFLD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #COMPOSITE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument SD Document
TransactionCurrency I_BillingDocument TransactionCurrency Transaction Currency
TotalGrossAmount
BillToParty _BillToPartner Customer Bill-to Party
_BillToParty _BillToParty
_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 I_BillingDocEnhancedFields.
-- 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 I_BillingDocEnhancedFields AS
SELECT
  BillingDocument.BillingDocument AS BillingDocument,
  BillingDocument.TransactionCurrency AS TransactionCurrency,
  cast( BillingDocument.TotalTaxAmount + BillingDocument.TotalNetAmount as sdci_odata_total_amount ) AS TotalGrossAmount,
  _BillToPartner.Customer AS BillToParty
FROM I_BillingDocument AS BillingDocument
;