EKKO+ RSEG : Report times out
What would be the most effetive way to check whether an purchase order has been invoice receipt(IR) and what the invoice document number is?
The report times out because i don't use the year and invoice document number when reading rseg. The link to rseg from ekpo or ekko is the purchase document number.
If i use rseg as a starting point you will not know in which year the purchase order has been (IR).
you better read the purchase order history table:EKBE.
Pass the purchase order number and its item.
Pass BEWTP eq 'Q', you will get the generated invoice document number.
later you can query RSEG with the document numbers found.