SAP ECC 5.

00 July 2006 English

T02 - Delta FI/CO Configuration

SAP Best Practices

T02 - Delta FI/CO Configuration: Configuration Guide

Building Block Configuration Guide

SAP AG Neurottstr. 16 69190 Walldorf Germany

Copyright
© Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iSeries, pSeries, xSeries, zSeries, z/OS, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/OS, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc.

© SAP AG

Page 2 of 66

SAP Best Practices

T02 - Delta FI/CO Configuration: Configuration Guide

JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

© SAP AG

Page 3 of 66

program names. These include field names. Variable user entry. titles of graphics and tables. Keys on the keyboard. These are words or characters that you enter in the system exactly as they appear in the documentation.Delta FI/CO Configuration: Configuration Guide Icons Icon Meaning Caution Example Note Recommendation Syntax Typographic Conventions Type Style Example text Description Words or characters that appear on the screen. names of variables and parameters as well as names of installation. screen titles. pushbuttons as well as menu names. transaction codes. This includes file and directory names and their paths. Exact user entry. paths and options. Cross-references to other documentation. upgrade and database tools. function keys (such as F2) or the ENTER key. Example text EXAMPLE TEXT Example text EXAMPLE TEXT Example text <Example text> © SAP AG Page 4 of 66 . for example. Pointed brackets indicate that you replace these words and characters with appropriate entries. Emphasized words or phrases in body text. Names of elements in the system.SAP Best Practices T02 . and individual key words of a programming language. source code. SELECT and INCLUDE. These include report names. for example. messages. table names. when surrounded by body text. Screen output.

..........................................1 Defining Origin Groups........................3 Activating Cost Component Structure.....3.......................3 Cost Object Controlling .....13 Changing Activity Group (Activity Type)....SAP Best Practices T02 ............18 3.............3.........................................................................2..........19 3......11 Creating Activity Types.........9 3.1 Organizational Structure........5 Checking Automatic Routing Selection.................................3...........................................................1.........................39 3....10 3.....2................9 3......................14 3..Structure.16 Manual Activity: Calculating Planned Prices of Activity Types.....1 Prerequisites..........................................................................................................................3..36 3...........................................................................................15 3...13 3.......................................................................3.........................................8 3.............2......31 3..............................3.......3.........3...34 3.....14 3............2................................................................3......................2............................................................2...8 Creating Cost Center Groups (Level 1)........40 3.....................................................................................................................3 Creating Cost Element Group...........11 3.............................................................3........7 1 Purpose.........2 Creating Additional Secondary Cost Elements........20 3....2...........1 Configuration Part1....................................30 3...............................2..........................................................................1 Defining Plant......3.............5 Creating Profit Center Groups.........................................2 Defining Cost Component Structure........2 Changing Plant Name............18 3.............3...2..............................3........................................................19 3............3................4 Defining Results Analysis Key...................................................................................1..............................................6 Manual Activity: Changing Profit Center Group ......3............................................3 Configuration Part2.............................14 3.........40 © SAP AG Page 5 of 66 ....................2.................12 3....................................................................................................36 3..1 FI Delta Configuration.......................3.......................2..............10 3.............................9 3..5 Defining Results Analysis Versions............12 Defining Default Variance Keys for Plants....................2............................34 3..32 3............3..1...........18 3....................2 Manual Activity: Assigning Splitting Structure to Cost Centers.....................................2....................................11 3......................14 Activity Type Planning........3...10 Creating Cost Centers................9 Changing Cost Center Groups (Level 2)......................................15 Primary Cost Planning...................................13 3......................................2 Product Cost Planning.................................................7 2 Preparation........................................3............3..2 Master Data...................................13 3............................3................39 3..............................................3.........1........................7 Defining Line IDs.................................................................1................7 2.........................................8 3......12 3.........................3.............3........................3 Defining Valuation Variant for Goods Receipt........................................................9 Defining Update....29 3...........................................................3..........................1..1 Creating Additional G/l Accounts.2.............2.......3......3................35 3........................................................................4 Changing Cost Element Group (Cost Element)......4 Maintaining Versions...........................................................................8 3........6 Defining Valuation Method.........................................18 3.............................................................................2 Defining Reason Code for Overpayment / Underpayment.........2...............10 Defining Posting Rules for Settling Work in Process............3......8 3......................3.........................................................2...8 Defining Assignment..........31 3.....3.................1...10 3............................2.29 3.........................................................1 Defining Actual Splitting..17 3......................................................................................................................37 3......2.....3..........3.............................................................................................Delta FI/CO Configuration: Configuration Guide Contents Delta FI/CO Configuration: Configuration Guide.7 3 Configuration...........................3.....................................................................1 Creating Additional Primary Cost Elements.....11 Defining Results Analysis Versions....................................................2..12 Creating Activity Groups.........3......................................2...............................7 Creating and Activating Profit Centers.

........47 3...........SAP Best Practices T02 ...............6.3................................3...............5.............14 Creating Source Structure...........................6..................................44 3....4 Modifying Program LCUKOFCP ..........................41 3......3....6.....44 3....3.....................2 Maintaining Table Entry CKMLMVADMIN...........3.................47 3..............3.........7 Modifying Program LCK21F0P ..............54 3..........3.....65 © SAP AG Page 6 of 66 ...........3...............................................................4 Assigning Material Ledger Types to Valuation Area..6 Activating Actual Cost Component Split..........3...................................5...49 3................1 Quantity/value Updating for Material Types..............46 3....................3...........13 Activating Cross-Company Costing...3............................4.....................48 3................3.....................51 3..............................4.............15 Assigning Source Structure to Settlement Profile.............3.........................6 Modifying Function Module CKML_F_CKML1_PRICES_GET ..........................3..................4.......3....6............3 Implementing the BAdI CUKO_PLANT_CHANGE ................................................52 3....6......45 3....................16 Assigning Valuation Variants to Plants..5.....43 3........7 Maintaining Company Codes for MM...3........4....3........3.3.............Delta FI/CO Configuration: Configuration Guide 3............46 3.43 3..................2 Activating Material Ledger........4.......53 3.......................1 Creating Program ZMILL_SINGLE_ORDER_PROCESS........3.44 3.......................................3.3..4 Actual Costing/Material Ledger.........3 Assigning Currency Types to Material Ledger Types ...2 Creating Function Group.......3....................................3......41 3...........6.8 Setting Valuation Areas as Productive (Foreground)....50 3............3...3.................4........55 3...........52 3.........3...........5 Creating Function Module ZMIL_VALUATE_FORM_ORDER......................42 3...................................................1 Creating Package ......3....................6 System Enhancement for FI/CO.........56 3............6.............3...........5 System Enhancement Preparations.................3............................59 3......................................3 Creating Customer Enhancement Project .......................4...............17 Maintaining User-defined Error Message...................5 Activating Actual Costing...........3................4..................49 3...........................

Controlling J05 .Organizational Structure J03 . 2 Preparation 2.1 Prerequisites Building Blocks Before you start installing this building block.Financial Accounting J08 .Production Planning and Control Industry-Generic Building Blocks N/A Comment © SAP AG Page 7 of 66 .SAP Best Practices T02 .Materials Management J04 .Delta FI/CO Configuration: Configuration Guide Delta FI/CO Configuration: Configuration Guide 1 Purpose The purpose of this document is to describe the general configuration steps required to manually set up the configuration within the system landscape that has already been installed using the corresponding installation or configuration guides for installation. Building Blocks Baseline Building Blocks (Layer 0) B32 – SAP Best Practices Installation J02 .Sales and Distribution Baseline Building Blocks (Layer 1) J06 . the installation of the following building blocks must have been completed.

Refractory material Other auxiliary mat. Choose Create to create each G/L accounts with reference to the BC Set /SMB31/FC68_B000_T02. ChAc G/L account CoCd Short Text (EN) Long Text (ZH) CAZH 41020101 BP01 Roller exp. On the Edit G/L Account Centrally screen. Other auxiliary material CAZH 44010901 BP01 Other energy Other energy CAZH 54011001 BP01 Raw material varianc Raw material variance CAZH 54011002 BP01 SF variances Semi-finished goods variance CAZH 54011003 BP01 FG variances Finished goods variances CAZH 54012001 BP01 RM variance settlemt Raw material variance settlement CAZH 54012002 BP01 SF variance settlemt Semi-finished goods variance settlement CAZH 54012003 BP01 FG variance settlemt Finished goods variance settlement ChAc CAZH CAZH CAZH CAZH CAZH CAZH CAZH CAZH CAZH CAZH G/L account 41020101 41020201 41020901 44010901 54011001 54011002 54011003 54012001 54012002 54012003 CoCd BP0X BP0X BP0X BP0X BP0X BP0X BP0X BP0X BP0X BP0X Short Text (EN) Roller exp.1 3. Access the activity using one of the following navigation options: SAP ERP Menu Accounting → Financial Accounting → General Ledger → Master Records → G/L Accounts → Individual Processing → Centrally FS00 Transaction Code 2.1. The following G/L accounts are created for company code BP01 and BP0X.SAP Best Practices T02 .1 Configuration Part1 3. 3.1 Use This step is used to create additional G/L accounts (compared to Baseline China) which are common used in Steel industry in China.1. Other energy Raw material varianc SF variances FG variances RM variance settlemt SF variance settlemt FG variance settlemt Long Text (ZH) Roller expenses Refractory material Other auxiliary material Other energy Raw material variance Semi-finished goods variance Finished goods variances Raw material variance settlement Semi-finished goods variance settlement Finished goods variance settlement © SAP AG Page 8 of 66 . Roller expenses CAZH 41020201 BP01 Refractory material Refractory material CAZH 41020901 BP01 Other auxiliary mat.Delta FI/CO Configuration: Configuration Guide 3 Configuration 3.1. FI Delta Configuration Creating Additional G/l Accounts Procedure 1.

Delta FI/CO Configuration: Configuration Guide 3. Access the activity using one of the following navigation options: SAP ERP Menu Accounting → Controlling → Cost Element Accounting → Master Data → Cost Element → Individual Processing → Create Primary KA01 Transaction Code © SAP AG Page 9 of 66 . Choose Save.2 Use Defining Reason Code for Overpayment / Underpayment This step is used to define reason code for company code BP0X.2.1. In Company Code field.SAP Best Practices T02 . Access the activity using one of the following navigation options: SAP ERP IMG Menu Financial Accounting  Account Receivable and Accounts Payable  Business transactions  Incoming Payments Incoming Payments Global Settings  Overpayment/Underpayment Define Reason Codes SPRO Transaction Code 2. Creating Additional Primary Cost Elements Procedure 1. On Change View “Classification of Payment Differences”: Overview screen.2 Master Data 3.1. enter BP0X and confirm your entry with Enter.1 Use This step is used to create additional primary cost elements (compared to Baseline China) which are common used in Steel industry in China. 3. make the following entries: RCd A1 Short text 销售商品及劳务的现金 Long text 销售商品、提供劳务收到的现金 4. Procedure 1. 3.

