R_BillingDocumentRequestTP
Billing Document Request - TP
R_BillingDocumentRequestTP is a Transactional CDS View that provides data about "Billing Document Request - TP" in SAP S/4HANA. It reads from 1 data source (I_BillingDocumentRequest) and exposes 111 fields with key field BillingDocumentRequest. It has 4 associations to related views. Part of development package RAP_SD_BIL_BDR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDocumentRequest | I_BillingDocumentRequest | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_BillingDocument | _Extension | $projection.BillingDocumentRequest = _Extension.BillingDocument |
| [0..*] | R_BillingDocumentRequestItemTP | _Item | |
| [0..*] | R_BillgDocRequestPartnerTP | _Partner | |
| [0..*] | R_BillingDocumentRequestTextTP | _Text | |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Billing Document Request - TP | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.sapObjectNodeType.name | BillingDocumentRequest | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (111)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentRequest | BillingDocumentRequest | ||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| BillingDocumentRequestType | BillingDocumentRequestType | |||
| ProposedBillingDocumentType | ProposedBillingDocumentType | |||
| CreatedByUser | CreatedByUser | User Name | ||
| 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 | ||
| BillgDocReqCombinationCriteria | BillgDocReqCombinationCriteria | |||
| TotalNetAmount | TotalNetAmount | Total Net Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TotalTaxAmount | TotalTaxAmount | Tax Amount | ||
| TotalGrossAmount | ||||
| CustomerPriceGroup | CustomerPriceGroup | CustPrice Group | ||
| PriceListType | PriceListType | Price List Tp. | ||
| TaxDepartureCountry | TaxDepartureCountry | Tx Dep Ctry/Reg | ||
| VATRegistration | VATRegistration | VAT Registration No. | ||
| VATRegistrationOrigin | VATRegistrationOrigin | OriginSlsTxNo. | ||
| VATRegistrationCountry | VATRegistrationCountry | CtryRgnSlsTxNo. | ||
| CustomerTaxClassification1 | CustomerTaxClassification1 | |||
| CustomerTaxClassification2 | CustomerTaxClassification2 | |||
| CustomerTaxClassification3 | CustomerTaxClassification3 | |||
| CustomerTaxClassification4 | CustomerTaxClassification4 | |||
| CustomerTaxClassification5 | CustomerTaxClassification5 | |||
| CustomerTaxClassification6 | CustomerTaxClassification6 | |||
| CustomerTaxClassification7 | CustomerTaxClassification7 | |||
| CustomerTaxClassification8 | CustomerTaxClassification8 | |||
| CustomerTaxClassification9 | CustomerTaxClassification9 | |||
| SDPricingProcedure | SDPricingProcedure | Pric. Procedure | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| PayerParty | PayerParty | Payer | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| PaymentMethod | PaymentMethod | Pymt Meth. | ||
| FixedValueDate | FixedValueDate | Fixed Val. Date | ||
| AdditionalValueDays | AdditionalValueDays | Add. Value Days | ||
| SEPAMandate | SEPAMandate | SEPA Mandate | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| CustomerAccountAssignmentGroup | CustomerAccountAssignmentGroup | AccAssmtGrpCust | ||
| ExchangeRateDate | ExchangeRateDate | Translatn Date | ||
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| DunningArea | DunningArea | Dunning Area | ||
| DunningBlockingReason | DunningBlockingReason | Set Dunning Block | ||
| DunningKey | DunningKey | Dunning Key | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| ReferenceDocumentLogicalSystem | ReferenceDocumentLogicalSystem | Ref. Doc. Lgcl Syst. | ||
| ReferenceDocSDDocCategory | ReferenceDocSDDocCategory | |||
| SoldToParty | SoldToParty | Sold-to Party | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| Country | Country | Venue: Ctry/Reg | ||
| CityCode | CityCode | IATA: City | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| Region | Region | Venue Region | ||
| County | County | Wyoming County | ||
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| PricingDocument | PricingDocument | Document Condition | ||
| OverallBillingDocReqStatus | OverallBillingDocReqStatus | |||
| BillingIssueType | BillingIssueType | |||
| OverallPricingIncompletionSts | OverallPricingIncompletionSts | |||
| _Item | _Item | |||
| _Partner | _Partner | |||
| _Text | _Text | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _ReferenceDocSDDocCategory | _ReferenceDocSDDocCategory | |||
| _BillingDocumentRequestType | _BillingDocumentRequestType | |||
| _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 | |||
| _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_2 | |||
| _CreditControlArea | _CreditControlArea | |||
| _OvrlBillingDocReqStatus | _OvrlBillingDocReqStatus | |||
| _BillingIssueType | _BillingIssueType | |||
| _OverallPricingIncompletionSts | _OverallPricingIncompletionSts |
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 R_BillingDocumentRequestTP.
-- 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 R_BillingDocumentRequestTP AS
SELECT
BillingDocumentRequest,
SDDocumentCategory,
BillingDocumentRequestType,
ProposedBillingDocumentType,
CreatedByUser,
CreationDate,
CreationTime,
LastChangeDate,
LastChangeDateTime,
LogicalSystem,
SalesOrganization,
DistributionChannel,
Division,
BillingDocumentDate,
BillgDocReqCombinationCriteria,
TotalNetAmount,
TransactionCurrency,
TotalTaxAmount,
cast( TotalTaxAmount + TotalNetAmount as sdci_odata_total_amount ) AS TotalGrossAmount,
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,
ReferenceDocument,
ReferenceDocumentLogicalSystem,
ReferenceDocSDDocCategory,
SoldToParty,
PurchaseOrderByCustomer,
CustomerGroup,
Country,
CityCode,
SalesDistrict,
Region,
County,
CreditControlArea,
PricingDocument,
OverallBillingDocReqStatus,
BillingIssueType,
OverallPricingIncompletionSts
FROM I_BillingDocumentRequest
LEFT OUTER JOIN E_BillingDocument AS _Extension ON BillingDocumentRequest = _Extension.BillingDocument -- association [0..1]
LEFT OUTER JOIN R_BillingDocumentRequestItemTP AS _Item ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_BillgDocRequestPartnerTP AS _Partner ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_BillingDocumentRequestTextTP AS _Text ON /* condition not available in parsed metadata */ -- association [0..*]
;
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