SAP Reports / Programs

RSPRFC02 SAP ABAP Report - Verification program for parallel RFC







RSPRFC02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSPRFC02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RSPRFC02. "Basic submit
SUBMIT RSPRFC02 AND RETURN. "Return to original report after report execution complete
SUBMIT RSPRFC02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: VER01110 Verification program for parallel RFC


INCLUDES used within this REPORT RSPRFC02

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

IS_VERIRUN_ACTIVE CALL FUNCTION 'IS_VERIRUN_ACTIVE' CHANGING ACTIVE = ACTIVE EXCEPTIONS OTHERS = 1.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING GROUP_NAME = DEFAULT_GROUP IMPORTING MAX_PBT_WPS = MAX_PBT_WPS FREE_PBT_WPS = FREE_PBT_WPS EXCEPTIONS INVALID_GROUP_NAME = 1 INTERNAL_ERROR = 2 PBT_ENV_ALREADY_INITIALIZED = 3 CURRENTLY_NO_RESOURCES_AVAIL = 4 NO_PBT_RESOURCES_FOUND = 5 CANT_INIT_DIFFERENT_PBT_GROUPS = 6 OTHERS = 7.

RFC_PING_AND_WAIT CALL FUNCTION 'RFC_PING_AND_WAIT' STARTING NEW TASK TASKNAME DESTINATION SERVER_NAME PERFORMING RETURN_INFO ON END OF TASK EXPORTING SECONDS = SECOND BUSY_WAITING = BUSY_WAITING EXCEPTIONS COMMUNICATION_FAILURE = 1 MESSAGE MESSAGE_FAILURE SYSTEM_FAILURE = 2 MESSAGE MESSAGE_FAILURE RESOURCE_FAILURE = 3.

SPBT_DO_NOT_USE_SERVER CALL FUNCTION 'SPBT_DO_NOT_USE_SERVER' EXPORTING SERVER_NAME = SERVER EXCEPTIONS INVALID_SERVER_NAME = 1 NO_MORE_RESOURCES_LEFT = 2 PBT_ENV_NOT_INITIALIZED_YET = 3 OTHERS = 4.

SPBT_GET_PP_DESTINATION * call function 'SPBT_GET_PP_DESTINATION' * importing * rfcdest = tasklist-rfcdest * exceptions * others = 1.

SPBT_PARALLEL_PROCESSING * call function 'SPBT_PARALLEL_PROCESSING' * exporting * group_name = default_group * rfc_function_module = 'RFC_PING_AND_WAIT' * importing * server_name = server_name * exceptions * resource_failure = 3.

ADMIN_LOAD_CHECK CALL FUNCTION 'ADMIN_LOAD_CHECK' EXPORTING ADMIN_APPLY_CHECK = 'X' ADMIN_PRFC_ACTIVE = 'X' "disabling check for single call EXCEPTIONS OTHERS = 1.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING GROUP_NAME = GROUP_NAME IMPORTING MAX_PBT_WPS = MAX_PBT_WPS FREE_PBT_WPS = FREE_PBT_WPS EXCEPTIONS PBT_ENV_ALREADY_INITIALIZED = 1 * no_pbt_resources_found = 2 "Gruppe hat keine Ress.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING GROUP_NAME = GROUP_NAME IMPORTING MAX_PBT_WPS = MAX_PBT_WPS FREE_PBT_WPS = FREE_PBT_WPS.

SPBT_FIND_FREE_SERVER CALL FUNCTION 'SPBT_FIND_FREE_SERVER' EXPORTING RFC_FUNCTION_MODULE = RFC_FUNCTION_MODULE IMPORTING SERVER_NAME = SERVER_DEST EXCEPTIONS ALL_SERVERS_ARE_BUSY = 1.

SPBT_GET_CURR_RESOURCE_INFO CALL FUNCTION 'SPBT_GET_CURR_RESOURCE_INFO' IMPORTING MAX_PBT_WPS = MAX_PBT_WPS FREE_PBT_WPS = FREE_PBT_WPS.

SPBT_FIND_FREE_SERVER CALL FUNCTION 'SPBT_FIND_FREE_SERVER' EXPORTING RFC_FUNCTION_MODULE = RFC_FUNCTION_MODULE IMPORTING SERVER_NAME = SERVER_DEST EXCEPTIONS ALL_SERVERS_ARE_BUSY = 1.

PARKING_ASYNCHRONOUS_RECEIVE CALL FUNCTION 'PARKING_ASYNCHRONOUS_RECEIVE' EXPORTING PARKING_OPTION = 'S' "Set park EXCEPTIONS PARKING_IMPOSSIBLE = 1 PARKING_OPTION_FAILED = 2 OTHERS = 3.

PARKING_ASYNCHRONOUS_RECEIVE CALL FUNCTION 'PARKING_ASYNCHRONOUS_RECEIVE' EXPORTING PARKING_OPTION = 'R' "Reset park EXCEPTIONS PARKING_IMPOSSIBLE = 1 PARKING_OPTION_FAILED = 2 OTHERS = 3.

SAVE_LIST CALL FUNCTION 'SAVE_LIST' TABLES LISTOBJECT = ABAPLIST EXCEPTIONS LIST_INDEX_INVALID = 1 OTHERS = 2.

WRITE_LIST CALL FUNCTION 'WRITE_LIST' TABLES LISTOBJECT = ABAPLIST EXCEPTIONS EMPTY_LIST = 1 OTHERS = 2.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSPRFC02 or its description.