Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
KOKRS | TKA02-KOKRS | C | 4 | Controlling Area |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
T_BUKRS | 0 | Table of Assigned Company Codes |
Exception | Text |
---|---|
NOT_FOUND | Controlling Area Not Found |
NO_BUKRS_FOUND | No Company Code Found |
This function module finds all the company codes assigned to acontrolling area. They are then returned sorted in the table T_BUKRS. Case 1: Cost accounting per company code The company code assigned to the controlling area is returned. Case 2: Cross-company code cost accounting All company codes are returned for which cost accounting in the desired controlling area is performed. Case 3: Cost accounting per business area The company code is returned for which a part of cost accounting specified in more detail by the business area is performed in the specified controlling area. |