Ansicht
Dokumentation

ISPSCA_TFACT_CAT - Define Fact Category

ISPSCA_TFACT_CAT - Define Fact Category

General Material Data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

You can define fact categories with this IMG activity. Fact categories represent the smallest entity of meaningful information. They are used to reference the attributes of a fact to the dictionary. This is done by assigning a field contained in structure PSFACTS_FIELD_DESCRIPTORS to the fact category. SAP delivers some fields in this structure, for example date or amount. Customers can include their own fields using include CI_FACTS_FIELD_DESC.

Description, search helps, and format for fact categories must all be defined in this structure.

Each fact category can be supplemented by a qualifier. The qualifier represents a piece of data that completes the meaning of the data, for example, the unit of measure or the currency.

The field descriptors for the qualifiers are also read from structure PSFACTS_FIELD_DESCRIPTORS. To facilitate the editing of fact values you can set a default qualifier.

If you want to provide navigation facilities on the contract object editing screen, you can link a fact value with a transaction or a report. To do this, you have to create a fact display function module and assign it to the fact category.

The function module for the fact category description allows you to import master data descriptions/any other comment, or to provide extra information to facilitate the editing of fact values.

It is also possible to define the data entry type for fact values and fact qualifiers. You can choose whether the respective fields on the contract object editing screen should allow values to be entered or just be checkboxes.

SAP delivers function module ZZ_FACTS_DISPLAY_BP as an example for the Fact Display Function Module in which the business partner transaction is called with the value entered during fact maintenance.

Function module ZZ_GET_FACT_CATE_DESCRIPTION is an example of the Fact Category Description Function Module and shows how to set values for the fact category description field in the Facts group box on the contract object editing screen.

If the tax agent is supposed to enter the registration date for the taxation of a vehicle, you can use the reference to the fact category CALENDAR DATE.

For the engine size and CO2 emissions, you could create new fact categories using QUANTITY as Field Name for Fact Value from the pre-delivered structure PSFACTS_FIELD_DESCRIPTORS. To facilitate data entry for these attributes, you could assign corresponding qualifiers such as CCM (cubic centimeter) for the engine size and G (gram) for CO2 emissions.






TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2842 Date: 20240523 Time: 175746     sap01-206 ( 63 ms )