cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting material search in ME51N

Former Member
0 Kudos

Hi Gurus,

We are in a process of blocking the existing material codes and creating a new series. Is it possible to restrict these blocked material codes from getting displayed in ME51N material code display?

Regards,

Sibin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

      yes you can do that.You have to modify standard search help MAT1.You have to put condition i.e.t LVORM <> 'X'. While searching you will not get deleted material list.

Regards

Abhishek

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

via transaction OMSH you can maitain machcodes. (IMG > Logistics general > Material master > tools > ...)

You can add new search-IDs to MAT1.

This new matchcode must contain the field LVORM from the table you search (MARA-LVORM or MARC-LVORM).

Former Member
0 Kudos

Hi Jurgen,

I have added a new search help id to MAT1 and called a function module in search help exit. In this search help I have added a program which calls select option screen from where we can select a material. But after selecting this material, it is not getting displayed in the called search help. How to achieve this?

Regards,

Sibin

JL23
Active Contributor
0 Kudos

Sorry I cannot follow what you described.

Does this still have anything to do with not displaying deleted material in the search help?

Former Member
0 Kudos

Hi Jurgen,

We want to display material codes in new search ids to MAT1. We are maintaining new ztables for this.

For Eg: we have 4 search help buttons. If we click on 2nd field it should display a combination with the existing 1st field values and if we click on 3rd field, it should be a combination of 1st and 2nd field values.

eg: group, sub group etc

if we select group all group values should be displayed. If we enter sub group all the sub group entries with the selected group should get displayed.

How we can do this using search help?

Regards,

Sibin

JL23
Active Contributor
0 Kudos

I will move this discussion to the ABAP forum, this is not a MM issue and no more just customizing in OMSH.