Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How read cost assigment and infotype after edit?

Hi

I need read infotype 2010. But there is problem because is there cost assigment and I don't read this data from PA2010.

I try method:

CL_HRPA_MASTERDATA_FACTORY=>GET_MASTERDATA_BUFFER

or

CL_HRPA_MASTERDATA_FACTORY=>GET_BUSINESS_LOGIC

or

cl_hrpa_masterdata_factory=>GET_READ_INFOTYPE (but there I can't see cost assigment)


This work fine. But problem is, when my program running and someone edited employee using PA30. When I read data after editing, data contain all data. It is like before editing

When in my program use BACK(F3) and jump to SELECTION SCREEN and then I run (F8) program again, data is correct (I see edited data).


Where I have mistake or what I must do for read edited data?


Thank you

Former Member
replied

Hello!

1. Try to use functional moduleĀ  HR_READ_INFOTYPE providing the parameterĀ  BYPASS_BUFFER = 'X'.

2. You could get the cost assignment for infotype 2010 record from tables ASSHR and ASSOB

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question