I_SlsOrdFlfmtBillingDoc

DDL: I_SLSORDFLFMTBILLINGDOC SQL: ISOFBILLGDOC Type: view COMPOSITE

SOFM Billing Document

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

Data Sources (1)

SourceAliasJoin Type
I_BillingDocument BillingDocument from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label SOFM Billing Document view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISOFBILLGDOC view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument BillingDocument SD Document
BillingDocumentType BillingDocumentType Billing Type
_BillingDocumentType _BillingDocumentType
BillingDocumentDate BillingDocumentDate Billing Date
SalesOrganization SalesOrganization Sales Organization
_SalesOrganization _SalesOrganization
SoldToParty
SoldToPartyName
PayerParty
PayerPartyName
TotalNetAmount TotalNetAmount Total Net Amount
TransactionCurrency TransactionCurrency Transaction Currency
AccountingTransferStatus AccountingTransferStatus
_AccountingTransferStatus _AccountingTransferStatus
AccountingPostingStatus AccountingPostingStatus
BillingDocumentIsCancelled BillingDocumentIsCancelled Canceled
CustomerPaymentTerms CustomerPaymentTerms Pyt Terms
_CustomerPaymentTerms _CustomerPaymentTerms
_TransactionCurrency _TransactionCurrency

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_SlsOrdFlfmtBillingDoc.
-- 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: ISOFBILLGDOC

CREATE VIEW I_SlsOrdFlfmtBillingDoc AS
SELECT
  BillingDocument,
  BillingDocumentType,
  BillingDocumentDate,
  SalesOrganization,
  cast (_SoldToParty.Customer as kunag) AS SoldToParty,
  cast (_SoldToParty.CustomerName as vdm_sold_to_name) AS SoldToPartyName,
  cast (_PayerParty.Customer as kunrg) AS PayerParty,
  cast (_PayerParty.CustomerName as payer_name) AS PayerPartyName,
  TotalNetAmount,
  TransactionCurrency,
  AccountingTransferStatus,
  AccountingPostingStatus,
  BillingDocumentIsCancelled,
  CustomerPaymentTerms
FROM I_BillingDocument AS BillingDocument
;