Skip to Content
0

Cannot delete Cost Element in KA04 (con)

Apr 21, 2017 at 07:22 AM

156

avatar image

Dear Experts,

Further to questions under the following forum, would like to ask some more relevant to the CO docs’ deletion programs such as ZKACOR21 & ZKACOR21R–

https://archive.sap.com/discussions/thread/3936185

Our CO doc. 107378723 was generated from Material doc. after posting GI such as the following doc. flow –

After executing program ZKACOR21R for the above CO doc. 107378723, found that the above Material doc. & Accounting doc. were NOT changed and WITHOUT associated reversal doc. generated.

When checking transaction RKABSHOW, found a “CO follow-on doc.” 107378750 under the CO doc. 107378723 as below –

Q1) Does it mean that the program ZKACOR21R can ONLY be used to generate reversal docs. in the CO aspect ?

Q2) Does it mean that the program ZKACOR21R can ONLY be used if ALL items’ GL A/Cs with Cost Ctrs under the CO doc. are required to revoke AND the MM posting period (MMRV) is already closed ? For example, in the above screen of reversal CO doc. 107378750, if we don’t need to revoke the item 1 for GL A/C 32001004 with Cost Ctr 4500, does it mean that it is inappropriate to use the program ZKACOR21R ? If so, how can we adjust the required items 2 & 3 for A/C 32001005 with CC 4526 ?

Q3) For the following SAP Note 175522 –

Important:

Deleting and subsequently posting CO documents may be problematic if one of the following actions already

exists for the document:

Line item settlement to internal orders or projects

Line items planned or invoiced for expense-related invoices

Assessments for the period

Line items were transfer posted

Document was reversed

The last two items can be checked using the option "CO follow-on documents" in transaction RKABSHOW. If a reversal document is concerned that was posted from external accounting to CO, the fields COBK-STOKZ and COBK-STFLG in the document header show whether the document was reversed or is a reversal document. In such cases, you must reverse the transaction before deleting and subsequently posting a CO document (for example, reverse line item settlement or transfer posting) and repeat it after the document is repaired. If you do not do this, there is a risk that document references are no longer correct, and documents

may be settled twice (individually), may be transfer posted, and so on. Normal settlements cause no problems because possible differences are taken into account in the next settlement run.

Does the “a reversal document is concerned” mean that the relevant GL A/C with Cost Ctr (e.g. the above A/C 32001005 with CC 4526) under the Item of reversal Accounting doc. was cleared / settled ? If so, does it mean that our A/C 32001005 under the Accounting & CO docs is not in this case since the following field - “Open item management” under FSS0 for this A/C was not checked in which the relevant A/C doc.’s items are not required to clear / settle ?

Q4) I still don’t understand why the “Normal settlements cause no problems because possible differences are taken into account in the next settlement run”. Could you explain and cite example in details ?

Q5) For the following SAP Note 175522 –

Program ZKACOR21R for document reversal

If the deletion of the documents is not possible because follow-on documents already exist that can no longer be reset or the posting period is already closed, you can use the program ZKACOR21R to generate reversal documents for different periods for these documents.

Like the above Q1, are these “follow-on docs” and “reversal docs” only relevant to CO aspect ? If it is required to reverse the CO doc. generated from SDMM Material doc. after posting GI as above, should we still have to use the relevant SDMM function (e.g. VL09) to revoke the Material doc. with CO doc., but not using the program ZKACOR21R (assume the MM posting period was not closed) ?

For your ref. as below, one of the fields COBK-STOKZ (Rev) & COBK-STFLG (RvD) is marked as “X” if revoking CO doc. by using SDMM function (e.g. VL09), e.g. CO docs 107377749 & 107378722 , while these two fields are BLANK if revoking CO doc. by using the program ZKACOR21R, e.g. CO docs 107378723 & 107378750.

Q6) In the above Forum, it is also suggested to execute programs RKPLNC27 & RKPLNC18 after executing the program ZKACOR21 to delete the CO docs. Is it really required to execute these two programs ? For these two programs, GL A/C CANNOT be specified so other irrelevant A/Cs such as 35002002 & 35004002 are also listed under the following “Test Run” of the program RKPLNC18. Therefore, is it also appropriate to execute these two programs ?

Grateful if you can help to advise our above questions.

Many Thanks,

KH Fong

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

kwok ho fong Apr 28, 2017 at 08:13 AM
0

Any expert could help to advise our above Questions ?

Further to the above Q2 & Q6, after using program ZKACOR21 to delete the CO docs. (including the reversal CO docs.), data was also NOT found in some standard reports, e.g.

KALR - Reconciliaton Ledger: CO Line Items

S_ALR_87013633 - Cost Centers: Actual/Plan/Variance/Previous year

S_ALR_87013631 - Cost Centers: Rolling Year

S_ALR_87013636 - Cost Centers: Object Comparison

According to the following Forums & SAP Note 98520, a suggestion is to use OKBA to re-generate CO doc. from the relevant Accounting doc. -

https://archive.sap.com/discussions/thread/1673739

https://archive.sap.com/discussions/thread/3156709

https://archive.sap.com/discussions/thread/1562705

https://archive.sap.com/discussions/thread/1866857

https://archive.sap.com/discussions/thread/1723366

https://archive.sap.com/discussions/thread/1541894

**The Cost Element for our required GL A/C 32001005 could be removed in KA04 AFTER deleting the relevant CO docs. using the program

ZKACOR21.

Then, tried to execute OKBA to re-generate CO doc. from the relevant Accounting doc. of Material doc. -

Although Cost Ctr. still existed in A/C 32001005's items in the Accounting doc. 6800000001 2016 -

These items were already NOT included in the newly generated CO doc. 107378755.

Q2b) Could you advise whether the above processes of deleting CO docs. to remove Cost Element are correct ?

In program RKPLNC27, could not delete anything when executing it and found that no data existed in table COSS but some relevant data still existed in table COSP.

Q6b) Could you advise whether it is a correct practice to execute the above program RKPLNC27 AFTER deleting the relevant CO docs. and is there any impact that the relevant data still existed in table COSP ?

For program RKPLNC18, we didn't execute it since other irrelevant A/Cs were still listed in "Test Run" and also found that some relevant data still existed in table COKA.

Q6c) Could you advise whether there is any impact if DO NOT execute the above program RKPLNC18 AFTER deleting the relevant CO docs. and is there any impact that the relevant data still existed in table COKA ?

Many Thanks,

KH Fong


Share
10 |10000 characters needed characters left characters exceeded