I am creating Dependent records (in IT0021) for an employee in my program.
After this particular statement the IT0021 is actually getting updated (I am running my program in debugging mode and after this particlular statement which creates the records; going into PA20 and seeing the IT0021 records for that particular employee).
After this I am trying to read IT0021 using HR_READ_INFOTYPE; but the internal table is not getting poupulated.
I am wondering that it is something related to the records getting commited or not when HR_READ_INFOTYPE is trying to fetch records; but then again the records are visible in PA20 for IT0021.
So I am not sure of what is happening.
Any Ideas will be greatly appreciated and rewarded.