Sunteți pe pagina 1din 6

SAP TRANSACTION MB51 – MATERIAL DOCUMENT LIST

REPLACES AUDT

You can search using a range by entering data in both columns of a given field, such as 201 to 261 in the
Movement Type fields. The resulting display will contain goods issues to cost centers, wbs, and orders.
If you want to search by multiple specific values, click on the right pointing arrow next to the fields and it
will open a screen where you can enter specific values. You can also use that function to exclude values.

Remember – narrow your search as much as you can by using the filter fields on the main screen. It is
highly recommended you use a date range. The database will quickly become massive, and the broader
the search the longer it will take and the more system resources are used. If you need to stop the
transaction, click on the little ‘mercury’s helmet’ icon in the upper left hand corner of the screen.
Here’s the results from the screen above, which shows the default layout we have set up in production.
You can filter or sort by clicking on a column header in the blue row, and clicking on the icon for the
function you want to use. Double clicking the material document number (Mat. Doc.) will open the
material document.
Change your layout by clicking on the icon highlighted below, clicking on Position, and moving hidden
fields to the left. You can remove columns by selecting them in the left hand column and clicking the
right arrow to move them back to the Hidden fields column. You can also change position and length of
fields, and add calculations as desired.
If you want to save the layout you created as a variant, go to the top of the screen and click on
‘Settings’, ‘Layout’, then ‘Save’, then name and save your variant. The next time you run MB51 you can
select your variant from the Display Options section of the main screen.

EXPORTING TO EXCEL

The query below shows all the material documents I’ve created using store P205. This layout doesn’t
export to Excel very well. If you wanted to export the data to excel, start by clicking on the Detail List
icon.
The result is shown below. You may find that not all of the fields shown in the original list are displayed
in the detail list. The detail list can be modified the same way shown on the first page.
Once you have the report formatted to your liking and are ready to export, look to the top of the screen.
Across the top of the screen are several drop downs:
List, Edit, GoTo, Settings, Environment, System and Help
(Unfortunately when I try to take a screen shot the words across the top of the screen disappear)

Click on List
Highlight Export
Click on Local File
Select the radio button next to Spreadsheet
Click on the green check mark
Select your directory
Name your file – and be sure to put .XLS at the end of the file name
Click on Generate

When you open the file in Excel for the first time it will open like a text file. Click OK, then Next, Next,
then Finish. Below is the result