Skip to Content
0
Former Member
Jul 27, 2006 at 08:26 AM

iterating through bseg line items and picking the vendor line item

96 Views

Hello,

I am creating a report in which i want to show the list of vendors (with their WHT's). The output will be based on selection of a certain period(range). I guess i have to first iterate through BKPF and get those documents that lie in the given range, then i 'll have to iterate through the selected documents in BSEG and pick out the vendor line items (KOART = 'S'). Will i be using GET for this..

Is this the right way? secondly, if yes, can sumone show me how to iterate through BKPF and BSEG and get vendor details.?

Thanks..

SHehryar