cancel
Showing results for 
Search instead for 
Did you mean: 

How to assign specific variant to user

suwandi
Explorer
0 Kudos

Hello all,

Some users are asking permission to view list of purchase orders.

We are thinking to allow ME2L but want to restrict it only for specific vendors.

I created a new transaction code for ME2L (let's name it ZME2L),

then create variant that restrict user to change vendor input.

But I found that, user can access the other variants created on ME2L.

⇒means that they can access the other data.

Is there any way to protect user from accessing the other variants?

Or any other ideas to allow users to access only specific purchase orders?

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

former_member208398
Active Contributor
0 Kudos

Dear,

You can have the following options by standard authorization objects:

1. Purchasing Document Type: M_BEST_BSA

2. Purchasing Group: M_BEST_EKG

3. Purchasing Organization: M_BEST_EKO

4. Plant: M_BEST_WRK

Best Regards,

Rajen

suwandi
Explorer
0 Kudos

Dear Rajen,

Thanks for your information.

We look for the data and it seems that the POs for that vendor

belong only to a specific purchase group.

So if we can set authorization by purchasing group,

maybe we can limit the access.

Regards

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Probably you can check this option - deactivate the Menu option Go To --> Variants using transaction variants i.e., SHD0.

Go through below thread..

http://scn.sap.com/thread/82203

Regards,

former_member190665
Participant
0 Kudos

Hi Suwandi,

In your scenario, if restriction of purchase group can be used, that will be fine.

By the way, have you tried Krish's suggestion? Can you achieve that?

Hi Krish,

Thank for the information

Could you please share more information about how can deactivate the Menu option

Go To -> Variants using transaction SHD0?

I tried in our internal system, but seems cannot edit field ALV_CONTAINER_1...

Best regards

Allen

suwandi
Explorer
0 Kudos

Hello Kris,

Thanks for the idea.

I thought of it last week and tried to implement it.

But it doesn't work.

There is no option to deactivate the menu option.

As I know, Transaction variant means for transaction,

not for reporting program such as ME2L.

If you have the experience with transaction variant,

please share it.

Regards,

suwandi
Explorer
0 Kudos

Hi Allen,

Transaction variant means for transaction program,

not for reporting program such as ME2L.

I asked my developer too, and it seems like impossible to use transaction variant.

The other way is to create a program, to hide the menu.

regards,

former_member190665
Participant
0 Kudos

Hi Suwandi,

Exactly, that is just like what I thought.

I tried to do that in SHD0, but failed.

Let's wait Krish to see if he has some idea about it.

Thanks & Best regards

Allen

Former Member
0 Kudos

Hi,

Purchase Organization base you have give the access for that USER to view the POs,

Here Vendors are cerated through Pur.Org

suwandi
Explorer
0 Kudos

Hi,

Thanks for your reply.

We only have 1 purchase organization.

So it won't do any help if we put restriction on purchase organization.

Regards