SAP HR_IN_PE_HRPADINIT0022 Function Module for Insert record in Infotype 0022 (Education)
HR_IN_PE_HRPADINIT0022 is a standard hr in pe hrpadinit0022 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Insert record in Infotype 0022 (Education) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for hr in pe hrpadinit0022 FM, simply by entering the name HR_IN_PE_HRPADINIT0022 into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPADINPC
Program Name: SAPLHRPADINPC
Main Program: SAPLHRPADINPC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_IN_PE_HRPADINIT0022 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'HR_IN_PE_HRPADINIT0022'"Insert record in Infotype 0022 (Education).
EXPORTING
IS_IT0022 = "HR Master Record: Infotype 0022 (Education)
* IV_COMMIT = "Flag
* IV_CREATE = 'X' "General Flag
IMPORTING
ET_RETURN = "P2E: Table Type For Return Message
IMPORTING Parameters details for HR_IN_PE_HRPADINIT0022
IS_IT0022 - HR Master Record: Infotype 0022 (Education)
Data type: PA0022Optional: No
Call by Reference: Yes
IV_COMMIT - Flag
Data type: PIN_PE_XFELDOptional: Yes
Call by Reference: Yes
IV_CREATE - General Flag
Data type: FLAGDefault: 'X'
Optional: No
Call by Reference: Yes
EXPORTING Parameters details for HR_IN_PE_HRPADINIT0022
ET_RETURN - P2E: Table Type For Return Message
Data type: HRPADINPEM1Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_IN_PE_HRPADINIT0022 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_et_return | TYPE HRPADINPEM1, " | |||
| lv_is_it0022 | TYPE PA0022, " | |||
| lv_iv_commit | TYPE PIN_PE_XFELD, " | |||
| lv_iv_create | TYPE FLAG. " 'X' |
|   CALL FUNCTION 'HR_IN_PE_HRPADINIT0022' "Insert record in Infotype 0022 (Education) |
| EXPORTING | ||
| IS_IT0022 | = lv_is_it0022 | |
| IV_COMMIT | = lv_iv_commit | |
| IV_CREATE | = lv_iv_create | |
| IMPORTING | ||
| ET_RETURN | = lv_et_return | |
| . " HR_IN_PE_HRPADINIT0022 | ||
ABAP code using 7.40 inline data declarations to call FM HR_IN_PE_HRPADINIT0022
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_iv_create) | = 'X'. | |||
Search for further information about these or an SAP related objects