Entering content frameFunction documentation Mass Costing for Sales Document Items Locate the document in its SAP Library structure

Use

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 Structure linkcost estimates without errors at the same time.

Note

You cannot use this function to mark cost estimates that already exist.

Integration

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).

Prerequisites

You have made the following settings in Customizing for the requirements class:

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.

Features

The items to be costed are selected. Selection criteria such as the following are available:

If you want to use additional selection criteria, you must do the selection yourself using the Structure linkBAdI COPC_CK_MCSO. For more information, see the Implementation Guide (IMG) for Cost Object Controlling under Product Cost by Sales Order ® Control of Sales-Order-Related Production/Product Cost by Sales Order ® BAdI: Selection for Mass Costing of Sales Documents 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 Product Cost by Sales Order ® Preliminary Costing and Order BOM Costing ® User-Defined Error Management ® Specify User-Defined Message Types for Sales Order Costing and Order BOM Costing.

A log is created and saved. A message is issued for each item. For costed items, you can Structure linkdisplay 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 Product Cost by Sales Order ® Control of Sales-Order-Related Production/Product Cost by Sales Order ® User-Defined Error Management for Mass Costing of Sales Documents. If you redefine error messages as information messages or warning messages, the affected items will still not be selected or costed.

Activities

Choose Accounting ® Controlling ® Product Cost Controlling ® Cost Object Controlling ® Product Cost by Sales Order ® Cost Estimate ® Mass Costing - Sales Documents.

You can display all saved logs (This graphic is explained in the accompanying text Display Log) and delete them (This graphic is explained in the accompanying text Delete Logs).

To display the cost estimate from the log, choose the glasses symbol ( This graphic is explained in the accompanying text) in the Info column.

 

 

 

Leaving content frame