I_CABillgDocItem

DDL: I_CABILLGDOCITEM Type: view_entity BASIC

Abrechnungsbelegposition

Billing Document Item

I_CABillgDocItem (Basic)

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

ContrAcctgBillingDocumentItem · Contract Accounting

I_CABillgDocItem is a Basic CDS View that provides data about "Abrechnungsbelegposition" in SAP S/4HANA. It reads from 1 data source (dfkkinvbill_i) and exposes 95 fields with key fields CABillgDocument, CABillgDocItem. It has 27 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Purpose
This CDS view retrieves the billing document item of a billing document in Convergent Invoicing. A billing document item contains information about quantities, amounts, and account assignments. This CDS view provides the data to answer the following business questions: In which currencies are business transactions recorded? Which types of services are billed? 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: F_KKBILBUK (FI-CA Invocing: Billing Document, Company Code Authorization) F_KKINVBIL (FI-CA Invoicing: Authorizations for Billing Document)

Structure
Important Fields Important fields in this view include the following: Field Name Description CABillgDocument Billing Document Number CABillgDocItem Billing Document Item Number CompanyCode Company Code CABillgDocItemAmount Amount of Billing Document Item CABillgCurrency Currency of Billing Document CAMainTransaction Main Transaction for Line Item CASubTransaction Subtransaction for Document Item

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-INV
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves the billing document item of a billing document in Convergent Invoicing.</p> <p>A billing document item contains information about quantities, amounts, and account assignments.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>In which currencies are business transactions recorded?</p></li> <li><p>Which types of services are billed?</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
dfkkinvbill_i invbill_i from

Associations (27)

CardinalityTargetAliasCondition
[0..1] I_CABillgDocumentItemType _CABillgDocumentItemType $projection.CABillgDocumentItemType = _CABillgDocumentItemType.CABillgDocumentItemType
[0..1] I_CARevnAcctgServiceType _CARevnAcctgServiceType $projection.CARevenueAccountingServiceType = _CARevnAcctgServiceType.CARevenueAccountingServiceType
[0..1] I_CAInvcgAccrualPostingType _CAInvcgAccrualPostingType $projection.CAInvcgAccrualPostingType = _CAInvcgAccrualPostingType.CAInvcgAccrualPostingType
[0..1] I_CABillgFunction _CABillgFunction $projection.CABillgFunction = _CABillgFunction.CABillgFunction
[0..1] I_CABllbleItmDiscountKey _CABllbleItmDiscountKey $projection.CABllbleItmDiscountKey = _CABllbleItmDiscountKey.CABllbleItmDiscountKey
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure
[0..1] I_CABillgReqReason _CABillgReqReason $projection.CABillgReqReason = _CABillgReqReason.CABillgReqReason
[0..1] I_Division _Division $projection.Division = _Division.Division
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..1] I_Segment _Segment $projection.Segment = _Segment.Segment
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter
[0..1] I_CAAccountDetnCode _CAAccountDetnCode $projection.CAAccountDeterminationCode = _CAAccountDetnCode.CAAccountDeterminationCode
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Currency _CABillgCurrency $projection.CABillgCurrency = _CABillgCurrency.Currency
[0..1] I_Country _CATaxCountry $projection.CATaxCountry = _CATaxCountry.Country
[0..1] I_CAInvcgCorrectionCat _CAInvcgCorrectionCat $projection.CAInvcgCorrectionCategory = _CAInvcgCorrectionCat.CAInvcgCorrectionCategory
[0..1] I_CATaxDetnType _CATaxDetnType $projection.CATaxDetnType = _CATaxDetnType.CATaxDetnType
[0..1] I_CATaxDateType _CATaxDateType $projection.CATaxDateType = _CATaxDateType.CATaxDateType
[0..1] I_CAStatisticalItemCode _CAStatisticalItemCode $projection.CAStatisticalItemCode = _CAStatisticalItemCode.CAStatisticalItemCode
[0..1] I_CABillgDeferredRevnCat _CABillgDeferredRevnCat $projection.CABillgDeferredRevenueCategory = _CABillgDeferredRevnCat.CABillgDeferredRevenueCategory
[0..1] I_CADeferredRevenueStatus _CADeferredRevenueStatus $projection.CAInvcgDfrrdRevenueStatus = _CADeferredRevenueStatus.CAInvcgDfrrdRevenueStatus
[0..1] I_CAIsRevnAcctgRelevant _CAIsRevnAcctgRelevant $projection.CAIsRevenueAccountingRelevant = _CAIsRevnAcctgRelevant.CAIsRevenueAccountingRelevant
[0..1] I_CASubApplication _CASubApplication $projection.CASubApplication = _CASubApplication.CASubApplication
[0..1] I_CABillgDocItemCrtnMethod _CABillgDocItemCrtnMethod $projection.CABillgDocItemCrtnMethod = _CABillgDocItemCrtnMethod.CABillgDocItemCrtnMethod
[0..1] I_CADependentItemType _CADependentItemType $projection.CADependentItemType = _CADependentItemType.CADependentItemType
[1..1] I_CABillgDocHeader _CABillgDocHeader $projection.CABillgDocument = _CABillgDocHeader.CABillgDocument
[0..1] E_CABillgDocItem _Extension $projection.CABillgDocument = _Extension.CABillgDocument and $projection.CABillgDocItem = _Extension.CABillgDocItem

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataExtraction.enabled true view
Analytics.technicalName ICAINVBILL_I view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CABillgDocItem view
ObjectModel.sapObjectNodeType.name ContrAcctgBillingDocumentItem view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Abrechnungsbelegposition view

