I_CASrvcDisconnectionRequest

DDL: I_CASRVCDISCONNECTIONREQUEST Type: view_entity BASIC

Service Disconnection Request

I_CASrvcDisconnectionRequest (Basic)

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

Contract Accounting Service Disconnection Request · Contract Accounting

I_CASrvcDisconnectionRequest is a Basic CDS View (Fact) that provides data about "Service Disconnection Request" in SAP S/4HANA. It reads from 1 data source (dfkk_disco_proph) and exposes 25 fields with key fields CAServiceDisconnectionRequest, CASrvcDisconncnReqIsInvalid, CASrvcDisconncnReqIsObsolete. It has 9 associations to related views.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Data CategoryFact
Purpose
This CDS view provides information as to whether a business partner's overdue amount fulfills the criteria for a service disconnection. This CDS view provides the data to answer the following business questions: What is the volume of overdue receivables of the business partner? Is the disconnection request still valid? When was the disconnection request created? 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_KKKO_BUK ( Contract Accounting Company Code Authorization ) F_KKVK_BEG ( Contract Account Partner Authorization Group ) F_KKVTD_BG ( Contract Accounting Document Provider Contract Authorization Group )

SAP Business Warehouse (SAP BW) Extraction
Data Extraction Type Full Delta (change data capture)

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction, Data Source in SQL Select
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides information as to whether a business partner's overdue amount fulfills the criteria for a service disconnection.</p> This CDS view provides the data to answer the following business questions:<ul> <li><p>What is the volume of overdue receivables of the business partner?</p></li> <li><p>Is the disconnection request still valid?</p></li> <li><p>When was the disconnection request created?</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
dfkk_disco_proph dfkk_disco_proph from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[0..1] I_CAProviderContractHeader _CAProviderContract $projection.CAContract = _CAProviderContract.CAProviderContract and $projection.CASubApplication = 'P'
[1..1] I_CASrvcDisconncnReqStatus _CASrvcDisconncnReqStatus $projection.CASrvcDisconncnReqStatus = _CASrvcDisconncnReqStatus.CASrvcDisconncnReqStatus
[0..1] I_CASubApplication _CASubApplication $projection.CASubApplication = _CASubApplication.CASubApplication
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_ContractAccountPartner _ContractAccountPartner $projection.ContractAccount = _ContractAccountPartner.ContractAccount and $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner
[1..1] I_ContractAccountHeader _ContractAccount $projection.ContractAccount = _ContractAccount.ContractAccount
[1..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_Division _Division $projection.Division = _Division.Division

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #FACT view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
EndUserText.label Service Disconnection Request view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY CAServiceDisconnectionRequest dscpnr Number of Disconnection Request
KEY CASrvcDisconncnReqIsInvalid xdpinv Invalid Disconnection Request
KEY CASrvcDisconncnReqIsObsolete xiobs Obsolete Disconnection Request
CAMassRunDate laufd Date ID
CAMassRunID laufi Settlement ID
BusinessPartner Business Partner Number
ContractAccount Contract Account
CAContract Reference Specifications from Contract
CASubApplication subap Subapplication in Contract Accounts Receivable and Payable
CompanyCode bukrs Company Code
Division spart Source supplier
CADunningAmount mbetm Dunned amount in transaction currency
TransactionCurrency waers Transaction Currency
CreatedByUser uname User Name
CreationDate crdate Sizing Date
CreationTime crtime Time of Entry
_BusinessPartner _BusinessPartner
_CAProviderContract _CAProviderContract
_CASrvcDisconncnReqStatus _CASrvcDisconncnReqStatus
_CASubApplication _CASubApplication
_CompanyCode _CompanyCode
_ContractAccount _ContractAccount
_ContractAccountPartner _ContractAccountPartner
_Division _Division
_TransactionCurrency _TransactionCurrency

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_CASrvcDisconnectionRequest.
-- 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_CASrvcDisconnectionRequest AS
SELECT
  dscpnr AS CAServiceDisconnectionRequest,
  xdpinv AS CASrvcDisconncnReqIsInvalid,
  xiobs AS CASrvcDisconncnReqIsObsolete,
  laufd AS CAMassRunDate,
  laufi AS CAMassRunID,
  cast( gpart as bu_partner preserving type ) AS BusinessPartner,
  cast( vkont as vkont_gfn_kk preserving type ) AS ContractAccount,
  cast( vtref as vtref_kk preserving type ) AS CAContract,
  subap AS CASubApplication,
  bukrs AS CompanyCode,
  spart AS Division,
  mbetm AS CADunningAmount,
  waers AS TransactionCurrency,
  uname AS CreatedByUser,
  crdate AS CreationDate,
  crtime AS CreationTime
FROM dfkk_disco_proph
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_CAProviderContractHeader AS _CAProviderContract ON CAContract = _CAProviderContract.CAProviderContract AND CASubApplication = 'P'  -- association [0..1]
LEFT OUTER JOIN I_CASrvcDisconncnReqStatus AS _CASrvcDisconncnReqStatus ON CASrvcDisconncnReqStatus = _CASrvcDisconncnReqStatus.CASrvcDisconncnReqStatus  -- association [1..1]
LEFT OUTER JOIN I_CASubApplication AS _CASubApplication ON CASubApplication = _CASubApplication.CASubApplication  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractAccount = _ContractAccountPartner.ContractAccount AND BusinessPartner = _ContractAccountPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccount ON ContractAccount = _ContractAccount.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division  -- association [0..1]
;