If you have sales documents with large numbers of items, performance considerations may make it inadvisable to automatically cost the documents when you create them. However, if you need cost information on the sales order items, for example because you have a valuated sales order stock , you can use the mass costing function to cost the items later (as a background job during the night, for example).
You can use this function to mark the cost estimates without errors at the same time.
Note
You cannot use this function to mark cost estimates that already exist.
The mass costing function creates cost estimates with a quantity structure .
If you don’t want a cost estimate to be generated each time a sales document is created, the Costing ID indicator in Customizing for the requirements class must not be set to Automatic costing (A) or Automatic costing and marking (B) .
You have made the following settings in Customizing for the requirements class:
Costing : Costing permitted, with status updating (‘ ’) or Costing required ( X ). Do not select A or B .
Costing method : Product Costing ( 1 )
Costing variant : If you want to cost items for which no cost estimate exists yet, select a costing variant. Use costing variant PPC4 or select one that was created in Customizing under Check Costing Variants for Product Costing .
A requirements type is assigned to the item.
If a cost estimate already exists, it must have been created with costing variant PPC4 or another costing variant that was created in Customizing under Check Costing Variants for Product Costing . The existing cost estimate must not have been postprocessed .
The sales document must not have the status CLSD.
With configurable materials, the configuration must be complete.
The items to be costed are selected. Selection criteria such as the following are available:
Sales document and item
Requirements type
Created on and Changed on
Sales document type
Sales organization
Distribution channel
Division
Item category
Material
Plant
Status profile and user status
Document items with status Cost
Document items with status Cstd
Document items with costing status KF
If you want to use additional selection criteria, you must do the selection yourself using the BAdI COPC_CK_MCSO. For more information, see the Implementation Guide (IMG) for Cost Object Controlling under and in the BAdI Builder in the documentation for method CK_MCSO_SELECTION of the BAdI.
Items that cannot be costed because one or more prerequisites (see above) are not met or because you have not set the required indicators under Processing Options are not selected.
After the items have been selected, they are costed.
You can also cost items for which a cost estimate without errors (costing status KA) or a marked cost estimate (costing status VO) already exists. In this case you must select the indicator Recost Items with Costing Status KA or Recost Items with Costing Status VO . You can only recost items with a marked cost estimate if the cost estimate has not been used to valuate the sales order stock and it is possible to overwrite marked cost estimates. If you want to recost items with a marked cost estimate, message CK 635 must not be defined as an error message. For more information, see the IMG of Cost Object Controlling under
.A log is created and saved. A message is issued for each item. For costed items, you can display the cost estimate .
If you run a selection test , the log contains only messages on items that were not selected because they could not be costed. This log is not saved.
For most messages it is possible to control whether they appear in the log. For more information, see the IMG for Cost Object Controlling under
. If you redefine error messages as information messages or warning messages, the affected items will still not be selected or costed.Choose
.You can display all saved logs ( ( ) Display Log ) and delete them ( ( ) Delete Logs ).
To display the cost estimate from the log, choose the glasses symbol ( ( ) ) in the Info column.