I_BillingDocumentBasic
Billing Document Basic
I_BillingDocumentBasic is a Basic CDS View (Dimension) that provides data about "Billing Document Basic" in SAP S/4HANA. It reads from 1 data source (vbrk) and exposes 172 fields with key field BillingDocument. It has 66 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| vbrk | vbrk | from |
Associations (66)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DunningAreaText | _DunningAreaText | $projection.DunningArea = _DunningAreaText.DunningArea and $projection.CompanyCode = _DunningAreaText.CompanyCode |
| [0..*] | I_CreditControlAreaText | _CreditControlAreaText | $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea |
| [0..*] | I_BillingDocumentItemBasic | _ItemBasic | $projection.BillingDocument = _ItemBasic.BillingDocument |
| [1..*] | I_BillingDocumentPartnerBasic | _PartnerBasic | $projection.BillingDocument = _PartnerBasic.BillingDocument |
| [0..*] | I_BillingDocPrcgElmntBasic | _PricingElementBasic | $projection.BillingDocument = _PricingElementBasic.BillingDocument |
| [0..1] | I_SDDocumentCategory | _SDDocumentCategory | $projection.SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory |
| [0..1] | I_SDDocumentCategory | _BillgDocReqRefSDDocCategory | $projection.BillgDocReqRefSDDocCategory = _BillgDocReqRefSDDocCategory.SDDocumentCategory |
| [0..1] | I_BillingDocumentCategory | _BillingDocumentCategory | $projection.BillingDocumentCategory = _BillingDocumentCategory.BillingDocumentCategory |
| [0..1] | I_BillingDocumentType | _BillingDocumentType | $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType |
| [0..1] | I_BillingDocumentType | _ProposedBillingDocumentType | $projection.ProposedBillingDocumentType = _ProposedBillingDocumentType.BillingDocumentType |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_LogicalSystem | _LogicalSystem | $projection.LogicalSystem = _LogicalSystem.LogicalSystem |
| [0..1] | I_SalesOrganization | _SalesOrganization | $projection.SalesOrganization = _SalesOrganization.SalesOrganization |
| [0..1] | I_DistributionChannel | _DistributionChannel | $projection.DistributionChannel = _DistributionChannel.DistributionChannel |
| [0..1] | I_Division | _Division | $projection.Division = _Division.Division |
| [0..1] | I_BillingDocumentBasic | _CancelledBillingDocumentBasic | $projection.CancelledBillingDocument = _CancelledBillingDocumentBasic.BillingDocument |
| [0..1] | I_Currency | _TransactionCurrency | $projection.TransactionCurrency = _TransactionCurrency.Currency |
| [0..1] | I_Currency | _StatisticsCurrency | $projection.StatisticsCurrency = _StatisticsCurrency.Currency |
| [0..1] | I_CustomerPriceGroup | _CustomerPriceGroup | $projection.CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup |
| [0..1] | I_PriceListType | _PriceListType | $projection.PriceListType = _PriceListType.PriceListType |
| [0..1] | I_Country | _TaxDepartureCountry | $projection.TaxDepartureCountry = _TaxDepartureCountry.Country |
| [0..1] | I_VATRegistrationOrigin | _VATRegistrationOrigin | $projection.VATRegistrationOrigin = _VATRegistrationOrigin.VATRegistrationOrigin |
| [0..1] | I_Country | _VATRegistrationCountry | $projection.VATRegistrationCountry = _VATRegistrationCountry.Country |
| [0..1] | I_SlsPricingProcedure | _SDPricingProcedure | $projection.SDPricingProcedure = _SDPricingProcedure.PricingProcedure |
| [0..1] | I_ShippingCondition | _ShippingCondition | $projection.ShippingCondition = _ShippingCondition.ShippingCondition |
| [0..1] | I_IncotermsClassification | _IncotermsClassification | $projection.IncotermsClassification = _IncotermsClassification.IncotermsClassification |
| [0..1] | I_IncotermsVersion | _IncotermsVersion | $projection.IncotermsVersion = _IncotermsVersion.IncotermsVersion |
| [0..1] | I_Customer | _PayerParty | $projection.PayerParty = _PayerParty.Customer |
| [0..1] | I_CustomerPaymentTerms | _CustomerPaymentTerms | $projection.CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms |
| [0..1] | I_PaymentMethod | _PaymentMethod | $projection.PaymentMethod = _PaymentMethod.PaymentMethod and $projection.Country = _PaymentMethod.Country |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYear | $projection.FiscalYear = _FiscalYear.FiscalYear and $projection.CompanyCode = _FiscalYear.CompanyCode |
| [0..1] | I_AccountingDocument | _AccountingDocument | $projection.CompanyCode = _AccountingDocument.CompanyCode and $projection.FiscalYear = _AccountingDocument.FiscalYear and $projection.AccountingDocument = _AccountingDocument.AccountingDocument |
| [1..1] | I_FiscalYearPeriodForCmpnyCode | _FiscalPeriod | $projection.CompanyCode = _FiscalPeriod.CompanyCode and $projection.FiscalYear = _FiscalPeriod.FiscalYear and $projection.FiscalPeriod = _FiscalPeriod.FiscalPeriod |
| [0..1] | I_CustomerAccountAssgmtGroup | _CustomerAccountAssgmtGroup | $projection.CustomerAccountAssignmentGroup = _CustomerAccountAssgmtGroup.CustomerAccountAssignmentGroup |
| [0..1] | I_ExchangeRateType | _ExchangeRateType | $projection.ExchangeRateType = _ExchangeRateType.ExchangeRateType |
| [0..1] | I_ReversalReason | _ReversalReason | $projection.ReversalReason = _ReversalReason.ReversalReason |
| [0..1] | I_DunningArea | _DunningArea | $projection.DunningArea = _DunningArea.DunningArea and $projection.CompanyCode = _DunningArea.CompanyCode |
| [0..1] | I_DunningBlockingReasonCode | _DunningBlockingReason | $projection.DunningBlockingReason = _DunningBlockingReason.DunningBlockingReason |
| [0..1] | I_DunningKey | _DunningKey | $projection.DunningKey = _DunningKey.DunningKey |
| [0..1] | I_BillingDocumentType | _InvoiceListType | $projection.InvoiceListType = _InvoiceListType.BillingDocumentType |
| [0..1] | I_Customer | _SoldToParty | $projection.SoldToParty = _SoldToParty.Customer |
| [0..1] | I_CustomerGroup | _CustomerGroup | $projection.CustomerGroup = _CustomerGroup.CustomerGroup |
| [0..1] | I_Country | _Country | $projection.Country = _Country.Country |
| [0..1] | I_CityCode | _CityCode | $projection.CityCode = _CityCode.CityCode and $projection.Country = _CityCode.Country and $projection.Region = _CityCode.Region |
| [0..1] | I_SalesDistrict | _SalesDistrict | $projection.SalesDistrict = _SalesDistrict.SalesDistrict |
| [0..1] | I_Region | _Region | $projection.Region = _Region.Region and $projection.Country = _Region.Country |
| [0..1] | I_CountyCode | _County | $projection.Country = _County.Country and $projection.Region = _County.Region and $projection.County = _County.County |
| [0..1] | I_TaxingCounty | _County_2 | $projection.Country = _County_2.Country and $projection.Region = _County_2.Region and $projection.County = _County_2.TaxingCounty |
| [0..1] | I_CreditControlArea | _CreditControlArea | $projection.CreditControlArea = _CreditControlArea.CreditControlArea |
| [0..1] | I_OverallSDProcessStatus | _OverallSDProcessStatus | $projection.OverallSDProcessStatus = _OverallSDProcessStatus.OverallSDProcessStatus |
| [0..1] | I_OverallBillingStatus | _OverallBillingStatus | $projection.OverallBillingStatus = _OverallBillingStatus.OverallBillingStatus |
| [0..1] | I_OvrlBillingDocReqStatus | _OvrlBillingDocReqStatus | $projection.OverallBillingDocReqStatus = _OvrlBillingDocReqStatus.OverallBillingDocReqStatus |
| [0..1] | I_PrelimBillgDocStatus | _PrelimBillingDocumentStatus | $projection.PrelimBillingDocumentStatus = _PrelimBillingDocumentStatus.PrelimBillingDocumentStatus |
| [0..1] | I_AccountingPostingStatus | _AccountingPostingStatus | $projection.AccountingPostingStatus = _AccountingPostingStatus.AccountingPostingStatus |
| [0..1] | I_AccountingTransferStatus | _AccountingTransferStatus | $projection.AccountingTransferStatus = _AccountingTransferStatus.AccountingTransferStatus |
| [0..1] | I_BillingIssueType | _BillingIssueType | $projection.BillingIssueType = _BillingIssueType.BillingIssueType |
| [0..1] | I_InvoiceListStatus | _InvoiceListStatus | $projection.InvoiceListStatus = _InvoiceListStatus.InvoiceListStatus |
| [0..1] | I_OvrlItmGenIncompletionSts | _OvrlItmGeneralIncompletionSts | $projection.OvrlItmGeneralIncompletionSts = _OvrlItmGeneralIncompletionSts.OvrlItmGeneralIncompletionSts |
| [0..1] | I_OverallPrcIncompletionSts | _OverallPricingIncompletionSts | $projection.OverallPricingIncompletionSts = _OverallPricingIncompletionSts.OverallPricingIncompletionSts |
| [0..1] | I_SDApprovalStatus | _BillgProcDocApprovalStatus | $projection.BillgProcDocApprovalStatus = _BillgProcDocApprovalStatus.SDApprovalStatus |
| [0..1] | I_BillgProcDocApprovalReason | _BillgProcDocApprovalReason | $projection.SDDocumentCategory = _BillgProcDocApprovalReason.SDDocumentCategory and $projection.BillgProcDocApprovalReason = _BillgProcDocApprovalReason.BillgProcDocApprovalReason |
| [0..*] | I_SDApprovalStatusT | _BillgProcDocApprovalStatusT | $projection.BillgProcDocApprovalStatus = _BillgProcDocApprovalStatusT.SDApprovalStatus |
| [0..*] | I_SDApprovalReasonT | _BillgProcDocApprovalReasonT | $projection.BillgProcDocApprovalReason = _BillgProcDocApprovalReasonT.SDApprovalReason |
| [0..1] | I_InvoiceClearingStatus | _InvoiceClearingStatus | $projection.InvoiceClearingStatus = _InvoiceClearingStatus.InvoiceClearingStatus |
| [0..1] | E_BillingDocument | _Extension | $projection.BillingDocument = _Extension.BillingDocument |
Annotations (16)
| 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 | BillingDocument | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ISDBILLDOCBASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Billing Document Basic | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (172)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocument | vbeln | SD Sched. Agmt | |
| SDDocumentCategory | vbtyp | TSW Det.Doc typ | ||
| BillingDocumentCategory | fktyp | BillingCategory | ||
| BillingDocumentType | fkart | Ship. cost type | ||
| ProposedBillingDocumentType | fkara | Ord-Rel.Bill.Ty | ||
| CreatedByUser | ernam | User Name | ||
| CreationDate | erdat | Entered On | ||
| CreationTime | erzet | Time | ||
| LastChangeDate | aedat | Obsolete | ||
| LastChangeDateTime | changed_on | Variant Changed on | ||
| LogicalSystem | logsys | Source system | ||
| SalesOrganization | vkorg | SD Sales Org. | ||
| DistributionChannel | vtweg | RefDistCh-Cust/Mat. | ||
| Division | spart | Source supplier | ||
| BillingDocumentDate | fkdat | Sett. Date | ||
| BillingDocumentIsCancelled | fksto | Doc. Reversed | ||
| CancelledBillingDocument | sfakn | Canceld Bill.Dc | ||
| BillingDocCombinationCriteria | zukri | Comb. Criteria | ||
| ManualInvoiceMaintIsRelevant | mrnkz | Man.Inv.Maint. | ||
| NmbrOfPages | numpg | Number of Pages | ||
| IsIntrastatReportingRelevant | intra_rel | Intrastat rel. | ||
| IsIntrastatReportingExcluded | intra_excl | exclude Intra | ||
| BillingDocumentIsTemporary | draft | Max Vehicle Draft | ||
| TotalNetAmount | netwr | Value | ||
| TransactionCurrency | waerk | Doc. Currency | ||
| StatisticsCurrency | stwae | Stats. Currency | ||
| TotalTaxAmount | mwsbk | Tax Amount | ||
| CustomerPriceGroup | konda | CustPrice Group | ||
| PriceListType | pltyp | Price List Tp. | ||
| TaxDepartureCountry | landtx | Tx Dep Ctry/Reg | ||
| VATRegistration | stceg | VAT Reg. No. | ||
| VATRegistrationOrigin | stceg_h | OriginSlsTxNo. | ||
| VATRegistrationCountry | stceg_l | Tax Dest. Cty/R | ||
| HierarchyTypePricing | hityp_pr | HierTypePricing | ||
| CustomerTaxClassification1 | taxk1 | Tax Cls.1 Cust. | ||
| CustomerTaxClassification2 | taxk2 | Tax Cls.2 Cust. | ||
| CustomerTaxClassification3 | taxk3 | Tax Cls.3 Cust. | ||
| CustomerTaxClassification4 | taxk4 | Tax Cls.4 Cust. | ||
| CustomerTaxClassification5 | taxk5 | Tax Cls.5 Cust. | ||
| CustomerTaxClassification6 | taxk6 | Tax Cls.6 Cust. | ||
| CustomerTaxClassification7 | taxk7 | Tax Cls.7 Cust. | ||
| CustomerTaxClassification8 | taxk8 | Tax Cls.8 Cust. | ||
| CustomerTaxClassification9 | taxk9 | Tax Cls.9 Cust. | ||
| IsEUTriangularDeal | xegdr | EU Triang. Deal | ||
| SDPricingProcedure | kalsm | Search Proced. | ||
| ShippingCondition | vsbed | Shipping Conditions | ||
| PlantSupplier | ico_lifnr | Sppl. No. Plnt | ||
| IncotermsVersion | incov | Inco. Version | ||
| IncotermsClassification | inco1 | Incoterms | ||
| IncotermsTransferLocation | inco2 | Incoterms 2 | ||
| IncotermsLocation1 | inco2_l | Inco. Location1 | ||
| IncotermsLocation2 | inco3_l | Inco. Location2 | ||
| PayerParty | kunrg | Payer | ||
| ContractAccount | vkont | Tech. CtrAcct | ||
| CustomerPaymentTerms | zterm | Terms of Payment | ||
| PaymentMethod | zlsch | Pymt Meth. | ||
| PaymentReference | kidno | Payment Ref. | ||
| FixedValueDate | valdt | Valuation Date | ||
| AdditionalValueDays | valtg | Add.Value Days | ||
| SEPAMandate | mndid | Mandate Ref. | ||
| CompanyCode | bukrs | Value | ||
| FiscalYear | gjahr | Settlement Year | ||
| AccountingDocument | belnr | SD Document | ||
| FiscalPeriod | poper | Posting periods | ||
| CustomerAccountAssignmentGroup | ktgrd | AccAssmtGrpCust | ||
| AccountingExchangeRateIsSet | cpkur | Set Exchange Rt | ||
| AccountingExchangeRate | Exch.Rate Acct. | |||
| ExchangeRateDate | kurrf_dat | Translatn Date | ||
| ExchangeRateType | kurst | Fix.rate type (EMU) | ||
| DocumentReferenceID | xblnr | Reference | ||
| AssignmentReference | zuonr | Finance Project | ||
| ReversalReason | stgrd | Reversal Reason | ||
| DunningArea | maber | Dunning Area | ||
| DunningBlockingReason | mansp | DunnLockReason | ||
| DunningKey | mschl | Dunning key | ||
| InternalFinancialDocument | lcnum | Financ.Doc.No. | ||
| IsRelevantForAccrual | accrrel | Relevant for Accrual | ||
| InvoiceListType | fkart_rl | Inv. List Type | ||
| InvoiceListBillingDate | fkdat_rl | Inv.Lst Bill.Dt | ||
| BillingDocRequestReference | bdr_ref | BDR Source Document | ||
| BillgDocReqRefLgclSyst | bdr_ref_logsys | BDR Source System | ||
| BillgDocReqRefSDDocCategory | bdr_ref_vbtyp | BDR Src. Doc. Cat. | ||
| SoldToParty | kunag | Sold-to Party | ||
| PartnerCompany | vbund | Trading Partner | ||
| PurchaseOrderByCustomer | bstnk_vf | Cust. Reference | ||
| CustomerGroup | kdgrp | Customer group | ||
| Country | land1 | Trip Ctry/Reg | ||
| CityCode | cityc | City Code | ||
| SalesDistrict | bzirk | Sales District | ||
| Region | regio | Resident Region | ||
| County | counc | County Code | ||
| CreditControlArea | kkber | Cred.Contr.Area | ||
| CustomerRebateAgreement | knuma | Agreement | ||
| PricingDocument | knumv | Doc. Condition | ||
| OverallSDProcessStatus | gbstk | Overall Status | ||
| OverallBillingStatus | vf_status | Status | ||
| AccountingPostingStatus | buchk | Posting Status | ||
| AccountingTransferStatus | rfbsk | Posting Status | ||
| BillingIssueType | vf_todo | Issue Type | ||
| OverallBillingDocReqStatus | bdr_status | Status | ||
| InvoiceListStatus | relik | Inv.List Status | ||
| OvrlItmGeneralIncompletionSts | uvals | All Items | ||
| OverallPricingIncompletionSts | uvprs | Pricing – Item | ||
| OverallDocumentBillingStatus | fksak | Ord.Rel.BillgSt | ||
| PrelimBillingDocumentStatus | pbd_status | Status | ||
| InvoiceClearingStatus | clrst | Clearing Status | ||
| BillgProcDocApprovalReason | apm_approval_reason | Apprvl Req. Rsn ID | ||
| _ItemBasic | _ItemBasic | |||
| _PartnerBasic | _PartnerBasic | |||
| _PricingElementBasic | _PricingElementBasic | |||
| _SDDocumentCategory | _SDDocumentCategory | |||
| _BillgDocReqRefSDDocCategory | _BillgDocReqRefSDDocCategory | |||
| _BillingDocumentCategory | _BillingDocumentCategory | |||
| _BillingDocumentType | _BillingDocumentType | |||
| _ProposedBillingDocumentType | _ProposedBillingDocumentType | |||
| _CreatedByUser | _CreatedByUser | |||
| _LogicalSystem | _LogicalSystem | |||
| _SalesOrganization | _SalesOrganization | |||
| _DistributionChannel | _DistributionChannel | |||
| _Division | _Division | |||
| _CancelledBillingDocumentBasic | _CancelledBillingDocumentBasic | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _StatisticsCurrency | _StatisticsCurrency | |||
| _CustomerPriceGroup | _CustomerPriceGroup | |||
| _PriceListType | _PriceListType | |||
| _TaxDepartureCountry | _TaxDepartureCountry | |||
| _VATRegistrationOrigin | _VATRegistrationOrigin | |||
| _VATRegistrationCountry | _VATRegistrationCountry | |||
| _SDPricingProcedure | _SDPricingProcedure | |||
| _ShippingCondition | _ShippingCondition | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _PayerParty | _PayerParty | |||
| _CustomerPaymentTerms | _CustomerPaymentTerms | |||
| _PaymentMethod | _PaymentMethod | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _AccountingDocument | _AccountingDocument | |||
| _CustomerAccountAssgmtGroup | _CustomerAccountAssgmtGroup | |||
| _ExchangeRateType | _ExchangeRateType | |||
| _ReversalReason | _ReversalReason | |||
| _DunningArea | _DunningArea | |||
| _DunningBlockingReason | _DunningBlockingReason | |||
| _DunningKey | _DunningKey | |||
| _InvoiceListType | _InvoiceListType | |||
| _SoldToParty | _SoldToParty | |||
| _CustomerGroup | _CustomerGroup | |||
| _Country | _Country | |||
| _CityCode | _CityCode | |||
| _SalesDistrict | _SalesDistrict | |||
| _Region | _Region | |||
| _County | _County | |||
| _County_2 | _County_2 | |||
| _CreditControlArea | _CreditControlArea | |||
| _OverallSDProcessStatus | _OverallSDProcessStatus | |||
| _OverallBillingStatus | _OverallBillingStatus | |||
| _OvrlBillingDocReqStatus | _OvrlBillingDocReqStatus | |||
| _PrelimBillingDocumentStatus | _PrelimBillingDocumentStatus | |||
| _AccountingPostingStatus | _AccountingPostingStatus | |||
| _AccountingTransferStatus | _AccountingTransferStatus | |||
| _BillingIssueType | _BillingIssueType | |||
| _InvoiceListStatus | _InvoiceListStatus | |||
| _OvrlItmGeneralIncompletionSts | _OvrlItmGeneralIncompletionSts | |||
| _OverallPricingIncompletionSts | _OverallPricingIncompletionSts | |||
| _BillgProcDocApprovalReason | _BillgProcDocApprovalReason | |||
| _BillgProcDocApprovalStatus | _BillgProcDocApprovalStatus | |||
| _BillgProcDocApprovalStatusT | _BillgProcDocApprovalStatusT | |||
| _BillgProcDocApprovalReasonT | _BillgProcDocApprovalReasonT | |||
| _InvoiceClearingStatus | _InvoiceClearingStatus | |||
| _DunningAreaText | _DunningAreaText | |||
| _CreditControlAreaText | _CreditControlAreaText | |||
| BillgProcDocApprovalStatus | vbrk | apm_approval_status | Approval Status |
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_BillingDocumentBasic.
-- 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_BillingDocumentBasic AS
SELECT
vbeln AS BillingDocument,
vbtyp AS SDDocumentCategory,
fktyp AS BillingDocumentCategory,
fkart AS BillingDocumentType,
fkara AS ProposedBillingDocumentType,
ernam AS CreatedByUser,
erdat AS CreationDate,
erzet AS CreationTime,
aedat AS LastChangeDate,
changed_on AS LastChangeDateTime,
logsys AS LogicalSystem,
vkorg AS SalesOrganization,
vtweg AS DistributionChannel,
spart AS Division,
fkdat AS BillingDocumentDate,
fksto AS BillingDocumentIsCancelled,
sfakn AS CancelledBillingDocument,
zukri AS BillingDocCombinationCriteria,
mrnkz AS ManualInvoiceMaintIsRelevant,
numpg AS NmbrOfPages,
intra_rel AS IsIntrastatReportingRelevant,
intra_excl AS IsIntrastatReportingExcluded,
draft AS BillingDocumentIsTemporary,
netwr AS TotalNetAmount,
waerk AS TransactionCurrency,
stwae AS StatisticsCurrency,
mwsbk AS TotalTaxAmount,
konda AS CustomerPriceGroup,
pltyp AS PriceListType,
landtx AS TaxDepartureCountry,
stceg AS VATRegistration,
stceg_h AS VATRegistrationOrigin,
stceg_l AS VATRegistrationCountry,
hityp_pr AS HierarchyTypePricing,
taxk1 AS CustomerTaxClassification1,
taxk2 AS CustomerTaxClassification2,
taxk3 AS CustomerTaxClassification3,
taxk4 AS CustomerTaxClassification4,
taxk5 AS CustomerTaxClassification5,
taxk6 AS CustomerTaxClassification6,
taxk7 AS CustomerTaxClassification7,
taxk8 AS CustomerTaxClassification8,
taxk9 AS CustomerTaxClassification9,
xegdr AS IsEUTriangularDeal,
kalsm AS SDPricingProcedure,
vsbed AS ShippingCondition,
ico_lifnr AS PlantSupplier,
incov AS IncotermsVersion,
inco1 AS IncotermsClassification,
inco2 AS IncotermsTransferLocation,
inco2_l AS IncotermsLocation1,
inco3_l AS IncotermsLocation2,
kunrg AS PayerParty,
vkont AS ContractAccount,
zterm AS CustomerPaymentTerms,
zlsch AS PaymentMethod,
kidno AS PaymentReference,
valdt AS FixedValueDate,
valtg AS AdditionalValueDays,
mndid AS SEPAMandate,
bukrs AS CompanyCode,
gjahr AS FiscalYear,
belnr AS AccountingDocument,
poper AS FiscalPeriod,
ktgrd AS CustomerAccountAssignmentGroup,
cpkur AS AccountingExchangeRateIsSet,
cast(kurrf as kurrf_not_converted preserving type ) AS AccountingExchangeRate,
kurrf_dat AS ExchangeRateDate,
kurst AS ExchangeRateType,
xblnr AS DocumentReferenceID,
zuonr AS AssignmentReference,
stgrd AS ReversalReason,
maber AS DunningArea,
mansp AS DunningBlockingReason,
mschl AS DunningKey,
lcnum AS InternalFinancialDocument,
accrrel AS IsRelevantForAccrual,
fkart_rl AS InvoiceListType,
fkdat_rl AS InvoiceListBillingDate,
bdr_ref AS BillingDocRequestReference,
bdr_ref_logsys AS BillgDocReqRefLgclSyst,
bdr_ref_vbtyp AS BillgDocReqRefSDDocCategory,
kunag AS SoldToParty,
vbund AS PartnerCompany,
bstnk_vf AS PurchaseOrderByCustomer,
kdgrp AS CustomerGroup,
land1 AS Country,
cityc AS CityCode,
bzirk AS SalesDistrict,
regio AS Region,
counc AS County,
kkber AS CreditControlArea,
knuma AS CustomerRebateAgreement,
knumv AS PricingDocument,
gbstk AS OverallSDProcessStatus,
vf_status AS OverallBillingStatus,
buchk AS AccountingPostingStatus,
rfbsk AS AccountingTransferStatus,
vf_todo AS BillingIssueType,
bdr_status AS OverallBillingDocReqStatus,
relik AS InvoiceListStatus,
uvals AS OvrlItmGeneralIncompletionSts,
uvprs AS OverallPricingIncompletionSts,
fksak AS OverallDocumentBillingStatus,
pbd_status AS PrelimBillingDocumentStatus,
clrst AS InvoiceClearingStatus,
apm_approval_reason AS BillgProcDocApprovalReason,
vbrk.apm_approval_status AS BillgProcDocApprovalStatus
FROM vbrk
LEFT OUTER JOIN I_DunningAreaText AS _DunningAreaText ON DunningArea = _DunningAreaText.DunningArea AND CompanyCode = _DunningAreaText.CompanyCode -- association [0..*]
LEFT OUTER JOIN I_CreditControlAreaText AS _CreditControlAreaText ON CreditControlArea = _CreditControlAreaText.CreditControlArea -- association [0..*]
LEFT OUTER JOIN I_BillingDocumentItemBasic AS _ItemBasic ON BillingDocument = _ItemBasic.BillingDocument -- association [0..*]
LEFT OUTER JOIN I_BillingDocumentPartnerBasic AS _PartnerBasic ON BillingDocument = _PartnerBasic.BillingDocument -- association [1..*]
LEFT OUTER JOIN I_BillingDocPrcgElmntBasic AS _PricingElementBasic ON BillingDocument = _PricingElementBasic.BillingDocument -- association [0..*]
LEFT OUTER JOIN I_SDDocumentCategory AS _SDDocumentCategory ON SDDocumentCategory = _SDDocumentCategory.SDDocumentCategory -- association [0..1]
LEFT OUTER JOIN I_SDDocumentCategory AS _BillgDocReqRefSDDocCategory ON BillgDocReqRefSDDocCategory = _BillgDocReqRefSDDocCategory.SDDocumentCategory -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentCategory AS _BillingDocumentCategory ON BillingDocumentCategory = _BillingDocumentCategory.BillingDocumentCategory -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentType AS _BillingDocumentType ON BillingDocumentType = _BillingDocumentType.BillingDocumentType -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentType AS _ProposedBillingDocumentType ON ProposedBillingDocumentType = _ProposedBillingDocumentType.BillingDocumentType -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON LogicalSystem = _LogicalSystem.LogicalSystem -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization -- association [0..1]
LEFT OUTER JOIN I_DistributionChannel AS _DistributionChannel ON DistributionChannel = _DistributionChannel.DistributionChannel -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentBasic AS _CancelledBillingDocumentBasic ON CancelledBillingDocument = _CancelledBillingDocumentBasic.BillingDocument -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _StatisticsCurrency ON StatisticsCurrency = _StatisticsCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_CustomerPriceGroup AS _CustomerPriceGroup ON CustomerPriceGroup = _CustomerPriceGroup.CustomerPriceGroup -- association [0..1]
LEFT OUTER JOIN I_PriceListType AS _PriceListType ON PriceListType = _PriceListType.PriceListType -- association [0..1]
LEFT OUTER JOIN I_Country AS _TaxDepartureCountry ON TaxDepartureCountry = _TaxDepartureCountry.Country -- association [0..1]
LEFT OUTER JOIN I_VATRegistrationOrigin AS _VATRegistrationOrigin ON VATRegistrationOrigin = _VATRegistrationOrigin.VATRegistrationOrigin -- association [0..1]
LEFT OUTER JOIN I_Country AS _VATRegistrationCountry ON VATRegistrationCountry = _VATRegistrationCountry.Country -- association [0..1]
LEFT OUTER JOIN I_SlsPricingProcedure AS _SDPricingProcedure ON SDPricingProcedure = _SDPricingProcedure.PricingProcedure -- association [0..1]
LEFT OUTER JOIN I_ShippingCondition AS _ShippingCondition ON ShippingCondition = _ShippingCondition.ShippingCondition -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassification AS _IncotermsClassification ON IncotermsClassification = _IncotermsClassification.IncotermsClassification -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersion AS _IncotermsVersion ON IncotermsVersion = _IncotermsVersion.IncotermsVersion -- association [0..1]
LEFT OUTER JOIN I_Customer AS _PayerParty ON PayerParty = _PayerParty.Customer -- association [0..1]
LEFT OUTER JOIN I_CustomerPaymentTerms AS _CustomerPaymentTerms ON CustomerPaymentTerms = _CustomerPaymentTerms.CustomerPaymentTerms -- association [0..1]
LEFT OUTER JOIN I_PaymentMethod AS _PaymentMethod ON PaymentMethod = _PaymentMethod.PaymentMethod AND Country = _PaymentMethod.Country -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON FiscalYear = _FiscalYear.FiscalYear AND CompanyCode = _FiscalYear.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_AccountingDocument AS _AccountingDocument ON CompanyCode = _AccountingDocument.CompanyCode AND FiscalYear = _AccountingDocument.FiscalYear AND AccountingDocument = _AccountingDocument.AccountingDocument -- association [0..1]
LEFT OUTER JOIN I_FiscalYearPeriodForCmpnyCode AS _FiscalPeriod ON CompanyCode = _FiscalPeriod.CompanyCode AND FiscalYear = _FiscalPeriod.FiscalYear AND FiscalPeriod = _FiscalPeriod.FiscalPeriod -- association [1..1]
LEFT OUTER JOIN I_CustomerAccountAssgmtGroup AS _CustomerAccountAssgmtGroup ON CustomerAccountAssignmentGroup = _CustomerAccountAssgmtGroup.CustomerAccountAssignmentGroup -- association [0..1]
LEFT OUTER JOIN I_ExchangeRateType AS _ExchangeRateType ON ExchangeRateType = _ExchangeRateType.ExchangeRateType -- association [0..1]
LEFT OUTER JOIN I_ReversalReason AS _ReversalReason ON ReversalReason = _ReversalReason.ReversalReason -- association [0..1]
LEFT OUTER JOIN I_DunningArea AS _DunningArea ON DunningArea = _DunningArea.DunningArea AND CompanyCode = _DunningArea.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_DunningBlockingReasonCode AS _DunningBlockingReason ON DunningBlockingReason = _DunningBlockingReason.DunningBlockingReason -- association [0..1]
LEFT OUTER JOIN I_DunningKey AS _DunningKey ON DunningKey = _DunningKey.DunningKey -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentType AS _InvoiceListType ON InvoiceListType = _InvoiceListType.BillingDocumentType -- association [0..1]
LEFT OUTER JOIN I_Customer AS _SoldToParty ON SoldToParty = _SoldToParty.Customer -- association [0..1]
LEFT OUTER JOIN I_CustomerGroup AS _CustomerGroup ON CustomerGroup = _CustomerGroup.CustomerGroup -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_CityCode AS _CityCode ON CityCode = _CityCode.CityCode AND Country = _CityCode.Country AND Region = _CityCode.Region -- association [0..1]
LEFT OUTER JOIN I_SalesDistrict AS _SalesDistrict ON SalesDistrict = _SalesDistrict.SalesDistrict -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND Country = _Region.Country -- association [0..1]
LEFT OUTER JOIN I_CountyCode AS _County ON Country = _County.Country AND Region = _County.Region AND County = _County.County -- association [0..1]
LEFT OUTER JOIN I_TaxingCounty AS _County_2 ON Country = _County_2.Country AND Region = _County_2.Region AND County = _County_2.TaxingCounty -- association [0..1]
LEFT OUTER JOIN I_CreditControlArea AS _CreditControlArea ON CreditControlArea = _CreditControlArea.CreditControlArea -- association [0..1]
LEFT OUTER JOIN I_OverallSDProcessStatus AS _OverallSDProcessStatus ON OverallSDProcessStatus = _OverallSDProcessStatus.OverallSDProcessStatus -- association [0..1]
LEFT OUTER JOIN I_OverallBillingStatus AS _OverallBillingStatus ON OverallBillingStatus = _OverallBillingStatus.OverallBillingStatus -- association [0..1]
LEFT OUTER JOIN I_OvrlBillingDocReqStatus AS _OvrlBillingDocReqStatus ON OverallBillingDocReqStatus = _OvrlBillingDocReqStatus.OverallBillingDocReqStatus -- association [0..1]
LEFT OUTER JOIN I_PrelimBillgDocStatus AS _PrelimBillingDocumentStatus ON PrelimBillingDocumentStatus = _PrelimBillingDocumentStatus.PrelimBillingDocumentStatus -- association [0..1]
LEFT OUTER JOIN I_AccountingPostingStatus AS _AccountingPostingStatus ON AccountingPostingStatus = _AccountingPostingStatus.AccountingPostingStatus -- association [0..1]
LEFT OUTER JOIN I_AccountingTransferStatus AS _AccountingTransferStatus ON AccountingTransferStatus = _AccountingTransferStatus.AccountingTransferStatus -- association [0..1]
LEFT OUTER JOIN I_BillingIssueType AS _BillingIssueType ON BillingIssueType = _BillingIssueType.BillingIssueType -- association [0..1]
LEFT OUTER JOIN I_InvoiceListStatus AS _InvoiceListStatus ON InvoiceListStatus = _InvoiceListStatus.InvoiceListStatus -- association [0..1]
LEFT OUTER JOIN I_OvrlItmGenIncompletionSts AS _OvrlItmGeneralIncompletionSts ON OvrlItmGeneralIncompletionSts = _OvrlItmGeneralIncompletionSts.OvrlItmGeneralIncompletionSts -- association [0..1]
LEFT OUTER JOIN I_OverallPrcIncompletionSts AS _OverallPricingIncompletionSts ON OverallPricingIncompletionSts = _OverallPricingIncompletionSts.OverallPricingIncompletionSts -- association [0..1]
LEFT OUTER JOIN I_SDApprovalStatus AS _BillgProcDocApprovalStatus ON BillgProcDocApprovalStatus = _BillgProcDocApprovalStatus.SDApprovalStatus -- association [0..1]
LEFT OUTER JOIN I_BillgProcDocApprovalReason AS _BillgProcDocApprovalReason ON SDDocumentCategory = _BillgProcDocApprovalReason.SDDocumentCategory AND BillgProcDocApprovalReason = _BillgProcDocApprovalReason.BillgProcDocApprovalReason -- association [0..1]
LEFT OUTER JOIN I_SDApprovalStatusT AS _BillgProcDocApprovalStatusT ON BillgProcDocApprovalStatus = _BillgProcDocApprovalStatusT.SDApprovalStatus -- association [0..*]
LEFT OUTER JOIN I_SDApprovalReasonT AS _BillgProcDocApprovalReasonT ON BillgProcDocApprovalReason = _BillgProcDocApprovalReasonT.SDApprovalReason -- association [0..*]
LEFT OUTER JOIN I_InvoiceClearingStatus AS _InvoiceClearingStatus ON InvoiceClearingStatus = _InvoiceClearingStatus.InvoiceClearingStatus -- association [0..1]
LEFT OUTER JOIN E_BillingDocument AS _Extension ON BillingDocument = _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