cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the VENDOR NAME in the report s-ME80FN,MB51

Former Member
0 Kudos

Dear friends,

In many sap standard reports we are getting the vendor no. or material no. etc., What to do if we want vendor name in the reports ME80FN AND MB51?

bye

TS

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Guys,

Go for enhancement of RM07DOCS......

add new variable as shown below,

DATA: BEGIN OF list OCCURS 0.

         INCLUDE STRUCTURE itab.

DATA: maktx LIKE makt-maktx,

       name1 LIKE t001w-name1,

       btext LIKE t156t-btext,

       pspid LIKE prps-posid,

       vornr TYPE vornr,                                     "215929

       color_line(03)       TYPE c,                          "n555

       color TYPE slis_t_specialcol_alv,

*{   INSERT         IDEK900044                                        1

    vd_name1 type name1_gp,

Also add the variable if required.

Then go for Deatil_list and add the further coding.....

Problem get resolved......

Former Member
0 Kudos

pls process as told by the other consultant.

now if u dont find vendor in ur CURRENT DISPLAY VARIANT or if u want the vendor to view in the selection screen i.e. in the initial input screen of /NMB51 ,then pls follow:

spro-mminventory management and physical inventory-reporting-define field selection for material document list-execute-here go to new entries-give RM07DOCS (programme name),MSEG(table),LIFNR(field),check the SELECTION FIELD(if u want vendor to come in the initial field) or check OUTPUT FIELD (if u want it to come in ur current display variant)-save.

now run mb51.

regards,

indranil

Former Member
0 Kudos

dear,

In mb51 screen after execution go in Current Display Varrient tab in that click on position tab here u will find vendor in list then click on < button vndor option will be copied

then press enter u will find vendor name in separate coloumn

Do same for ME80FN

if u dont want to do it again and again click on varient on header screen and save ur varient

regards,

snb

Former Member
0 Kudos

Dear friend,

In the way you explained vendor name not available. Any other thing let me know.

Bye,

TS.

Former Member
0 Kudos

take the help of abaper

abaper can sort out your problem

Former Member
0 Kudos

Hi

Entries in MB51 table are fetched from MSEG table which doesnot contain Vendor name field...so that it will be difficult to have vendor name in MB51 ( U can have vendor code in MB51)

u can add fields as per field selection for MB51 reporting

SPRO>Materials Management>Inventory Management and Physical Inventory>Reporting>Define Field Selection for Material Document List

Vishal...

Former Member
0 Kudos

Dear friend,

The table you mentioned will only allow the fields in either MSEG OR MKPF. In those tables you don't find vendor name. Now how to append here?

Bye,

TS

chetan_b
Active Contributor
0 Kudos

Hi,

Execute MB51 and at top of list select the current display variant icon ,select position and add vendor to line list.

Regards,

Chetan.

Former Member

Dear friend,

In this only vendor no. is displaying not name. I want vendor name too.

Bye

TS