I_BillingDocumentRequest
Billing Document Request
I_BillingDocumentRequest (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Billing Document Request · Sales
I_BillingDocumentRequest is a Basic CDS View (Dimension) that provides data about "Billing Document Request" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentBasic) and exposes 113 fields with key field BillingDocumentRequest. It has 4 associations to related views.
SAP Help Documentation
| Category | Billing Document Requests |
|---|---|
| Data Category | Dimension |
This CDS view enables consumers to retrieve header-level data from billing document requests. For more information about billing document requests, see Billing Document Requests . This CDS view provides the prerequisites for answering the following business questions: What is the net amount of a given billing document request? What was the total tax value of all billing document requests last year? What is the preceding document of a given billing document request? Who is entered as the payer of a given billing document request? How many billing documents were rejected last year?
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: V_VBRK_FKA (Billing: Authorization for Billing Types) V_VBRK_VKO (Billing: Authorization for Sales Organizations)
Structure
Object types This view relates to the following SAP object types: BillingDocumentRequest Measures and attributes Some important measures and attributes are: Net value in document currency ( TotalNetAmount ) Billing document request status ( OverallBillingDocReqStatus ) Billing date ( BillingDocumentDate ) Billing document request type ( BillingDocumentRequestType ) Proposed billing document type ( ProposedBillingDocumentType ) Company code ( CompanyCode ) Sales organization ( SalesOrganization ) Sold-to party ( SoldToParty ) Payer ( PayerParty ) Billing document request currency ( TransactionCurrency )
Data Extraction
Data Extraction Type Full Delta (change data capture)
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | SD-BIL-BDR |
| Capabilities | Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source in SQL Select |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view enables consumers to retrieve header-level data from billing document requests. For more information about billing document requests, see Billing Document Requests.</p> This CDS view provides the prerequisites for answering the following business questions:<ul> <li><p>What is the net amount of a given billing document request?</p></li> <li><p>What was the total tax value of all billing document requests last year?</p></li> <li><p>What is the preceding document of a given billing document request?</p></li> <li><p>Who is entered as the payer of a given billing document request?</p></li> <li><p>How many billing documents were rejected last year?</p></li> </ul> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentBasic | I_BillingDocumentBasic | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_BillingDocumentRequestItem | _Item | $projection.BillingDocumentRequest = _Item.BillingDocumentRequest |
| [1..*] | I_BillingDocReqPartner | _Partner | $projection.BillingDocumentRequest = _Partner.BillingDocumentRequest |
| [0..*] | I_BillingDocReqPrcgElmnt | _PricingElement | $projection.BillingDocumentRequest = _PricingElement.BillingDocumentRequest |
| [0..1] | E_BillingDocument | _Extension | $projection.BillingDocumentRequest = _Extension.BillingDocument |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | BillingDocumentRequest | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | ISDBILDOCREQ | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Billing Document Request | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (113)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentRequest | Billing Document Request | ||
| SDDocumentCategory | SDDocumentCategory | SD Document Category | ||
| BillingDocumentRequestType | Billing Document Request Type | |||
| ProposedBillingDocumentType | Proposed Billing Document Type | |||
| CreatedByUser | CreatedByUser | Name of Person Responsible for Creating the Object | ||
| CreationDate | CreationDate | Record Created On | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Last Changed On | ||
| LastChangeDateTime | LastChangeDateTime | UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) | ||
| LogicalSystem | LogicalSystem | Logical System | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | Distribution Channel | ||
| Division | Division | Internal Division ID | ||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| BillgDocReqCombinationCriteria | Combination Criteria for Billing Document Request | |||
| TotalNetAmount | TotalNetAmount | Net Value in Document Currency | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TotalTaxAmount | TotalTaxAmount | Tax Amount in Document Currency | ||
| CustomerPriceGroup | CustomerPriceGroup | Customer Price Group | ||
| PriceListType | PriceListType | Price List Type | ||
| TaxDepartureCountry | TaxDepartureCountry | Tax Departure Country/Region | ||
| VATRegistration | VATRegistration | VAT Registration Number | ||
| VATRegistrationOrigin | VATRegistrationOrigin | Origin of Sales Tax Number | ||
| VATRegistrationCountry | VATRegistrationCountry | Country/Region of Sales Tax ID Number | ||
| CustomerTaxClassification1 | CustomerTaxClassification1 | Tax Classification 1 for Customer | ||
| CustomerTaxClassification2 | CustomerTaxClassification2 | Tax Classification 2 for Customer | ||
| CustomerTaxClassification3 | CustomerTaxClassification3 | Tax Classification 3 for Customer | ||
| CustomerTaxClassification4 | CustomerTaxClassification4 | Tax Classification 4 for Customer | ||
| CustomerTaxClassification5 | CustomerTaxClassification5 | Tax Classification 5 for Customer | ||
| CustomerTaxClassification6 | CustomerTaxClassification6 | Tax Classification 6 for Customer | ||
| CustomerTaxClassification7 | CustomerTaxClassification7 | Tax Classification 7 for Customer | ||
| CustomerTaxClassification8 | CustomerTaxClassification8 | Tax Classification 8 for Customer | ||
| CustomerTaxClassification9 | CustomerTaxClassification9 | Tax Classification 9 for Customer | ||
| SDPricingProcedure | SDPricingProcedure | Pricing Procedure in Pricing | ||
| IncotermsVersion | IncotermsVersion | Incoterms Version | ||
| IncotermsClassification | IncotermsClassification | Incoterms (Part 1) | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms (Part 2) | ||
| IncotermsLocation1 | IncotermsLocation1 | Incoterms Location 1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Incoterms Location 2 | ||
| PayerParty | PayerParty | Payer | ||
| ContractAccount | ContractAccount | Contract Account Number | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Terms of Payment Key | ||
| PaymentMethod | PaymentMethod | Payment Method | ||
| FixedValueDate | FixedValueDate | Fixed Value Date | ||
| AdditionalValueDays | AdditionalValueDays | Additional Value Days | ||
| SEPAMandate | SEPAMandate | Unique Reference to Mandate for each Payee | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CustomerAccountAssignmentGroup | CustomerAccountAssignmentGroup | Account Assignment Group for Customer | ||
| ExchangeRateDate | ExchangeRateDate | Translation Date | ||
| ExchangeRateType | ExchangeRateType | Exchange Rate Type | ||
| DocumentReferenceID | DocumentReferenceID | Reference Document Number | ||
| DunningArea | DunningArea | Dunning Area | ||
| DunningBlockingReason | DunningBlockingReason | Set Dunning Block | ||
| DunningKey | DunningKey | Dunning Key | ||
| ReferenceDocument | Source document of data contained in billing doc. request | |||
| ReferenceDocumentLogicalSystem | Source system of the data contained in the billing doc. req. | |||
| ReferenceDocSDDocCategory | Source Document Category | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| Country | Country | Destination Country/Region | ||
| CityCode | CityCode | IATA: City | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| Region | Region | Region (State, Province, County) | ||
| County | County | Wyoming County | ||
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| PricingDocument | PricingDocument | Number of the Document Condition | ||
| OverallBillingDocReqStatus | OverallBillingDocReqStatus | Billing Document Request Status | ||
| BillingIssueType | BillingIssueType | Billing Issue Type | ||
| OverallPricingIncompletionSts | OverallPricingIncompletionSts | Pricing Incompletion Status (All Items) | ||
| _Item | _Item | |||
| _Partner | _Partner | |||
| _PricingElement | _PricingElement | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _ReferenceDocSDDocCategory | _BillgDocReqRefSDDocCategory | |||
| _BillingDocumentRequestType | _BillingDocumentType | |||
| _ProposedBillingDocumentType | _ProposedBillingDocumentType | |||
| _CreatedByUser | _CreatedByUser | |||
| _LogicalSystem | _LogicalSystem | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _PriceListType | _PriceListType | |||
| _TaxDepartureCountry | _TaxDepartureCountry | |||
| _VATRegistrationOrigin | _VATRegistrationOrigin | |||
| _VATRegistrationCountry | _VATRegistrationCountry | |||
| _SDPricingProcedure | _SDPricingProcedure | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _PayerParty | _PayerParty | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _PaymentMethod | _PaymentMethod | |||
| _CompanyCode | _CompanyCode | |||
| _CustomerAccountAssgmtGroup | _CustomerAccountAssgmtGroup | |||
| _ExchangeRateType | _ExchangeRateType | |||
| _DunningArea | _DunningArea | |||
| _DunningBlockingReason | _DunningBlockingReason | |||
| _DunningKey | _DunningKey | |||
| _SoldToParty | _SoldToParty | |||
| _CustomerGroup | _CustomerGroup | |||
| _Country | _Country | |||
| _CityCode | _CityCode | |||
| _SalesDistrict | _SalesDistrict | |||
| _Region | _Region | |||
| _County | _County | |||
| _County_2 | _County_2 | |||
| _CreditControlArea | _CreditControlArea | |||
| _OvrlBillingDocReqStatus | _OvrlBillingDocReqStatus | |||
| _BillingIssueType | _BillingIssueType | |||
| _OverallPricingIncompletionSts | _OverallPricingIncompletionSts | |||
| _CreditControlAreaText | _CreditControlAreaText |
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_BillingDocumentRequest.
-- 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 I_BillingDocumentRequest AS
SELECT
cast (BillingDocument as vbeln_bdr preserving type) AS BillingDocumentRequest,
SDDocumentCategory,
cast (BillingDocumentType as sdbil_odata_bdr_type preserving type ) AS BillingDocumentRequestType,
cast (ProposedBillingDocumentType as proposed_billing_document_type preserving type ) AS ProposedBillingDocumentType,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
LastChangeDateTime,
LogicalSystem,
SalesOrganization,
DistributionChannel,
Division,
BillingDocumentDate,
cast (BillingDocCombinationCriteria as billg_doc_req_combn_criteria preserving type ) AS BillgDocReqCombinationCriteria,
TotalNetAmount,
TransactionCurrency,
TotalTaxAmount,
CustomerPriceGroup,
PriceListType,
TaxDepartureCountry,
VATRegistration,
VATRegistrationOrigin,
VATRegistrationCountry,
CustomerTaxClassification1,
CustomerTaxClassification2,
CustomerTaxClassification3,
CustomerTaxClassification4,
CustomerTaxClassification5,
CustomerTaxClassification6,
CustomerTaxClassification7,
CustomerTaxClassification8,
CustomerTaxClassification9,
SDPricingProcedure,
IncotermsVersion,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
PayerParty,
ContractAccount,
CustomerPaymentTerms,
PaymentMethod,
FixedValueDate,
AdditionalValueDays,
SEPAMandate,
CompanyCode,
CustomerAccountAssignmentGroup,
ExchangeRateDate,
ExchangeRateType,
DocumentReferenceID,
DunningArea,
DunningBlockingReason,
DunningKey,
cast ( BillingDocRequestReference as sdbil_odata_source_document preserving type ) AS ReferenceDocument,
cast ( BillgDocReqRefLgclSyst as sdbil_odata_source_system preserving type ) AS ReferenceDocumentLogicalSystem,
cast ( BillgDocReqRefSDDocCategory as sdbil_odata_src_doc_cat preserving type ) AS ReferenceDocSDDocCategory,
SoldToParty,
PurchaseOrderByCustomer,
CustomerGroup,
Country,
CityCode,
SalesDistrict,
Region,
County,
CreditControlArea,
PricingDocument,
OverallBillingDocReqStatus,
BillingIssueType,
OverallPricingIncompletionSts
FROM I_BillingDocumentBasic
LEFT OUTER JOIN I_BillingDocumentRequestItem AS _Item ON BillingDocumentRequest = _Item.BillingDocumentRequest -- association [0..*]
LEFT OUTER JOIN I_BillingDocReqPartner AS _Partner ON BillingDocumentRequest = _Partner.BillingDocumentRequest -- association [1..*]
LEFT OUTER JOIN I_BillingDocReqPrcgElmnt AS _PricingElement ON BillingDocumentRequest = _PricingElement.BillingDocumentRequest -- association [0..*]
LEFT OUTER JOIN E_BillingDocument AS _Extension ON BillingDocumentRequest = _Extension.BillingDocument -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA