‎2010 Mar 05 11:02 AM
Dear Gurus,
I've met a buffer issue on the HR_STURCTURE_GET.
I've done a program which will update the status of HRP infotypes, the general logic are:
1. get objects by HR_STRUCTURE_GET,
2. use RH_INSERT_INFTY to change the ISTAT
3. get the objects again by HR_STRUCTURE_GET and display in ALV
Setp 1, 2 is all right, the HRP records in the table have been changed to the ISTAT I set.
The problem is, when the program processing step 3, the FM HR_STRUCTURE_GET returns the old ISTAT of the HRP Object, it's not the same with which in the DB Table.
I've tried to set the parameter: STRU_STATUS_VECTOR to the new ISTAT value, the record is found, but ISTAT is still the old one.
also tried to set the parameter: STRU_STATUS_OVERLAP = 'X', and it still doesn't work.
Could you please kindly adivse how could I clear the buffer...
Many thanks!
‎2010 Mar 08 12:54 AM