I_SDDocumentProcessFlowVH

DDL: I_SDDOCUMENTPROCESSFLOWVH SQL: ISDDOCPROCFLOWVH Type: view COMPOSITE

Billing Document based on Delivery Doc

I_SDDocumentProcessFlowVH is a Composite CDS View that provides data about "Billing Document based on Delivery Doc" in SAP S/4HANA. It reads from 1 data source (I_BillingDocument) and exposes 18 fields with key fields PrecedingDocument, BillingDocument.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocument BillingDocument inner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ISDDOCPROCFLOWVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Billing Document based on Delivery Doc view
Search.searchable true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.dataCategory #VALUE_HELP view
Consumption.ranked true view
ObjectModel.representativeKey BillingDocument view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY PrecedingDocument DocumentFlow PrecedingDocument SD Document
KEY BillingDocument I_BillingDocument BillingDocument SD Document
SalesOrder SalesOrder PrecedingDocument SD Document
RU_ContractDocument Contract PrecedingDocument SD Document
CompanyCode I_BillingDocument CompanyCode Receiver Company Code
BillingDocumentType I_BillingDocument BillingDocumentType Billing Type
BillingDocumentTypeName
SoldToParty I_BillingDocument SoldToParty Sold-to Party
CustomerName _SoldToParty CustomerName Name of Customer
PayerParty PayerParty Payer
BillingDocumentDate BillingDocumentDate Billing Date
CreationDate I_BillingDocument CreationDate Time Stamp
SalesOrganization I_BillingDocument SalesOrganization Sales Organization
AnchorDocument
AuthorizationGroup _SoldToParty AuthorizationGroup AuthorizGroup
CustomerAccountGroup _SoldToParty CustomerAccountGroup Account group
IsBusinessPurposeCompleted _SoldToParty IsBusinessPurposeCompleted Purpose Completed
_Item _Item

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_SDDocumentProcessFlowVH.
-- 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: ISDDOCPROCFLOWVH

CREATE VIEW I_SDDocumentProcessFlowVH AS
SELECT
  DocumentFlow.PrecedingDocument AS PrecedingDocument,
  BillingDocument.BillingDocument AS BillingDocument,
  SalesOrder.PrecedingDocument AS SalesOrder,
  Contract.PrecedingDocument AS RU_ContractDocument,
  BillingDocument.CompanyCode AS CompanyCode,
  BillingDocument.BillingDocumentType AS BillingDocumentType,
  _BillingDocumentType._Text[1:Language = $session.system_language].BillingDocumentTypeName AS BillingDocumentTypeName,
  BillingDocument.SoldToParty AS SoldToParty,
  _SoldToParty.CustomerName AS CustomerName,
  PayerParty,
  BillingDocumentDate,
  BillingDocument.CreationDate AS CreationDate,
  BillingDocument.SalesOrganization AS SalesOrganization,
  cast( BillingDocument.BillingDocument as fac_ddf_anchor_document ) AS AnchorDocument,
  _SoldToParty.AuthorizationGroup AS AuthorizationGroup,
  _SoldToParty.CustomerAccountGroup AS CustomerAccountGroup,
  _SoldToParty.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
INNER JOIN I_BillingDocument AS BillingDocument ON /* join condition not captured in parsed metadata */
;