I_CABillgPln

DDL: I_CABILLGPLN Type: view_entity BASIC

Abrechnungsplankopf

Billing Plan Header

I_CABillgPln (Basic)

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

Contract Accounting Billing Plan · Contract Accounting

I_CABillgPln is a Basic CDS View that provides data about "Abrechnungsplankopf" in SAP S/4HANA. It reads from 1 data source (dfkkbix_bip_h) and exposes 42 fields with key field CABillgPlnNumber. It has 12 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
StatusStatus of Billing Plan
Purpose
This CDS view retrieves the billing plan header in Convergent Invoicing. Billing plans allow you to schedule invoice amounts for recurring and non-recurring payments. You create one billing plan for each contract or contract account. You then schedule a background job to request the billing plan items, so that these invoice amounts can be included in the next billing run. This CDS view provides the data to answer the following business questions: What is the status of a given billing plan? Which billing plans expire within a given period? How many billable items have been created for a given billing plan? 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_KKBITBKR (FI-CA Billing: Billable Items (Company Code)) F_KKBIXBIP (FI-CA Billing: Authorization for Billing Plans) F_KKCI_BEG (Convergent Invoicing: Authorization Group)

Structure
Important Fields Important fields in this view include the following: Field Name Description CABillgPlnNumber Billing Plan Number CABillgPlnStartDate Valid From CABillgPlnEndDate Valid To CABillgPlnStatus Status of Billing Plan ContractAccount Contract Account Number BusinessPartner Business Partner Number

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 plan header in Convergent Invoicing.</p> <p>Billing plans allow you to schedule invoice amounts for recurring and non-recurring payments. You create one billing plan for each contract or contract account. You then schedule a background job to request the billing plan items, so that these invoice amounts can be included in the next billing run.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What is the status of a given billing plan?</p></li> <li><p>Which billing plans expire within a given period?</p></li> <li><p>How many billable items have been created for a given billing plan?</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
dfkkbix_bip_h dfkkbix_bip_h from

Associations (12)

