cancel
Showing results for 
Search instead for 
Did you mean: 

Using HR_READ_INFOTYPE not able to get all the data

Former Member
0 Kudos

Dear Freinds,

I have retrieve the data from the infotype 45 , i have used the function module

HR_READ_INFOTYPE, the field loan balance is Q field (Q0045-OPELO) , i couldnt read the

field through the above function module , is there any other way i can read the Loan balance

from infotype 0045 . Please let me know.

regards

divya.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Divya,

Please try this FM HRBR_READ_INFOTYPE.

Thanks & Regards,

Ganesh R K

Former Member
0 Kudos

Hi Ganesh,

Thank you for replying to my question , this function module also gives same data of that hr_read_infotype only , it doesnt read the Q fields in the infotype . I have to get the data which is

stored as screen field (Q0045-OPELO).

Requesting to let me know how to read Q Structure .

regards

divya.

PedroGuarita
Active Contributor
0 Kudos

The value isn't in the infotype but in the cluster. If you check the logic in screen MP004500 2000 you could see how you can get that value, which is basically a wage type (/LLB) in the cluster table RT.

Check form get_loan_results in include MP004541.

Answers (1)

Answers (1)

Former Member
0 Kudos

Friends,

If your problem has not been already solved, here a suggestion...

Use the FM HR_GET_LOAN_BAL_PAID_AMT, where the return value BAL_AMT is the Loan balance...

Also you can use the ABAP Class CL_HRPA_LOAN_COMPUTATIONS to get/set another details of LOAN...

Regards...