Procedure © SAP AG Page 10 of 66 .4 Use Changing Cost Element Group (Cost Element) This step is used to assign cost elements to the cost element group.TXT to create the required cost element groups. 3.2. Access the activity using one of the following navigation options: SAP ERP Menu Accounting → Controlling → Cost Element Accounting → Master Data → Cost Element → Individual Processing → Create Secondary KA06 Transaction Code 2. 3. Procedure 1.Delta FI/CO Configuration: Configuration Guide 2.TXT to create the required primary cost elements. Refer to the variant file SMB31_KAH1_O004_T02. Refer to the variant file SMB31_KA06_O003_T02.3 Use Creating Cost Element Group This step is used to create cost element groups.TXT to create the required secondary cost elements. Procedure 1.2. 3. Refer to the variant file SMB31_KA01_O002_T02. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Element Accounting → Master Data → Cost Element Group → Create KAH1 2.SAP Best Practices T02 .2 Use Creating Additional Secondary Cost Elements This step is used to create additional secondary cost elements (compared to Baseline China) which are common used in Steel industry in China.2.

Procedure 1.TXT to assign cost elements to the cost element group.2.TXT to create profit center groups. 3.SAP Best Practices T02 . This Process has to be done manually.5 Use Creating Profit Center Groups This step is used to create profit center groups. 3.6 Manual Activity: Changing Profit Center Group Structure Prerequisites The profit center groups have been created. Refer to the variant file SMB31_KAH1_O004_T02. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Element Accounting → Master Data → Cost Element Group → Change KAH2 2. Access the transaction choosing one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Profit Center Accounting → Master Data → Profit Center Group → Change KCH2 © SAP AG Page 11 of 66 .2. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Profit Center Accounting → Master Data → Profit Center Group → Create KCH1 2. Refer to the variant file SMB31_KCH1_O006_T02. Procedure 1.Delta FI/CO Configuration: Configuration Guide 1.

2.2.Delta FI/CO Configuration: Configuration Guide 2. Procedure 1. Enter BP01 in the Controlling Area field. Procedure 1. on the Change Activity Type/Price Planning screen. 6. On the Change Profit Center Group: Initial Screen. Repeat step 5 to enter another lower level profit center group BP0X. Set the Controlling Area as BP01 on the appearing dialog box. then choose Enter. Refer to the variant file SMB31_KE51_O008_T02. If no dialog box appears. On the Change Standard Hierarchy (Profit Center Group): Structure Screen.SAP Best Practices T02 . Choose Enter 5. The structure should be like this: BPACC BPAcc China BP01 Company BP01 BP0X Company BP0X 7.8 Use Creating Cost Center Groups (Level 1) This step is used to create the cost center groups. Choose Save and Back 3. 3. choose Extras → Set Controlling Area from the menu. enter the lower level Profit Center Group BP01. choose the highest level of the Profit Center Group and then choose Lower Level. Access the activity using one of the following navigation options: SAP ERP Menu Accounting → Controlling → Cost Center Accounting → Master Data → Cost Center Group → Create © SAP AG Page 12 of 66 .7 Use Creating and Activating Profit Centers This step is used to create and activate the profit centers.TXT to create and activate the profit centers. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Profit Center Accounting → Master Data → Profit Center → Individual Processing → Create KE51 2. 3. make the following entries: Field name Profit Center Group User action and values BPACC Comments Or the highest level of the Profit Center Group defined by you 4.

3.9 Use Changing Cost Center Groups (Level 2) This step is used to change the hierarchy of the created cost center groups.2. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Center Accounting → Master Data → Cost Center Group → Change KSH2 2.TXT to change the hierarchy of cost center groups. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Center Accounting → Master Data → Cost Center → Create KS01 2.Delta FI/CO Configuration: Configuration Guide 2.2.2.11 Use Creating Activity Types This step is used to create activity type 8. Procedure 1. Activity 1 and 2 which are to be used also has already been created in Baseline China.TXT to create cost centers. 3.TXT to create the cost center groups. Procedure © SAP AG Page 13 of 66 .SAP Best Practices Transaction Code KSH1 T02 . 3. Refer to the variant file SMB31_KSH2_O010_T02. Procedure 1. Refer to the variant file SMB31_KS01_O012_T02. Refer to the variant file SMB31_KSH1_O009_T02.10 Use Creating Cost Centers This step is used to create cost centers.

SAP Best Practices T02 . Access the activity using one of the following navigation options: SAP ERP Menu Transaction code Accounting → Controlling → Cost Center Accounting → Planning → Activity Output/Prices → Change KP26 © SAP AG Page 14 of 66 . Procedure 1.12 Use Creating Activity Groups This step is used to create activity groups. 3.13 Use Changing Activity Group (Activity Type) This step is used to assign activity type to activity group.TXT to create cost centers. 3. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Center Accounting → Master Data → Activity Type Group → Change KLH2 2. Refer to the variant file SMB31_KLH2_O016_T02. Refer to the variant file SMB31_KLH1_O015_T02.2. Procedure 1. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Center Accounting → Master Data → Activity Type Group → Create KLH1 2. 3. Procedure 1.2.14 Use Activity Type Planning This step is used to enter the planned quantity for activities in cost centers. Refer to the variant file SMB31_KL01_O014_T02.Delta FI/CO Configuration: Configuration Guide 1.2.TXT to create cost centers. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Accounting → Controlling → Cost Center Accounting → Master Data → Activity Type → Individual Processing → Create KL01 2.TXT to create cost centers.

Set the Controlling Area as BP01 on the appearing dialog box. Choose Next Combination. Choose Overview Screen 5. for example. on the Change Activity Type/Price Planning screen. activity type range.TXT for the activity planning data. 3. or activity type group. planned primary costs for activity types are entered. Choose Save. 3.SAP Best Practices T02 . This is the basis of price calculation and primary cost component split. choose Extras -> Set Controlling Area from the menu. On the Change Activity Type/Price Planning screen.2. Refer to the variant file SMB31_KP26_O017_T02.Delta FI/CO Configuration: Configuration Guide 2. for example BP01 Single activity type. Then you can go ahead with cost element/activity input planning.15 Use Primary Cost Planning In this step. make the following entries: Field name Version From Period To Period Fiscal year Cost Center to or group Activity Type To or group Description User action and values 0 1 12 planning fiscal year Single cost center. enter the following data for the corresponding combinations of cost center and activity type: Field name Plan Activity Description User action and values Enter the planned activity type quantity for the whole planning year Comment 6. BPSTEEL Comment 4. 7. cost center range. or cost center group. Enter BP01 in the Controlling Area field. On the Change Activity Type/Price Planning: Overview Screen. Result Planned activity quantities for the planning fiscal year are entered. continue to finish the activity type quantity planning for all combination of cost centers and activity types. Procedure © SAP AG Page 15 of 66 . If no dialog box appears.

Choose Overview Screen 4. make the following entries: Field name Version From period To period Fiscal year Cost Center to or group Activity Type to or group Cost Element to or group Description User action and values 0 1 12 planning fiscal year Single cost center. activity type and cost element Field name Activity Cost Element Plan Fixed Costs Description User action and values Enter the activity type Enter the cost element Enter the planned value of the cost element Comment 5. 6. activity type range. activity types and cost elements. BPSTEEL Single cost element. for example. for example. © SAP AG Page 16 of 66 . or cost element group. or activity type group. make the following entries for corresponding combinations of cost center. Result Planned primary costs for activities of the planning fiscal year are entered. or cost center group. continue to finish the activity type quantity planning for all combination of cost centers. Refer to the variant file SMB31_KP06_O018_T02. BP01 Single activity type. Then you can go ahead with price calculation. for example. Choose Save.Delta FI/CO Configuration: Configuration Guide 1. BP_Primary Comment 3.TXT for the primary cost planning data. Access the activity using one of the following navigation options: SAP ERP Menu Transaction code Accounting → Controlling → Cost Center Accounting → Planning → Cost and Activity Inputs → Change KP06 2. Choose Next Combination.SAP Best Practices T02 . On the Change Cost Element/Activity Input Planning: Overview Screen. cost center range. cost element range. On the Change Cost Element/Activity Input Planning: Initial Screen.

Delta FI/CO Configuration: Configuration Guide 3. Choose Execute You can see the primary cost component split of the activity types by choosing Goto  Components from the menu. Choose Save. 4.16 Manual Activity: Calculating Planned Prices of Activity Types Use This step describes how to calculate the planned prices of activity types based on the planned data entered in the pervious two steps.SAP Best Practices T02 .2. Then sales order costs. Result The planned prices of activity types are calculated with primary cost component split. Access the activity using one of the following navigation options: SAP ERP Menu Transaction code Accounting → Controlling → Cost Center Accounting → Planning → Allocations → Price Calculation KSPI 2. production order costs and material price analysis (material ledger) can be displayed with primary cost component split. Procedure 1. Prerequisites Planned activity quantities and primary costs have been entered. © SAP AG Page 17 of 66 . On the Execute Plan Price Calculation: Initial Screen. It is recommended to do so. enter the necessary data: Field name Cost center group Version Period to Fiscal Year Test Run Detail Lists Description User action and values BP_STEEL 0 Enter the single period or the period range Enter the fiscal year Select it if you only need a test run Select it if you want to see the details. Comment 3.

