0000596558 material ledger production startup


Published on

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

0000596558 material ledger production startup

  1. 1. SAP Note     596558 - Material ledger production startup Version   20     Validity: 07.12.2012 - active     Language   English Header Data Released On 07.12.2012 11:37:46 Release Status Released for Customer Component CO-PC-ACT Actual Costing/Material Ledger Priority Correction with high priority Category Consulting Symptom You want to activate the material ledger function. This note describes the recommended procedure. Other Terms Material ledger, production startup, transaction CKMSTART, report SAPRCKMJ, CNACT, ACTMASTER, parallel currency, actual costs cost estimate Reason and Prerequisites This note is relevant for all customers who want to activate the material ledger. Solution 1. Bear in mind or check the following points before you activate the material ledger a) From the moment of activation in Customizing to the end of the production startup, you cannot perform any goods movements in the affected plants. It is also not possible to create materials. b) Always activate the material ledger for a complete company code and copy all currencies from FI. This is the only way to ensure the reconciliation with FI. c) In addition, we recommend that you activate the material ledger for a complete company code because the invoice verification cannot enter invoices that contain materials from plants with active material ledgers and other materials from plants with inactive material ledgers. d) If you want to activate the actual costing, we recommend that you do this at the start of period. As of the point in time of the activation, material movements are then updated in the material ledger quantity structure tool, and you can perform multilevel costing. e) Performance improvements                        The larger the datasets in question, the longer the runtimes to be expected. Therefore, reduce the data volume for the production startup as much as possible. ¡ ¡ ¡ Use transaction MR11 to perform account maintenance. As a result, older purchase order items are cleared automatically. Archive purchase order data that you no longer require (archiving object MM_EKKO). If, at the time of the production startup, your system already contains purchase orders with a large number of purchase order history records, you may experience performance problems if you are using an Oracle database.                     30-60 minutes after the program start, check if the table MLWERE already contains entries (SE16, "Number of Entries"). If necessary, wait until it contains records.                     Check the table statistics of the Cost Based Optimizer for the table MLWERE (transaction DB20). If the table statistics display zero entries, recreate the statistics (transaction DB20). Afterwards, the program should run much faster.                     If you have several million purchase order history records (tables EKBE and EKBZ) and the solutions mentioned above do not help, proceed as described in Note 592091. ¡ If you use a database with Cost Based Optimizer and set the material ledger as productive for the first time, refresh the table statistics for the following tables (transaction DB20) a few minutes after starting the production startup program SAPRCKMJ (or after starting transaction CKMSTART):                     CKMLHD, CKMLPR, CKMLPP, CKMLCR.                     Proceed in the same way if the actual cost component split is active:                     CKMLKEPH, CKMLPRKEPH, CKMLPRKEKO.                     After refreshing the table statistics, the number of lines displayed in DB20
  2. 2. should be different to zero for each of these tables.  If required, perform another update of the table statistics at a later time.  As long as the table statistics display zero lines, serious performance problems can be expected. ¡ To optimize performance, you can execute the production startup at plant level and run several instances in parallel on several application servers. f) Data migration                        Material masters, purchase orders and purchase order histories from legacy systems or external systems must be transferred before the production startup. If you transfer materials from external systems, make sure that the accounting view is created and that the material type permits the update of quantities and values in all plants.                        You can also create material masters after activating the material ledger. However, in this case you must use transaction MM01. You should always transfer purchase orders and purchase order histories before activating the material ledger. This ensures that the system translates the purchase order history in all additional currencies. g) Before starting the production startup, close all manufacturing orders and create new orders after the upgrade. For already existing production orders, there is no connection to the material ledger quantity structure tool during the production startup. That means that these orders are not taken into consideration during multilevel calculations. h) Furthermore, the production order history is not translated into the parallel currency at production startup. This leads to problems when reversing goods movements at the latest because the value of goods received in the additional currencies is calculated incorrectly. Consequently, problems also occur when you settle product cost collectors. For this reason, close the product cost collectors before you activate the material ledgers and then create it again. In order to be able to create a new product cost collector, you must set the deletion flag for the old one, because the system allows only one valid product cost collector for each material/plant characteristics combination (and production version, if applicable). This problem affects only systems with a release status greater than or equal to Release 46C. i) If you do not close the manufacturing orders, you must consider the following restrictions with regard to work in process.  The material ledger information for the 'WIP at Actual Costs' method cannot be created subsequently for periods prior to the material ledger activation. The information for the 'WIP at Actual Costs' method can be generated completely and correctly as of the first material ledger settlement period only. j) The evaluation of goods movements and invoices that occurred before the material ledger was activated is translated from local currency to the additional currency when the material ledger is activated. The posting logic for postings that reference a purchase order is changed in the parallel currencies due to the activation of the material ledger. As a result, there may be unexpected price postings and exchange rate difference postings for purchase orders that are not closed in business transactions (goods movements and invoices) that are posted later. k) To enable you to reconcile the parallel currencies between the general ledger and the subsidiary ledger, (see the last section "After the successful completion of the production startup"), you must reconcile the first local currency. We recommend you do so before the production startup. You can use transaction MB5L or the report RM07MMFI to display inconsistencies in the first local currency. Such inconsistencies are usually caused by incorrect MM postings which occurred before the production startup. 2. Activating the Customizing settings.               Go to Customizing for Actual Costing/Material Ledger and make the necessary settings. In the standard SAP system, most of the settings already exist. However, you have to transfer the number ranges for material ledger documents from client 000. You can use transaction CKM9 to check the Customizing setting for the material ledger. This transaction displays incomplete or incorrect settings. 3. Production startup a) The system creates material ledger master data in currencies. b) The system creates material ledger master data for sales order materials (database table EBEW). c) The system creates material ledger master data for project materials (database table QBEW). d) The system translates the purchase order history into the second and third currency. 4. After completion of the production startup a) Reconciliation of the 2nd and 3rd currency                        The material stock values were translated on the key date from the first local currency into the parallel currencies. Probably, the totals of the inventory values of the parallel currencies in the material subsidiary ledger do not correspond to the account balances in the general ledger. For the reconciliation of the FI accounts for the second and third currency with the material ledger, you can use transaction CKMADJUST. You can also still carry perform this reconciliation if there are goods movements and invoices that have already been posted. You can also decide to omit the reconciliation. Of course, this means that the balances of the balance sheet accounts in the second and third currencies do not represent the inventory values of these materials. If you do not want the material ledger to be productive for all of the valuation areas of a company code, the general ledger and subsidiary ledger cannot be reconciled in the parallel currencies. Transaction CKMADJUST issues error message C+341. During the production startup at the
  3. 3. start of year, you should bear in mind that the balances of the balance sheet accounts must be carried forward first, otherwise the system issues error message C+313.                        IMPORTANT: If the new General Ledger is active with inventory-relevant account assignments (for example, business area, profit center, segment), you should use transaction FAGL_ML_ADJUST (report FAGL_ML_ADJUST_INITIAL) instead of transaction CKMADJUST. For more information about this, see the attachment to this SAP Note (RECONCILE_ACCNT_FOR_ML_w_NewGL.pdf) or choose:   -> Help     -> Application Help in transation FAGL_ML_ADJUST.                        If differences are also displayed in local currency when you execute the transaction, transaction FAGL_MM_RECON can be used to analyse these differences. To call this report, navigate to the SAP Easy Access screen and choose "Accounting  -> Financial Accounting  -> General Ledger  -> Periodic Processing  -> Closing  -> Check/Count -> Balance Reconciliation:  General Ledger Accounting - Materials Management". b) Changing the price determination control                        At production start, the system automatically sets all materials to price determination control 2. If required, you can change the price determination control using transaction CKMM. If, for example, you activate actual costing, you must set the price determination control to 3 for the materials which should participate in the actual costing.                        If the actual cost component split is active, the cost component split data is also created during the changeover to price determination control 3. ¡ For the cost component split of the prices (material ledger database tables CKMLPRKEKO and CKMLPRKEPH), the system transfers the cost component split of the cost estimate. If this does not exist, the system creates a trivial cost component split. That means that all amounts are summarized in the cost component for material consumption. The system determines the consumption cost component from the account for the offsetting entry to stock posting of movement type 261 (consumption for order from warehouse) c) Releasing prices for materials with inventory                        The sequence you use when you release prices and change the price determination control has an effect on which prices are used for the valuation of your materials in the first period with active material ledger.                        In order to start the actual costing with new prices, proceed as follows:                        Release the new prices after the production startup and then change the price determination control from 2 to 3. Keep in mind that when you follow this procedure, the price changes are kept on the revaluation account. d) Execute an update for your database statistics; this may improve runtime. Validity Software Component From Rel. SAP_APPL 45A 46A 46C 470 500 600 602 603 604 To Rel. And Subsequent 45B   46B   46C   470   500   600   602   603   604   References This document refers to: SAP Notes 108374   Canceling material ledger production startup 165844   Material ledger production startup 332662   CKM9: error C+ 039 currncs of material ledger chngd 367211   SAPRCKMJ: performance imprvmnt fr ML prodctn strtup 378373   ML conversion program 3.X->4.X: Corrections 384145   Advice note on material ledger production startup 398949   INFO: CO-PC-ACT (Customizing/preparation production start) 425487   Deactivating the material ledger in production systems 430391   Production startup with only one currency 53947   Changing currencies after production startup
  4. 4. 639675   Initialization of the actual cost component split 80218   IS-OIL: Excise duty rates table OIH01 cannot be changed 81463   Convert material Ledger from 3.0 to 4.0 This document is referenced by: SAP Notes (4) 398949   INFO: CO-PC-ACT (Customizing/preparation production start) 53947   Changing currencies after production startup 80218   IS-OIL: Excise duty rates table OIH01 cannot be changed 639675   Initialization of the actual cost component split Attachments File Name File Size (KB) Mime Type RECONCILE_ACCNT_FOR_ML_w_NewGL.pdf 126 application/pdf