TABLE op'n exists for both T/E & PY. However, it processes only those table - this you can see in the ABAP code. It calls a routine in RPCALCx0 for payroll (or the one in SAPFP51T for T/E). You need to go through the code to check if you can use this.
Otherwise, you can copy its code to a user include (Z***), change it to read PA0007 for the pay period (or for the time eval date field "acdate").
Also HRS & NUM can read only certain fields in IT 7. These also can be adapted to suit your needs.