I_ProjectBillingDocDetails

DDL: I_PROJECTBILLINGDOCDETAILS SQL: IPROJBILLDETAILS Type: view BASIC

Billing Document Details

I_ProjectBillingDocDetails is a Basic CDS View that provides data about "Billing Document Details" in SAP S/4HANA. It reads from 1 data source (I_BillingDocument) and exposes 7 fields with key fields BillingDocument, WBSElementInternalID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocument _BillingDocument inner

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SDDocumentCategoryText _Text $projection.SDDocumentCategory = _Text.SDDocumentCategory and _Text.Language = $session.system_language

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPROJBILLDETAILS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
EndUserText.label Billing Document Details view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument SD Document
KEY WBSElementInternalID WBSElementInternalID WBS Internal ID
TransactionCurrency I_BillingDocument TransactionCurrency Transaction Currency
TotalNetAmount I_BillingDocument TotalNetAmount Total Net Amount
BillingDocumentDate I_BillingDocument BillingDocumentDate Billing Date
SDDocumentCategory I_BillingDocument SDDocumentCategory Document Cat.
SDDocumentCategoryName _Text SDDocumentCategoryName

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_ProjectBillingDocDetails.
-- 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: IPROJBILLDETAILS

CREATE VIEW I_ProjectBillingDocDetails AS
SELECT
  _BillingDocument.BillingDocument AS BillingDocument,
  WBSElementInternalID,
  _BillingDocument.TransactionCurrency AS TransactionCurrency,
  _BillingDocument.TotalNetAmount AS TotalNetAmount,
  _BillingDocument.BillingDocumentDate AS BillingDocumentDate,
  _BillingDocument.SDDocumentCategory AS SDDocumentCategory,
  _Text.SDDocumentCategoryName AS SDDocumentCategoryName
INNER JOIN I_BillingDocument AS _BillingDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SDDocumentCategoryText AS _Text ON SDDocumentCategory = _Text.SDDocumentCategory AND _Text.Language = $session.system_language  -- association [0..*]
;