cancel
Showing results for 
Search instead for 
Did you mean: 

MMPV 01/2012

Former Member
0 Kudos

Hi

I have an issue with MMPV. When I give the date 01.01.2012 , the following message appears: Incorrect period in control rec. of CoCd 3050; no conversion

The current period (month/year) of the control record is122011.

New period 01.2012 not opening.

Please guide me.

Sincerely,

XsNitin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Nitin,

the OSS Note: 1082841 says

"Summary

Symptom

You need to run MMPV (period roller). You want to prevent shifting to a future period by mistake (for example, a common mistake is running MMPV twice at the beginning of a month).

Other terms

MMPV, MARV, period roller, period shift, material ledger, MMPV_READ_NOTE, MMPV_DATE_CHECK

Reason and Prerequisites

In the event that MMPV is mistakenly executed twice at the beginning of a period, the active period could be shifted to a future period. As a consequence, all subsequent goods movement would be posted to the wrong period. To correct such errors is difficult, especially when Material Ledger is active.

Solution

This note provides a feature to prevent using MMPV to shift into a future period. This feature is activated automatically after implementing this note and works with or without Material Ledger active. MMPV can continue only if the new period is within 10 days (by default but is configurable) away from the current date in the system. Otherwise, it will terminate and no change will be made.

To disable this feature, you must set parameter ID MMPV_READ_NOTE with the current date in the user parameters in form YYYYMMDD (Y = year, M = month, D = day).

To change the number of days to a value other than the default (10 days), set the following entry in table CKMLMVADMIN:

KKEY : MMPV_NUMBER_DAYS_ALLOWED

KDATA : <number of days MMPV is allowed>

Only integers are allowed, with 0 meaning MMPV is allowed only on or after the first day of a new period. If the value is greater than the actual number of days in a period then it means MMPV is allowed for the entire month. Any invalid entry in the KDATA field will be ignored and the default value will be used.

Carry out the following manual stpes, then implement the attached note.

1. Use transaction SE80 to create a SET/GET parameter:

Package/Dev. Class : MG

Parameter ID : MMPV_READ_NOTE

Text : Follow instructions in Note 1082841.

2. Use transaction SE37 to create function module MMPV_DATE_CHECK with the following attributes:

Function group : MLCCS_MATERIAL_MASTER

Short text : Date check for period roller

Import parameters: Parameter Name Type Associated Type

I_NEW_LFGJA TYPE BDATJ

I_NEW_LFMON TYPE MONAT

I_BUKRS LIKE T001-BUKRS

I_FY_VARIANT TYPE PERIV

Exceptions: MMPV_BLOCKED

ERROR_OCCURRED

3. Use transaction SE38 to add the following Text Elements to program RMMMPERI (select the radio button 'Text elements' and click on the 'Change' button):

Sym : 099

Text : Transaction MMPV cannot be executed. Please refer to SAP note 1082841

Save and activate the changes.

4. Add the following entries to table T139A:

Use Transaction se16n and enter table name T136A, verify the 'Maintain Entries' checkbox is ticked. Select AUSNA = 99 and execute (F8); create the following entry:

AUSNA : 99

ABBRU : X

SORT : 99

KTEXT : MMPV_DATE_CHECK: Error occurred (Note 1082841).

5. Similarly, add the corresponding translation text to table T139B (if a translation is missing in T139B, then the program will use the entry in T139A as default):

SPRAS : <language code>

AUSNA : 99

KTEXT : MMPV_DATE_CHECK: Error occurred (Note 1082841).

6. Implement the attached program corrections.

Header Data

Release Status: Released for Customer

Released on: 07.07.2011 17:48:22

Master Language: English

Priority: Correction with medium priority

Category: Advance development

Primary Component: CO-PC-ACT Actual Costing/Material Ledger

Secondary Components: LO-MD-MM Material Master

Try follow these steps

Umakanth R

tejyadav
Active Contributor
0 Kudos

Hi, Check in MMRV as well as in OMSY what is the last period showing, then in MMPV just give your company code & date of 1st of next period & execute, also check what tab you have selected in MMPV, select "Check and close period" & execute.

Former Member
0 Kudos

Hi,

Check what is the current period in MMRV trx for the company code 3050, then in MMPV trx, give the period and fiscal year and select the option of check and close period.

eg: suppose if the current month is 11.2011 and you want to open 12.2011, then enter the period 11 and the year 2011 in MMPV trx

Regards,

velu

Former Member
0 Kudos

Hi again

I want to open 01.2012. I entered, 12 as period and 2011 as fiscal year but then the system gives a warning saying : The specified year 2011 is not the current calendar year. Now what? Please help.

Sincerely,

XsNitin

Former Member
0 Kudos

you have to give 01 as period and year as 2012 to close the current period 122011 and to open 012012.

Former Member
0 Kudos

Hi Din@Das

On giving period:01 and Fiscal year: 2012, an error was logged. 'ABEND. MMPV_DATE_CHECK: Errors occurred (see Note 1082841).'

Now?

kailas_ugale
Active Contributor
0 Kudos

HI,

check your current period d in MMRV

you have to give period ( not date or month like 01) 01period will be will be for April month

check following link be careful wile doing any activity

how to open Jan period in SAP MM

[;

take FI help alos ,check for jan which period is there in your system

in MMPV you have to give next period only

Regards

kailas Ugale

Edited by: kailasugale on Jan 4, 2012 4:07 PM

JL23
Active Contributor
0 Kudos

Have you read this OSS note 1082841?

You should do that, as it exactly tells you why this note was implemented in your system, and what you have to do to get around this message.

Former Member
0 Kudos

Hi

I have checked MMRV and it shows

Current period : 12 2011

Previos period: 11 2011 ...

In OBY6 my CoCode set to fiscal year variant K4 ( not V3). According to my understanding Jan is period 1 for me. Please correct if I am wrong.

JL23
Active Contributor
0 Kudos

The OSS note is an extra security, expecially for material ledger, to avoid that the period is rolled twice.

Someone has implemented this note in your system and expects that people who roll the period are aware of this note, how to read the note and to act accordingly.

Former Member
0 Kudos

Thanks eone.

Issue solved in consultation with FI. Someone had tampered with the K4 variant.