How to include KONV and KONP in a join?
I am trying to create a sales order report using SQVI. In addition to the sales order and billing document information I also need the PR00 condition price from KONV (KONV-KBETR) and the old list price from KONP (KONP-KBETR).
I know I can use the field KNUMV to get the condition record corresponding to the sales document. The corresponding KBETR value from KONP can be obtained by getting the KNUMH value from KONV table. This works fine when I am going one by one.
But when I try to generate a report using SQVI, it tells me that I cannot use KONV in a join. So is there another way to generate a report which extracts sales order info, billing document info and the corresponding condition info from KONV and KONP all together?
Thanks in advance.