2014 Nov 11 11:15 AM
I want to get the table and field name of the vendorname on the MIGO screen.
I have selected material document.
Thanks,
Aneel
2014 Nov 11 11:19 AM
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
2014 Nov 11 11:24 AM
I have checked. LIFNR is empty.but it is being displayed in the grid of MIGO screen.
2014 Nov 11 11:30 AM
Hi Aneel,
LFA1 is the master table for LIFNR so definitely the LIFNR should exist in LFA1. Please check it again.
Thanks,
Sree
2014 Nov 11 11:31 AM
2014 Nov 11 11:34 AM
You can also get the name of the vendor from MSEG-EBELN and pass the value to EKKO-EBELN and fetch EKKO-LIFNR.
2014 Nov 11 11:43 AM
2014 Nov 11 11:48 AM
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
2014 Nov 11 11:49 AM
2014 Nov 11 6:37 PM
Can you please provide me the movement type of the material document ???
2014 Nov 12 3:40 AM
2014 Nov 12 3:56 AM
Hello Aneel.
Can you attach the screenshot with focus on VENDOR tab of MIGO?
2014 Nov 12 4:03 AM
Yes see attached image. But you can also see that vendor is shown in the grid also.
2014 Nov 12 5:08 AM
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
2014 Nov 12 5:10 AM
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.)
2014 Nov 12 5:25 AM
Its po no is 4100004217 , But there is not any data in the field KOLIF.
2014 Nov 12 6:23 AM
You can either do a st05 trace or debug BAPI_GOODSMVT_GETDETAIL and identify it.
2014 Nov 12 7:12 AM
2014 Nov 12 7:19 AM
You can check BADI MB_MIGO_BADI and see whether there is any ZTABLE that is being used or not.
2014 Nov 13 5:32 AM
Dear MEGHOMALLAR,
I have found the following information in BADI. But not any Z table.
| INIT | Initialization and Registration of Ext. Detail Screens |
| PBO_DETAIL | PBO of Detail Screen |
| PAI_DETAIL | PAI of Detail Screen |
| LINE_MODIFY | Add / Change a Line (GOITEM) |
| LINE_DELETE | Delete a Line (GOITEM) |
| RESET | MIGO Reset (Delete All Internal Data) |
| POST_DOCUMENT | Post Goods Movement |
| CHECK_ITEM | Check Item Data of Goods Movement |
| MODE_SET | Mode of Transaction MIGO (Action / Reference Document) |
| STATUS_AND_HEADER | Status Information and Header Data |
| HOLD_DATA_SAVE | Save Held Data |
| HOLD_DATA_LOAD | Load Held Data |
| HOLD_DATA_DELETE | Delete Held Data |
| PBO_HEADER | PBO of Header Screen |
| PAI_HEADER | PAI of Header Screen |
| CHECK_HEADER | Check Header Data of Goods Movement |
| PUBLISH_MATERIAL_ITEM | Publish Item Data After Processing |