Handling Functions

In principle, it is possible to replace the handling of a function in a customer-specific way by means of an extension.

This is done via the BAdI /PCH/CFW_CTRL_FUNCTION of the extension spot /PCH/CFW_APPLICATION. The BAdI has a filter that can be used to define in which applications the extension is to be activated.

A custom treatment logic can be implemented in the HANDLE method. If a customer specific treatment takes place, the treatment must be suppressed by the standard with the parameter CV_SUPPRESS. The following parameters are available in the method:

  • IV_FUNCTION, the name of the function

  • IV_PARAM, a possible flat, function-specific parameter (e.g. the target status)

  • IT_NODES, the objects on which the function is to be applied

  • IO_REFERENCE_NODE, depending on the function an indirect reference object

If the behavior of a standard function is to be changed, then this extension is only suitable to a limited extent. Under certain circumstances it is possible to start a command to be executed in a customer-specific way because the command can be controlled by passing parameters. In most cases, however, an extension of the command is much more suitable.

© ProNovia AG | Imprint | Data Protection