2018-09-27 129584
129584 - Changing the activity type/deleting activity type
planning
Version 8 Type SAP Note
Language English Master Language German
Priority Recommendations / Additional Info Category Program error
Release Status Released for Customer Released On 07.08.2017
Component CO-OM-CCA-B ( Planning )
Please find the original document at https://launchpad.support.sap.com/#/notes/ 129584
Symptom
You have changed the activity type category or allocation cost element of an
activity type in the master data record. However, during the planning of this
activity type, the old activity type category or old allocation cost element
still appears.
The system also uses the old value if you change the cost element for the
corresponding activity type via KL02.
Other Terms
KP26, activity planning, KP228, KL02
Reason and Prerequisites
An activity type was planned for/posted to a cost center
(transaction KP26).
a) You now want to change the activity type category or allocation cost element
of the activity type later on.
2) Activity type planning should now be deleted (because, for example, you want
to delete the planning cost center).
All dependent data for this cost center/activity type for the fiscal year in
question has been deleted (activity allocation, price calculation, and so on).
Actual postings have been reversed. In certain cases (for example, during the
update of activity allocations and a subsequent reversal), it is not sufficient
to reverse the actual postings. Instead, you need to delete all postings.
Otherwise, records with a zero balance remain in the table COSL. These cannot be
deleted using standard tools.
Planned values have been deleted (it is not sufficient to set them to "0").
Finally, activity planning for the activity type to be changed has itself been
deleted (transaction KP26). Here, again, setting "0" is not sufficient. Thus, no
further records for the activity type to be changed/deleted exist for the cost
center in question in the tables COSP and COSS.
Any remaining COKA records have been deleted with the help of the report
RKPLNC18 from SAP Note 51513.
Solution
A change to the activity type category or allocation cost element in the master
record of the activity type (transaction KL02) is not sufficient.
The master data should be seen only as default values.
The data of the first posting of this activity type to a cost center is
decisive. Here, a control record is written to the table CSSL.
© 2018 SAP SE or an SAP affiliate company. All rights reserved 1 of 3
2018-09-27 129584
Due to a program error, this control record in the table CSSL is not deleted
when the planned activity is deleted.
You can use the report RKPLNC29 specified below to delete this control record.
(This applies only if no further transaction data exists for this cost
center/activity type.)
Please create the report RKPLNC29 in your system and copy the following lines to
the source code.
Text elements:
AA1: for activity type
AA2: No dependent records were found
AD1: Error during deletion in table CSSL for
AE1: Dependent data for the activity type
AE2: was deleted.
AF1: Dependent data for activity type
AF2: can be deleted.
AG1: The deletion could not be carried out.
AH1: Plan records still exist on cost centers for activity type
This is the default behavior if the cost element is changed during the validity
of the activity type.
If dependent records exist, the allocation cost element of the corresponding
activity type can no longer be changed within a fiscal year; during price
planning, the allocation costs from the master data of the activity type are
transferred to the control table, which is year-dependent. This table is the
basis for the derivation of the cost element when postings are made.
Software Components
Software Component Release
SAP_APPL 30A - 31I
SAP_APPL 40A - 40B
SAP_APPL 45A - 45B
SAP_APPL 46A - 46B
Correction Instructions
Software Component From To Version Changed on ID
SAP_APPL 30A 40B 1 06.03.1999 23:25:34 0000067203
© 2018 SAP SE or an SAP affiliate company. All rights reserved 2 of 3
2018-09-27 129584
Other Components
Component Description
CO Controlling
This document refers to
SAP Note/KBA Title
551506 FAQ note Overhead Cost Controlling
43230 KS021/KS027 when changing/deleting activity type
359893 Error BK128 for actual activity allocation
This document is referenced by
SAP Note/KBA Title
551506 FAQ note Overhead Cost Controlling
43230 KS021/KS027 when changing/deleting activity type
359893 Error BK128 for actual activity allocation
© 2018 SAP SE or an SAP affiliate company. All rights reserved 3 of 3