C_PubSecActiveRegnKPI
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)
| Source | Alias | Join Type |
|---|---|---|
| I_PubSecActiveTaxObligation | I_PubSecActiveTaxObligation | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PublicSectorBPStdIndstry | _TaxpayerStdIndustry | $projection.Taxpayer = _TaxpayerStdIndustry.BusinessPartner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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 ID | App Name | Type | Description |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA