02-18-2021 8:51 AM
Hi Expert,
Im new in HR module, and i need to know how FM HR_INFOTYPE_OPERATION work ?
i need to insert data with infotype Subtitutions( 2003 ) to PA30.
Thankyou
02-23-2021 2:43 PM
In your program, build up an structure of the Pxxxx type e.q. P2003.
This structure can be used for parameter RECORD. You also need to fill the key-fields in the structure (including INFTY). For inserts (OPERATION = 'INS') i usally use the key-fields directly from the structure.
Than call FM HR_INFOTYPE_OPERATION - you need to fill at least the following parameters/data:
Check parameter RETURN for any problems. Type 'E' indicates errors.