I_BillingDueListItem

DDL: I_BILLINGDUELISTITEM Type: view BASIC

Billing Due List Item

I_BillingDueListItem (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sales

I_BillingDueListItem is a Basic CDS View that provides data about "Billing Due List Item" in SAP S/4HANA. It reads from 1 data source (vkdfs) and exposes 42 fields with key fields BillingDocumentCategory, BillingDocumentType, BillingDocumentDate, SalesOrganization, Customer. It has 16 associations to related views.

SAP Help Documentation

CategoryOther
StatusReleased
Purpose
You can use this CDS view to retrieve information about items in the billing due list. The billing due list contains documents that are ready to be billed, either fully or partially (for example, if a sales order contains a billing plan, maybe only some items within the sales order are ready to be billed at a given point in time). Billable documents that appear in the billing due list include sales orders, outbound deliveries, billing document requests, and more. You can view the billing due list in the Create Billing Documents and Create Billing Documents - VF04 apps. This CDS view provides the data to answer the following business questions: How many outbound deliveries are currently in the billing due list? Which outbound deliveries from sales organization 1010 are currently open to be billed? Which documents in the billing due list were created with reference to a solution order? Which billable documents are currently blocked for billing? What is the total net value of the billing due list items still to be billed? Which billable documents are to be billed before the end of the month? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

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
Fields used for filtering The main filters are as follows: Customer , used to filter billing due list items by the customer for whom the billing document is to be created ReferenceSDDocument : Unique key field used to filter by specific document numbers of the billable documents within the billing due list SalesOrganization : Key field used to filter billing due list items by their originating sales organization BillingDate : Key field used to filter billing due list items by the date on which billing will be booked for accounting purposes BillingDocumentCategory , used to filter out billing due list items which are to be billed separately via invoice lists (indicated by value R ) Further important fields Important fields in this view include the following: Field Name Description ReferenceSDDocumentCategory SD document category NetAmount Net value BillingDocumentType Billing type (key field) DestinationCountry Destination country (key field)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentSD-BIL
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>You can use this CDS view to retrieve information about items in the billing due list. The billing due list contains documents that are ready to be billed, either fully or partially (for example, if a sales order contains a billing plan, maybe only some items within the sales order are ready to be billed at a given point in time). Billable documents that appear in the billing due list include sales orders, outbound deliveries, billing document requests, and more.</p> <p>You can view the billing due list in the Create Billing Documents and Create Billing Documents - VF04 apps.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>How many outbound deliveries are currently in the billing due list?</p></li> <li><p>Which outbound deliveries from sales organization 1010 are currently open to be billed?</p></li> <li><p>Which documents in the billing due list were created with reference to a solution order?</p></li> <li><p>Which billable documents are currently blocked for billing?</p></li> <li><p>What is the total net value of the billing due list items still to be billed?</p></li> <li><p>Which billable documents are to be billed before the end of the month?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
vkdfs vkdfs from

Associations (16)

CardinalityTargetAliasCondition
[0..1] I_BillingDocumentCategory _BillingDocumentCategory $projection.BillingDocumentCategory = _BillingDocumentCategory.BillingDocumentCategory
[0..1] I_BillingDocumentType _BillingDocumentType $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType
[0..1] I_SDDocumentCategory _ReferenceSDDocumentCategory $projection.ReferenceSDDocumentCategory = _ReferenceSDDocumentCategory.SDDocumentCategory
[0..1] I_SDDocumentType _ReferenceSDDocumentType $projection.ReferenceSDDocumentType = _ReferenceSDDocumentType.SDDocumentType and $projection.ReferenceSDDocumentCategory = _ReferenceSDDocumentType.SDDocumentCategory
[0..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_Address_2 _DfltAddrRprstn $projection.AddressID = _DfltAddrRprstn.AddressID and $projection.AddressPersonID = _DfltAddrRprstn.AddressPersonID and _DfltAddrRprstn.AddressRepresentationCode is initial
[0..1] I_Country _DestinationCountry $projection.DestinationCountry = _DestinationCountry.Country
[0..1] I_BillingBlockReason _HeaderBillingBlockReason $projection.HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason
[0..1] I_DistributionChannel _DistributionChannel $projection.DistributionChannel = _DistributionChannel.DistributionChannel
[0..1] I_Division _Division $projection.Division = _Division.Division
[0..1] I_ShippingPoint _ShippingPoint $projection.ShippingPoint = _ShippingPoint.ShippingPoint
[0..1] I_OverallProofOfDelivStatus _OverallProofOfDelivStatus $projection.OverallProofOfDeliveryStatus = _OverallProofOfDelivStatus.OverallProofOfDeliveryStatus
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_ServiceDocumentEnhcd _BusinessSolutionOrder $projection.BusinessSolutionOrder = _BusinessSolutionOrder.ServiceDocument and _BusinessSolutionOrder.ServiceObjectType = 'BUS2000172'
[0..*] I_ShippingPointText _ShippingPointText $projection.ShippingPoint = _ShippingPointText.ShippingPoint

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IBILLDUELISTITEM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Billing Due List Item view
Metadata.ignorePropagatedAnnotations true view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY BillingDocumentCategory fktyp Billing Category
KEY BillingDocumentType fkart Ship. cost type
KEY BillingDocumentDate fkdat Billing Date
KEY SalesOrganization vkorg Sales Organization
KEY Customer Customer Number
KEY DestinationCountry lland Destination Country/Region
KEY ReferenceSDDocument vbeln Sales and Distribution Document Number
ReferenceSDDocumentCategory vbtyp SD Document Category
ReferenceSDDocumentType vbart Sales and Distribution Document Type
AddressID Sold-To Address
AddressPersonID adrnp Person Number
AddressObjectType addr_type Address type (1=Organization, 2=Person, 3=Contact person)
HeaderBillingBlockReason faksk Billing Block in SD Document
SortCriterion sortkri Sort Criterion
DistributionChannel vtweg Distribution Channel
Division spart Source supplier
ShippingPoint vstel Shipping Point / Receiving Point
OverallProofOfDeliveryStatus pdstk POD Status on Header Level
NetAmount netwr Net Value in Document Currency
TransactionCurrency waerk SD Document Currency
BillgDocReqRefLgclSyst bdr_ref_logsys Logical system containing source document of BDR
BillingDocRequestReference bdr_ref Source document on which a billing document request is based
BusinessSolutionOrder solution_order_id Solution Order
CreatedByUser ernam Name of Person Responsible for Creating the Object
CreationDate erdat Record Created On
CreationTime erzet Entry time
_BillingDocumentCategory _BillingDocumentCategory
_BillingDocumentType _BillingDocumentType
_ReferenceSDDocumentCategory _ReferenceSDDocumentCategory
_ReferenceSDDocumentType _ReferenceSDDocumentType
_SalesOrganization _SalesOrganization
_Customer _Customer
_DestinationCountry _DestinationCountry
_DfltAddrRprstn _DfltAddrRprstn
_HeaderBillingBlockReason _HeaderBillingBlockReason
_DistributionChannel _DistributionChannel
_Division _Division
_ShippingPoint _ShippingPoint
_OverallProofOfDelivStatus _OverallProofOfDelivStatus
_TransactionCurrency _TransactionCurrency
_BusinessSolutionOrder _BusinessSolutionOrder
_ShippingPointText _ShippingPointText

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_BillingDueListItem.
-- 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_BillingDueListItem AS
SELECT
  fktyp AS BillingDocumentCategory,
  fkart AS BillingDocumentType,
  fkdat AS BillingDocumentDate,
  vkorg AS SalesOrganization,
  cast(kunnr as kunnr preserving type) AS Customer,
  lland AS DestinationCountry,
  vbeln AS ReferenceSDDocument,
  vbtyp AS ReferenceSDDocumentCategory,
  vbart AS ReferenceSDDocumentType,
  cast(adrnr as adrnr preserving type) AS AddressID,
  adrnp AS AddressPersonID,
  addr_type AS AddressObjectType,
  faksk AS HeaderBillingBlockReason,
  sortkri AS SortCriterion,
  vtweg AS DistributionChannel,
  spart AS Division,
  vstel AS ShippingPoint,
  pdstk AS OverallProofOfDeliveryStatus,
  netwr AS NetAmount,
  waerk AS TransactionCurrency,
  bdr_ref_logsys AS BillgDocReqRefLgclSyst,
  bdr_ref AS BillingDocRequestReference,
  solution_order_id AS BusinessSolutionOrder,
  ernam AS CreatedByUser,
  erdat AS CreationDate,
  erzet AS CreationTime
FROM vkdfs
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_SDDocumentCategory AS _ReferenceSDDocumentCategory ON ReferenceSDDocumentCategory = _ReferenceSDDocumentCategory.SDDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentType AS _ReferenceSDDocumentType ON ReferenceSDDocumentType = _ReferenceSDDocumentType.SDDocumentType AND ReferenceSDDocumentCategory = _ReferenceSDDocumentType.SDDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Address_2 AS _DfltAddrRprstn ON AddressID = _DfltAddrRprstn.AddressID AND AddressPersonID = _DfltAddrRprstn.AddressPersonID AND _DfltAddrRprstn.AddressRepresentationCode is initial  -- association [0..1]
LEFT OUTER JOIN I_Country AS _DestinationCountry ON DestinationCountry = _DestinationCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_BillingBlockReason AS _HeaderBillingBlockReason ON HeaderBillingBlockReason = _HeaderBillingBlockReason.BillingBlockReason  -- 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_ShippingPoint AS _ShippingPoint ON ShippingPoint = _ShippingPoint.ShippingPoint  -- association [0..1]
LEFT OUTER JOIN I_OverallProofOfDelivStatus AS _OverallProofOfDelivStatus ON OverallProofOfDeliveryStatus = _OverallProofOfDelivStatus.OverallProofOfDeliveryStatus  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _BusinessSolutionOrder ON BusinessSolutionOrder = _BusinessSolutionOrder.ServiceDocument AND _BusinessSolutionOrder.ServiceObjectType = 'BUS2000172'  -- association [0..1]
LEFT OUTER JOIN I_ShippingPointText AS _ShippingPointText ON ShippingPoint = _ShippingPointText.ShippingPoint  -- association [0..*]
;