2 Use Changing Plant Name This step is used to change the short text of the plants. On the appearing dialog box.Delta FI/CO Configuration: Configuration Guide 3. 5. Access the activity using one of the following navigation options: SAP ERP IMG Menu Transaction Code Enterprise Structure → Definition → Logistics-General → Define. check plant SPRO 2.SAP Best Practices T02 . On the next screen.1.3 Configuration Part2 3. choose Organizational object -> Copy Org. delete. A company code can have several plants. Organizational Structure Defining Plant Procedure 1. The plant is embedded in the organizational structure as follows: • • • • • • The plant is assigned to a single company code. A single business area is assigned to a plant and to a division. 3. 3. check plant. Object from the menu. These two plants are created in Baseline Package. A plant can be assigned to several combinations of sales organization and distribution channel. in the From Plant field. The plant is an operating area or branch within a company.3. Several storage locations in which material stocks are managed can belong to a plant.3. enter BP0Y. Procedure 1. A plant can have several shipping points. Access the activity using one of the following navigation options: © SAP AG Page 18 of 66 . Confirm any messages. copy. choose activity Copy.1 3.1. 4. A plant can be defined as a maintenance planning plant. Go back to the configuration menu.1 Use The purpose of this activity is to define plant BP0Y. delete.3. On the Choose Activity screen. A shipping point can be assigned to several plants. enter BP0X and in the To Plant field. 6.

check plant SAP ERP IMG Menu Transaction Code 2. make the following entry: On the Change View “Origin Groups”: Overview screen.1 Use Product Cost Planning Defining Origin Groups This step is used to define origin groups. Then make the following entries: Field name Name Name Name User action and values OTHER MATERIAL 其它物料 SCRAP 废料 IRON 铁 Field name Origin Group Origin Group Origin Group User action and values 0000 0101 0102 © SAP AG Page 19 of 66 . then choose Details. In the appearing dialog box. delete. Procedure 1. 3.3.SAP Best Practices T02 .3. SPRO Choose the plant. 5. 3. Go back to the configuration menu. copy.2. Maintain the description of the plants as following: Plant BP01 BP0X BP0Y Name 1 炼钢,连铸,热轧,连铸 连扎产线 冷轧,镀锌,彩涂产线 精整产线 Name 2 Hot Rolling Lines Cold Rolling Lines Finishing Lines 4.2 3. choose New Entries. Access the activity using one of the following navigation options:: SAP ERP IMG Menu Controlling → Product Cost Controlling → Product Cost Planning → Basic Settings for Material Costing → Define Origin Groups OKZ1 User action and values BP01 Description Transaction Code 2. Field name Controlling Area 3.Delta FI/CO Configuration: Configuration Guide Enterprise Structure → Definition → Logistics-General → Define. Save your entries.

Select the cost component structure Z1. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Product Cost Planning → Basic Settings for Material Costing → Define Cost Component Structure OKTZ Transaction Code 2.2.2 Use Defining Cost Component Structure The purpose of this activity is to define cost component structure. Str Name EN Name ZH User action and values Z1 BP Steel-Primary BP 钢铁 Description 3. On the Change View “Cost Component Structure”: Overview screen. 4. Procedure 1. choose New Entries and make the following entries: Field Cost Comp. On the next screen.3. Z1 © SAP AG Page 20 of 66 . Str.Delta FI/CO Configuration: Configuration Guide Field name Origin Group Origin Group Origin Group Origin Group Origin Group User action and values 0103 0X01 0X02 0X03 0X21 User action and values ALLOY 合金 GALVANIZING MATERIAL 镀锌材料 SURFACE TREATMENT 表面处理 COATING MATERIAL 涂层材料 HRC 热轧板 3. choose Cost Components with Attributes.SAP Best Practices Field name Name Name Name Name Name T02 . Control Tab Cost Share Variable Costs User action and values 101 Description (EN) RM: Scrap Description (ZH) 原材料: 废料 Cost Comp. The Chinese text should be maintained in ZH system. choose New Entries and make the following entry: Field Cost Comp.

Control Tab Cost Share Field Cost Comp. Z1 User action and values 103 Description (EN) RM: Alloy Description (ZH) 原材料: 合金 Cost Comp. Str. Str. Control Tab Cost Share Field Cost Comp. Str. Z1 User action and values 104 Description (EN) RM: Galvanizing Description (ZH) 原材料: 镀锌 Cost Comp. Str. Z1 User action and values 105 Description (EN) Description (ZH) Cost Comp. Str. Control Tab Cost Share Variable Costs Variable Costs Variable Costs Variable Costs Variable Costs Variable Costs T02 . Z1 RM: Surface treatmt 原材料: 表面处理 User action and values 106 Description (EN) RM: Coating Description (ZH) 原材料: 涂层 Cost Comp. Control Tab Cost Share Field Cost Comp. Z1 User action and values 109 Description (EN) RM: Others Description (ZH) 原材料: 其他 Cost Comp. Control Tab Cost Share Field Cost Comp.SAP Best Practices Field Cost Comp. Control Tab Cost Share Field Cost Comp. Z1 © SAP AG Page 21 of 66 . Str.Delta FI/CO Configuration: Configuration Guide User action and values 102 Description (EN) RM: Iron Description (ZH) 原材料: 铁 Cost Comp.

Str.SAP Best Practices Field Cost Comp. Control Tab Cost Share Field Cost Comp. Str.Delta FI/CO Configuration: Configuration Guide User action and values 119 Description (EN) Semi-Finished Goods Description (ZH) 半成品 Cost Comp. Str. Z1 Fixed and Variable Costs User action and values 122 Fixed and Variable Costs User action and values 129 Description (EN) Other auxiliary mat. Control Tab Cost Share Fixed and Variable Costs Fixed and Variable Costs User action and values 132 Description (EN) Electricity Description (ZH) 电 131 Water 水 Cost Comp. Z1 © SAP AG Page 22 of 66 . Str. Z1 Fixed and Variable Costs User action and values Description (EN) Description (ZH) Cost Comp. Control Tab Cost Share Field Cost Comp. Z1 User action and values 121 Description (EN) Roller Description (ZH) 轧辊消耗 Cost Comp. Str. Z1 Cost Comp. Control Tab Cost Share Field Cost Comp. Z1 Cost Comp. Description (ZH) 其他辅助材料 Description (EN) Refractory material Description (ZH) 耐火材料 Cost Comp. Control Tab Cost Share Field Variable Costs T02 . Control Tab Cost Share Field Cost Comp. Str.

Z1 © SAP AG Page 23 of 66 . Control Tab Cost Share Field Cost Comp. Control Tab Cost Share Field Cost Comp. Z1 Cost Comp. Str. Control Tab Cost Share T02 . Z1 Cost Comp.Delta FI/CO Configuration: Configuration Guide User action and values 133 Description (EN) Gas Description (ZH) 煤气 Cost Comp. Str. Z1 Fixed and Variable Costs User action and values 199 Fixed and Variable Costs Description (EN) Other costs Description (ZH) 其他费用 Cost Comp. Z1 Fixed and Variable Costs User action and values 139 Fixed and Variable Costs User action and values 141 Description (EN) Salary & welfare Description (ZH) 工资&福利 Description (EN) Other energy Description (ZH) 其他能源 Cost Comp. Control Tab Cost Share Field Cost Comp. Control Tab Cost Share Field Cost Comp. Z1 Fixed and Variable Costs User action and values 151 Fixed and Variable Costs User action and values 152 Description (EN) Maintenance Description (ZH) 维修费 Description (EN) Depreciation Description (ZH) 折旧费 Cost Comp. Str. Str. Str. Control Tab Cost Share Field Cost Comp. Str.SAP Best Practices Field Cost Comp.

SAP Best Practices 5.

T02 - Delta FI/CO Configuration: Configuration Guide

Select all component then choose Assignment: Cost Component - Cost Element Interval and make the following entries: Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. User action and values Z1 CAZH 41010101 0101 41010301 101 User action and values Z1 CAZH 41010101 0102 41010301 102 User action and values Z1 CAZH 41010101 0103 41010301 103 User action and values Z1 CAZH 41010101 0X01 41010399 104 User action and values Z1 RM: Galvanizing Description RM: Alloy Description RM: Iron Description RM: Scrap Description Description

© SAP AG

Page 24 of 66

SAP Best Practices Field Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el.

T02 - Delta FI/CO Configuration: Configuration Guide User action and values CAZH 41010101 0X02 41010399 105 User action and values Z1 CAZH 41010101 0X03 41010399 106 User action and values Z1 CAZH 41010101 41010301 109 User action and values Z1 CAZH 41010401 41010401 119 User action and values Z1 CAZH 41020101 Semi-Finished Goods Description RM: Others Description RM: Coating Description RM: Surface treatmt Description Description

© SAP AG

Page 25 of 66

SAP Best Practices Field Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem. Cost Component Field Cost Comp. Str. Chat of Accts From cost el. Origin Group To cost elem.

T02 - Delta FI/CO Configuration: Configuration Guide User action and values 41020101 121 User action and values Z1 CAZH 41020201 41020201 122 User action and values Z1 CAZH 41020901 41020901 129 User action and values Z1 CAZH 44010101 44010101 131 User action and values Z1 CAZH 44010201 44010201 Water Description Other auxiliary mat. Description Refractory material Description Roller Description Description

© SAP AG

Page 26 of 66

Origin Group To cost elem. Origin Group To cost elem. Str. Str. Cost Component Field T02 . Str. Origin Group To cost elem. Chat of Accts From cost el. Chat of Accts From cost el.SAP Best Practices Field Cost Component Field Cost Comp. Chat of Accts From cost el. Origin Group To cost elem.Delta FI/CO Configuration: Configuration Guide User action and values 132 User action and values Z1 CAZH 44010301 44010399 133 User action and values Z1 CAZH 44010901 44010901 139 User action and values Z1 CAZH 42010201 42020199 141 User action and values Z1 CAZH 43010401 43020399 151 User action and values Depreciation Description Salary & welfare Description Other energy Description Gas Description Description Electricity Description © SAP AG Page 27 of 66 . Str. Cost Component Field Cost Comp. Chat of Accts From cost el. Cost Component Field Cost Comp. Cost Component Field Cost Comp.

01. Chat of Accts From cost el. Cost Component 6. Choose Back. Units . Str. Origin Group To cost elem.SAP Best Practices Field Chat of Accts From cost el.Cost Component Struct and make the following entries: Field Company Code Plant Costing Variant Valid from Cost Comp Structure (Main CCS) Field Company Code Plant Costing Variant Valid from Cost Comp Structure (Main CCS) User action and values BP01 ++++ ++++ 01. © SAP AG Page 28 of 66 .Delta FI/CO Configuration: Configuration Guide User action and values CAZH 44030101 44030101 152 User action and values Z1 CAZH Maintenance Description Description Other costs Choose Save. Split. choose Active and Prim. Go back to the initial screen.01. Cost Component Field Cost Comp. Cost Comp. Origin Group To cost elem. 9.2005 Z1 BP Steel-Primary Description User action and values BP0X ++++ ++++ 01. Then choose Assignment: Organiz. Choose Save.2005 Z1 Description BP Steel-Primary 8. 199 T02 . 10. 7.

