Allevo Reporting: Set Execution Mode

 

REPORT_MODE

* from Allevo-Version 2.9.47 (extended in 3.2.28)

This constant controls the execution of Allevo Reporting transactions, such as /KERN/IPPKS. It covers two basic functions.

First constant function: Setting the execution mode

In Allevo Reporting, Allevo standard transactions are carried out by batch-input in the background. Allevo independently looks for the transaction to be called using the object type and the objects in the selection screen. If, for instance, a cost center is specified, the transaction /KERN/IPPKS is automatically executed in the background. When dealing with multiple cost centers or a group, Allevo switches to the MultiPage mode and calls transaction /KERN/IPPKSM (if required, the page layout corresponding to MOM logic may be found there as a list using different objects).

In exceptional cases, it may be useful to specify an exact call mode.

The constant REPORT_MODE controls this function: it can be activated by an entry in column Value from. The following entries are possible:

·         Entry „MULTI“  enforces the use of the MultiPage mode. Example of application: the MultiPage mode can be called additionally for one single object if so required by the macros on the Excel page (which e.g. require an additional page as a copy of a template page).

·         Entry "MULTIOBJECT" serves to use also Allevo MultiObject transactions for the Reporting (e.g. B. /ALLEVO/KSMO). This has an effect in two cases:

If a single object is predefined in the Reporting, the suitable single Allevo transaction is normally automatically called in the background (in the way described above). If the constant is active with entry "MULTIOBJECT“, Allevo switches to the MO mode.

If several objects or a group are specified in the Reporting selection screen, the MultiPage transaction of Allevo is usually called. However, if "MULTIOBJECT" is entered in the constant, the Reporting additioinally checks whether the constant DYN_KSTAR_SAT is active, i.e. the MOD functions. In this case, the switch to MultiObject will also happen in order to place all the objects onto an Excel sheet via the MOD functions. 

Second constant function: preset button “Combine in 1 sheet“ in the selection screen.

You may now preset the button “Combine in 1 sheet“ in the selection screen of the respective Reporting transaction may now be preset. A suitable entry may be a text with 2 signs:

·         The first character defines whether the button is preset (entry “1“).

·         The second character defines whether the value shall be editable upon transaction call

“1“ = locked).

Example: Entry “11“ defines that objects of selection are always combined in one sheet (may not be modified by the user).

* Extension in Allevo version 3.1

"MULTIOBJECT" may serve to additionally use the MultiObject transactions in the Allevo Reporting.

* Extension in Allevo version 3.2.28

Presetting of button “Combine in 1 sheet“ in the selection screen.