SAP HR_CHECK_LGART_INPUT Function Module for
HR_CHECK_LGART_INPUT is a standard hr check lgart input SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 check lgart input FM, simply by entering the name HR_CHECK_LGART_INPUT into the relevant SAP transaction such as SE37 or SE38.
Function Group: HRPADLGART
Program Name: SAPLHRPADLGART
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HR_CHECK_LGART_INPUT 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_CHECK_LGART_INPUT'".
EXPORTING
P_LGART = "
P_BETRG = "
P_ANZHL = "
P_ZEINH = "
* P_MSGTP = 'E' "
P_BEGDA = "
P_ENDDA = "
P_INFTY = "
* P_MOLGA = "
* P_PERSA = "
* P_BTRTL = "
P_PERSG = "
P_PERSK = "
IMPORTING Parameters details for HR_CHECK_LGART_INPUT
P_LGART -
Data type: T512Z-LGARTOptional: No
Call by Reference: No ( called with pass by value option)
P_BETRG -
Data type: T511-BTMINOptional: No
Call by Reference: No ( called with pass by value option)
P_ANZHL -
Data type: T511-ANMINOptional: No
Call by Reference: No ( called with pass by value option)
P_ZEINH -
Data type: T511-ZEINHOptional: No
Call by Reference: No ( called with pass by value option)
P_MSGTP -
Data type: SY-MSGTYDefault: 'E'
Optional: Yes
Call by Reference: No ( called with pass by value option)
P_BEGDA -
Data type: T512Z-BEGDAOptional: No
Call by Reference: No ( called with pass by value option)
P_ENDDA -
Data type: T512Z-ENDDAOptional: No
Call by Reference: No ( called with pass by value option)
P_INFTY -
Data type: T582A-INFTYOptional: No
Call by Reference: No ( called with pass by value option)
P_MOLGA -
Data type: T001P-MOLGAOptional: Yes
Call by Reference: No ( called with pass by value option)
P_PERSA -
Data type: T001P-WERKSOptional: Yes
Call by Reference: No ( called with pass by value option)
P_BTRTL -
Data type: PSYST-BTRTLOptional: Yes
Call by Reference: No ( called with pass by value option)
P_PERSG -
Data type: PSYST-PERSGOptional: No
Call by Reference: No ( called with pass by value option)
P_PERSK -
Data type: PSYST-PERSKOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HR_CHECK_LGART_INPUT 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_p_lgart | TYPE T512Z-LGART, " | |||
| lv_p_betrg | TYPE T511-BTMIN, " | |||
| lv_p_anzhl | TYPE T511-ANMIN, " | |||
| lv_p_zeinh | TYPE T511-ZEINH, " | |||
| lv_p_msgtp | TYPE SY-MSGTY, " 'E' | |||
| lv_p_begda | TYPE T512Z-BEGDA, " | |||
| lv_p_endda | TYPE T512Z-ENDDA, " | |||
| lv_p_infty | TYPE T582A-INFTY, " | |||
| lv_p_molga | TYPE T001P-MOLGA, " | |||
| lv_p_persa | TYPE T001P-WERKS, " | |||
| lv_p_btrtl | TYPE PSYST-BTRTL, " | |||
| lv_p_persg | TYPE PSYST-PERSG, " | |||
| lv_p_persk | TYPE PSYST-PERSK. " |
|   CALL FUNCTION 'HR_CHECK_LGART_INPUT' " |
| EXPORTING | ||
| P_LGART | = lv_p_lgart | |
| P_BETRG | = lv_p_betrg | |
| P_ANZHL | = lv_p_anzhl | |
| P_ZEINH | = lv_p_zeinh | |
| P_MSGTP | = lv_p_msgtp | |
| P_BEGDA | = lv_p_begda | |
| P_ENDDA | = lv_p_endda | |
| P_INFTY | = lv_p_infty | |
| P_MOLGA | = lv_p_molga | |
| P_PERSA | = lv_p_persa | |
| P_BTRTL | = lv_p_btrtl | |
| P_PERSG | = lv_p_persg | |
| P_PERSK | = lv_p_persk | |
| . " HR_CHECK_LGART_INPUT | ||
ABAP code using 7.40 inline data declarations to call FM HR_CHECK_LGART_INPUT
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.| "SELECT single LGART FROM T512Z INTO @DATA(ld_p_lgart). | ||||
| "SELECT single BTMIN FROM T511 INTO @DATA(ld_p_betrg). | ||||
| "SELECT single ANMIN FROM T511 INTO @DATA(ld_p_anzhl). | ||||
| "SELECT single ZEINH FROM T511 INTO @DATA(ld_p_zeinh). | ||||
| "SELECT single MSGTY FROM SY INTO @DATA(ld_p_msgtp). | ||||
| DATA(ld_p_msgtp) | = 'E'. | |||
| "SELECT single BEGDA FROM T512Z INTO @DATA(ld_p_begda). | ||||
| "SELECT single ENDDA FROM T512Z INTO @DATA(ld_p_endda). | ||||
| "SELECT single INFTY FROM T582A INTO @DATA(ld_p_infty). | ||||
| "SELECT single MOLGA FROM T001P INTO @DATA(ld_p_molga). | ||||
| "SELECT single WERKS FROM T001P INTO @DATA(ld_p_persa). | ||||
| "SELECT single BTRTL FROM PSYST INTO @DATA(ld_p_btrtl). | ||||
| "SELECT single PERSG FROM PSYST INTO @DATA(ld_p_persg). | ||||
| "SELECT single PERSK FROM PSYST INTO @DATA(ld_p_persk). | ||||
Search for further information about these or an SAP related objects