Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP: vendor Name

Former Member
0 Likes
8,189

I want to get the table and field name of the vendorname on the MIGO screen.

I  have selected material document.

Thanks,

Aneel

I want to get the table and field name of the vendorname on the MIGO screen.

I  have selected material document.

Thanks,

Aneel

19 REPLIES 19
Read only

meghomallar_das
Participant
0 Likes
7,898

Hello Aneel,

Table : MSEG

Field : LIFNR

Then,

Go to table LFA1.

Pass MSEG-LIFNR to LFA1-LIFNR

get LFA1-NAME1.

LIFNR - Vendor

NAME1 - Vendor Name.

Cheers !!!

Megh

Read only

0 Likes
7,898

I have checked. LIFNR is empty.but it is being displayed in the grid of MIGO screen.

Read only

0 Likes
7,898

Hi Aneel,

LFA1 is the master table for LIFNR so definitely the LIFNR should exist in LFA1. Please check it again.

Thanks,

Sree

Read only

0 Likes
7,898

can you share snapshot. it must be ther in MSEG-LIFNR

Read only

0 Likes
7,898

You can also get the name of the vendor from MSEG-EBELN and pass the value to EKKO-EBELN and fetch EKKO-LIFNR.

Read only

0 Likes
7,898

Both images are attached. Se11 and MIGO print.

Read only

0 Likes
7,898

Hi,

This for this you have to use MSEG-EBELN and then pass EBELN to EKKO-EBELN and fetch EKKO-LIFNR. And after that go for LFA1-LIFNR.

-- Ritesh

Read only

0 Likes
7,898

Dear MEGHOMALLAR,

EKKO-LIFNR is also empty. See attached image.

Thanks

Aneel

Read only

meghomallar_das
Participant
0 Likes
7,898

Can you please provide me the movement type of the material document ???

Read only

0 Likes
7,898

Movement type is 101. See attached image.

Regards,

Read only

0 Likes
7,898

Hello Aneel.

Can you attach the screenshot with focus on VENDOR tab of MIGO?

Read only

0 Likes
7,898

Yes see attached image. But you can also see that vendor is shown in the grid also.

Read only

former_member202818
Active Contributor
0 Likes
7,898

Hi Aneel,

Use table ADRC

1.Get  ADRNR from LFA1 by passing LIFNR.

2.For name fetch  NAME1 from ADRC WHERE addrnumber = ADRNR.

Regards

Sreekanth

Read only

Former Member
0 Likes
7,898

Hi,

     I am Not Sure , But look at purchasing Document Line item data,

     I Think it is special requirement & this data is populated from purchase Order.

     EKPO table, (Werks etc.)

Read only

0 Likes
7,898

Its po no is 4100004217  , But there is not any data in the field KOLIF.

Read only

0 Likes
7,898

You can either do a st05 trace or debug BAPI_GOODSMVT_GETDETAIL and identify it.

Read only

0 Likes
7,898

Vendor code not found using BAPI. Any other idea.?

Read only

0 Likes
7,898

You can check BADI MB_MIGO_BADI and see whether there is any ZTABLE that is being used or not.

Read only

0 Likes
7,898

Dear MEGHOMALLAR,

I have found the following information in BADI. But not  any  Z  table.

INITInitialization and Registration of Ext. Detail Screens
PBO_DETAILPBO of Detail Screen
PAI_DETAILPAI of Detail Screen
LINE_MODIFYAdd / Change a Line (GOITEM)
LINE_DELETEDelete a Line (GOITEM)
RESETMIGO Reset (Delete All Internal Data)
POST_DOCUMENTPost Goods Movement
CHECK_ITEMCheck Item Data of Goods Movement
MODE_SETMode of Transaction MIGO (Action / Reference Document)
STATUS_AND_HEADERStatus Information and Header Data
HOLD_DATA_SAVESave Held Data
HOLD_DATA_LOADLoad Held Data
HOLD_DATA_DELETEDelete Held Data
PBO_HEADERPBO of Header Screen
PAI_HEADERPAI of Header Screen
CHECK_HEADERCheck Header Data of Goods Movement
PUBLISH_MATERIAL_ITEMPublish Item Data After Processing