Split Name 11. On the Change View “Cost Component Structure”: Overview screen. Cost Comp.4 Use Maintaining Versions The purpose of this activity is to maintain versions. Str.2. choose New Entries and make the following entry: Field name Cost Comp. 3. Active Prim.SAP Best Practices Field Cost Comp. Procedure 1. 4. Active Prim. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Product Cost Planning → Basic Settings for Material Costing → Define Cost Component Structure OKTZ Transaction Code 2. Procedure © SAP AG Page 29 of 66 . Choose Save 12. Split Name BP Steel-Primary User action and values Z1 Description 3.Delta FI/CO Configuration: Configuration Guide User action and values Z1 Description BP Steel-Primary 3. T02 .3. Choose Back. Cost Comp. Str.3.2. Choose Save Choose Back.3 Use Activating Cost Component Structure The purpose of this activity is to activate cost component structure.

modify the default values as below: ID 01 01 SP 1 2 Task List Type N N Plan Usage 1 1 Description Stat Production Production 3 4 Description of the status Released for costing Released (general) © SAP AG Page 30 of 66 . 4. Select Version 0 and choose Controlling Area Settings. Choose Price calculation tab and make the following entries: Field Cost Comp.5 Use Checking Automatic Routing Selection The purpose of this activity is to change automatic routing selection rule Procedure 1.Delta FI/CO Configuration: Configuration Guide 1. Double-click current year and future years one by one. On the Change View “Automatic Selection”: Overview screen. Str. Select Version 0 and choose Settings for Each Fiscal Year. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → General Controlling → Organization → Maintain Versions → Controlling Area Settings → Settings for Each Fiscal Year SPRO Transaction Code 2.2. User action and values Z1 Description BP Steel-Primary 3.3. 3. 5. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Product Cost Planning → Material Cost Estimate with Quantity Structure → Settings for Quantity Structure Control → Routing Selection → Check Automatic Routing Selection OPJF Transaction Code 2.SAP Best Practices T02 .

Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Cost Center Accounting → Actual Postings → Period-End Closing → Activity Allocation → Splitting → Define Splitting Structure OKES Transaction Code 2.3. Choose Save. Procedure 1.Delta FI/CO Configuration: Configuration Guide You can only change the default status one by one. 8. Double-click splitting structures.SAP Best Practices T02 . Double-click Splitting rules. On the next screen. User action and values 1 No splitting 0 No splitting Description 4.3. Choose New Entries and make the following entries: Field Assgnmnt Text Rule User action and values S01 Labor 1 No splitting Description © SAP AG Page 31 of 66 . 6.3 3. On the Change View “Splitting rules”: Overview screen. 4. choose New Entries and make the following entry: Field Rule Text Meth. 3.1 Use Cost Object Controlling Defining Actual Splitting The purpose of this activity is to define actual splitting. Choose Back. Choose Save.3. Select Structure S1 and double-click Assignments. 5. 3. 3. choose New Entries and make the following entry: Field Structure Text User action and values S1 BP Steel Actual Splitting Description 7.

Procedure © SAP AG Page 32 of 66 .2 Use Manual Activity: Assigning Splitting Structure to Cost Centers The purpose of this activity is to assign splitting structure to cost centers. User action and values S02 Machine 1 User action and values S03 Production Exp 1 Description No splitting Description No splitting Select each assignment then choose Selection for assignment and enter the following data: Assignment S01 Field Labels Cost Element Activity Type Assignment S02 Field Labels Cost Element Activity Type Assignment S03 Field Labels Cost Element Activity Type 8 From Value Group BP_PRD 2 From Value Group BP_MACHINE 1 From Value Group BP_LABOR 3.3.SAP Best Practices T02 .3.Delta FI/CO Configuration: Configuration Guide Field Assgnmnt Text Rule Field Assgnmnt Text Rule 9.

