C_PubSecActiveRegnKPI

DDL: C_PUBSECACTIVEREGNKPI Type: view CONSUMPTION

Active Registrations Smart Business KPI

C_PubSecActiveRegnKPI is a Consumption CDS View that provides data about "Active Registrations Smart Business KPI" in SAP S/4HANA. It reads from 1 data source (I_PubSecActiveTaxObligation) and exposes 32 fields with key fields PublicSectorObjectType, PublicSectorObject, PublicSectorFactTypeSequence, PubSecFactTypeRepetition, PubSecFactValdtyEndDteTme. It has 1 association to related views. It is used in 1 Fiori application: Total Number of Active Registrations.

Data Sources (1)

SourceAliasJoin Type
I_PubSecActiveTaxObligation I_PubSecActiveTaxObligation from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PublicSectorBPStdIndstry _TaxpayerStdIndustry $projection.Taxpayer = _TaxpayerStdIndustry.BusinessPartner

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Active Registrations Smart Business KPI view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CPSACTIVEREG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.buffering.status #NOT_ALLOWED view
OData.publish true view

Fiori Apps (1)

App IDApp NameTypeDescription
F2979 Total Number of Active Registrations Analytical This app shows customer service representatives, tax officers or any tax worker the total number of active registrations. To get further insights, just drill down into the data to take a look at the different revenue types, taxpayers or industries using charts and tables.

Total Number of Active Registrations

Business Role: Customer Service Representative - Tax and Revenue Management

This app shows customer service representatives, tax officers or other tax workers the total number of active registrations. You can drill down into the data to get further insights, by looking at charts or tables for the different revenue types, taxpayers or industries.

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY PublicSectorObjectType PublicSectorObjectType
KEY PublicSectorObject PublicSectorObject
KEY PublicSectorFactTypeSequence PublicSectorFactTypeSequence
KEY PubSecFactTypeRepetition PubSecFactTypeRepetition
KEY PubSecFactValdtyEndDteTme PubSecFactValdtyEndDteTme
Taxpayer Taxpayer Tax Payer BP
TaxPayerName
TaxpayerStandardIndustry
IndustryKeyShortDescription
TaxpayerAccount TaxpayerAccount
TaxpayerAccountName
TaxpayerContract TaxpayerContract
TaxpayerContractName _TaxpayerContractHeader PublicSectorContractName
TaxpayerContractType _TaxpayerContractHeader PublicSectorContractType Contract Object Type
PublicSectorContractTypeName
PublicSectorFactSet PublicSectorFactSet
PublicSectorFactType PublicSectorFactType
PublicSectorRevenueType PublicSectorRevenueType
PublicSectorRevenueTypeName
PubSecRegnValdtyStartDate
PubSecRegnValdtyEndDate
NrOfPubSecActiveRegistrations NrOfPubSecActiveRegistrations Active Registrations
_FactSet _FactSet
_FactTypeSetAssgmt _FactTypeSetAssgmt
_Taxpayer _Taxpayer
_TaxpayerAccountHeader _TaxpayerAccountHeader
_TaxpayerContractHeader _TaxpayerContractHeader
_FactTypeTaxPayer _FactTypeTaxPayer
_FactTypeContractAccount _FactTypeContractAccount
_FactTypeContractObject _FactTypeContractObject
_FactTypePartDateFrom _FactTypePartDateFrom
_FactTypePartDateTo _FactTypePartDateTo

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 C_PubSecActiveRegnKPI.
-- 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 C_PubSecActiveRegnKPI AS
SELECT
  PublicSectorObjectType,
  PublicSectorObject,
  PublicSectorFactTypeSequence,
  PubSecFactTypeRepetition,
  PubSecFactValdtyEndDteTme,
  Taxpayer,
  cast( _Taxpayer.BusinessPartnerFullName as ps_taxpayer_name preserving type ) AS TaxPayerName,
  cast ( _TaxpayerStdIndustry.IndustrySector as ps_taxpayer_standard_industry preserving type ) AS TaxpayerStandardIndustry,
  cast ( _TaxpayerStdIndustry._Industry._IndustryKeySystemText[1:Language=$session.system_language].IndustryKeyShortDescription as ps_industry_name preserving type ) AS IndustryKeyShortDescription,
  TaxpayerAccount,
  cast( _TaxpayerAccountHeader.ContractAccountName as ps_taxpayer_accountname preserving type ) AS TaxpayerAccountName,
  TaxpayerContract,
  _TaxpayerContractHeader.PublicSectorContractName AS TaxpayerContractName,
  _TaxpayerContractHeader.PublicSectorContractType AS TaxpayerContractType,
  cast( _TaxpayerContractHeader._PublicSectorContractType._PubSecContractTypeText[1:Language=$session.system_language].PublicSectorContractTypeName as ps_taxpayer_contract_type_name) AS PublicSectorContractTypeName,
  PublicSectorFactSet,
  PublicSectorFactType,
  PublicSectorRevenueType,
  _FactSetRevenueType._PublicSectorRevenueType._PubSecRevenueTypeText[1:Language=$session.system_language].PublicSectorRevenueTypeName AS PublicSectorRevenueTypeName,
  cast( PubSecRegnValdtyStartDate as ps_valid_from_date preserving type ) AS PubSecRegnValdtyStartDate,
  cast( PubSecRegnValdtyEndDate as ps_valid_to_date preserving type ) AS PubSecRegnValdtyEndDate,
  NrOfPubSecActiveRegistrations
FROM I_PubSecActiveTaxObligation
LEFT OUTER JOIN I_PublicSectorBPStdIndstry AS _TaxpayerStdIndustry ON Taxpayer = _TaxpayerStdIndustry.BusinessPartner  -- association [0..1]
;