cancel
Showing results for 
Search instead for 
Did you mean: 

Plant specific material status mandatory only for ROH in Plant 2

former_member259132
Participant
0 Kudos

Hi all, I know how to make plant specific material status mandatory in material master data for ROH. But here is the problem, business wants it only for plant #2, and the way I have made it, affects not only plant 2, actually, the field is now mandatory in the purchasing and MRP1 view of all ROH materials in all the 6 Plants that we have.

How to restrict it to only plant # 2

Thank You very much.

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member259132
Participant
0 Kudos

Thank You All, please here is what I tried:

  • I went in to OMS9 and I created a new field reference key ZROH
  • I Selected the field selection key assigned to the field "plant specific material status"
  • I made the field mandatory for ZROH.
  • I assigned ZROH to material type ROH
  • I went in to OMSA and I assigned ZROH to the required plant.

When I tested it, all the ROH belonging the Plant had the field "Plant specific material status" mandatory but also the ROH materials belonging to other plants which is something that I do not want.

Then I assigned ROH mat type to it's original field reference ROH but I kept my plant assigned to ZROH. Then all materials belonging to the plant regardless their material type had the field "Plant specific material status" mandatory which is something that I do not want.

So now I would like to test the user exit solution proposed by Rosh and I will keep you updated.

Thank You all for your help and your support.


former_member233510
Active Contributor
0 Kudos

Hi Jean,

Please go for Plant-specific field selection as suggested by Prasoon. Creating transaction variant couldn't fulfill your requirement, kindly ignore my previous comment.

If the standard field selection options doesn't meet your requirement, then use "EXIT_SAPLMGMU_001" and write your own logic such as,

Transaction = MM01

Material Type = ROH

Plant = 'xxxx'

Plant-specific material status(MARC-MMSTA) = Obligatory

BR, Rosh.

former_member259132
Participant
0 Kudos

Thank You Rosh, please how can I set up that variant? do I need the help of my ABAP colleague?

Thank You Prasoon, I will try your solution. But I think that there are 2 parameters here. The plant and the material type.

So may be all material types of the plant will have the plant specific material status mandatory which is not what I want. I want only the material type ROH to have the plant specific material status mandatory. Any how, I will try and let You know.

Thank You all.

,

Thank you all.

Please Rosh, I can I set up the variant, do I need the help of my ABAP colleague?

Please Prasoon, I will try your solution but it seems to me that we have 2 parameters here: The plant and the material type. I am under the impression that when I will have created the new field reference, made the plant specific material status mandatory for that new field reference and assigned that new field reference to the plant then all material types will have the field mandatory. But I want only one material type to have the field mandatory.

Any how, I will try it and we'll see.

Thanks again

Prasoon
Active Contributor
0 Kudos

Hi,

You may proceed with below steps:

  • Go to OMS9 and create a new field reference key (for example, as the plant code) using new entries button.
  • Select the field selection key assigned to the specific field (plant specific material status).
  • Make the field as mandatory only for the new field reference key, and optional for all other keys.
  • Go to OMSA transaction and assign the field reference key created in first step to the required plant.

Test the scenario and revert back.

Regards,

AKPT

Former Member
0 Kudos

Hi Jean,

Please check below link:

https://blogs.sap.com/2014/04/13/control-material-master-fields/

I hope it helps.

Regards,

Arsh

former_member233510
Active Contributor
0 Kudos

Try using transaction variant with value. Mark mandatory field as required.

former_member183424
Active Contributor

Rosh have you tried it yourself ?