Ansicht
Dokumentation

K_KOKRS_READ - Reads Controlling Area Code (Plus Fiscal Year Parameter Where Necessary)

K_KOKRS_READ - Reads Controlling Area Code (Plus Fiscal Year Parameter Where Necessary)

PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Both year-dependent (table TKA00) and non-year-dependent (table TKA01) Customizing entries exist for a controlling area.

If only the controlling area (import parameter KOKRS) is set when calling funktion K_KOKRS_READ, only the non-year-dependent Customizing entries will be provided (structure TKA01). If the fiscal year (import parameter GJAHR) is set in addition to the controlling area, the year-dependent Customizing entries will also be provided (structure TKA00).

The year-dependent Customizing entries are valid as of a fiscal year .

Example: For a controlling area, two year-dependent entries are maintained:

As of 1998: ...

As of 2000: ...

K_KOKRS_READ will be called with GJAHR = 1999 (year). In 1999 the entry for 1998 is still valid and the function will therefore provide the entry for year 1998.

Technical information: The function will select values from the database only if the actual controlling area is not the same as the last controlling area for which Customizing entries were read.





Parameters

E_TKA00
E_TKA01
GJAHR
KOKRS

Exceptions

NOT_FOUND
NOT_FOUND_GJAHR

Function Group

RKSRCORE

TXBHW - Original Tax Base Amount in Local Currency   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 1340 Date: 20240523 Time: 114025     sap01-206 ( 39 ms )