C_Cust360BillingDocReq

DDL: C_CUST360BILLINGDOCREQ Type: view_entity CONSUMPTION

Customer 360 Billing Document Request

C_Cust360BillingDocReq is a Consumption CDS View that provides data about "Customer 360 Billing Document Request" in SAP S/4HANA. It reads from 2 data sources (I_BillingDocumentBasic, I_Customer360BusDocSetting) and exposes 15 fields with key field BillingDocumentRequest.

Data Sources (2)

SourceAliasJoin Type
I_BillingDocumentBasic BillingDocReq from
I_Customer360BusDocSetting Customer360BusDocSetting inner

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Customer 360 Billing Document Request view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #CONSUMPTION view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentRequest I_BillingDocumentBasic BillingDocument SD Document
SoldToParty I_BillingDocumentBasic SoldToParty Sold-to Party
CustomerName
BillingDocumentType I_BillingDocumentBasic BillingDocumentType Billing Type
BillingDocumentTypeName
OverallBillingStatus I_BillingDocumentBasic OverallBillingStatus Status
OverallBillingStatusDesc
BillingDocumentDate I_BillingDocumentBasic BillingDocumentDate Billing Date
CreationDate I_BillingDocumentBasic CreationDate Time Stamp
SalesOrganization I_BillingDocumentBasic SalesOrganization Sales Organization
SalesOrganizationName
TotalNetAmount I_BillingDocumentBasic TotalNetAmount Total Net Amount
TransactionCurrency I_BillingDocumentBasic TransactionCurrency Transaction Currency
CurrencyName
_SoldToParty I_BillingDocumentBasic _SoldToParty

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_Cust360BillingDocReq.
-- 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_Cust360BillingDocReq AS
SELECT
  BillingDocReq.BillingDocument AS BillingDocumentRequest,
  BillingDocReq.SoldToParty AS SoldToParty,
  BillingDocReq._SoldToParty.CustomerName AS CustomerName,
  BillingDocReq.BillingDocumentType AS BillingDocumentType,
  BillingDocReq._BillingDocumentType._Text[1:Language = $session.system_language].BillingDocumentTypeName AS BillingDocumentTypeName,
  BillingDocReq.OverallBillingStatus AS OverallBillingStatus,
  BillingDocReq._OverallBillingStatus._Text[1:Language = $session.system_language].OverallBillingStatusDesc AS OverallBillingStatusDesc,
  BillingDocReq.BillingDocumentDate AS BillingDocumentDate,
  BillingDocReq.CreationDate AS CreationDate,
  BillingDocReq.SalesOrganization AS SalesOrganization,
  BillingDocReq._SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
  BillingDocReq.TotalNetAmount AS TotalNetAmount,
  BillingDocReq.TransactionCurrency AS TransactionCurrency,
  BillingDocReq._TransactionCurrency._Text[1:Language = $session.system_language].CurrencyName AS CurrencyName,
  BillingDocReq._SoldToParty AS _SoldToParty
FROM I_BillingDocumentBasic AS BillingDocReq
INNER JOIN I_Customer360BusDocSetting AS Customer360BusDocSetting ON /* join condition not captured in parsed metadata */
;