2013 May 22 7:15 AM
Hi All,
I am working with a module pool program to get the Payroll data by using FM 'PYXX_READ_PAYROLL_RESULT' .
Now, I am executing my Tcode to get the Payroll Data in one ABAP Session. and parallel, I have opened one more session and did the Master Data Changes for Payroll tables and run the payroll & in PC_PAYRESULT also new data has been updated.
Now, I continued with other session which was opened already and trying to get the new updated Data, but It was not happening. Same old data is coming.
I have tried with COMMIT WORK AND WAIT and FM 'STATUS_BUFFER_REFRESH' before calling Payroll FM.
But Not working.
Kindly help me
Thanks,
Vishnu
2013 May 22 9:34 AM
You say: "parallel, I have opened one more session and did the Master Data Changes for Payroll tables"
That might be the cause. In change mode the table is locked so the update will fail.
Strange that you didn't get an error / warning message.
You can check in SM12 if a lock has been set and in SM14 if an update task has failed (cancelled).
2013 May 22 10:16 AM
Thanks for your replay Peter.
I have opened one more session and updated the master data changes successfully and I can able to see that changes in PayRoll Tables.
But I have already opened my Zprogram report program in one session, If I continue with that same session, I am not able to fetch the updated payroll Data at all.
but If I run my z program in with new session, I am able to fetch the correct & updated data.
My Problem is If any session opend before master data changes, If I am continueing with the same session after Master Data Changes is not fetching data properly.
please help me.