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_INITIALIZE_BUFFER, HR_PSBUFFER_INITIALITZE

Former Member
0 Likes
2,980

Hi,

i want to use HR_INFOTYPE_OPERATION to modify infotype 0008.

I have found some examples that use this function modules to modify infotypes:

CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'

EXPORTING

NUMBER = PERNR

IMPORTING

RETURN = BAPI_RETURN.

CALL FUNCTION HR_INITIALIZE_BUFFER.

CALL FUNCTION 'HR_PSBUFFER_INITIALIZE'.

CALL FUNCTION 'HR_INFOTYPE_OPERATION'

EXPORTING

...

CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'

EXPORTING

NUMBER = PERNR

IMPORTING

RETURN = BAPI_RETURN.

I understand what this function modules do:

- BAPI_EMPLOYEE_ENQUEUE

- BAPI_EMPLOYEE_DEQUEUE

- HR_INFOTYPE_OPERATION

But i don't know what this other functions do:

- HR_INITIALIZE_BUFFER

- HR_PSBUFFER_INITIALIZE

I have tried to find info in internet, but it's been frustrating. It seems everybody use this functions without knowing what they do.

Can anyone help me?

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
1,783

these FM' s initializes Buffer ... means it clears ..

Read only

0 Likes
1,783

Obviously, i know they clear buffers. But, what are this buffers for?

Are this functions necessary to use HR_INFOTYPE_OPERATION? If i use them, what impact do they have?

Read only

0 Likes
1,783

>

> Obviously, i know they clear buffers. But, what are this buffers for?

> Are this functions necessary to use HR_INFOTYPE_OPERATION? If i use them, what impact do they have?

Please check the oss note 615511