J1I7 standard report should serve your requriement. There are three radio buttons in the Selection screen. You will have to use them according to your requirement.
If you still want to go with Z report then have used the excise tables MSEG, MKPF, J_1IEXCHDR, J_1IEXCDTL, J_1IGRXREF, J_1IPART1 & J_1IPART2. You will find the entry in the Part1 table if Part 1 is updated and an accounting document in J_1IPART2 table if Part 2 is also posted.