cancel
Showing results for 
Search instead for 
Did you mean: 

enable/disable column MM02 - Units of measure

Former Member

Hello experts!

I need to disable the 5th column in the table units of measure MM02, but how can I access to this table? is there any exit or something to introduce abap code??

Thank you very much.

Accepted Solutions (1)

Accepted Solutions (1)

ankurch
Active Contributor

Yes,

Please find the screen shots with detailed descriptions -

Enter the transaction code - SHD0

Enter the transaction MM01 for material master creation and variant name as per your requirement & click on create button, next screen create Material screen should be opened -

Enter the details and press enter, new pop-up window will open, here fill the details which field you want to display mode or hidden mode.-

Press enter till you reached the screen which you wanted to make changes -

Click on additional data screen & click till you get that relevant screen -

Once you reached the destination made required changes, lets say -

Here you can hide the relevant field.

click save button after confirming your changes.

After saving the transaction variant you can assign this variant to the user or user group as per your requirement -

Please complete your activity and do let us know in case still you need any further assistance from my side.

Thanks & regards,

Ankur Chauhan

Answers (4)

Answers (4)

Ritz
Active Contributor

Miguel Angel Aladro Cruces,

Instead of blocking view , take away authorization for MM02 for those user's , its will be easy.

Thanks

Ritesh

Former Member
0 Kudos

Hello,

Only the first column and the 5rd column, I mean, enabled for some users and disabled for others

Kind Regards

Ritz
Active Contributor

take away authorization for MM02 for those user's , its will be easy. If they cant maintain correct convrsion , they dont need edit materioal authorization. 🙂

Former Member
0 Kudos

Hello Ritesh,

everybody should access to mm02 but for some users it should display first and 5th column disabled and enabled for the others.

Thank you

JL23
Active Contributor

real bad idea.

You can only enter integer numbers in this view.

if you disable Y column then nobody would be able to enter the conversion like it is shown in the second line.

1 pallet = 5 PC

0,20 pallet = 1 PC is not possible at all.

What is the rational behind this request?

Former Member
0 Kudos

In fact I need to disable the first one and the 5rd column but only for some users, I mean, some users can see the first and 5rd column disabled and some others enabled.

I need to find where can I entroduce abap code to modify that?

Could you please help me?

JL23
Active Contributor
0 Kudos

This makes even less sense if it is about "hiding" and not about "preventing a change".

Former Member
0 Kudos

Sorry for my bad english.

I need first and the 5th column disabled for some users and enabled for the others.

ankurch
Active Contributor

Hi Miguel,

Please try to to hide the Ist & 5th column through transaction variant, with transaction code SHD0.


ankurch
Active Contributor
0 Kudos

He Can assigned the variant to those users for which he wanted to that field in hidden mode,.. and for remaining he can use as he is using right now.

Just need to create the transaction variant for MM01 & make the required field hide.

Former Member
0 Kudos

Hi Ankur,

can you please explain in detail with screenshots?

JL23
Active Contributor
0 Kudos

tell it in public and explain how to assign it to users . I think that is important for a complete answer , Btw he wants he for MM02

Former Member

Hello Ankur,

is it posbile to do that for some users?

Could you please give me more details?

Former Member
0 Kudos

Hello Ankur,

It works, thank you very much for your time!

I really apreciate it!

raymond_giuseppi
Active Contributor
I need first and the 5th column disabled for some users and enabled for the others.

Technically you can use one of the explicit enhancement option available in module 'feldauswahl' (include LMGD1O1D) for building table fauswtab. (so modify SCREEN and Table Control TC_COL)

everybody should access to mm02

Are you sure?

Regards,
Raymond

Former Member

Hello Raymond!

Thank´s for your answer, the problem is how can I modify the behavior of those fields:

first column:

5th column:

I´m trying to search in module 'feldauswahl' (include LMGD1O1D) as you told me , but I don´t know where I have to introduce abap code

raymond_giuseppi
Active Contributor

Analyze the source again, look for the LOOP AT SCREEN available enhancelent-points to change SCREEN values, also look at filling of itab fauswtab which is mapped to screen fields AND to table control cols.

Former Member
0 Kudos

I´m trying to understand how fauswtab works, could you please give me an example of how can modify for instance the first column (unren) because I can´t see the relationship between the table of units of measure and this one:

Thank you for your time.