Vous êtes sur la page 1sur 5

Nota sap 2198317

- Analysis report for moving average


price changes: MBMAPCHANGES
Symptom

The moving average price of some materials has changed in your ERP-system and
you are not able to explain what caused the change. You need to look into and
analyze moving average price changes however there is no specific standard tool,
which would fully support this.

Other Terms

moving average price, price change history, v-price, v price, map, MAP, s price, s-
price, statistical moving average price, ZMBMAPCHANGES, MBMAPCHANGES,
supportability tool, report, analysis, GLD

Reason and Prerequisites

The moving average price of materials can be changed by several different types
of documents in ERP systems, for example: material documents, price change
documents, invoice documents, production settlements or even credit memos or
material ledger documents. Due to the complex cross-application knowledge
required to find all these documents it can be quite complicated to access and
review all relevant documents.

For such analyses transaction MR51 offers a detailed view that can be used to
track price changes, however this transaction cannot distinguish between postings
made to the unrestricted use stock and to the valuated special stocks 'E' and 'Q'
therefore in some cases it is not reliable and usable.

The method we recommended so far to overcome these limitations is explained in


KBA 1506200. However, this is based on a long list of manual steps and
an analysis in transaction SE16, where the output is hardly interpretable for end-
users and the navigation to reference documents requires non-documented
application knowledge. This new tool is meant to provide a more user friendly
alternative instead of this method.

Solution

MBMAPCHANGES is a new English-only analysis tool which offers the following


features:

 Assemble an ALV list of all documents which have changed the stock
quantity or the stock value of the material entered on the selection screen
 Distinguish between unrestricted use stock, sales order stock and project
stock valuations
 Enable forward navigation to reference documents
 Highlight documents which have significantly changed the moving average
price
 Offer a documentation about the functionality and its general formulas and
scenarios

The report MBMAPCHANGES is part of the Support Package specified below.


For an advance correction: See the correction instructions.

This report requires Kernel version 7.20 or higher.

Manual Activities

------------------------------------------------------------------------
|Manual Activity |
------------------------------------------------------------------------
|VALID FOR |
|Software Component SAP_APPL SAP Application |
| Release 600 SAPKH60001 - SAPKH60027 |
| Release 602 Until SAPKH60217 |
| Release 603 Until SAPKH60316 |
| Release 604 SAPKH60401 - SAPKH60417 |
| Release 605 Until SAPKH60514 |
| Release 606 SAPKH60601 - SAPKH60616 |
| Release 616 Until SAPKH61609 |
| Release 617 SAPKH61701 - SAPKH61711 |
| Release 618 Until SAPK-61801INSAPAPPL |
------------------------------------------------------------------------

1.) Implement the correction instructions.

2.) Create text elements


-> Open transaction SE38 -> MBMAPCHANGES -> Text elements -> Change
-> Select the 'Text symbols' tab and enter:
001 Material data
002 Additional data for sales order stock valuation
003 Additional data for project stock valuation
004 Posting date restrictions
005 Reference document restriction
006 Output settings
007 Up to
008 From

-> Select the 'Selection Texts' tab


P_ALV Layout
P_BWKEY Valuation Area
P_BWTAR Valuation Type
P_DOCU Reference Document
P_FROM From
P_MATNR Material
P_POSNR Item (SD)
P_PRCNT Highlight threshold %
P_PSPNR WBS Element
P_SOBKZE Special Stock
P_SOBKZQ Special Stock
P_UPTO Up to
P_VBELN Sales Document
P_YEAR Year
R_BDATJ Year
R_DATUM Entry Date
R_POPER Posting period
-> Save and Activate

3.) Create dialog texts


-> Open transaction SE61
-> Change the 'Document Class' to 'Dialog Text'
-> Language: 'English'
-> Dialog text: MBMAPCHANGES_INFO1
-> Create
-> Paste the following text:
The reference document in this line has significantly changed the
moving average price of this material. You can find more information
about the possible root causes and solutions in the application
documentation under "Significant moving average price changes".
-> Save and Activate
-> Package: MB
-> Back
-> Dialog text: MBMAPCHANGES_INFO2
-> Create
-> Paste the following text:
The document in this line has been posted for the previous period /
fiscal year.
Due to this there are two separate lines in this price change history:
o One that alters the previous period data
o One that alters the current period data
You can find more information about these calculations in the
application documentation under "Backposting scenarios".
-> Save and Activate
-> Package: MB
-> Back
-> Dialog text: MBMAPCHANGES_INFO3
-> Create
-> Paste the following text:
Documents that only change the statistical moving average price are not
logged in the standard system. These changes are only visible if the
postings also impact the total_quantity or the total_value. Due to this
the statistical V-price calculations of this report are not reliable and
therefore not supported.
-> Save and Activate
-> Package: MB

