SAP Reports / Programs | Basis Components | Upgrade - General(BC-UPG) SAP BC

RSPARAGENER8 SAP ABAP Report - Parallel Processing of the Generation of ABAP Loads







RSPARAGENER8 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Alongside the reports see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RSPARAGENER8 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 RSPARAGENER8. "Basic submit
SUBMIT RSPARAGENER8 AND RETURN. "Return to original report after report execution complete
SUBMIT RSPARAGENER8 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: GEN_TASK = Generation Task
Title: Parallel Processing of the Generation of ABAP Loads
Text Symbol: 020 = Generation started
Text Symbol: 050 = Summary of Generation
Text Symbol: 060 = Percentage of objects generated


INCLUDES used within this REPORT RSPARAGENER8

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:

call function ... in group * buffered. The 'call function ... in group' mechanism does not realize

SBUF_GENERIC_RESET CALL FUNCTION 'SBUF_GENERIC_RESET' EXPORTING * RESET = 'X' sync = 'X' tabname = 'RZLLITAB' EXCEPTIONS c_func_error = 1.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = 'parallel_generators' IMPORTING free_pbt_wps = free_workprocs 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.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = 'parallel_generators' IMPORTING free_pbt_wps = free_workprocs 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.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = 'parallel_generators' IMPORTING free_pbt_wps = free_workprocs 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.

SPBT_GET_CURR_RESOURCE_INFO CALL FUNCTION 'SPBT_GET_CURR_RESOURCE_INFO' IMPORTING free_pbt_wps = free_workprocs EXCEPTIONS internal_error = 1 pbt_env_not_initialized_yet = 2.

UPG_GET_SINGLE_PARAMETER CALL FUNCTION 'UPG_GET_SINGLE_PARAMETER' EXPORTING name = 'SGEN_PROCESSES' IMPORTING * UPGPARAM_WA = ev_value = lv_cnt_jobs_upg EXCEPTIONS no_release_found = 1 parameter_not_found = 2 OTHERS = 3.

DELIVERY_GET_COMPONENT_RELEASE CALL FUNCTION 'DELIVERY_GET_COMPONENT_RELEASE' EXPORTING iv_compname = 'SAP_BASIS' IMPORTING ev_compvers = lv_basis_rel ev_patchlvl = lv_basis_plevel EXCEPTIONS comp_not_found = 1.

SCOV_TIME_DIFF *call function 'SCOV_TIME_DIFF' * EXPORTING * im_date1 = gv_start_date * im_date2 = gv_end_date * im_time1 = gv_start_time * im_time2 = gv_end_time * IMPORTING * ex_days = needed_days * ex_time = needed_time.

P * - if the call functions the task_state is set to 'P' (in process) * - If the call of the function module of the function fails totally * (sy-subrc = 1 or 2), * the GENSTATUS is reset to 'I' (initial) in GENSETC for all objects * of the internal table and * the task_state stays 'I' (initial).

SUBST_GENER8_BSP_APPLS CALL FUNCTION 'SUBST_GENER8_BSP_APPLS' STARTING NEW TASK wa_tasklist-taskname DESTINATION IN GROUP 'parallel_generators' PERFORMING return_info_bsp ON END OF TASK EXPORTING countmax = commitbl TABLES it_gensetc = gt_gensetc EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text resource_failure = 3.

SUBST_GENER8_WDYNS CALL FUNCTION 'SUBST_GENER8_WDYNS' STARTING NEW TASK wa_tasklist-taskname DESTINATION IN GROUP 'parallel_generators' PERFORMING return_info_wdyns ON END OF TASK EXPORTING countmax = commitbl TABLES it_gensetc = gt_gensetc EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text resource_failure = 3.

SUBST_GENER8_ALL CALL FUNCTION 'SUBST_GENER8_ALL' STARTING NEW TASK wa_tasklist-taskname DESTINATION IN GROUP 'parallel_generators' PERFORMING return_info_all ON END OF TASK EXPORTING countmax = commitbl TABLES it_gensetc = gt_gensetc EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text resource_failure = 3.

SUBST_GENER8_ABAP_LOADS

SUBST_GENER8_ALL * CALL FUNCTION 'SUBST_GENER8_ABAP_LOADS' CALL FUNCTION 'SUBST_GENER8_ALL' STARTING NEW TASK wa_tasklist-taskname DESTINATION IN GROUP 'parallel_generators' PERFORMING return_info_all ON END OF TASK EXPORTING countmax = commitbl TABLES it_gensetc = gt_gensetc EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text resource_failure = 3.

SPBT_GET_PP_DESTINATION * CALL FUNCTION 'SPBT_GET_PP_DESTINATION' * importing * RFCDEST = lv_rfcdest.

SFW_GET_COMPONENT_STATE *CALL FUNCTION 'SFW_GET_COMPONENT_STATE' * EXPORTING * is_main_prog = 'X' * TABLES * switchtab = it_stab * .



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 RSPARAGENER8 or its description.