P_PL_SAFTBillingDocumentBasic

DDL: P_PL_SAFTBILLINGDOCUMENTBASIC SQL: PPLSAFTBILLDOCB Type: view COMPOSITE

P_PL_SAFTBillingDocumentBasic is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_BillingDocument, I_PL_SAFTBillingDocTypeMap) and exposes 6 fields with key field BillingDocument.

Data Sources (2)

SourceAliasJoin Type
I_BillingDocument a from
I_PL_SAFTBillingDocTypeMap BillingDocTypeMap inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PPLSAFTBILLDOCB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument SD Document
BillingDocumentCategory I_BillingDocument BillingDocumentCategory BillingCategory
BillingDocumentType I_BillingDocument BillingDocumentType Billing Type
BillingDocumentDate I_BillingDocument BillingDocumentDate Billing Date
CancelledBillingDocument I_BillingDocument CancelledBillingDocument Canceld Bill.Dc
SDDocumentCategory I_BillingDocument SDDocumentCategory Document Cat.

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 P_PL_SAFTBillingDocumentBasic.
-- 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: PPLSAFTBILLDOCB

CREATE VIEW P_PL_SAFTBillingDocumentBasic AS
SELECT
  a.BillingDocument AS BillingDocument,
  a.BillingDocumentCategory AS BillingDocumentCategory,
  a.BillingDocumentType AS BillingDocumentType,
  a.BillingDocumentDate AS BillingDocumentDate,
  a.CancelledBillingDocument AS CancelledBillingDocument,
  a.SDDocumentCategory AS SDDocumentCategory
FROM I_BillingDocument AS a
INNER JOIN I_PL_SAFTBillingDocTypeMap AS BillingDocTypeMap ON /* join condition not captured in parsed metadata */
;