Read Cost Centers and Assigned Orders (1)

 

KOSTL_WITH_OR

If the constant KOSTL_WITH_OR is active, the orders assigned to a cost center can be included when reading data. For this purpose, the cost center must be specified as the responsible object in the master record of the order (field KOSTV in table AUFK; field AUF-KOSTL from Allevo 2.9.25).

Note:

Alternatively, it is from Allevo version 2.9.25 possible to read out via a different field; e.g. via the field AKSTL = requesting cost center. This extended function is controlled via the constant KOSTL_WITH_OR_EX.

The constant KOSTL_WITH_OR is activated by entering an object class (e.g. OC for overhead costs or IV for invest, field SCOPE) in column Value from. Multiple object classes are separated by comma (without blank space). This way, it is possible to limit reading to orders of specific object classes. The specifications will be linked to the relational operator OR when reading the file.

An additional restriction of the order type (field AUART) may be set in column Value to: multiple entries are again separated by commas. The restriction via the order may also improve the performance during reading reference data.

Note:

In SE16, SAP frequently shows GKOST instead of OC or INVEST instead of IV (depending on the display variant). The relevant field SCOPE, however, is a CHAR 2. The entries used in the standard are:

OC       Overhead costs

IV         Investment

PR       Production

PA       Operating profit, sales and distribution

Performance: Reading orders that are assigned to a cost center in the master record of the AUFK is unfortunately not supported by suitable SAP indices in this database table. This function may therefore also reduce the Allevo performance during reading of reference data, especially if the list of orders must be created for many column definitions. The constant USE_COLDEF_GROUP may be useful in this case.