/
Function Widget - Customer Function Modules

Function Widget - Customer Function Modules

There are several possibilities to define functions in the function widget. In the old PFC framework, there existed the possibility to define a function via a function module (Type "F").

This possibility has been removed and replaced (due to technical reasons) with the new type of a class interface (Type "I").

As mention in the customizing manual, a full automatic migration of such Type F entries is not possible. But still the Type F entries are migrated, so that they are still visible in the functions customizing. From there, one has to change them manually to a type I function.

In the following is a short explanation of this new function type. Still, there is not one solutions to always migrate such a function the same way, since the old function module calls might have used old data structures from the old framework (PCF). Those data might have change in the ProFramework. Therefore manual changes are often needed.

The new Type I is based on the following Interface: /PCH/IF_CFW_MDL_FUNCTIONS_CB. There is only one method that needs to be redefined, CALL_FUNCTION, with the following Parameters:

IO_FRW

The actual AFW controller with lots of classes and methods to access different framework data and functions.

IS_FUNCTION

The structure which defines the function in the customizing of the function widgets.
These are the interesting fields of this structure:

FUNCTION_DEFINITION

The technical name of the function definition

FUNCTION_ID

The ID of the function

FUNCTION_TYPE

Type of the function (i.e. "I" = Interface, our case)

FUNCTION_NAME

The name of the function, which is in the type I case the name of the class

BEGRU

Authority group

ADDITIONAL_INFO

Additional free parameter. Its i.e. also possible the group different customer function in just one class and use this parameter for differentiation.

IV_OBJECT_TYPE

The actual type of the displayed main object in the framework.

IV_OBJECT_KEY

The actual key of the displayed main object in the framework.

RV_REFRESH

If the framework shall refresh all the widget. This might be necessary, when the costumer function has changed the displayed data.

 

© ProNovia AG | Imprint | Data Protection