4. Choose Save. T02 . On the Splitting: Assignment of Cost Center to Splitting Structure screen. © SAP AG Page 33 of 66 .SAP Best Practices 1.Delta FI/CO Configuration: Configuration Guide Access the activity using one of the following navigation option: SAP ERP IMG Menu Controlling → Cost Center Accounting → Actual Postings → Period-End Closing → Activity Allocation → Splitting → Assign Splitting Structure to Cost Centers OKEW Transaction Code 2. 6. Select the following cost centers and splitting structure S1. Choose Change. Choose Back. make the following entries: Field Cost center group All versions Fiscal Year 2006 User action and values BP_STEEL Description BP Steel 3. then choose Assign: Cost Ctr BP01_01 BP01_02 BP01_03 BP01_04 BP01_05 BP01_06 BP01_07 BP01_08 BP01_09 BP0X_01 BP0X_02 BP0X_03 BP0X_04 BP0X_05 BP0X_06 BP0X_07 BP0X_08 BP0X_09 BP0Y_01 BP0Y_02 BP0Y_03 BP0Y_04 Name steel making(Convert CC for Convertor steel making EAF CC for EAF steel making CSP(Con continuous strip prod Reheating furnace hot rolling mill HRC picking pickling line cold rolling mill Electronical galva color coating line continuous annealing skin pass mill Parkerizing Chromate Passivating Oiling slitting and cutting Sheet packaging Strip slitting line Strip / coil packagi Year 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 2006 5.

Var.Delta FI/CO Configuration: Configuration Guide 3. Choose New Entries and make the following entries: User action and values BP01 BP 炼钢公司 007 User action and values BP0X BP 轧钢公司 007 User action and values BP0Y BP 轧钢公司 007 Production Order: Actual Production Order: Actual Description Production Order: Actual Description Description 3. Field Val. 4.3. Area Company name Val. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Define Goods Received Valuation for Order Delivery SPRO Transaction Code 2.3. Procedure 1. Area Company name Val. Choose Save. Var. Field Val.4 Use Defining Results Analysis Key The purpose of this activity is to define results analysis key.3.3. Procedure © SAP AG Page 34 of 66 .SAP Best Practices T02 . Choose Back.3 Use Defining Valuation Variant for Goods Receipt The purpose of this activity is to define goods received valuation for order delivery. 3. Field Val. Area Company name Val. Var.

Procedure 1. Choose Back. Choose New Entries . select controlling area BP01.Delta FI/CO Configuration: Configuration Guide Access the activity using one of the following navigation option SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Results Analysis Keys OKG1 Transaction Code 2.3. 4. Choose Save. Do it after “Define Posting Rules for Settling Work in Process” is finished. 4. T02 . Field RA Key Text 3.3. RA Version 0 and make the following entries: Field CO Area RA Version Transfer to Financial Accounting User action and values BP01 0 Do not select “Transfer to Financial Accounting” in this step. Choose New Entries and make the following entry: User action and values FERT WIP Calculation for Production Orders Description 3. 93100140 Comments Technical RA Cost Element 3. Choose Back. Choose Save.5 Use Defining Results Analysis Versions The purpose of this activity is to define results analysis versions.SAP Best Practices 1. Access the activity using one of the following navigation option: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Results Analysis Versions OKG9 Transaction Code 2. © SAP AG Page 35 of 66 .

Make the following entries and choose Field CO Area RA Version RA Key BP01 0 FERT .3.3. Access the activity using one of the following navigation option: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing  Work in Process → Define Valuation Method (Actual Costs) OKGC Transaction Code 2. Access the activity using one of the following navigation options SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Line Ids SPRO Transaction Code Field CO Area Line ID Name Field CO Area 2. and Valuation Method is created automatically. 4.3. choose Actual costs.3. Choose Back. Choose Save.Delta FI/CO Configuration: Configuration Guide 3.7 Use Defining Line IDs The purpose of this activity is to define line IDs for WIP calculation. Choose New Entries and make the following entries: User action and values BP01 COP Primary costs User action and values BP01 Description Description © SAP AG Page 36 of 66 . Procedure 1.6 Use Defining Valuation Method The purpose of this activity is to define actual costs valuation method for WIP. On the next screen.SAP Best Practices T02 . On the appearing dialog box. Description User action and values 5. 3. 6. choose New Entries. Procedure 1. 3.

4. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Assignment OKGB Transaction Code 2. Accounting Indicator Valid-From Period ReqToCap Field CO Area RA Version Choose New Entries and make the following entries: User action and values BP01 0 004+++++++ ++++ + + ++ 001. Field CO Area RA Version Marked Cost Element Origin Debit/Credit Indic.SAP Best Practices Field Line ID Name Field CO Area Line ID Name 3. Choose Back.3.3. Choose Save.1997 COP User action and values BP01 0 Description Description © SAP AG Page 37 of 66 . Procedure 1. T02 . Vble/Fixed Indic.Delta FI/CO Configuration: Configuration Guide User action and values COS Secondary costs User action and values BP01 SET Settled costs Description Description 3.8 Use Defining Assignment The purpose of this activity is to assign cost elements to line IDs.

Delta FI/CO Configuration: Configuration Guide User action and values 0049++++++ ++++ + + ++ 001. User action and values BP01 0 00943+++++ ++++ ++++++++++ + + ++ 001. Choose Save. Vble/Fixed Indic. Vble/Fixed Indic. Choose Back.1997 COS Description Description Field CO Area RA Version Marked Cost Element Origin Marked Cost Center Debit/Credit Indic. Accounting Indicator Valid-From Period ReqToCap 3.1997 SET User action and values BP01 0 009+++++++ ++++ + + ++ 001. 4. Vble/Fixed Indic. Accounting Indicator Valid-From Period ReqToCap Field CO Area RA Version Marked Cost Element Origin Debit/Credit Indic.SAP Best Practices Field Marked Cost Element Origin Debit/Credit Indic. Accounting Indicator Valid-From Period ReqToCap T02 .1997 COP Description © SAP AG Page 38 of 66 .

Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Update OKGA Transaction Code 2. choose New Entries and make the following entries: Field CO Area Company Code User action and values BP01 BP01 Description © SAP AG Page 39 of 66 . On the Change View “Updata of WIP and Results Analysis” screen. 4. 3. Procedure 1. Procedure 1.3.3. Choose Back.9 Use Defining Update The purpose of this activity is to specify the results analysis cost element under which the work in process and (under some circumstances) the reserves for unrealized costs are updated. choose New Entries and make the following entries: COAr BP01 BP01 BP01 3.Delta FI/CO Configuration: Configuration Guide 3. Vsn 0 0 0 RA Key FERT FERT FERT LID COP COS SET K N A WIP Reserves Creation 93100110 93100150 Choose Save. On the Change View “Assignment of Cost Elements for WIP and Results Analysis” screen.3. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Posting Rules for Settling Work in Process OKG8 Transaction Code 2.3.10 Use Defining Posting Rules for Settling Work in Process The purpose of this activity is to define posting rules for settling work in process.SAP Best Practices T02 .

3. Choose Save.3. © SAP AG Page 40 of 66 . Then select check box Transfer to Financial Accounting. Choose Save. Double-click the line for controlling area BP01.12 Use Defining Default Variance Keys for Plants The purpose of this activity is to define Default Variance Keys for Plants. T02 . 4.Delta FI/CO Configuration: Configuration Guide User action and values 0 WIPR 0 49090901 12450101 User action and values BP01 BP0X 0 WIPR 0 49090901 12450101 Description Description 3.3.3. Choose Back. RA Version 0. 3.11 Use Defining Results Analysis Versions The purpose of this activity is to define results analysis versions. 4. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Work in Process → Define Results Analysis Versions OKG9 Transaction Code 2.SAP Best Practices Field RA Version RA category Record number P&L Acct BalSheetAcct Field CO Area Company Code RA Version RA category Record number P&L Acct BalSheetAcct 3. 3. Choose Back. Procedure 1.

Procedure © SAP AG Page 41 of 66 .13 Use Activating Cross-Company Costing The purpose of this activity is to Activate Cross-Company Costing. 3. 4. Procedure 1.SAP Best Practices T02 .3.3. On the Change View “Cross-Company Costing“: Overview screen. Choose Back. choose New Entries and make the following entries: Controlling Area BP01 BP01 BP01 BP01 BP01 3.14 Use Creating Source Structure The purpose of this activity is to create source structure. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Period-End Closing → Variance Calculation → Define Default Variance Keys for Plants OKVW Transaction Code 2. Do not assign any variance key to plant BP01/BP0X/BP0Y. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Product Cost Planning → Selected Functions in Material Costing → Activate Cross-Company Costing OKYV Transaction Code 2. Choose Save.Delta FI/CO Configuration: Configuration Guide Procedure 1. Costing Type 01 06 07 18 18 Valuation Variant 001 006 007 001 003 Cost Across company codes 3.3.3.

3. Choose Save. double-click settlement profile PP01. choose New Entries and make the following entries: Field Assgnmnt Text User action and values Z1 New Order User action and values 40000000 99999999 Description Description 5.3.3. T02 . make the following entry: Field Source structure User action and values Z1 Description 4. © SAP AG Page 42 of 66 . Choose Assgnmnt Z1 then double-click Source and make the following entries: Field From Value To Value 6. 4. 3.15 Use Assigning Source Structure to Settlement Profile The purpose of this activity is to assign source structure to settlement profile. Choose Save. Choose Structure Z1 and double-click Assignment. On the Change View “Source structures”: Overview screen. On the Change View “Settlement Profile”: Overview screen. Procedure 1. Choose Back.SAP Best Practices 1. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Sales Order → Period-End Closing → Settlement → Create Settlement Profile SPRO Transaction Code 2. On the Change View “Settlement Profile”: Details screen. choose New Entries and make the following entries: Field Structure Text User action and values Z1 Order Combination Description 3. On the Change View “Assignments”: Overview screen.Delta FI/CO Configuration: Configuration Guide Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Sales Order → Period-End Closing → Settlement → Create Source Structure OKEU Transaction Code 2. 7.

choose Valuation Variant/Plant. Select Message 221 and choose Details. Choose I (Issue as Information Message). plant BP0X and plant BP0Y. Choose Back. Choose Save.3.16 Use Assigning Valuation Variants to Plants The purpose of this activity is to assign valuation variants to plants. On the Change View “Valuation Variants”: Details screen.3. 6. © SAP AG Page 43 of 66 . 4. Msg Types for Preliminary Costing of Manufacturing Orders OPR4_PPCO Transaction Code 2. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Sales Order → Preliminary Costing and Order BOM Costing → Product Costing for Sales Order Items/Order BOMs → Costing Variants for Product Costing → Check Valuation Variants for Product Costing OKY0 Transaction Code 2. Assign valuation variant 001 to plant BP01.17 Use Maintaining User-defined Error Message The purpose of this activity is to maintain user-defined error message. 3. 3. Choose on the appearing dialog box for Customizing request. 5. Procedure 1. 5. 6. T02 . Double-click Valuation Variant 001 Planned Valuation: Mat.SAP Best Practices 5.Delta FI/CO Configuration: Configuration Guide 3. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Cost Object Controlling → Product Cost by Order → Manufacturing Orders → User-Defined Error Management → Specify User-Def. 3. 4.3. Choose Back. Procedure 1. Choose Save.3. Choose Back.

3. Procedure 1. ROH one by one and double-click Quantity/value 3. BP0X.3. Procedure 1.3. Access the activity using one of the following navigation options: SAP ERP IMG menu Controlling → Product Cost Controlling → Actual Costing/Material Ledger → Activate Valuation Areas for Material Ledger OMX1 Transaction Code 2.Delta FI/CO Configuration: Configuration Guide 3. HALB. 3.4. Choose material type FERT. Choose Save. Double-click Activate Material Ledger.1 Use Actual Costing/Material Ledger Quantity/value Updating for Material Types In the setting. the standard material types are copied from valuation area 0001 to the valuation areas that were created (BP01.SAP Best Practices T02 . © SAP AG Page 44 of 66 .2 Use Activating Material Ledger The purpose of this activity is to activate material ledger. Make the following entries: Valuation area BP01 BP01 BP01 BP0X BP0X BP0X BP0Y BP0Y BP0Y Material Type FERT HALB ROH FERT HALB ROH FERT HALB ROH Qty Updating X X X X X X X X X Value Updating X X X X X X X X X Pipeline mandatory Pipeline allowed 4. and BP0Y). Access the activity using one of the following navigation options: SAP ERP IMG Menu Transaction Code updating Logistics General  Material Master  Basic Settings  Material Types  Define Attributes of Material Types SPRO 2. Choose Back. Select Qty Updating and Value updating in the relevant valuation area.4 3. 5.4.

Procedure 1. 3 3 3 3 3 Valuation Area BP02 and BP03 are defined in Baseline China. 4. T02 . Confirm any information messages. choose New Entries and make the following entries: © SAP AG Page 45 of 66 . Choose ML Type: 0000 and double-click Define individual characteristics. material ledger should be activated in the whole company code. to avoid any Material Ledger problem. Choose Save. Valuation Area BP01 BP02 BP03 BP0X BP0Y Company code BP01 BP01 BP01 BP0X BP0X ML act.SAP Best Practices 3. These two plants in company code BP01 won’t be used in BP Steel.Delta FI/CO Configuration: Configuration Guide On the Change View “Activation of Material Ledger”: Overview screen. 4. make the following entries. Price dterm.3. Choose Back.3 Use Assigning Currency Types to Material Ledger Types The purpose of this activity is to assign currency types to material ledger types. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Actual Costing/Material Ledger → Assign Currency Types to Material Ledger Types OMX2 Transaction Code 2. However. 3.4. 5. Thus a couple of activities below are also required for plant BP02 and BP03. On the Change View “Define material ledger type”: Overview screen. make the following entries: Field ML Type CT from FI CO CrcyTyp Manual Description Standard: CT from FI & CO User action and values 0000 Deselect Deselect Select Description 3. 5. On the next screen.

Procedure © SAP AG Page 46 of 66 . 4. Ledger type Field Valuation area Mat. Procedure 1.Delta FI/CO Configuration: Configuration Guide User action and values 10 Description Company code currency 3. Choose Save. Choose Save.5 Use Activating Actual Costing The purpose of this activity is to activate actual costing. 7. Field Valuation area Mat. Ledger type Field Valuation area Mat. Execute the activity and enter the following data: User action and values BP01 0000 User action and values BP0X 0000 User action and values BP0Y 0000 Description Description Description 3. T02 .4 Use Assigning Material Ledger Types to Valuation Area The purpose of this activity is to assign material ledger types to valuation area.4. Choose Back. Choose Back. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Actual Costing/Material Ledger → Assign Material Ledger Types to Valuation Area OMX3 Transaction Code 2.SAP Best Practices Field Crcy type 6.4. Ledger type 3.3.3.

SAP Best Practices T02 . Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Actual Costing/Material Ledger → Actual Costing →Activate Actual Cost Component Split SPRO Transaction Code 2. Procedure 1.4. Access the activity using one of the following navigation options: © SAP AG Page 47 of 66 . 5. activi 2 2 2 2 2 3. BP0X and BP0Y.Delta FI/CO Configuration: Configuration Guide 1. Access the activity using one of the following navigation options: SAP ERP IMG Menu Controlling → Product Cost Controlling → Actual Costing/Material Ledger → Actual Costing → Activate Actual Costing SPRO Transaction Code 3. 3. Execute the activity and choose “ActCstCmpSplit Active” for plant BP01. BP03. Procedure 1.7 Use Maintaining Company Codes for MM The purpose of this activity is to Maintain Company Codes for Materials Management. Choose Save.6 Use Activating Actual Cost Component Split The purpose of this activity is to activate actual cost component split.3. Execute the activity and double-click Activate Actual Costing. costing Act.3. BP02. Act. 2. Enter the following data: Plant BP01 BP02 BP03 BP0X BP0Y 4. Choose Back.4.

Access the activity using one of the following navigation options: Accounting → Controlling → Product Cost Controlling → Actual Costing/Material Ledger → Environment → Production Startup → Set Valuation Areas as Productive CKMSTART SAP ERP Menu Transaction Code 2.3. Therefore perform this step only when you make sure all above configurations are correctly completed. the organizational structure and other MM settings should be checked carefully. On the SAPRCKMJ screen. Result You have maintained company code for MM.General  Material Master  Basic Settings Maintain Company Codes for Materials Management OMSY Current period Current period Current period Allow Posting to Previous Period X X 2. 3. it is recommended to use transaction code CKM9 to check the Material Ledger relevant settings. Meanwhile. deactivating material ledger is problematic. make the following entries: User action and values BP01 BP03 All plants in company code BP01 will be set as productive Description Comments Field name Plant to © SAP AG Page 48 of 66 .4.SAP Best Practices SAP ERP IMG Menu Transaction Code Company code BP01 BP0X Current year current year current year T02 . Select Save and Back. Generally.8 Use Setting Valuation Areas as Productive (Foreground) The purpose of this activity is to set valuation areas as productive. Procedure 1. Make the following data entries: 3.Delta FI/CO Configuration: Configuration Guide Logistics . Before this activity.

Procedure 1. material ledger should be activated in the whole company code. select tab Development Coordination.3. Tools → ABAP Workbench → Overview → Object Navigator SE80 3. However.5 3. Choose Back to the SAPRCKMJ screen. 3.SAP Best Practices Field name Test run T02 . Choose Edit Object. These two plants in company code BP01 won’t be used in BP Steel. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code 2. please make sure you have registered as a developer in SAPNet or CSS system to get an access key.1 Use System Enhancement Preparations Creating Package The purpose of this activity is to create package (former development class) as the object directory of new repository objects for system enhancement. to avoid any Material Ledger problem. 4.3. In the appearing Object Selection dialog box.Delta FI/CO Configuration: Configuration Guide User action and values Description Deselect this checkbox until test run is successful Comments Valuation Area BP02 and BP03 are defined in Baseline China. 3.5. which is cross client. Make the following entries: Field Package Entry ZSTL_R3 Description © SAP AG Page 49 of 66 . This activity creates development object. Choose Execute. make the following entries: User action and values BP0X BP0Y All plants in company code BP0X will be set as productive Deselect this checkbox until test run is successful Choose Execute Description Comments Field name Plant to Test run 5.

Specify the workbench change request number in the upcoming Prompt for local Workbench request dialog box. Tools → ABAP Workbench → Overview → Object Navigator SE80 3.SAP Best Practices 4. 9. In the Package Builder: Create Package dialog box.2 Use Creating Function Group The purpose of this activity is to create function group as the container of function modules to be created for system enhancement.3. Accept default value of other attributes. 3. and then choose Continue. This activity creates cross client object. T02 . Choose Edit Object. Result You have created package specified for BP Steel China. make the following entry: Field Package Entry ZSTL_R3 Description The one you created in the previous step © SAP AG Page 50 of 66 . In the Object Selection dialog box.5. Choose Create (F5). Procedure 1.Delta FI/CO Configuration: Configuration Guide 5. Choose Create (F5). Accept default value of other attribute. then choose Save. Input as following: Field Group name 8. this package will be the container for development objects to be created in later steps. In the popup Create Function Group dialog box. switch to tab Function Group. maintain following attribute Field Short Text Entry BP Steel China Function Group Description Entry ZSTL_R3 Description 10. maintain following attribute Field Short Text Entry BP Steel China Description 6. 7. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code 2. 4. 11. then choose Create. In the popup Create Object Directory Entry dialog box.

Procedure 1. 6. Choose Create. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Utilities → Enhancement → Project Management CMOD 2.3 Use Creating Customer Enhancement Project The purpose of this activity is to create a project which groups customer exits to be implemented for system enhancement.5.3. © SAP AG Page 51 of 66 . then choose Save. On the Attributes of Enhancement Project ZSTL R3 screen. Result You have created function group ZSTL_R3 under package ZSTL_R3. Accept default value of other attributes. and then choose Continue. then choose Save. You should get information message “Function group ZSTL_R3 created”. This activity creates cross client object.Delta FI/CO Configuration: Configuration Guide 12. Result You have created project ZSTL_R3 for customer enhancement. Specify the workbench change request number in the upcoming Prompt for local Workbench request dialog box. It will be used as the container of function modules to be created in later steps.SAP Best Practices T02 . make the following entries: Field Short Text 5. make the following entries: Field Project 3. 4. 13. Choose Save. Accept default value of other attributes. and then choose Continue. You should get success message “Attribute of project ZSTL_R3 saved”. specify attributes: Field Package Entry ZSTL_R3 Description The one you created in former step Entry BP Steel China Enhancement Description Entry ZSTL_R3 Description 7. In the Create Object Directory Entry dialog box. On the Project Management of SAP Enhancements screen. It will be used as the container of customer exits to be implemented in later steps. Specify the workbench change request number in the popup Prompt for local Workbench request dialog box. 8. 3.

make the following entries: Field name Program 3. On the next screen.Delta FI/CO Configuration: Configuration Guide 3. In the Create Object Directory Entry dialog box. On the ABAP Editor: Initial Screen. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Development → ABAP Editor SE38 2. specify attributes: Field name Package Entry ZSTL_R3 Description The one you created in former step 7.6 3. 4. make the following entries: Field name Title User action and values Program to be used in actual costing order connection as userroutine Subroutine pool Customer Production Program Cost accounting Selected Selected S K K Description User action and values ZMILL_SINGLE_ORDER_PROCESS Description Type Status Application Fixed point arithmetic Unicode checks active 5. This activity is one of the correction steps included in SAP Note 908639. On the ABAP Editor: Change Subroutine pool ZMILL_SINGLE_ORDER_PROCESS screen.1 Use System Enhancement for FI/CO Creating Program ZMILL_SINGLE_ORDER_PROCESS This activity helps you overcome actual costing issue.3. 6. Choose Create.SAP Best Practices T02 .6.3. Accept default value of other attributes. Procedure 1. Check this note for detailed information before you perform this activity. Specify the workbench change request number in the Prompt for local Workbench request dialog box. replace the source ABAP code with the following one: *&---------------------------------------------------------------------* © SAP AG Page 52 of 66 . 8. It creates cross-client object. 9. Choose Save. You will get information message Attribute for program ZMILL_SINGLE_ORDER_PROCESS saved. then choose Save. and choose Continue.

It is client dependent. 10. Choose Active. * valuation type Y means use batch valuation with production order * costing for new batches if f_mbew-bwtty = 'Y'.SAP Best Practices T02 . * read valuation type CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING MATNR = i_matnr BWKEY = i_werks BWTAR = ' ' IMPORTING WMBEW = f_mbew EXCEPTIONS OTHERS = 1. endform. data: f_Mbew type mbew. This activity is correction steps included in SAP Note 908639 and 668400. e_user_name = i_aufnr.3.2 Use Maintaining Table Entry CKMLMVADMIN The purpose of this activity it to work together with last activity in order to overcome actual costing issue.Delta FI/CO Configuration: Configuration Guide *& Subroutine pool ZMILL_SINGLE_ORDER_PROCESS *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* PROGRAM ZMILL_SINGLE_ORDER_PROCESS. Check these notes for detailed information before you perform this activity. endif. form fix_order USING i_werks i_matnr i_aufnr CHANGING e_user_name e_user_change TYPE WERKS_D TYPE MATNR TYPE AUFNR TYPE CKML_SPEZ_NAME TYPE BOOLE_D. 3. e_user_change = 'X'.6. Make sure you get information message Object activated. Procedure © SAP AG Page 53 of 66 .

Choose Save.ZMILL_SINGLE_ORDER_PROCESS The name of subroutine and program name you created in previous step Description User action and values MGV-PROC-BWTAR Description 8.SAP Best Practices T02 . make the following entries: Field name Key 5. Check this note for detailed information before you perform this activity. 7. 4. Choose Utilities →Table Contents → Create Entries from the menu. make the following entries: Field name Key Data User action and values UE_FPROC FIX_ORDER.3. Choose Activate and Back. This activity is one of the correction steps included in SAP Note 494500. make the following entries: Field name Database table User action and values CKMLMVADMIN Description 3. Choose Save and Back. On the next screen.3 Use Implementing the BAdI CUKO_PLANT_CHANGE This BAdI helps you to implement the sales order costing BOM explosion cross plant with variant configuration.Delta FI/CO Configuration: Configuration Guide 1. 9. Procedure 1. 6. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Development → ABAP Dictionary SE11 2.6. Choose Display and choose Utilities →Table Contents → Create Entries from the menu. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Utilities → Business Add-Ins → Implementation SE19 © SAP AG Page 54 of 66 . On the ABAP Editor: Initial Screen. 3. On the next screen. It creates cross-client object.

On the Business Add-In Builder: Change Implementation Z_CUKO_PLANT_CHANGE screen. choose Active business add-in implementation. On the Interface tab. 9. Accept default values for other attributes. In the Implementation Short Text field. Result You have implemented the Business Add-In CUKO_PLANT_CHANGE and make it activated in the system. 5.4 Use Modifying Program LCUKOFCP This activity helps you to realize sales order costing BOM explosion cross plant with variant configuration. On the Business Add-Ins: Initial Implementation Maintenance Screen. 8. enter ZSTL_R3 in the Package field.6. 3. It creates cross-client object. Choose Continue in the Inactive Objects for XXX dialog box. 7. 14. Choose Back. On the Create Object Directory Entry screen. You will get information message BAdI implementation Z_CUKO_PLANT_CHANGE has been activated! 16. 11.Delta FI/CO Configuration: Configuration Guide 2. 12. ENDMETHOD. Choose Yes to confirm the pop up message. Choose Activate. 15. Choose Back. You should get information message Implementation Z_CUKO_PLANT_CHANGE was saved. 13. Choose Create and give the definition name CUKO_PLANT_CHANGE. 6. enter the Implementation Name Z_CUKO_PLANT_CHANGE.SAP Best Practices T02 . ev_allow_plant_change = 'X'. Procedure 1. On the Class Builder : Class ZCL_IM_CUKO_PLANT_CHANGE Change screen. This activity is one of the correction steps included in SAP Note 494500. Check this note for detailed information before you perform this activity.3. 3. then choose Continue. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Development → ABAP Editor SE38 © SAP AG Page 55 of 66 . 10. Double-click method CUKO_SET_CHANGE_PLANT_FLAG to implement the method. enter Change of plant in multi-level configuration. enter ZCL_IM_CUKO_PLANT_CHANGE in the field Name of implementing class. then choose Save. replace the source ABAP code with following: METHOD if_ex_cuko_plant_change~cuko_set_change_plant_flag. Specify the workbench change request number in the Prompt for local Workbench request dialog box. 4.

5 Use Creating Function Module ZMIL_VALUATE_FORM_ORDER The purpose of this activity is to update material standard price from production order costing for make to stock production.3.SAP Best Practices T02 . Choose Activate and go back. *} REPLACE Description User action and values LCUKOFCP X 1 "691267 "691267 2 "691267 "691267 5. 3.6. enter the following data: Field name Function Module Description User action and values ZMIL_VALUATE_FROM_ORDER © SAP AG Page 56 of 66 . Modify the Include LCUKOFCP with the following source code: *&---------------------------------------------------------------------* *& Include LCUKOFCP * *&---------------------------------------------------------------------* * Special switch for orderbom DATA: *{ REPLACE SCDK900339 *\ gv_change_plant_allowed TYPE c VALUE space. enter the following data: Field name Program Source code 3. *} REPLACE * Explode all special procurement keys DATA: *{ REPLACE SCDK900339 *\ gv_explode_all_sobsl TYPE c VALUE space. Choose Change. gv_explode_all_sobsl TYPE c VALUE 'X'. Check this note for detailed information before you perform this activity. gv_change_plant_allowed TYPE c VALUE 'X'. It creates cross-client object. On the ABAP Editor: Initial Screen. 4. Procedure 1.Delta FI/CO Configuration: Configuration Guide 2. This activity is one of the correction steps included in SAP Note 904252. On the Function Builder: Initial Screen. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Development → Function Builder SE37 2.

maintain the following export parameter: Parameter Name OPREIS_EXP Type TYPE Associated Type STPRS Default value 8.SAP Best Practices 3. On the screen Create Function Module. choose Import tab. ctyp_bu LIKE tka01-ctyp. ctyp_ko LIKE tka01-ctyp.Delta FI/CO Configuration: Configuration Guide 4. gpreis LIKE ckkalktab-gpreis. hwaer LIKE ckkalktab-hwaer. wertn LIKE ckkalktab-wertn. copy the following ABAP source code into your function module: FUNCTION ZMIL_VALUATE_FROM_ORDER. enter following data: Field name Function group Short text 5. *"---------------------------------------------------------------------*"*"Local Interface: *" IMPORTING *" REFERENCE(AUFNR_IMP) LIKE AUFK-AUFNR *" REFERENCE(MATNR_IMP) LIKE MBEW-MATNR *" REFERENCE(PLANT_IMP) LIKE MARC-WERKS *" REFERENCE(PEINH_IMP) TYPE PEINH *" REFERENCE(BWTAR_IMP) TYPE BWTAR_D *" EXPORTING *" REFERENCE(OPREIS_EXP) TYPE STPRS *"---------------------------------------------------------------------* excerpt from LCK36FAZ lines 643ff * derive value of oder costing for goods receipt of batches * tables: afpo. Choose Export tab. On the Function Builder: Change ZMIL_VALUATE_FROM_ORDER screen. © SAP AG Page 57 of 66 . opreifx LIKE ckkalktab-opreifx. opreis LIKE ckkalktab-opreis. wrtfw_kfx LIKE ckkalktab-wrtfw_kfx. 6. wrtfx LIKE ckkalktab-wrtfx. DATA: BEGIN OF f_prices. Choose Create. maintain the following import parameters: Parameter Name AUFNR_IMP MATNR_IMP PLANT_IMP PEINH_IMP BWTAR_IMP Type LIKE LIKE LIKE TYPE TYPE Associated Type AUFK-AUFNR MBEW-MATNR MARC-WERKS PEINH BWTAR_D Default value Description User action and values The function group you created in previous step. e.g. ZSTL_R3 Modification for valuation of a single batch 7. Choose Source code tab. fpreis LIKE ckkalktab-fpreis. aufk. fwaer_kpf LIKE ckkalktab-fwaer_kpf. Choose Enter to confirm the attribute. T02 . losgr LIKE cosla-lst001. wrtfw_kpf LIKE ckkalktab-wrtfw_kpf.

1. import A to h_umwrk from memory ID 'UMWRK'.. © SAP AG Page 58 of 66 . * 4. IF NOT f_afpo-objnp IS INITIAL. SELECT * FROM afpo into f_afpo WHERE aufnr = aufnr_imp AND matnr = matnr_imp. peinh_2 LIKE ckkalktab-peinh_2. k_objnr = f_afpo-objnp. f_Mbew type mbew. EXIT. h_umwrk like mseg-werks. CHECK sy-subrc = 0. bwst LIKE mbew-lbwst. ENDSELECT. CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING MATNR = matnr_imp BWKEY = h_umwrk BWTAR = bwtar_imp IMPORTING WMBEW = f_mbew EXCEPTIONS OTHERS = 1.SAP Best Practices T02 . CHECK sy-subrc = 0. SELECT SINGLE * FROM aufk into f_aufk WHERE aufnr = aufnr_imp.. IF NOT aufnr_imp IS INITIAL. OPREIS_EXP = f_mbew-stprs. k_meeht LIKE ckkalktab-meeht.3 Objektnummer sitzt bei Kuppelprodukten in der Position . END OF f_prices. f_aufk like aufk. bwst3 LIKE mbew-lbwst. f_afpo like afpo..2.4 . * valuation type Y means use batch valuation with production order * costing for new batches check f_mbew-bwtty = 'Y'. k_peinh_div_losgr TYPE f.Delta FI/CO Configuration: Configuration Guide peinh LIKE ckkalktab-peinh. if not h_umwrk is initial. * 4. ELSE.1. * read valuation type from delivering plant. sonst im Auftragskopf. CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING werk = plant_imp IMPORTING organisationselemente = f_org_elements EXCEPTIONS OTHERS = 5. * read valuation type CALL FUNCTION 'MBEW_SINGLE_READ' EXPORTING MATNR = matnr_imp BWKEY = plant_imp BWTAR = ' ' IMPORTING WMBEW = f_mbew EXCEPTIONS OTHERS = 1. f_org_elements LIKE ckiwerk. data: k_rc like sy-subrc. else..2. k_objnr like aufk-objnr.

Result You have created the function module ZMIL_VALUATE_FROM_ORDER. 3. It creates cross-client object. OPREIS_EXP = f_prices-opreis. f_prices-bwst = '2' . Choose Activate and Back. f_prices-opreis = f_prices-wrtfw_kpf * k_peinh_div_losgr.6. ENDIF. Weiter nur mit nichtnegativen und mindestens einem positiven Wert CHECK f_prices-wrtfw_kpf GT 0 OR f_prices-wertn GT 0.Delta FI/CO Configuration: Configuration Guide AUFK wird im check_order_status gefüllt k_objnr = f_aufk-objnr. Buchungskreiswährung f_prices-wrtfw_kfx = f_prices-wrtfx * f_prices-wrtfw_kpf / f_prices-wertn. f_prices-opreifx = f_prices-wrtfw_kfx * k_peinh_div_losgr. Check this note for detailed information before you perform this activity. f_prices-peinh = peinh_imp. This activity is one of the correction steps included in SAP Note 904252. Register the object to be changed in SAPNet or CSS system to get the access key. CHECK NOT f_prices-losgr IS INITIAL.3. * * ENDIF. endif.6 Use Modifying Function Module CKML_F_CKML1_PRICES_GET The purpose of this activity it to work together with previous activity to derive standard price from production order costing for make to stock production. CHECK f_prices-wrtfw_kpf GE 0 AND f_prices-wertn GE 0. * ENDFUNCTION. CHECK NOT k_objnr IS INITIAL. it requires access key for the objects. PERFORM co_object_costs_summarize IN PROGRAM saplck10 USING f_org_elements-kokrs k_objnr 'PPS' '0' "yet only legal valuation CHANGING f_prices-wertn f_prices-wrtfx f_prices-wrtfw_kpf f_prices-losgr k_meeht. "y_bwst-fauf. This step modifies SAP standard program. © SAP AG Page 59 of 66 . endif. k_peinh_div_losgr = peinh_imp / f_prices-losgr. 9.SAP Best Practices * T02 . which will be used in the next step to derive standard price from production order costing for make to stock production.

"Note 385680 t_prs-lbwst = '3'. "Aufruf durch Reprü "Note 385680 "Note 385680 "Note 385680 Für die 10-er Währung kommt der Preis aus der MBEW.. enter the following data: Field name Function Module Description User action and values CKML_F_CKML1_PRICES_GET 3. APPEND t_prs. ELSE. MOVE-CORRESPONDING mat_spec TO t_prs.Delta FI/CO Configuration: Configuration Guide Procedure 1. die Kalkulation aufrufen. LOOP AT t_prs WHERE curtp = '10'. ENDIF. OR NOT mat_spec-rqbew IS INITIAL ) AND NOT mat_spec-sobkz IS INITIAL AND mat_spec-kzbws = 'M' AND mat_spec-lbwst IS INITIAL AND ( call_by_mmim = y_x OR call_by_mmiv = y_x ). "Note 385680 MODIFY t_prs. ENDLOOP. t_prs-lbwst = '3'. "Aufruf durch Bestandsf. LBWST bleibt hier initial. Parallelwährungen sind jedoch umgerechnet. t_prs-curtp = y_curtp_lc.. "Note 385680 ELSE. LOOP AT t_curtp WHERE curtp = t_prs-curtp. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Development → Function Builder SE37 2. t_prs-waers = t_curtp-waers. "Note 385680 ENDLOOP.bewertet "noch keine lfd. * * * ". IF e_ml_reference_found IS INITIAL.SAP Best Practices T02 .. Kalk. © SAP AG Page 60 of 66 .. Select Change. then make the following modifications to the function module: .. deshalb mit MBWST=3 vorbelegen. t_prs-text = t_curtp-text. die ggf. On the Function Builder: Initial Screen. den Bewertungspreis vorgibt und die zugehörige Schichtung * (falls existent) mittels MLCCS_DYN_COSTSPLIT_PARK bei uns parkt.. *>>> start of delete <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< IF ( NOT mat_spec-rmbew IS INITIAL OR NOT mat_spec-rebew IS INITIAL "Neues Segment MBEW "Neues Segment EBEW "Neues Segment QBEW "Sonderbestand. LOOP AT t_prs. choose tab Source Code. * * * "mlmaa = y_x Falls ein Sonderbestandskennzeichen sitzt und das Material jetzt dynamisch angelegt wird.

= t_prs = 2. t_ckmlpr-lplpr = t_prs-lplpr. t_ckmlpr-lbwst = t_prs-lbwst. * Gleiche Preise auch im Vormonat und Vorjahr t_prs-vmstp = t_prs-stprs. t_ckmlpr-lplpx = t_prs-lplpx. t_prs-vmpei = t_prs-peinh. ENDIF. t_prs-vjver = t_prs-verpr. t_prs-vjpei = t_prs-peinh. © SAP AG Page 61 of 66 . t_prs-vmver = t_prs-verpr. ENDLOOP. * T02 .SAP Best Practices MODIFY t_prs. t_ckmlcr-peinh = t_prs-peinh. MESSAGE e099 WITH 'CKML_F_CKML1_PRICES_GET' '1' sy-subrc. MODIFY t_prs. ELSE. IF sy-subrc = 0. IF mat_spec-mlmaa = y_x. "ML aktiv READ TABLE t_ckmlpr WITH KEY kalnr = mat_spec-kaln1 curtp = t_prs-curtp. MODIFY t_ckmlpr INDEX sy-tabix. t_ckmlpr-peinh = t_prs-peinh. MODIFY t_ckmlcr. * Preise in allen Perioden setzen LOOP AT t_ckmlcr WHERE kalnr = mat_spec-kaln1 AND curtp = t_prs-curtp AND ( ( poper = poper AND bdatj = mat_spec-lfgja ) OR ( poper = vpoper AND bdatj = vbdatj ) OR ( poper = vjpoper AND bdatj = vjbdatj ) ). t_ckmlcr-pvprs = t_prs-verpr. PERFORM preise_umrechnen TABLES t_prs t_curtp. ENDIF. LOOP AT t_prs. t_ckmlcr-stprs = t_prs-stprs. t_prs-vjstp = t_prs-stprs.Delta FI/CO Configuration: Configuration Guide Der Parameter NO_MBEW_IMP muß immer gesetzt sein !!! "Note 546865 CALL FUNCTION 'CK36_STANDARD_PRICE_GET' EXPORTING psdat_imp = mat_spec-budat no_mbew_imp = 'X' s_send_data_to_ml_imp = 'X' TABLES t_cki_prs EXCEPTIONS no_valuation IF sy-subrc = 0.

"Note 385680 "Note 385680 "Note 385680 "Note 385680 "Note 385680 "Note 385680 = mat_spec-kaln1 = mat_spec-mlast = mat_spec-bwkey = t_prs-lbwst it_ckmlcr = t_ckmlcr. ENDIF. "ML aktiv CALL FUNCTION 'CKMS_BUFFER_WRITE' EXPORTING write_mode = 'N' TABLES t_ckmlpr t_ckmlpp t_ckmlcr "modify_new = t_ckmlpr = t_ckmlpp = t_ckmlcr.Delta FI/CO Configuration: Configuration Guide MESSAGE e099 WITH 'CKML_F_CKML1_PRICES_GET' '2' sy-subrc. t_prs-lbwst = '3'. MODIFY t_prs. t_prs-lbwst = '3'. ENDIF. "Note 385680 "Note 385680 "Note 385680 "Note 385680 © SAP AG Page 62 of 66 . LOOP AT t_prs WHERE curtp = '10'. IF mat_spec-mlmaa = y_x. da LBWST oben schon vorbelegt ELSE. "mark that a new price was set IF ( NOT mat_spec-rmbew IS INITIAL OR NOT mat_spec-rebew IS INITIAL "Neues Segment MBEW "Neues Segment EBEW OR NOT mat_spec-rqbew IS INITIAL ) "Neues Segment QBEW AND mat_spec-lbwst IS INITIAL "noch keine lfd. ENDLOOP. ENDLOOP. MODIFY t_prs. ENDIF. AND ( call_by_mmim = y_x OR call_by_mmiv = y_x ). t_prs-lbwst = '3'. ELSE. IF sy-subrc NE 0. Kalk.SAP Best Practices ENDLOOP. * * * * * * Entfällt. "Aufruf durch Reprü IF NOT mat_spec-sobkz IS INITIAL AND mat_spec-kzbws = 'M'. "Aufruf durch Bestandsf. *>>> end of delete <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< *>>> start of insert <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< *********{ START OF INSERTION for CM Project **************************** **************************************************************************** DATA: h_new_price_set. CALL FUNCTION 'MLCCS_DYN_COSTSPLIT_TRANSFORM' EXPORTING i_kalnr i_mlast i_bwkey i_lbwst TABLES ENDIF. ENDLOOP. "P9CK132410 READ TABLE t_prs INDEX 1. LOOP AT t_prs. T02 . LOOP AT t_prs. IF e_ml_reference_found IS INITIAL.

MODIFY t_prs. t_prs-vmpei = t_prs-peinh. h_new_price_set = 'X'. IF mat_spec-mlmaa = y_x. t_prs-lbwst = '2'. t_prs-vjstp = t_prs-stprs. h_new_price_set = 'X'. IF sy-subrc = 0. LOOP AT t_prs. ENDIF. ELSE. ENDIF. MODIFY t_prs INDEX 1. "ML aktiv READ TABLE t_ckmlpr WITH KEY kalnr = mat_spec-kaln1 curtp = t_prs-curtp. ENDIF. ENDIF.SAP Best Practices MODIFY t_prs. © SAP AG Page 63 of 66 . t_prs-vmstp = t_prs-stprs. IF mat_spec-rmbew = 'X'. IF NOT h_new_price_set IS INITIAL. PERFORM preise_umrechnen TABLES t_prs t_curtp. t_prs-vjpei = t_prs-peinh. T02 .Delta FI/CO Configuration: Configuration Guide CALL FUNCTION 'CK36_STANDARD_PRICE_GET' EXPORTING psdat_imp no_mbew_imp = mat_spec-budat = 'X' s_send_data_to_ml_imp = 'X' TABLES t_cki_prs EXCEPTIONS no_valuation IF sy-subrc = 0. "**in case of batch valuation valuate with value of order costing CALL FUNCTION 'ZMIL_VALUATE_FROM_ORDER' EXPORTING aufnr_imp matnr_imp plant_imp peinh_imp bwtar_imp IMPORTING opreis_exp = mat_spec-aufnr = mat_spec-matnr = mat_spec-werks = mat_spec-peinh = mat_spec-bwtar = t_prs-stprs. ENDIF. = t_prs = 2. t_prs-vjver = t_prs-verpr. ENDLOOP. t_prs-vmver = t_prs-verpr. IF NOT t_prs-stprs IS INITIAL.

© SAP AG Page 64 of 66 . "P9CK132410 READ TABLE t_prs INDEX 1. MESSAGE e099 WITH 'CKML_F_CKML1_PRICES_GET' '2' sy-subrc. t_ckmlpr-lplpx = t_prs-lplpx. ENDIF. IF sy-subrc NE 0. CALL FUNCTION 'MLCCS_DYN_COSTSPLIT_TRANSFORM' EXPORTING i_kalnr i_mlast i_bwkey i_lbwst TABLES ENDIF.SAP Best Practices T02 . t_ckmlcr-peinh = t_prs-peinh. MESSAGE e099 WITH 'CKML_F_CKML1_PRICES_GET' '1' sy-subrc. ENDIF. t_ckmlpr-lplpr = t_prs-lplpr. t_ckmlcr-stprs = t_prs-stprs. ENDLOOP. t_ckmlpr-peinh = t_prs-peinh. ENDIF. IF mat_spec-mlmaa = y_x.Delta FI/CO Configuration: Configuration Guide t_ckmlpr-lbwst = t_prs-lbwst. "ML aktiv CALL FUNCTION 'CKMS_BUFFER_WRITE' EXPORTING write_mode = 'N' TABLES t_ckmlpr t_ckmlpp t_ckmlcr "modify_new = t_ckmlpr = t_ckmlpp = t_ckmlcr. ELSE. ENDLOOP. MODIFY t_ckmlpr INDEX sy-tabix. **************************************************************************** *********} END OF INSERTION for CM Project ******************************* *>>> end of insert <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< *TS Subcontracting Japan: Block insert start ELSEIF NOT mat_spec-robew IS INITIAL AND AND AND mat_spec-xobew = y_x mat_spec-lbwst IS INITIAL ( call_by_mmim = y_x OR = mat_spec-kaln1 = mat_spec-mlast = mat_spec-bwkey = t_prs-lbwst it_ckmlcr = t_ckmlcr. t_ckmlcr-pvprs = t_prs-verpr. ENDIF. MODIFY t_ckmlcr. LOOP AT t_ckmlcr WHERE kalnr = mat_spec-kaln1 AND curtp = t_prs-curtp AND ( ( poper = poper AND bdatj = mat_spec-lfgja ) OR ( poper = vpoper AND bdatj = vbdatj ) OR ( poper = vjpoper AND bdatj = vjbdatj ) ).

Choose Activate and Back. On the ABAP Editor: Initial Screen.7 Use Modifying Program LCK21F0P The purpose of this activity it to work together with previous two activities to extract standard price from production order costing for make to stock production..Delta FI/CO Configuration: Configuration Guide call_by_mmiv = y_x ). Description User action and values LCK21F0P X © SAP AG Page 65 of 66 . * Sonderabwicklung Warenzugang bei S-Preissteuerung * *>>>> START OF DELETION <<<<< * IF NOT i_we IS INITIAL AND f_mack2_i-vprsv = 'S'. *>>>> END OF DELETION <<<<<<< *>>>> START OF INSERTION <<<< * enable valuation of single batches with order costing (BWTTY = Y) IF NOT i_we IS INITIAL AND f_mack2_i-vprsv = 'S' and not f_mack2_i-bwtty = 'Y'. 4.3.. Choose Change.6. CALL FUNCTION 'CK36_STANDARD_PRICE_GET' . Result You have changed the function module CKML_F_CKML1_PRICES_GET. DATA: lf_matstratinforec LIKE ckmaterialsubstrat. s_losfx TYPE c. "SBeRoh l_table_length TYPE i. 3. "SBeRoh CONSTANTS: c_k TYPE c VALUE 'K'. enter the following data: Field name Program Source code 3. Procedure 1. 4. which works together with function module ZMIL_VALUATE_FROM_ORDER to extract standard price from production order costing for make to stock production. This activity is one of the correction steps included in SAP Note 904252. Make the following modifications to the report : *& FORM VALUATION_WITH_MACK2 *& …… DATA: k_conv TYPE i VALUE 2.SAP Best Practices T02 . It creates cross-client object. "Aufrufer: Vorkalkulation f_kalktab_save = f_kalktab_r. Check this note for detailed information before you perform this activity. Access the activity using one of the following navigation options: SAP ERP Menu Transaction Code Tools → ABAP Workbench → Development → ABAP Editor SE38 2.

© SAP AG Page 66 of 66 . Choose Activate and Save.SAP Best Practices *>>>> END OF INSERTION <<<<<< T02 .Delta FI/CO Configuration: Configuration Guide 5.

Sign up to vote on this title
UsefulNot useful