Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR_STRUCTURE_GET Buffer issue

Former Member
0 Likes
466

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!

1 REPLY 1
Read only

Former Member
0 Likes
360

This issue has been resolved