A_BillingDocumentRequest
Billing Document Request Header
A_BillingDocumentRequest is a Composite CDS View that provides data about "Billing Document Request Header" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentRequest) and exposes 40 fields with key field BillingDocumentRequest. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentRequest | I_BillingDocumentRequest | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_BillingDocumentRequestItem | _Item | $projection.BillingDocumentRequest = _Item.BillingDocumentRequest |
| [0..*] | A_BillingDocReqPartner | _Partner | $projection.BillingDocumentRequest = _Partner.BillingDocumentRequest |
| [0..*] | A_BillingDocReqPrcgElmnt | _PricingElement | $projection.BillingDocumentRequest = _PricingElement.BillingDocumentRequest |
| [0..1] | E_BillingDocument | _Extension | $projection.BillingDocumentRequest = _Extension.BillingDocument |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Billing Document Request Header | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.sqlViewName | ASDBDREQ | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | BillingDocumentRequest | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentRequest | BillingDocumentRequest | ||
| BillingDocumentRequestType | BillingDocumentRequestType | |||
| ProposedBillingDocumentType | ProposedBillingDocumentType | |||
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| LastChangeDate | LastChangeDate | Time Stamp | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| LogicalSystem | LogicalSystem | Logical System | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| Division | Division | Internal Division ID | ||
| BillingDocumentDate | BillingDocumentDate | Billing Date | ||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TotalTaxAmount | TotalTaxAmount | Tax Amount | ||
| TotalGrossAmount | ||||
| TaxDepartureCountry | TaxDepartureCountry | Tx Dep Ctry/Reg | ||
| PayerParty | PayerParty | Payer | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| SEPAMandate | SEPAMandate | SEPA Mandate | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ReferenceDocumentLogicalSystem | ReferenceDocumentLogicalSystem | Ref. Doc. Lgcl Syst. | ||
| ReferenceDocSDDocCategory | ReferenceDocSDDocCategory | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| PricingDocument | PricingDocument | Document Condition | ||
| BillingIssueType | BillingIssueType | |||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| OverallBillingDocReqStatus | OverallBillingDocReqStatus | |||
| OverallPricingIncompletionSts | OverallPricingIncompletionSts | |||
| _Item | _Item | |||
| _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_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 A_BillingDocumentRequest AS
SELECT
BillingDocumentRequest,
BillingDocumentRequestType,
ProposedBillingDocumentType,
CreationDate,
CreationTime,
LastChangeDate,
LastChangeDateTime,
LogicalSystem,
SalesOrganization,
DistributionChannel,
Division,
BillingDocumentDate,
TotalNetAmount,
TransactionCurrency,
TotalTaxAmount,
(TotalTaxAmount + TotalNetAmount) AS TotalGrossAmount,
TaxDepartureCountry,
PayerParty,
ContractAccount,
CustomerPaymentTerms,
PaymentMethod,
SEPAMandate,
CompanyCode,
ReferenceDocument,
ReferenceDocumentLogicalSystem,
ReferenceDocSDDocCategory,
SoldToParty,
PurchaseOrderByCustomer,
PricingDocument,
BillingIssueType,
IncotermsVersion,
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
OverallBillingDocReqStatus,
OverallPricingIncompletionSts
FROM I_BillingDocumentRequest
LEFT OUTER JOIN A_BillingDocumentRequestItem AS _Item ON BillingDocumentRequest = _Item.BillingDocumentRequest -- association [0..*]
LEFT OUTER JOIN A_BillingDocReqPartner AS _Partner ON BillingDocumentRequest = _Partner.BillingDocumentRequest -- association [0..*]
LEFT OUTER JOIN A_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