SAP RSS_PROGRAM_LOADCHECK Function Module for
RSS_PROGRAM_LOADCHECK is a standard rss program loadcheck 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 rss program loadcheck FM, simply by entering the name RSS_PROGRAM_LOADCHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSSG
Program Name: SAPLRSSG
Main Program: SAPLRSSG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSS_PROGRAM_LOADCHECK 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 'RSS_PROGRAM_LOADCHECK'".
EXPORTING
I_UNI_IDC25 = "
* I_SCOPE = '2' "
I_PROGRAM_CLASS = "Program Class
* I_CLIENT = "R/3 System, Client Number from Logon
* I_S_PDIR = "
* I_WITH_ENQUEUE = RSSG_C_FALSE "
* I_SECONDS_TO_WAIT = 30 "
* I_FORCE_RELOAD = RSSG_C_FALSE "
* I_T_VARCODE = "
* I_TX_TEXTPOOL = "
IMPORTING
E_PROGRAM_NAME = "Program Name
E_CLSNAME = "Object Type Name
E_S_PDIR = "BW generation tool: Directory of the generated programs
EXCEPTIONS
INVALID_PROGRAM_CLASS = 1 INVALID_UNIQUE_ID = 2 FOREIGN_LOCK = 3 SYSTEM_FAILURE = 4 CALL_ERROR = 5 LOAD_PROGRAM_INVALID = 6 PROGRAM_NOT_GENERATED = 7
IMPORTING Parameters details for RSS_PROGRAM_LOADCHECK
I_UNI_IDC25 -
Data type: RSSG_UNI_IDC25Optional: No
Call by Reference: Yes
I_SCOPE -
Data type: RSSG_SCOPEDefault: '2'
Optional: Yes
Call by Reference: Yes
I_PROGRAM_CLASS - Program Class
Data type: RSSG_PROGCLASSOptional: No
Call by Reference: Yes
I_CLIENT - R/3 System, Client Number from Logon
Data type: SY-MANDTOptional: Yes
Call by Reference: Yes
I_S_PDIR -
Data type: RSSG_S_PDIROptional: Yes
Call by Reference: Yes
I_WITH_ENQUEUE -
Data type: RSSG_BOOLDefault: RSSG_C_FALSE
Optional: Yes
Call by Reference: Yes
I_SECONDS_TO_WAIT -
Data type: IDefault: 30
Optional: Yes
Call by Reference: Yes
I_FORCE_RELOAD -
Data type: RSSG_BOOLDefault: RSSG_C_FALSE
Optional: Yes
Call by Reference: Yes
I_T_VARCODE -
Data type: RSSG_T_VARLINEOptional: Yes
Call by Reference: Yes
I_TX_TEXTPOOL -
Data type: RSSG_TX_TPOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RSS_PROGRAM_LOADCHECK
E_PROGRAM_NAME - Program Name
Data type: SY-REPIDOptional: No
Call by Reference: Yes
E_CLSNAME - Object Type Name
Data type: SEOCLSNAMEOptional: No
Call by Reference: Yes
E_S_PDIR - BW generation tool: Directory of the generated programs
Data type: RSSG_S_PDIROptional: No
Call by Reference: Yes
EXCEPTIONS details
INVALID_PROGRAM_CLASS -
Data type:Optional: No
Call by Reference: Yes
INVALID_UNIQUE_ID -
Data type:Optional: No
Call by Reference: Yes
FOREIGN_LOCK -
Data type:Optional: No
Call by Reference: Yes
SYSTEM_FAILURE -
Data type:Optional: No
Call by Reference: Yes
CALL_ERROR -
Data type:Optional: No
Call by Reference: Yes
LOAD_PROGRAM_INVALID -
Data type:Optional: No
Call by Reference: Yes
PROGRAM_NOT_GENERATED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSS_PROGRAM_LOADCHECK 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_i_uni_idc25 | TYPE RSSG_UNI_IDC25, " | |||
| lv_e_program_name | TYPE SY-REPID, " | |||
| lv_invalid_program_class | TYPE SY, " | |||
| lv_i_scope | TYPE RSSG_SCOPE, " '2' | |||
| lv_e_clsname | TYPE SEOCLSNAME, " | |||
| lv_i_program_class | TYPE RSSG_PROGCLASS, " | |||
| lv_invalid_unique_id | TYPE RSSG_PROGCLASS, " | |||
| lv_e_s_pdir | TYPE RSSG_S_PDIR, " | |||
| lv_i_client | TYPE SY-MANDT, " | |||
| lv_foreign_lock | TYPE SY, " | |||
| lv_i_s_pdir | TYPE RSSG_S_PDIR, " | |||
| lv_system_failure | TYPE RSSG_S_PDIR, " | |||
| lv_call_error | TYPE RSSG_S_PDIR, " | |||
| lv_i_with_enqueue | TYPE RSSG_BOOL, " RSSG_C_FALSE | |||
| lv_i_seconds_to_wait | TYPE I, " 30 | |||
| lv_load_program_invalid | TYPE I, " | |||
| lv_i_force_reload | TYPE RSSG_BOOL, " RSSG_C_FALSE | |||
| lv_program_not_generated | TYPE RSSG_BOOL, " | |||
| lv_i_t_varcode | TYPE RSSG_T_VARLINE, " | |||
| lv_i_tx_textpool | TYPE RSSG_TX_TP. " |
|   CALL FUNCTION 'RSS_PROGRAM_LOADCHECK' " |
| EXPORTING | ||
| I_UNI_IDC25 | = lv_i_uni_idc25 | |
| I_SCOPE | = lv_i_scope | |
| I_PROGRAM_CLASS | = lv_i_program_class | |
| I_CLIENT | = lv_i_client | |
| I_S_PDIR | = lv_i_s_pdir | |
| I_WITH_ENQUEUE | = lv_i_with_enqueue | |
| I_SECONDS_TO_WAIT | = lv_i_seconds_to_wait | |
| I_FORCE_RELOAD | = lv_i_force_reload | |
| I_T_VARCODE | = lv_i_t_varcode | |
| I_TX_TEXTPOOL | = lv_i_tx_textpool | |
| IMPORTING | ||
| E_PROGRAM_NAME | = lv_e_program_name | |
| E_CLSNAME | = lv_e_clsname | |
| E_S_PDIR | = lv_e_s_pdir | |
| EXCEPTIONS | ||
| INVALID_PROGRAM_CLASS = 1 | ||
| INVALID_UNIQUE_ID = 2 | ||
| FOREIGN_LOCK = 3 | ||
| SYSTEM_FAILURE = 4 | ||
| CALL_ERROR = 5 | ||
| LOAD_PROGRAM_INVALID = 6 | ||
| PROGRAM_NOT_GENERATED = 7 | ||
| . " RSS_PROGRAM_LOADCHECK | ||
ABAP code using 7.40 inline data declarations to call FM RSS_PROGRAM_LOADCHECK
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 REPID FROM SY INTO @DATA(ld_e_program_name). | ||||
| DATA(ld_i_scope) | = '2'. | |||
| "SELECT single MANDT FROM SY INTO @DATA(ld_i_client). | ||||
| DATA(ld_i_with_enqueue) | = RSSG_C_FALSE. | |||
| DATA(ld_i_seconds_to_wait) | = 30. | |||
| DATA(ld_i_force_reload) | = RSSG_C_FALSE. | |||
Search for further information about these or an SAP related objects