2008 Mar 31 12:18 PM
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.
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.
2008 Mar 31 12:22 PM
2008 Mar 31 12:24 PM
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?
2008 Oct 11 8:26 PM
>
> 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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |