on 01-03-2006 3:19 PM
Hello all,
I want to change the unplanned consumption values in the material master data for tab Forecasting. I found a Function module which could help me but it is not working for me. "MB_UPDATE_MATERIAL_CONSUMPTION"
Do you know other ways to change the unplanned consumption data of the forecasting in material master data ?
Best regards,
Yoolb
You must enter a value in Period Ind. (BMMH1-PERKZ) so the system knows what to expect in the period field YYYYPPTT (PRIOD). Without this, you will get error message M3126.
If PERKZ = M then PRIOD is 201201 --> 201212 (for the year 2012)
If PERKZ = W then PRIOD is 201201 --> 201252
If PERKZ = D then PRIOD is 20120101 --> 20121231
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope this problem is already solved.. Just for information
I was able to update the Forecast values using the fromat YYYYMM ( Program RMDATIND )
The additional field to be specified is BMMH1-PERKZ = 'M' (Month) in
<i>BMMH1 Material Master: Transfer of Main Data</i>
The load file format is :
MATNR WERKS PROPR PRIOD GSVBR
XXXXXXX ABCD XYZA 200706 3
Let me know if you need any further details..
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had a very similar requirement to update the unplanned consumption in material master (MM02) Forecast view.
I started of with the FM : MB_UPDATE_MATERIAL_CONSUMPTION. It wasn't working for me.
And then onto FM:MATERIAL_ARRAY_UPDATE_RETAIL_2, looks like this FM is not documented well. After spending few hours, i gave up the puzzle.
Eventually it was FM: BAPI_MATERIAL_SAVEREPLICA that helped me, achieve the requirement.
Hi Arun,
Thanks for valuable information.
Need one more suggestion
here we have structure like
MATNR WERKS PROPR PRIOD (plnd consumption) (total consumption) corrected consu
XXXXXXX ABCD XYZA 200706 3 4 5
can you please suggest how to handle this into recording or some other helpfull way to load the records.
Many thanks
Regards,
Shiva Sahu
Hi, I know this was from a while back but there is a BAPI that can update the material forecast values.
BAPI_MATERIAL_SAVEREPLICA
You just need to use HEADDATA and FORECASTVALUES.
Not sure which release it was available from though.
Regards
Mark.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yoolb,
Can you tell us how you are calling the FM and what is happening?
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We actually use an LSMW routine to do this, interested?
Regards,
Rich Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying to do it now with IDOC MATMAS03 via LSMW.
But I wonder why my FM is not working. When I debug everything is fine. Table MVER is filled correctly but the display of the consumption values in MM03 is not changed. Maybe the function is not good for updating the material master view.
Best regards and thx for the answers.
I will search further.
Yoolb
Hi,
Our company has implemented IS retail. I am trying to load the material historical consumption through LSMW( RMADATIND) into table MVER but not sure whether I am using the correct tran code in field BMM00-TCODE . Itrried with tran code MM42 but getting error "The activity category is not defined" Message No: MG036 .
We are able to update MVER table through LSMW using IDOC option but it has performance issue. so we want to use the direct input through LSMW.
I really appreciate any help on this.
Thanks.
Megha
LOL, this post is almost 15 years old. I don't even remember doing this routine. 🙂
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.