0000627257_variances - reorganization of tables cmfk and cmfp

2

Click here to load reader

Upload: love2dream

Post on 22-Jun-2015

14 views

Category:

Documents


0 download

DESCRIPTION

test

TRANSCRIPT

Page 1: 0000627257_Variances - Reorganization of Tables CMFK and CMFP

SAP Note

Header Data

Symptom

The tables CMFK and CMFP (messages or error log) become very large. You cannot delete or archive all entries.  The tables CMFK and CMFP are not connected to the archiving objects CO_ORDER, PR_ORDER, PP_ORDER and CO_KSTRG for the application IDs "KKS", "KKS1" and "KKP".

Other Terms

Archiving, reorganization, variance calculation, distribution, cost object hierarchy, KKS1, KKS2, KKS1N, KKS5, KKS6, KKP5, KKPT, KKPX, KKPY

Reason and Prerequisites

This is due to a missing function.

Solution

You can use the deletion program z_cmf_kks_delete/zcmfkdel to delete old entries from the two tables CMFK (header table for messages) and CMFP (item table for messages). You can specify the following intervals as selection parameters:               Error log number

              Date of creation

              Name of the user who generated the entries

You can start the program either in the test run or in the update run. Note that when you execute the program in the update run, this irrevocably deletes the entries in both tables. You cannot select or delete entries for specific orders because an error log may contain messages for many orders or many messages may not have an order reference. Therefore, make sure that you only delete entries for periods for which the relevant objects (production orders, process orders, cost objects, product cost collectors) have already been archived. You can use transaction KKAN to delete the entries for the WIP calculation or the results analysis (application ID "KKA"). To execute the program z_cmf_kks_delete/zcmfkdel, proceed as follows:

1. Create the program z_cmf_kks_delete/zcmfkdel in a customer-specific development class or in the development class $TMP.

2. Implement the attached source code corrections.

3. Maintain the following selection texts:

                  Field name  Text

                  S_DATE   Date

                  S_NUMBER  Error log number

                  S_USER   User

                  TESTL    Test run

4. Activate the program.

Validity

    627257 - Variances: Reorganization of tables CMFK and CMFP  

Version   7     Validity: 09-19-2013 - active   Language   English

Released On 09-19-2013 18:04:31

Release Status Released for Customer

Component CO-PC-OBJ Cost Object Controlling

CO-PC-OBJ-PER Product Cost by Period

Priority Recommendations / Additional Info

Category Workaround of missing functionality

Other Components

Page 2: 0000627257_Variances - Reorganization of Tables CMFK and CMFP

Correction Instructions

References

This document refers to:

SAP Notes

This document is referenced by:

SAP Notes (1)

Software Component From Rel. To Rel. And Subsequent

SAP_APPL 31I 31I  

40B 40B  

45B 45B  

46B 46B  

46C 46C  

470 470  

500 500  

600 600  

602 602  

603 603  

604 604  

605 605  

606 606  

616 616  

Correction Instructions

Software Component Valid from Valid to Number

SAP_APPL 31I 45B 633088

46B 616 563066

398929   INFORMATION: CO-PC-OBJ (variance calculation)

398929   INFORMATION: CO-PC-OBJ (variance calculation)