Ansicht
Dokumentation

ISPSCA_VC_FACT_TYPES - Define Fact Types

ISPSCA_VC_FACT_TYPES - Define Fact Types

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

With this IMG activity you can define fact types. Each fact type contains information that is relevant for a certain aspect of taxation of an object. For the taxation of vehicles, you may have one fact type for the vehicle attributes (for example, fuel type or CO2 emission) and one for the property ownership. A combination of various fact types makes up a fact set.

For each fact type you can assign a function module that checks entries made on the fact maintenance screen. Moreover, it is possible to implement a function module that defaults value for facts.

Each fact type is made up of at least one fact category. Fact categories represent the smallest entity of meaningful information. You define at this level whether

  • the value on the fact maintenance screen should be mandatory
  • the entry of multiple values on the fact maintenance screen should be allowed
  • you want to link a fact value with a transaction thus providing navigation facilities on the fact maintenance screen
  • you want to set a default value for the qualifier

It is also possible to grant authorization rights at fact category level.

Fact categories have to be defined.

SAP delivers function module ZZ_CHECK_FACT_TYPE_EXAMPLE as an example of how to set up checks for fact value entries. Function module ZZ_FACTS_DEFAULTS_EXAMPLE is an example of how to default values for facts. ZZ_FACTS_DISPLAY_BP is an example in which the business partner transaction is called with the value entered on the facts editing screen

You define fact type VEAT for all taxation-relevant vehicle attributes and fact type REGE for the registration details. The fact type description is vehicle attributes and registration details.

The fact type for the vehicle attributes consists of four fact categories: vehicle taxation class, engine size, CO2 emissions and fuel type. You could implement a check function module that detects absurd combinations of CO2 emissions and engine size. For taxation you need values for every attribute, so you flag each fact category assigned to the fact type as Mandatory.

The fact type for the registration details consists of the registration date and the owner details. You want to allow multiple entries for the attribute owner and should therefore flag the attribute Multiple Entries.






TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2804 Date: 20240523 Time: 180704     sap01-206 ( 60 ms )