C_DspDocFlwBillgDocRequestVH

DDL: C_DSPDOCFLWBILLGDOCREQUESTVH Type: view_entity CONSUMPTION

Billing Document Request

C_DspDocFlwBillgDocRequestVH is a Consumption CDS View that provides data about "Billing Document Request" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentRequest) and exposes 20 fields with key field BillingDocumentRequest.

Data Sources (1)

SourceAliasJoin Type
I_BillingDocumentRequest I_BillingDocumentRequest from

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey BillingDocumentRequest view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
EndUserText.label Billing Document Request view
Search.searchable true view
Consumption.ranked true view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentRequest I_BillingDocumentRequest BillingDocumentRequest
BillingDocumentTypeName
CompanyCode I_BillingDocumentRequest CompanyCode Receiver Company Code
SoldToParty I_BillingDocumentRequest SoldToParty Sold-to Party
CustomerName
PayerParty I_BillingDocumentRequest PayerParty Payer
BillingDocumentDate I_BillingDocumentRequest BillingDocumentDate Billing Date
AnchorDocument
ReferenceDocumentType
BillingDocumentRequestType I_BillingDocumentRequest BillingDocumentRequestType
SalesOrganization I_BillingDocumentRequest SalesOrganization Sales Organization
AuthorizationGroup
CustomerAccountGroup
IsBusinessPurposeCompleted
_BDR _BDR
_CompanyCode _CompanyCode
_SoldToParty _SoldToParty
_SalesOrganization _SalesOrganization
_BillingDocumentRequestType _BillingDocumentRequestType
_PayerParty _PayerParty

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 C_DspDocFlwBillgDocRequestVH.
-- 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 C_DspDocFlwBillgDocRequestVH AS
SELECT
  I_BillingDocumentRequest.BillingDocumentRequest AS BillingDocumentRequest,
  I_BillingDocumentRequest._BillingDocumentRequestType._Text[1:Language = $session.system_language].BillingDocumentTypeName AS BillingDocumentTypeName,
  I_BillingDocumentRequest.CompanyCode AS CompanyCode,
  I_BillingDocumentRequest.SoldToParty AS SoldToParty,
  I_BillingDocumentRequest._SoldToParty.CustomerName AS CustomerName,
  I_BillingDocumentRequest.PayerParty AS PayerParty,
  I_BillingDocumentRequest.BillingDocumentDate AS BillingDocumentDate,
  cast( I_BillingDocumentRequest.BillingDocumentRequest as fac_ddf_anchor_document ) AS AnchorDocument,
  cast( 'EBDR' as fis_awtyp ) AS ReferenceDocumentType,
  I_BillingDocumentRequest.BillingDocumentRequestType AS BillingDocumentRequestType,
  I_BillingDocumentRequest.SalesOrganization AS SalesOrganization,
  I_BillingDocumentRequest._SoldToParty.AuthorizationGroup AS AuthorizationGroup,
  I_BillingDocumentRequest._SoldToParty.CustomerAccountGroup AS CustomerAccountGroup,
  I_BillingDocumentRequest._SoldToParty.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM I_BillingDocumentRequest
;