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

how to find Purchase order by vendor code

Former Member
0 Likes
30,899

Hi Gurus

Our user forget the purchase order no which was created by him, he has the document no eg 4600000485 and vendor 100414 but unable to trace it I try to find with ME2L no success ....

Generally the t code was cico

Any clue to know how to find the P.O please , I know the user code

regards

Pizon

1 ACCEPTED SOLUTION
Read only

kiran_k8
Active Contributor
0 Likes
12,387

Piroz,

Check MSEG table.

K.Kiran.

Hi Gurus

Our user forget the purchase order no which was created by him, he has the document no eg 4600000485 and vendor 100414 but unable to trace it I try to find with ME2L no success ....

Generally the t code was cico

Any clue to know how to find the P.O please , I know the user code

regards

Pizon

6 REPLIES 6
Read only

Former Member
0 Likes
12,387

Check the table.

EKBZ History per Purchasing Document: Delivery Costs ..

u have EBELN Purchasing Document Number and LIFNR Account Number of Vendor or Creditor

Read only

kiran_k8
Active Contributor
0 Likes
12,388

Piroz,

Check MSEG table.

K.Kiran.

Read only

Former Member
0 Likes
12,387

Please check table EKKO. Here you can find details as per who created field (ERNAM), Date of Creation(AEDAT) or Vendor Number(LIFNR)

Read only

Former Member
0 Likes
12,387

Hi Gurus

Thanks Everyone for your support

regards

Read only

Former Member
0 Likes
12,387

Hi

Goto table EKKO, enter Vendor Number (LIFNR). You will get a list of PO numbers (EBELN), as vendor number is not the primary key. From this list, you can figure out the PO # you want say probably using ERNAM (person who created).. The corresponding line item details can be fetched from EKPO.

THanks

Vijay

PLZ reward points if helpful

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
12,387

use functional module

ME_EKKO_ARRAY_READ_WITH_LIFNR

Pass the vendor No.

the output table PTO_EKKO_KEYTAB

holds u r result...