on 10-17-2008 11:18 AM
hi,
When i am deleting cost element through T code KA04, following error is coming:
Cost Element Name Ms M Msg Text field
46811050 SUBCON EXPENSES KS E 133 Deletion is not possible (dependent records exist in Table COEP)
then how to remove this error.
Be sure you delete the cost element for the right reason. If you still want to do it have a look at the following:
Note 551506 is the FAQ note for CO, below is an extract of one of the points:
===================================
Question: What must I do to delete master data, for which transaction data already exists?
Answer: Changes to the order criteria of the master data in Overhead Cost Controlling can either only be deleted on specific key dates (see Note 62716) or after you delete all existing transaction data for this master record. To do this, it is necessary to use the 'Trash can' pushbutton to delete for the manually planned values, setting to zero alone does not suffice. Even if you deleted all transaction data, the tax rates for the master data remain in individual cases. To delete these tax rates, there are various reports: for COKA rates of RKPLNC18 (LC 51513) and for CSSL rates of RKPLNC29 (LC 129584).
====================================
The following programs are also available to remove plan, actuals:
RKACOR20 Correction Program: Delete CO Documents With Origin in External Acctg.
RKCORR12 Correction Program: Delete Unnecessary COBK_INDX Entries
RKPLNC18 Delete COKA Entries for Cost Center and Cost Center/Activity Type
RKPLNC25 Delete COKA entries for one cost element
RKPLNC31 Delete COSL record without COKL
RKPLNC39 Delete COKP records without COKA
RKPLNC41 Delete COSS with Business Transaction RKPL if no COKL Record Exists
Regards
Rob Viljoen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can not delete Cost Element because posting records are exist.
you have to delete transactional arecords from the table using abap program then you will be able to delete cost element.
hope it helps
regards
Hari P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Data is already posting to cost element
To maintain the consistency of existing data, you can only delete data if no transaction data exists in the change period. You are not allowed to post either plan data or actual data.
As transaction data already exists in table COEP, you cannot execute the deletion in time period.
So try to change the cost element at KA02 and goto menu Edit and Analysis period and change the period and use the same cost element for extended period.
Cheers
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If it doesn't hurt, try reducing the validity period of the CE. Much faster.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.