CardinalityTargetAliasCondition
[0..1] I_CABillgPlnCategory _CABillgPlnCategory $projection.CABillgPlnCategory = _CABillgPlnCategory.CABillgPlnCategory
[0..1] I_CABillgPlnType _CABillgPlnType $projection.CABillgPlnType = _CABillgPlnType.CABillgPlnType
[0..1] I_CABillgPlnStatus _CABillgPlnStatus $projection.CABillgPlnStatus = _CABillgPlnStatus.CABillgPlnStatus
[0..1] I_CABillgPlnCreationMode _CABillgPlnCreationMode $projection.CABillgPlnCreationMode = _CABillgPlnCreationMode.CABillgPlnCreationMode
[0..1] I_CAInvcgMasterDataType _CAInvcgMasterDataType $projection.CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType
[0..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_ContractAccountHeader _ContractAccount $projection.ContractAccount = _ContractAccount.ContractAccount
[0..1] I_CAApplicationArea _CAApplicationArea $projection.CAApplicationArea = _CAApplicationArea.CAApplicationArea
[0..1] I_CASubApplication _CASubApplication $projection.CASubApplication = _CASubApplication.CASubApplication
[0..1] I_CAMasterAgreement _CAMasterAgreement $projection.CAMasterAgreement = _CAMasterAgreement.CAMasterAgreement
[0..1] I_ContractAccountPartner _ContractAccountPartner $projection.ContractAccount = _ContractAccountPartner.ContractAccount and $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner -- extensions
[1..1] E_CABillgPln _Extension $projection.CABillgPlnNumber = _Extension.CABillgPlnNumber

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataExtraction.enabled true 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 CABillgPlnNumber view
ObjectModel.sapObjectNodeType.name ContrAcctgBillingPlan view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Abrechnungsplankopf view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY CABillgPlnNumber billplanno Billing Plan Number
CABillgPlnCategory Billing Plan Category
CABillgPlnType biptype Billing Plan Type
CABillgPlnStatus status Status of Billing Plan
CABillgPlnStartDate valid_from Validity Start Time
CABillgPlnEndDate valid_to Validity End Time
CABillgPlnLastRequestDate requestdate_last Last Reqest Date for Billing Plan Items
CABillgPlnNextRequestDate requestdate_next Next Request Date of Billing Plan Items
CABillgPlnDescription biptext Description of Billing Plan
CABillgPlnExternalReference bipref External Reference of Billing Plan
LogicalSystem logsys Logical system
CAApplicationArea applk Application Area
BusinessPartner Business Partner Number
ContractAccount vkont Contract Account Number
CAInvcgMasterDataType mdcat Type of Master Record for Convergent Invoicing
CAContract vtref Reference Specifications from Contract
CAProviderContractItemUUID vtpid External GUID of Provider Contract Items
CASubApplication subap Subapplication in Contract Accounts Receivable and Payable
makeyasCAMasterAgreement
CAInvcgOffsettingReferenceKey offset_refid Offsetting Reference Key
CABillgPlnCreatedByUser crname User Who Created the Billing Plan
CABillgPlnCreationDate crdate Creation Date of Billing Plan
CABillgPlnCreationTime crtime Time At Which the Billing Plan Was Created
CABillgPlnChangedByUser chname User Who Changed the Billing Plan
CABillgPlnChangeDate chdate Change Date of Billing Plan
CABillgPlnChangeTime chtime Time at Which the Billing Plan Was Changed
CABillgPlnCreationMode crmode Creation Mode of Billing Plan
CABillgPlnNumberBllbleItm bit_number Number of Billable Items for the Billing Plan
CABillgPlnCompletionDate completion_date Completion Date
CABillgPlnIsTemplate xtemp Billing Plan Template
CABillgPlnVersion version Version Number
_CABillgPlnCategory _CABillgPlnCategory
_CABillgPlnType _CABillgPlnType
_CABillgPlnStatus _CABillgPlnStatus
_CABillgPlnCreationMode _CABillgPlnCreationMode
_CAInvcgMasterDataType _CAInvcgMasterDataType
_CAApplicationArea _CAApplicationArea
_BusinessPartner _BusinessPartner
_ContractAccount _ContractAccount
_CASubApplication _CASubApplication
_CAMasterAgreement _CAMasterAgreement
_ContractAccountPartner _ContractAccountPartner

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_CABillgPln.
-- 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_CABillgPln AS
SELECT
  billplanno AS CABillgPlnNumber,
  cast(bipcat as bipcat_gfn_kk preserving type ) AS CABillgPlnCategory,
  biptype AS CABillgPlnType,
  status AS CABillgPlnStatus,
  valid_from AS CABillgPlnStartDate,
  valid_to AS CABillgPlnEndDate,
  requestdate_last AS CABillgPlnLastRequestDate,
  requestdate_next AS CABillgPlnNextRequestDate,
  biptext AS CABillgPlnDescription,
  bipref AS CABillgPlnExternalReference,
  logsys AS LogicalSystem,
  applk AS CAApplicationArea,
  cast(gpart as bu_partner preserving type ) AS BusinessPartner,
  vkont AS ContractAccount,
  mdcat AS CAInvcgMasterDataType,
  vtref AS CAContract,
  vtpid AS CAProviderContractItemUUID,
  subap AS CASubApplication,
  offset_refid AS CAInvcgOffsettingReferenceKey,
  crname AS CABillgPlnCreatedByUser,
  crdate AS CABillgPlnCreationDate,
  crtime AS CABillgPlnCreationTime,
  chname AS CABillgPlnChangedByUser,
  chdate AS CABillgPlnChangeDate,
  chtime AS CABillgPlnChangeTime,
  crmode AS CABillgPlnCreationMode,
  bit_number AS CABillgPlnNumberBllbleItm,
  completion_date AS CABillgPlnCompletionDate,
  xtemp AS CABillgPlnIsTemplate,
  version AS CABillgPlnVersion
FROM dfkkbix_bip_h
LEFT OUTER JOIN I_CABillgPlnCategory AS _CABillgPlnCategory ON CABillgPlnCategory = _CABillgPlnCategory.CABillgPlnCategory  -- association [0..1]
LEFT OUTER JOIN I_CABillgPlnType AS _CABillgPlnType ON CABillgPlnType = _CABillgPlnType.CABillgPlnType  -- association [0..1]
LEFT OUTER JOIN I_CABillgPlnStatus AS _CABillgPlnStatus ON CABillgPlnStatus = _CABillgPlnStatus.CABillgPlnStatus  -- association [0..1]
LEFT OUTER JOIN I_CABillgPlnCreationMode AS _CABillgPlnCreationMode ON CABillgPlnCreationMode = _CABillgPlnCreationMode.CABillgPlnCreationMode  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgMasterDataType AS _CAInvcgMasterDataType ON CAInvcgMasterDataType = _CAInvcgMasterDataType.CAInvcgMasterDataType  -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccount ON ContractAccount = _ContractAccount.ContractAccount  -- association [0..1]
LEFT OUTER JOIN I_CAApplicationArea AS _CAApplicationArea ON CAApplicationArea = _CAApplicationArea.CAApplicationArea  -- association [0..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_CAMasterAgreement AS _CAMasterAgreement ON CAMasterAgreement = _CAMasterAgreement.CAMasterAgreement  -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractAccount = _ContractAccountPartner.ContractAccount AND BusinessPartner = _ContractAccountPartner.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN E_CABillgPln AS _Extension ON CABillgPlnNumber = _Extension.CABillgPlnNumber  -- association [1..1]
;