cancel
Showing results for 
Search instead for 
Did you mean: 

Read infotype using HR_READ_INFOTYPE

Former Member
0 Kudos

Hi all,

I Try to read infotype (pa0021) using HR_READ_INFOTYPE. Its getting fine.

Im using Web Dynpro ABAP Interactive form.

I want to insert some value in infotype pa0021, so i used HR_INFOTYPE_OPERATION.

Data's are Inserting.

The problem is if i press the Save button, Inserting values are not getting, when i use HR_READ_INFOTYPE in the same session. The new values are updated in the Backend but its not getting

in the same session. because if i press the save button means, i want to save the data and again i want to show the saved data back .But if i close the session and open once again means its reflection the new values.

I used BAPI_TRANSACTION_COMMIT also but i no success.

Please Give some solution for this problem, its very urgent.

Thanks & Regards,

Hemachandran.R

.

Edited by: hemachandran R on Oct 22, 2008 8:54 AM

Edited by: hemachandran R on Oct 22, 2008 8:54 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

While using the function module HR_READ_INFOTYPE you need to get an internal table of the same infotype and put the required pernr no it will work.

arjun_thakur
Active Contributor
0 Kudos

Hi hemachandran,

When you use HR_READ_INFOTYPE function module , then set BYPASS_BUFFER = 'X'.

regards

arjun

Former Member
0 Kudos

Hi hemachandran R ,

When all your conditions are satisfied, You can get the updated values from the contexts which you are using to update in the contexts by which you are displaying it on the screen.

You need not to fetch the data from the back end.

Regards,

Rohit