‎2006 Oct 03 10:55 AM
: The base list consist of the table ?Vendor Master? and I need to use checkbox to get the related data from Purchasing Document Header based on ?Vendor Account No.? and then third screen to generate related data of ?Purchasing Document Header?. how to do? pls help
‎2006 Oct 03 11:25 AM
Hi,
go to ekpo-lifnr = lfa1-lifnr to get purchase items
details tan use ekpo-ebeln = ekko-ebeln to get
purchase order header
select aebeln aebelp a~lifnr into
table i_ekko from ekpo as a
inner join ekko as b
on aebeln = nebeln
for all entries in itab
where b~lifnr = itab-lifnr.
regards
amole
‎2006 Oct 03 11:17 AM
First list to be displayed w.r.t details from LFM1.
Display list with Check boxes. - <b>Display Vendor Numbers</b>
For the selected vendors, extract PO details from EKKO using ekorg = p_ekorg and lifnr in (selection from basic list) - <b>Display PO Numbers</b>
For selected PO display the details of PO i.e already extracted. - <b>Display PO Details</b>
Just two selections, one from LFM1 and another from EKKO & EKPO if necessary.
Hope this helps you.
Kind Regards
Eswar
‎2006 Oct 03 11:25 AM
Hi,
go to ekpo-lifnr = lfa1-lifnr to get purchase items
details tan use ekpo-ebeln = ekko-ebeln to get
purchase order header
select aebeln aebelp a~lifnr into
table i_ekko from ekpo as a
inner join ekko as b
on aebeln = nebeln
for all entries in itab
where b~lifnr = itab-lifnr.
regards
amole