I_PubSecFactCategoryTypeAssgmt

DDL: I_PUBSECFACTCATEGORYTYPEASSGMT Type: view BASIC

Assignment Fact Categories to Fact Type

I_PubSecFactCategoryTypeAssgmt (Basic)

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

Cross Applications

I_PubSecFactCategoryTypeAssgmt is a Basic CDS View that provides data about "Assignment Fact Categories to Fact Type" in SAP S/4HANA. It reads from 1 data source (tfact_type_part) and exposes 4 fields with key fields PublicSectorFactType, PublicSectorFactCatSqnc.

SAP Help Documentation

CategoryCDS Views for Taxpayer Identification and Returns Processing
Purpose
This CDS view is designed to facilitate the assignment of fact categories to fact types within a public sector context. It provides a structured way to associate different categories of facts with specific types, ensuring that data is organized and accessible according to predefined classifications. This view is essential for managing and customizing data related to public sector operations, allowing for efficient data handling and retrieval. This CDS view provides the data to answer the following business questions: How are different fact categories assigned to specific fact types within the public sector? What are the sequences of fact categories associated with each fact type? Which authorization groups are linked to specific fact categories and types? How can we customize and manage data classifications for public sector operations effectively? 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: Authorization Object ID Authorization Object Text F_PSFA_CAT PSCD Facts. Fact Type Parts

Structure
Important Fields Important fields in this view include the following: Field Name Label PublicSectorFactType Fact Type PublicSectorFactCatSqnc Fact Cat. Sequence PublicSectorFactCategory Fact Category AuthorizationGroup Authorization Group

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-PS-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is designed to facilitate the assignment of fact categories to fact types within a public sector context. It provides a structured way to associate different categories of facts with specific types, ensuring that data is organized and accessible according to predefined classifications. This view is essential for managing and customizing data related to public sector operations, allowing for efficient data handling and retrieval.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>How are different fact categories assigned to specific fact types within the public sector?</p></li> <li><p>What are the sequences of fact categories associated with each fact type?</p></li> <li><p>Which authorization groups are linked to specific fact categories and types?</p></li> <li><p>How can we customize and manage data classifications for public sector operations effectively?</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
tfact_type_part tfact_type_part from

Annotations (15)

NameValueLevelField
EndUserText.label Assignment Fact Categories to Fact Type view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.sqlViewName IPSFACTCATTYPAS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey PublicSectorFactType view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.modelingPattern #NONE view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PublicSectorFactType fact_type Fact Type
KEY PublicSectorFactCatSqnc fact_cat_seq Fact Category Sequence
PublicSectorFactCategory fact_category Fact Category
AuthorizationGroup auth_group Fact Type Authorization Group

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_PubSecFactCategoryTypeAssgmt.
-- 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_PubSecFactCategoryTypeAssgmt AS
SELECT
  fact_type AS PublicSectorFactType,
  fact_cat_seq AS PublicSectorFactCatSqnc,
  fact_category AS PublicSectorFactCategory,
  auth_group AS AuthorizationGroup
FROM tfact_type_part
;