cancel
Showing results for 
Search instead for 
Did you mean: 

Making moving price mandatory if price control is V

0 Kudos

Greetings everyone,

i have a requirement to make some changes on certain fields in the material master for an MRO material type, and one of them is Moving price:

the  request is  “ If price control =’V’: Moving average price field should be mandatory "

However  in the system the moving price now is optional if price control is V, i was thinking  to make this change by changing the warning message into Error message, the problem is i couldn't find the M3132 message number in the table.

Could you help and advise how to make this change.

Note( i tried first to make the price control as mandatory but this is not working since it mark the moving price mandatory for both  "S" and "V"  and we only want it to be mandatory for "V")

Accepted Solutions (1)

Accepted Solutions (1)

former_member183424
Active Contributor
0 Kudos

Why are you looking for message M3132 ? It is for Standard price.

You need the message M3131, and if you read these below discussions, then you can understand how does system behave with moving price, along with you may can find the solution also from these below discussions which can be used for your scenario.

Trx OMT4 | SCN

Price control V | SCN

0 Kudos

i really appreciate your replay that was helpful.

thanks a lot Dibyendu.

Answers (5)

Answers (5)

mayura_khopkar
Explorer
0 Kudos

this is a hardcoded warning message.

a  moving average price is not really needed, because the first receipt updates the moving average price itself, an already existing price has no effect on the calculation of MAP for the first receipt.

Nevertheless, if you want an error, then you have to code this yourself

kunal_ingale
Active Contributor
0 Kudos

Hello ,

why the MAP needs to be mandatory and not the standard price. the MAP will be updated automatically when you do the receipt.

even if you maintain it manually Say 150 in material and then you do GRN of 100 then system will update the new value of 100 , i don't see any point here to maintain the MAP mandatory

thanks

kUnal

JL23
Active Contributor
0 Kudos

If you need to do a calculation prior to a receipt then you need a moving average price. Especially with split valuated materials you get in trouble as you cannot even set this moving average price at header level from MR21  if you forgot to maintain it right away.

kunal_ingale
Active Contributor
0 Kudos

Correct

jagdeepsingh83
Active Contributor
0 Kudos

I would recommend let it be business discipline to maintain the right price with right price control.. there should be centralized team members who should be creating master data..

0 Kudos

actually this requrment came from the business who owns those data and thats what they asked for  they dont want it to be as an optinal field

michael_kozlowski
Active Contributor
0 Kudos

Moving average price is maintained automatically by the system when entering material movements. It should be greyed out if first movement is made for material master.

What's the requirement to enter value manually?

michael_kozlowski
Active Contributor
0 Kudos

Check out BAdI "BADI_MATERIAL_CHECK" (tr. SE18)

0 Kudos

hi Michael,

thanks for your replay , can you give more details how can i implement that as i haven't used it before and i am looking now for more information about that.

thank you

former_member233510
Active Contributor
0 Kudos

Call transaction OMS2 --> Select your material type (MRO) --> Click details button ---> Select price control as "Moving average price /Periodic unit price" & check the box "Price control mandatory"  under the Valuation tab ---> Save the settings. Kindly test in your system.

0 Kudos

appreciate your quick answer, i have just applied that but it didn't solve the problem.

once i checked the box  Price control mandatory"  it marked the price control value  "V" as fixed value and i am not allowed to deselect it and select "S" instead.

i only want to make the moving price mandatory when the price control is "V" only

and keep the choice to select "S" as well

former_member233510
Active Contributor
0 Kudos

thanks for your explaining, I understand your requirement. Please check the following function,

Call the transaction OMS9 ---> Select the field selection group '37' (In standard it is) ---> Select your material type (MRO) under the field selection and mark it as required entry.

0 Kudos

Hi again,

actually this is what i did at first,the problem here when i do these steps it marks the moving price as mandatory for both price control whether the price cntrol is V or S.

and  what i am trying to do is to mark it as mandatory only if the price control is V and keep it as optional  if it is S.