SAP HR_CHECK_SCHEDULED_TASKS_US_CE Function Module for Status der geschedulten Batchjobs feststellen
HR_CHECK_SCHEDULED_TASKS_US_CE is a standard hr check scheduled tasks us ce SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Status der geschedulten Batchjobs feststellen 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 check scheduled tasks us ce FM, simply by entering the name HR_CHECK_SCHEDULED_TASKS_US_CE into the relevant SAP transaction such as SE37 or SE38.
Function Group: PBS1_US_CE
Program Name: SAPLPBS1_US_CE
Main Program: SAPLPBS1_US_CE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function HR_CHECK_SCHEDULED_TASKS_US_CE 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_SCHEDULED_TASKS_US_CE'"Status der geschedulten Batchjobs feststellen.
EXPORTING
MAIN_SYSTEM = "
* REPEAT_TIME = 90 "Repeat time
* REPEAT_COUNT = 5 "
* PRINT_PARAMS = "
* REPORT_OUTPUT = ' ' "
* USE_REPORT = ' ' "
* SORT_OPTION = "
* CALLED = 0 "
* SCHEDULE_INDX_ID = ' ' "
* OUTPUT_REPORT = ' ' "
MAIN_REQUEST = "
VARIANT = "
TABLES
PROZESSED_SYSTEMS = "
EXCEPTIONS
NO_AUTHORITY = 1
IMPORTING Parameters details for HR_CHECK_SCHEDULED_TASKS_US_CE
MAIN_SYSTEM -
Data type: RFCDES-RFCDESTOptional: No
Call by Reference: No ( called with pass by value option)
REPEAT_TIME - Repeat time
Data type: SY-TZONEDefault: 90
Optional: Yes
Call by Reference: No ( called with pass by value option)
REPEAT_COUNT -
Data type: SY-TABIXDefault: 5
Optional: Yes
Call by Reference: No ( called with pass by value option)
PRINT_PARAMS -
Data type: PRI_PARAMSOptional: Yes
Call by Reference: No ( called with pass by value option)
REPORT_OUTPUT -
Data type: RPLXXXXX-LISTARTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
USE_REPORT -
Data type: RSVAR-REPORTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SORT_OPTION -
Data type: TEVEN-SPLITOptional: Yes
Call by Reference: No ( called with pass by value option)
CALLED -
Data type: SY-INDEXOptional: Yes
Call by Reference: No ( called with pass by value option)
SCHEDULE_INDX_ID -
Data type: INDX-SRTFDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OUTPUT_REPORT -
Data type: SY-REPIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MAIN_REQUEST -
Data type: T599U-AOptional: No
Call by Reference: No ( called with pass by value option)
VARIANT -
Data type: RSVAR-VARIANTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HR_CHECK_SCHEDULED_TASKS_US_CE
PROZESSED_SYSTEMS -
Data type: HRRFCINFOOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_AUTHORITY - not authorized
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for HR_CHECK_SCHEDULED_TASKS_US_CE 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_main_system | TYPE RFCDES-RFCDEST, " | |||
lv_no_authority | TYPE RFCDES, " | |||
lt_prozessed_systems | TYPE STANDARD TABLE OF HRRFCINFO, " | |||
lv_repeat_time | TYPE SY-TZONE, " 90 | |||
lv_repeat_count | TYPE SY-TABIX, " 5 | |||
lv_print_params | TYPE PRI_PARAMS, " | |||
lv_report_output | TYPE RPLXXXXX-LISTART, " SPACE | |||
lv_use_report | TYPE RSVAR-REPORT, " SPACE | |||
lv_sort_option | TYPE TEVEN-SPLIT, " | |||
lv_called | TYPE SY-INDEX, " 0 | |||
lv_schedule_indx_id | TYPE INDX-SRTFD, " SPACE | |||
lv_output_report | TYPE SY-REPID, " SPACE | |||
lv_main_request | TYPE T599U-A, " | |||
lv_variant | TYPE RSVAR-VARIANT. " |
  CALL FUNCTION 'HR_CHECK_SCHEDULED_TASKS_US_CE' "Status der geschedulten Batchjobs feststellen |
EXPORTING | ||
MAIN_SYSTEM | = lv_main_system | |
REPEAT_TIME | = lv_repeat_time | |
REPEAT_COUNT | = lv_repeat_count | |
PRINT_PARAMS | = lv_print_params | |
REPORT_OUTPUT | = lv_report_output | |
USE_REPORT | = lv_use_report | |
SORT_OPTION | = lv_sort_option | |
CALLED | = lv_called | |
SCHEDULE_INDX_ID | = lv_schedule_indx_id | |
OUTPUT_REPORT | = lv_output_report | |
MAIN_REQUEST | = lv_main_request | |
VARIANT | = lv_variant | |
TABLES | ||
PROZESSED_SYSTEMS | = lt_prozessed_systems | |
EXCEPTIONS | ||
NO_AUTHORITY = 1 | ||
. " HR_CHECK_SCHEDULED_TASKS_US_CE |
ABAP code using 7.40 inline data declarations to call FM HR_CHECK_SCHEDULED_TASKS_US_CE
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 RFCDEST FROM RFCDES INTO @DATA(ld_main_system). | ||||
"SELECT single TZONE FROM SY INTO @DATA(ld_repeat_time). | ||||
DATA(ld_repeat_time) | = 90. | |||
"SELECT single TABIX FROM SY INTO @DATA(ld_repeat_count). | ||||
DATA(ld_repeat_count) | = 5. | |||
"SELECT single LISTART FROM RPLXXXXX INTO @DATA(ld_report_output). | ||||
DATA(ld_report_output) | = ' '. | |||
"SELECT single REPORT FROM RSVAR INTO @DATA(ld_use_report). | ||||
DATA(ld_use_report) | = ' '. | |||
"SELECT single SPLIT FROM TEVEN INTO @DATA(ld_sort_option). | ||||
"SELECT single INDEX FROM SY INTO @DATA(ld_called). | ||||
"SELECT single SRTFD FROM INDX INTO @DATA(ld_schedule_indx_id). | ||||
DATA(ld_schedule_indx_id) | = ' '. | |||
"SELECT single REPID FROM SY INTO @DATA(ld_output_report). | ||||
DATA(ld_output_report) | = ' '. | |||
"SELECT single A FROM T599U INTO @DATA(ld_main_request). | ||||
"SELECT single VARIANT FROM RSVAR INTO @DATA(ld_variant). | ||||
Search for further information about these or an SAP related objects