Show TOC
Develop
Enhancements for Material Costing
The following SAP enhancements are available
for the area Cost Estimate with Quantity Structure:
- Costing Reports
(SAPLXCKA)
- Costing Production Resources and Tools
(COPCP003)
- Material Valuation with Cross-Company Costing
(COPCP001)
- Costing Bulk Materials
(COPCP004)
- Valuation Price for Materials from User Exit
(COPCP005)
1. Costing
Reports: SAPLXCKA
Here you can create
your own reports for displaying cost estimates with quantity structure or
activate the example reports in the standard system.
This enhancement
contains the following components:
- EXIT_SAPLCKAZ_001
Display/print itemization
This enhancement
contains example program code from SAP that you can modify and use for your
own enhancement, or activate directly as a report for the
itemization.
- EXIT_SAPLCKAZ_002
Display/print cost components
This enhancement
contains example program code from SAP that you can either modify and use for
your own enhancement, or activate as a report for the
cost components.
- EXIT_SAPLCKAZ_003
Display/print cost components and itemization
This enhancement
does not contain example program code.
In the cost estimate
with quantity structure you access the reports with Costs ->
Display user exit . The report refers to the first cost
component view listed. If you want to see the costs with reference to another
cost component view, choose Settings -> Cost
display and choose the desired report under Select
view.
You can display your
own reports in the information system by adding them to the report list for
product costing.
See
also:
Check report list
for material cost estimate
2. Costing
production resources/tools:
COPCP003
This enhancement
contains the component
EXIT_SAPLCK01_001.
The costs
for
production resources
and tools are calculated as a flat rate within production
overhead.
This enhancement
enables you to plan the costs for production resources in costing with
quantity structure in different ways. Here you can specify how the production
resources are to be costed.
This enhancement
contains example program code from SAP that you can modify or use as
is.
3. Material
valuation with cross-company costing:
COPCP001
This enhancement
contains the component
EXIT_SAPLCK21_001.
Here you can enter
the prices for valuation of a material that is transferred between company
codes.
You have the
following options for the valuation of materials that are transferred between
company codes:
- You are using the standard system without
cross-company costing. In this case the system uses a price in the material
master record in accordance with the valuation strategy. The material is
treated as if it were externally procured.
- You activate cross-company costing. In this
case the material is recosted in the other company code or transferred
according to the transfer control ID.
If you have not
activated cross-company costing, you can use this enhancement to define
alternative prices for valuation of a material that is transferred between
company codes. That is, this enhancement allows you to specify which price
should be used instead of the price from the material master
record.
In include
LXCKAF)) you can find an example program code. However, this
code example can not be directly copied and
used
4. Costing Bulk
Materials: COPCP004
This enhancement
contains the component
EXIT_SAPLKKEX_001.
You can use this
enhancement to plan the costs for bulk materials and show in the cost element
itemization.
If the indicator
Bulk material is set in the material master, the
indicator Relevant to costing in in the BOM does not
accept input for the item. The enhancement allows you to determine the costing
relevancy. The items with the bulk materials indicator at item
level of BOM are also included as relevant to
costing.
This enhancement
contains example program code from SAP that you can modify or use as
is.
5. Valuation
Price with Valuation Strategy U:
COPCP005
This enhancement
contains the component
EXIT_SAPLCK21_002.
You can use this
enhancement to specify prices for valuation of materials if you want to use
valuation strategy U (valuation with USER EXIT) for
material valuation to find a price for the materials.
This enhancement
does not contain any example program code from SAP.
Activities
To activate the SAP example
reports (the procedure is similar forthe other enhancements):
1. Create a new
project or use an existing one.
2. Set the
indicator SAP enhancements and choose
Change.
3. Enter
SAPLXCKA as the SAP enhancement and choose
Save.
4. Set the
indicator Enhancement components and choose
Change.
1. Position the
cursor on the enhancement component
EXIT_SAPLCKAZ_001 and choose Edit -> Use SAP
source code.
1. The system
asks whether you want to create ZXCKAU01. Answer
Yes.
2. Maintain the
attributes.
3. Save the
program and choose Back.
4. Position the
cursor on the enhancement component
EXIT_SAPLCKAZ_002 and choose Edit -> Use SAP
source code.
1. The system
asks whether you want to create ZXCKAU02. Answer
Yes.
2. Maintain the
attributes.
3. Save the
program and choose Back.
4. Activate the
project.
5. To display
the reports, you must perform costing again.
Further
Notes
Unlike modifications, enhancements are always
upgrade-compatible because they are implemented in a name range reserved for
the customer rather than in the SAP original.
The general procedures for creating
enhancements can be found in the enhancement transaction
CMOD under Goto -> Online Manual.
This takes you to the SAP library where you can find detailed information on
customer exits.
For more information on the above enhancements,
see the associated function module
documentation.