Fields (95)

KeyFieldSource TableSource FieldDescription
KEY CABillgDocument billdocno Number of Billing Document
KEY CABillgDocItem billdocitem Sequential Number of Document Item
CAIsDocItemSimulated item_simulated Line Item Is Simulated
CABillgDocumentItemType itemtype Type of Billing Item
CAContract vtref Reference Specifications from Contract
CompanyCode bukrs Company Code
fkeyinupperviewhvorgasCAMainTransaction
fkeyinupperviewtvorgasCASubTransaction
CAInvcgIsItemPostingRelevant postrel Item Is Relevant for Posting
CAInvcgIsItemPrintingRelevant printrel Item Is Relevant for Printing
CABillgDocItemAmount bill_amount Amount in Billing Document Item
CABillgCurrency bill_curr Currency of Billing Document
CATaxIsIncluded tax_included Tax Included in Amount
fkeyinupperviewmwskzasTaxCode
UnitOfMeasure qty_unit Base Unit of Measure
CABillgDocItemExternalNumber refitem Number of Line Item in External System
CABillgDocItemIsReversal reversalitem Reversal Item
CAInvcgDocItemIsReversal reversalitem Reversal Item
CAInvcgCorrectionCategory Category of Invoice Correction
CAInvcgIsNotBPRelevant not_bprel Not Relevant for Business Partner Items
CAInvcgSubstituteGroupPrinting print_substitute Substitute Group for Invoice Printing
CAItemPeriodStartDate date_from Start of Period of Line Item
CAItemPeriodEndDate date_to End of Period of Line Item
CANetDueDate faedn Due date for net payment
Division spart Source supplier
BusinessArea gsber Business Area
BusinessPlace Business place
Segment segmt Segment for Segmental Reporting
ProfitCenter prctr Profit Centers
CAAccountDeterminationCode kofiz Account Determination ID
CATaxDetnType tax_det_type Type of Tax Calculation
CATaxCountry tax_country Country/Region for Tax Report
CATaxDateType tax_date_type Type of Tax Date
CABillgTaxGroup tax_group Grouping of Tax Items
CAExternalTaxDate ext_tax_date External Tax Date
CATaxDeterminationCode ermwskz Indicator: Tax Determination Code
CAAltvTaxDeterminationCode Alternative Tax Determination Code
fkeyinupperviewmwskz_b2basCAAltvTaxCode
fkeyinupperviewstrkzasCAOtherTaxCode
fkeyinupperviewtxjcdasTaxJurisdiction
fkeyinupperviewqsskzasWithholdingTaxCode
CAIsDownPaymentRequest xanza Item is a Down Payment/Down Payment Request
CABillgDeferredRevenueCategory Deferred Revenue Category
CABillgDeferredRevenueDate defrev_pdate Transfer Posting Date for Delayed Revenues
CAInvcgDfrrdRevenueStatus Status of Processing Deferred Revenues
CAIsRevenueAccountingRelevant rarel Relevant for Revenue Accounting
CARevenueAccountingServiceType service_type Service Type for Revenue Accounting
CAInvcgAccrualPostingType Type of Accrual/Deferral Posting
CABillgDocItemIsBIRelevant qty_bw_rel Quantity Is BI-Relevant
CABillgDocItemIsFICORelevant qty_fi_co_rel Quantity Is FI/CO-Relevant
CAProviderContractItemNumber vtpos Contract: Item Number
CASubApplication subap Subapplication in Contract Accounts Receivable and Payable
CAIsPrepaid prepaid Prepaid
CABillgIsPrepaidBalanceChg pprefill Prepaid Account Balance Change
CABillgDocItemCrtnMethod item_crmet Method Used to Create Billing Document Item
CABillgFunction bill_function Billing Function
CABillgGrpgOfAdditionalItems Grouping of Additional Items
CABillgGrpgOfPaymentData py_group Grouping of Payment Data
CABillgGroupingSourceItems src_group Grouping of Source Items
CABllbleItmNumber Number of Billable Items
CADiscBaseItmGroup disc_group Grouping of Base Items in Billing Document
CAReasonSecurityDeposit sec_reason Reason for Requesting a Security Deposit
CABillgReqReason Billing Request Reason
CABllbleItmDiscountKey Disc./Chg. Key
CABllbleItmDiscountVersion disckey_versno Version Number of Disccount on Billable Items
CABillgQuantityBeforeDecPoint quantity_pdp Billing Quantity: Places before Decimal Point
CABillgQuantityAfterDecPoint quantity_adp Billing Quantity: Places after Decimal Point
CADependentItemType Dependent Item Type
ConditionType condition_type RAI Condition Type
CAAltvMDOriginalIsEnbld altmd_orig Alternative Original Master Data
_CABillgDocHeader _CABillgDocHeader
_CABillgReqReason _CABillgReqReason
_Division _Division
_BusinessArea _BusinessArea
_CompanyCode _CompanyCode
_Segment _Segment
_CATaxCountry _CATaxCountry
_CABillgCurrency _CABillgCurrency
_ProfitCenter _ProfitCenter
_CAAccountDetnCode _CAAccountDetnCode
_UnitOfMeasure _UnitOfMeasure
_CABillgDocumentItemType _CABillgDocumentItemType
_CARevnAcctgServiceType _CARevnAcctgServiceType
_CAInvcgAccrualPostingType _CAInvcgAccrualPostingType
_CABillgFunction _CABillgFunction
_CABllbleItmDiscountKey _CABllbleItmDiscountKey
_CAInvcgCorrectionCat _CAInvcgCorrectionCat
_CATaxDetnType _CATaxDetnType
_CATaxDateType _CATaxDateType
_CABillgDeferredRevnCat _CABillgDeferredRevnCat
_CADeferredRevenueStatus _CADeferredRevenueStatus
_CAIsRevnAcctgRelevant _CAIsRevnAcctgRelevant
_CASubApplication _CASubApplication
_CABillgDocItemCrtnMethod _CABillgDocItemCrtnMethod
_CADependentItemType _CADependentItemType

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_CABillgDocItem.
-- 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_CABillgDocItem AS
SELECT
  billdocno AS CABillgDocument,
  billdocitem AS CABillgDocItem,
  item_simulated AS CAIsDocItemSimulated,
  itemtype AS CABillgDocumentItemType,
  vtref AS CAContract,
  bukrs AS CompanyCode,
  postrel AS CAInvcgIsItemPostingRelevant,
  printrel AS CAInvcgIsItemPrintingRelevant,
  bill_amount AS CABillgDocItemAmount,
  bill_curr AS CABillgCurrency,
  tax_included AS CATaxIsIncluded,
  qty_unit AS UnitOfMeasure,
  refitem AS CABillgDocItemExternalNumber,
  reversalitem AS CABillgDocItemIsReversal,
  reversalitem AS CAInvcgDocItemIsReversal,
  cast(corrcat as corrcat_gfn_kk preserving type ) AS CAInvcgCorrectionCategory,
  not_bprel AS CAInvcgIsNotBPRelevant,
  print_substitute AS CAInvcgSubstituteGroupPrinting,
  date_from AS CAItemPeriodStartDate,
  date_to AS CAItemPeriodEndDate,
  faedn AS CANetDueDate,
  spart AS Division,
  gsber AS BusinessArea,
  cast(bupla as farp_bupla preserving type) AS BusinessPlace,
  segmt AS Segment,
  prctr AS ProfitCenter,
  kofiz AS CAAccountDeterminationCode,
  tax_det_type AS CATaxDetnType,
  tax_country AS CATaxCountry,
  tax_date_type AS CATaxDateType,
  tax_group AS CABillgTaxGroup,
  ext_tax_date AS CAExternalTaxDate,
  ermwskz AS CATaxDeterminationCode,
  cast(ermwskz_b2b as ermwskz_b2b_gfn_kk preserving type ) AS CAAltvTaxDeterminationCode,
  xanza AS CAIsDownPaymentRequest,
  cast(defrev_cat as defrev_cat_gfn_kk preserving type ) AS CABillgDeferredRevenueCategory,
  defrev_pdate AS CABillgDeferredRevenueDate,
  cast(defrev_stat as defrev_stat_gfn_kk preserving type ) AS CAInvcgDfrrdRevenueStatus,
  rarel AS CAIsRevenueAccountingRelevant,
  service_type AS CARevenueAccountingServiceType,
  cast(billac_type as billac_type_gfn_kk preserving type ) AS CAInvcgAccrualPostingType,
  qty_bw_rel AS CABillgDocItemIsBIRelevant,
  qty_fi_co_rel AS CABillgDocItemIsFICORelevant,
  vtpos AS CAProviderContractItemNumber,
  subap AS CASubApplication,
  prepaid AS CAIsPrepaid,
  pprefill AS CABillgIsPrepaidBalanceChg,
  item_crmet AS CABillgDocItemCrtnMethod,
  bill_function AS CABillgFunction,
  cast(add_group as add_group_gfn_kk preserving type ) AS CABillgGrpgOfAdditionalItems,
  py_group AS CABillgGrpgOfPaymentData,
  src_group AS CABillgGroupingSourceItems,
  cast(bit_number as bit_number_gfn_kk preserving type ) AS CABllbleItmNumber,
  disc_group AS CADiscBaseItmGroup,
  sec_reason AS CAReasonSecurityDeposit,
  cast(billreqrsn as billreqrsn_gfn_kk preserving type ) AS CABillgReqReason,
  cast(disckey as disckey_gfn_kk preserving type ) AS CABllbleItmDiscountKey,
  disckey_versno AS CABllbleItmDiscountVersion,
  quantity_pdp AS CABillgQuantityBeforeDecPoint,
  quantity_adp AS CABillgQuantityAfterDecPoint,
  cast(dittype as dittype_gfn_kk preserving type ) AS CADependentItemType,
  condition_type AS ConditionType,
  altmd_orig AS CAAltvMDOriginalIsEnbld
