Hi,
I am fetching the data from pa0001,pa0002 and pa0105 using the function module 'HR_READ_Infotype' like below:
CALL FUNCTION 'HR_READ_INFOTYPE'
EXPORTING
TCLAS = 'A'
pernr = wa_pa0002-pernr
infty = '0002'
begda = sy-datum
endda = sy-datum
BYPASS_BUFFER = ' '
LEGACY_MODE = ' '
IMPORTING
SUBRC =
TABLES
infty_tab = it_pa0002
EXCEPTIONS
infty_not_found = 1
OTHERS = 2
.
But it_pa0002 does not contain anything after the processing though the data is there in the infotypes.
I have declared the internal table as
data it_pa0002 type standard table of pa0002.
The wa is defined like:
data: wa_pa0002 like line of it_pa0002.
Please suggest the solution.