Definition
The number of standard operations should be enough for most requirements. In addition, there are user exits, especially for the following cases:
Use
User exits are implemented with the operation User Operation for each function module call up. This supports the SMOD/CMOD enhancement concept.
To use this, you must process the enhancement PK020001 in the development class PK02 on the customer page, using the transaction CMOD.
You must code the user exit in the function module "EXIT_SAPLRPCC_001". Use the transaction CMOD to see a sample coding.
The following parameters are available in the function module:
ACTION |
Controls processing within the function module. |
TCLAS |
Transaction class: "A" for employee, "B" for applicant |
PAR_RECORD |
Parameters used to call up the PC operation. This triggers value types. The structure has the following fields: PAR_RECORD -PAR01 ... -PAR01 -VTY01 ... -VTY01 |
EVL |
This structure is used to control calculation. It contains the following fields: EVL -CUR_VAL -CUR_VALTY -PRV_VAL -PRV_VALTY -SUBRC |
VALUES |
Current values table: VALUES -VALTY -GLBFL -VALUE |
FUND |
Current fund. |
PERNR |
Current personnel number |