Skip to Content
Author's profile photo Sujeet Mishra

Material Document List (MB51) Selection Screen Enhancement

Material Document List (MB51) Selection Screen Enhancement


Within Inventory Management, the material document list transaction is used to list material documents. It is a very popular transaction.

The selection fields can be changed in configuration.
For example: We want to add the “Order” field to the selection screen.

Selection screen before change

Transaction MB51 – Material Document List
Observation – Current Selection screen has no “Material Document Year” field.

SDN1.JPG
 
Screen after change

Transaction MB51 – Material Document List
This time with the “Material Document Year” field in the selection.

SDN1.JPG

Configuration Required:

Config Menu > Materials Management > Inventory Management > Reporting > Define Field Selection for Material Document List

Or Go-to SM30 and Maintain Table V_MMIM_REP_CUST.

SDN1.JPG

The above shown example is for existing program/Table/Field, you can also add New Entries as per your requirement.

You can also add some fields in output display follow the same steps and check Output option.

In case we need to add some fields which are not from table MKPF/ MSEG then use below enhancement spot to add other fields.

Enhancement Spot: ES_RM07DOCS

Implicit: Add fields in displayed structure near ENHANCEMENT 1 MGV_LAMA_RM07DOCS

Explicit:

RM07DOCS_07 Add fields

RM07DOCS_02 Top Include

RM07DOCS_04   Initialization

RM07DOCS_06   Fill added fields value in Loop

 

Refer below SAP Note for more details:

Note 357187 – MB51: Fields in field catalog / selection screen

Note 828104 – Enhancing MB51 for AFS

Regards,

Sujeet Mishra

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jürgen Lins
      Jürgen Lins

      What you showed is the pure MM standard customizing.

      Your subject is talking about Selection Screen Enhancement, but here you only named the Enhancement spot, I expected to see in detail how you do it via those enhancement spots for a field which is not available in standard customizing.

      Author's profile photo Sujeet Mishra
      Sujeet Mishra
      Blog Post Author

      Jurgen,

      Thanks for your review.. I will soon update it with Enhancement Spot code.

      Regards,

      Sujeet Mishra

      Author's profile photo Former Member
      Former Member

      thanks for the info

      please update the enhancement spot logic.