A_BillingDocumentRequestItem
Billing Document Request Item
A_BillingDocumentRequestItem is a Composite CDS View that provides data about "Billing Document Request Item" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentRequestItem) and exposes 40 fields with key fields BillingDocumentRequest, BillingDocumentRequestItem. It has 4 associations to related views. Part of development package ODATA_SD_BIL_BDR_API_V2.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentRequestItem | I_BillingDocumentRequestItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_BillingDocumentRequest | _BillingDocumentRequest | $projection.BillingDocumentRequest = _BillingDocumentRequest.BillingDocumentRequest |
| [0..*] | A_BillingDocReqItemPartner | _Partner | $projection.BillingDocumentRequest = _Partner.BillingDocumentRequest and $projection.BillingDocumentRequestItem = _Partner.BillingDocumentRequestItem |
| [0..*] | A_BillingDocReqItemPrcgElmnt | _PricingElement | $projection.BillingDocumentRequest = _PricingElement.BillingDocumentRequest and $projection.BillingDocumentRequestItem = _PricingElement.BillingDocumentRequestItem |
| [0..1] | E_BillingDocumentItem | _Extension | $projection.BillingDocumentRequest = _Extension.BillingDocument and $projection.BillingDocumentRequestItem = _Extension.BillingDocumentItem |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Billing Document Request Item | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.sqlViewName | ASDBDREQITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentRequest | BillingDocumentRequest | ||
| KEY | BillingDocumentRequestItem | BillingDocumentRequestItem | ||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| ReferenceLogicalSystem | ReferenceLogicalSystem | |||
| Division | Division | Internal Division ID | ||
| Material | Material | Vehicle Model | ||
| ProductHierarchyNode | ProductHierarchyNode | Prod. Hierarchy | ||
| Plant | Plant | Valuation Area | ||
| BillingDocumentRequestItemText | BillingDocumentRequestItemText | |||
| ServicesRenderedDate | ServicesRenderedDate | Services Rendered Date | ||
| BillingQuantity | BillingQuantity | Invoiced Qty | ||
| BillingQuantityUnit | BillingQuantityUnit | Sales Unit | ||
| NetAmount | NetAmount | Stated Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| GrossAmount | GrossAmount | Gross value | ||
| PricingDate | PricingDate | Pricing Date | ||
| AbsltPriceDetnExchangeRate | ||||
| PriceDetnExchRateIsIndrctQtan | ||||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| DepartureCountry | DepartureCountry | Departure Country / Region | ||
| TaxJurisdiction | TaxJurisdiction | Tax Jurisdiction | ||
| ProductTaxClassification1 | ProductTaxClassification1 | |||
| BusinessArea | BusinessArea | Business Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| WBSElement | WBS Internal ID | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| ProfitabilitySegment | ProfitabilitySegment_2 | Profit. segment | ||
| OrderID | OrderID | Order ID | ||
| CostCenter | CostCenter | Cost Center | ||
| MatlAccountAssignmentGroup | MatlAccountAssignmentGroup | |||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ReferenceDocumentItem | ReferenceDocumentItem | Reference item | ||
| HigherLevelItem | HigherLevelItem | Higher-Lev.Item | ||
| BillgDocRequestItemInPartSgmt | BillgDocRequestItemInPartSgmt | |||
| BillingDocumentRequestType | _BillingDocumentRequest | BillingDocumentRequestType | ||
| SalesOrganization | _BillingDocumentRequest | SalesOrganization | Sales Organization | |
| _BillingDocumentRequest | _BillingDocumentRequest | |||
| _Partner | _Partner | |||
| _PricingElement | _PricingElement |
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 A_BillingDocumentRequestItem.
-- 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 A_BillingDocumentRequestItem AS
SELECT
BillingDocumentRequest,
BillingDocumentRequestItem,
CreationDate,
CreationTime,
ReferenceLogicalSystem,
Division,
Material,
ProductHierarchyNode,
Plant,
BillingDocumentRequestItemText,
ServicesRenderedDate,
BillingQuantity,
BillingQuantityUnit,
NetAmount,
TransactionCurrency,
GrossAmount,
PricingDate,
cast(abs( PriceDetnExchangeRate ) as kursk_abs) AS AbsltPriceDetnExchangeRate,
cast(case when PriceDetnExchangeRate < 0 then 'X' else ' ' end as kursk_quotatn_is_indirect) AS PriceDetnExchRateIsIndrctQtan,
TaxAmount,
DepartureCountry,
TaxJurisdiction,
ProductTaxClassification1,
BusinessArea,
ProfitCenter,
cast( WBSElementInternalID as ps_psp_pnr preserving type ) AS WBSElement,
ControllingArea,
ProfitabilitySegment_2 AS ProfitabilitySegment,
OrderID,
CostCenter,
MatlAccountAssignmentGroup,
ReferenceDocument,
ReferenceDocumentItem,
HigherLevelItem,
BillgDocRequestItemInPartSgmt,
_BillingDocumentRequest.BillingDocumentRequestType AS BillingDocumentRequestType,
_BillingDocumentRequest.SalesOrganization AS SalesOrganization
FROM I_BillingDocumentRequestItem
LEFT OUTER JOIN A_BillingDocumentRequest AS _BillingDocumentRequest ON BillingDocumentRequest = _BillingDocumentRequest.BillingDocumentRequest -- association [1..1]
LEFT OUTER JOIN A_BillingDocReqItemPartner AS _Partner ON BillingDocumentRequest = _Partner.BillingDocumentRequest AND BillingDocumentRequestItem = _Partner.BillingDocumentRequestItem -- association [0..*]
LEFT OUTER JOIN A_BillingDocReqItemPrcgElmnt AS _PricingElement ON BillingDocumentRequest = _PricingElement.BillingDocumentRequest AND BillingDocumentRequestItem = _PricingElement.BillingDocumentRequestItem -- association [0..*]
LEFT OUTER JOIN E_BillingDocumentItem AS _Extension ON BillingDocumentRequest = _Extension.BillingDocument AND BillingDocumentRequestItem = _Extension.BillingDocumentItem -- 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