FROM dfkkinvbill_i AS invbill_i
LEFT OUTER JOIN I_CABillgDocumentItemType AS _CABillgDocumentItemType ON CABillgDocumentItemType = _CABillgDocumentItemType.CABillgDocumentItemType  -- association [0..1]
LEFT OUTER JOIN I_CARevnAcctgServiceType AS _CARevnAcctgServiceType ON CARevenueAccountingServiceType = _CARevnAcctgServiceType.CARevenueAccountingServiceType  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgAccrualPostingType AS _CAInvcgAccrualPostingType ON CAInvcgAccrualPostingType = _CAInvcgAccrualPostingType.CAInvcgAccrualPostingType  -- association [0..1]
LEFT OUTER JOIN I_CABillgFunction AS _CABillgFunction ON CABillgFunction = _CABillgFunction.CABillgFunction  -- association [0..1]
LEFT OUTER JOIN I_CABllbleItmDiscountKey AS _CABllbleItmDiscountKey ON CABllbleItmDiscountKey = _CABllbleItmDiscountKey.CABllbleItmDiscountKey  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON UnitOfMeasure = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_CABillgReqReason AS _CABillgReqReason ON CABillgReqReason = _CABillgReqReason.CABillgReqReason  -- association [0..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_Segment AS _Segment ON Segment = _Segment.Segment  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter  -- association [0..*]
LEFT OUTER JOIN I_CAAccountDetnCode AS _CAAccountDetnCode ON CAAccountDeterminationCode = _CAAccountDetnCode.CAAccountDeterminationCode  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CABillgCurrency ON CABillgCurrency = _CABillgCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Country AS _CATaxCountry ON CATaxCountry = _CATaxCountry.Country  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgCorrectionCat AS _CAInvcgCorrectionCat ON CAInvcgCorrectionCategory = _CAInvcgCorrectionCat.CAInvcgCorrectionCategory  -- association [0..1]
LEFT OUTER JOIN I_CATaxDetnType AS _CATaxDetnType ON CATaxDetnType = _CATaxDetnType.CATaxDetnType  -- association [0..1]
LEFT OUTER JOIN I_CATaxDateType AS _CATaxDateType ON CATaxDateType = _CATaxDateType.CATaxDateType  -- association [0..1]
LEFT OUTER JOIN I_CAStatisticalItemCode AS _CAStatisticalItemCode ON CAStatisticalItemCode = _CAStatisticalItemCode.CAStatisticalItemCode  -- association [0..1]
LEFT OUTER JOIN I_CABillgDeferredRevnCat AS _CABillgDeferredRevnCat ON CABillgDeferredRevenueCategory = _CABillgDeferredRevnCat.CABillgDeferredRevenueCategory  -- association [0..1]
LEFT OUTER JOIN I_CADeferredRevenueStatus AS _CADeferredRevenueStatus ON CAInvcgDfrrdRevenueStatus = _CADeferredRevenueStatus.CAInvcgDfrrdRevenueStatus  -- association [0..1]
LEFT OUTER JOIN I_CAIsRevnAcctgRelevant AS _CAIsRevnAcctgRelevant ON CAIsRevenueAccountingRelevant = _CAIsRevnAcctgRelevant.CAIsRevenueAccountingRelevant  -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_CABillgDocItemCrtnMethod AS _CABillgDocItemCrtnMethod ON CABillgDocItemCrtnMethod = _CABillgDocItemCrtnMethod.CABillgDocItemCrtnMethod  -- association [0..1]
LEFT OUTER JOIN I_CADependentItemType AS _CADependentItemType ON CADependentItemType = _CADependentItemType.CADependentItemType  -- association [0..1]
LEFT OUTER JOIN I_CABillgDocHeader AS _CABillgDocHeader ON CABillgDocument = _CABillgDocHeader.CABillgDocument  -- association [1..1]
LEFT OUTER JOIN E_CABillgDocItem AS _Extension ON CABillgDocument = _Extension.CABillgDocument AND CABillgDocItem = _Extension.CABillgDocItem  -- association [0..1]
;