SAP for Retail Discussions
Join conversations about personalization, omnichannel strategies, and operational excellence in retail using SAP for Retail software.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to check layout modules objects against user during listing in MM41/42?

0 Kudos

Hi,

All users with acces to MM41/MM42 are able to assign / unassign article to layout modules (listing) in basic data view, this is causing some mistakes because wrong layout modules are being assigned / unassigned.

I found the WLM authorization object for assignment of articles to layout modules, but it is used in WLWBN (layout workbench)

Does any one have restricted listing in article master?

Thanks in advance.

Joel

1 ACCEPTED SOLUTION

amit_tunara
Active Contributor
0 Kudos

Hi Joel,

It is not clear from your message what is the issue. Can you please elaborate?

Regards,

Amit

View solution in original post

5 REPLIES 5

amit_tunara
Active Contributor
0 Kudos

Hi Joel,

It is not clear from your message what is the issue. Can you please elaborate?

Regards,

Amit

0 Kudos

Hi Amit,

Let´s say we have 3 store types according sales volume:

X: Big store

Y: Medium Store

Z: Small store

Layout modules naming convention is set according these definitions, e.g. layout modules for big stores begins with X, Y for médium and Z for small.

A user responsible for big stores should not be able to do listing for layout modules Y and Z, but this is possible via MM41 / MM42.

The standard authorization object WLM could be used to control article assignment to layout modules according to layout numbers, and it works just in layout workbench transaction (WLWBN).

Is there a way to set this kind of control in MM41 / MM42???

Regards.

Joel

0 Kudos

HI Joel,

Please note that layout module assignment is part of basic data of article master which is store independent. So you cannot control that in MM41/MM42.

Also please note that if the article is listed in all formats, the basic data of this article master will have all three layout modules.

In worst case, using article master user-exit you can put the validation and throw an error. But this will impact the performance. You need to figure out a logic with user id and layout module in this exit.

I would like to know the purpose of this kind of restriction.

Regards,

Amit

0 Kudos

Hi Amit,

The purpose is to control article assignment to layout modules in MM41 / MM42, but as you can pointed out, it can not be posible by any standard method.

We are now analyzing if a user exit could be a good solution.

Regards

0 Kudos

Hi Joel,

You can create a z user parameter to assign specific code for allowed layout modules and use this parameter in enhancement to validate. If the Layout module is not the allowed one, you can issue an error message.

You can use a BAdI BADI_MATERIAL_CHECK and use method CHECK_DATA_RETAIL to do the validation while saving the article.

Regards,

Amit