Hi
As I have understood the difference between FM HR_READ_INFOTYPE and a select directly from PA0001 (as example) is that the FM take the authorization into account. (please correct me if I am wrong).
My problem is that I need to select from the infotype for a lot of pernr, so I would use this statement:
SELECT * FROM pa0001 INTO CORRESPONDING FIELDS OF TABLE wt_pa0001 FOR ALL ENTRIES IN wt_pernr WHERE pernr = wt_pernr-pernr AND begda LE pn-endda AND endda GE pn-begda.
but then I don't get the authorization check.
For the FM HR_READ_INFOTYPE I can't use the "FOR ALL ENTRIES".
Can I do it in an easy way, or do need to do the select, and then use an authority check after the select from each infotype?