cancel
Showing results for 
Search instead for 
Did you mean: 

make modifiable PO item quantity for only a few user

Muask
Participant
0 Kudos

Hi,

I want to make unchangeable the PO item quantity field. It can be done from SPRO. But when I 've made, this field comes from to everyone viewing mode in ME22N. How can I get to come to this field in changeable mode for only a few user? Is there a user parameter ID for PO item quantity?  Is there a way to do this without development?

Accepted Solutions (0)

Answers (5)

Answers (5)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

You can try it with the method FIELDSELECTION_ITEM in the badi ME_PROCESS_PO_CUST. You can give the values

  • '-' Suppressed field
  • '*' Display field
  • '.' Input field
  • '+' Mandatory field

I hope this helps you

Regards

Eduardo

former_member213924
Contributor
0 Kudos

Hi,

It's better you don't authorise those users with ME22N give them rights for display only.

former_member207541
Contributor
0 Kudos

Hi,

have you thought about creating function authorizations for buyers? Tcode OMET.

Regards,

Horatiu

Muask
Participant
0 Kudos

Hi Horatiu,

How can I make this trought OMET? Colud you please describe the process step by step?

former_member207541
Contributor
0 Kudos

Hi Dudu,

I am sorry that I could not answer you in time. Is this issue still actual for you? If yes, the users that should not be able to modify the quantity, are they still authorised to create PO?

Horatiu

Muask
Participant
0 Kudos

Hi Horatiu,

Yes the issue is actual for me. The users can create PO but mustn't change the quantitiy.

former_member207541
Contributor
0 Kudos

Are they creating the PO:

- always against a PR created by another user

- both, against a PR created by another user / created by themselves

- they create the PO directly, without reference?

Regards,

Horatiu

Muask
Participant
0 Kudos

These three cases as you mentioned are valid for us.

former_member207541
Contributor
0 Kudos

OK Dudu,

can you try, please, the following approach:

1. SPRO/MM/Purchasing/PO/Define Screen Layout at Document Level

2. Define new Field Selection Key ME22N making a copy of FSK ME22; modify quantity field status from optional to display.

3. In OMET, define new function authorisation, let's say B, using the new defined field selection key.

4. Assing parameter EVO with value B to all users that should not be able to modify the PO quantity with ME22N.

Regards,

Horatiu

Muask
Participant
0 Kudos

I ve applyed your instructions but the quantitiy field in ME22N is gray for all users.

former_member207541
Contributor
0 Kudos

Hi Dudu,

I am sorry, I realize now that it implied a modification of the layout screen and this will be imposed to all users. I will think tomorrow of a better solution and I will keep you up to date.

H.

former_member192897
Active Contributor
0 Kudos

Have you assigned the EFB parameter in required user Master or you added in all User Masters. Check that once.

Since you are certain that only qty field need to be restricted for few users only i would suggest you to put an abap validation using Badi ME_PROCESS_PO_CUST. Using this Badi, you cannot gray the field but you can throw the error message as you required when certain field is changed.

Muask
Participant
0 Kudos

Hi Ashok,

What should it be the parameter value for EFB parameter?

ajitkumar
Active Contributor
0 Kudos

parameter value for EFB is the func authorization code you maintained in OMET. but I wonder whehter your requirement can be met with that

former_member192897
Active Contributor
0 Kudos

What ever id you have created in OMET, you have to assign it in User Master Record under Parameters tab with key EFB and Value (Let us say Z1 etc).

Muask
Participant
0 Kudos

Thank your support. But it did not work. I dont know ABAP and I need to solve this problem without ABAP or any development. Thanks again.

former_member192897
Active Contributor
0 Kudos

It the Functional authorization did not cause that then you must check whether any enhancement / user exit is in place with the help of your abaper.

Former Member
0 Kudos

Hi,

Create a transaction variant. give the New T code ZME22N for the Transaction variant.

After this you will have two T codes for Me22n and Zme22n

Me22n will have std functionality and Zme22n will have your functionality.

After giving with the help of authorisation you can control the changes.

Regards

Ravi

Former Member
0 Kudos

Hi,

Have you tried creating transaction variant?

Regards

Ravi

ramesh_reddy25
Participant
0 Kudos

Hi

Ask ABAP consultant to provide the authorization object for the perticularlar field then BASIS consultant will assign the activity to the perticular user.

regards

ramesh reddy