Hi experts,
I am facing problem in storing the value in pa20 through tha badi. actually am implementing one badi , in update method I applied all my logic and used hr_infotype_opertaion function module to update the particular field in infotype 0168. first that badi is not worked fine because inside the badi
hr_infotype_opertaion is not worked so that i called this FM like RFC . now that value is able to view in that infotype in pa30 but its not showing in pa20
that too in pa30 its showing for one time if we see it again its like 0.00...
i think this value is jst displaying in that field but its not stored in that database.
please let me know how to store the data to database through the badi.. the badi am using is hrpad00infty.
to access the infotype data am using CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
and before passing the value to hr_infotype_operation again i type casted it toPRELP by using
CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP. and also without this type caste i tried but same point am getting.
please let me know the solution friends.
thanks in advance.