4.) Import application documentation


This step is optional. You will get the original documentation with the
Support Packages referenced by this note. If you want to implement an
advance version of the documentation, follow the steps below.
-> Download the file MBMAPCHANGES_DOCU.ITF (attached to the note) to your
local disc
-> Open transaction SE38 -> MBMAPCHANGES -> 'Goto' menu -> Documentation
-> Change
-> Enter Modification name 'ZN2198317' and select Template 'Original
text'
-> Clear the editor and navigate to the 'Document' menu -> Upload -> ITF
-> upload the file MBMAPCHANGES_DOCU.ITF from your local disc
-> Save active (Ctrl+F12)

------------------------------------------------------------------------
|Manual Activity |
------------------------------------------------------------------------
|VALID FOR |
|Software Component S4CORE |
| Release 100 Until SAPK-10001INS4CORE |
------------------------------------------------------------------------

1.) Implement the correction instructions.

2.) Create text elements


-> Open transaction SE38 -> MBMAPCHANGES -> Text elements -> Change
-> Select the 'Text symbols' tab and enter:
001 Material data
002 Additional data for sales order stock valuation
003 Additional data for project stock valuation
004 Posting date restrictions
005 Reference document restriction
006 Output settings
007 Up to
008 From

-> Select the 'Selection Texts' tab


P_ALV Layout
P_BWKEY Valuation Area
P_BWTAR Valuation Type
P_DOCU Reference Document
P_FROM From
P_MATNR Material
P_POSNR Item (SD)
P_PRCNT Highlight threshold %
P_PSPNR WBS Element
P_SOBKZE Special Stock
P_SOBKZQ Special Stock
P_UPTO Up to
P_VBELN Sales Document
P_YEAR Year
R_BDATJ Year
R_DATUM Entry Date
R_POPER Posting period
-> Save and Activate

3.) Create dialog texts


-> Open transaction SE61
-> Change the 'Document Class' to 'Dialog Text'
-> Language: 'English'
-> Dialog text: MBMAPCHANGES_INFO1
-> Create
-> Paste the following text:
The reference document in this line has significantly changed the
moving average price of this material. You can find more information
about the possible root causes and solutions in the application
documentation under "Significant moving average price changes".
-> Save and Activate
-> Package: MB
-> Back
-> Dialog text: MBMAPCHANGES_INFO2
-> Create
-> Paste the following text:
The document in this line has been posted for the previous period /
fiscal year.
Due to this there are two separate lines in this price change history:
o One that alters the previous period data
o One that alters the current period data
You can find more information about these calculations in the
application documentation under "Backposting scenarios".
-> Save and Activate
-> Package: MB
-> Back
-> Dialog text: MBMAPCHANGES_INFO3
-> Create
-> Paste the following text:
Documents that only change the statistical moving average price are not
logged in the standard system. These changes are only visible if the
postings also impact the total_quantity or the total_value. Due to this
the statistical V-price calculations of this report are not reliable and
therefore not supported.
-> Save and Activate
-> Package: MB

4.) Import application documentation


This step is optional. You will get the original documentation with the
Support Packages referenced by this note. If you want to implement an
advance version of the documentation, follow the steps below.

-> Download the file MBMAPCHANGES_DOCU.ITF (attached to the note) to your


local disc
-> Open transaction SE38 -> MBMAPCHANGES -> 'Goto' menu -> Documentation
-> Change
-> Enter Modification name 'ZN2198317' and select Template 'Original
text'
-> Clear the editor and navigate to the 'Document' menu -> Upload -> ITF
-> upload the file MBMAPCHANGES_DOCU.ITF from your local disc
-> Save active (Ctrl+F12)

Vous aimerez peut-être aussi