SAP Reports / Programs | Project System | Material(PS-MAT) SAP PS

RGRPGF02 SAP ABAP INCLUDE - documentation and ABAP source code







RGRPGF02 is a standard ABAP INCLUDE 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 RGRPGF02 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 RGRPGF02. "Basic submit
SUBMIT RGRPGF02 AND RETURN. "Return to original report after report execution complete
SUBMIT RGRPGF02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT RGRPGF02

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:

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = l_wa_prps_extract-objnr IMPORTING obart = lv_obart.

OBJECT_NUMBER_TYPE_GET CALL FUNCTION 'OBJECT_NUMBER_TYPE_GET' EXPORTING objnr = l_wa_prps_extract-objnr IMPORTING obart = lv_obart.

GRPG_CHECK_DISGR_SETTING CALL FUNCTION 'GRPG_CHECK_DISGR_SETTING' EXPORTING i_werks = p_wa_grpgv-werks i_disgr = p_wa_grpgv-disgr EXCEPTIONS grouping_not_activated = 1 disgr_not_found = 2 OTHERS = 3.

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING werk = p_wa_grpgv-werks IMPORTING organisationselemente = lv_ckiwerk EXCEPTIONS bukrs_not_found = 1 bwkey_not_found = 2 kokrs_not_found = 3 plant_not_found = 4 OTHERS = 5.

CONVERSION_EXIT_KONPR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPR_OUTPUT' EXPORTING input = p_para IMPORTING output = lv_posid.

CONVERSION_EXIT_KONPR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPR_OUTPUT' EXPORTING input = p_wa_grpga-grpnr IMPORTING output = lv_posid.

CONVERSION_EXIT_KONPR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPR_OUTPUT' EXPORTING input = p_wa_grpga-pspnr IMPORTING output = lv_posid.

CONVERSION_EXIT_KONPR_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPR_OUTPUT' EXPORTING input = lv_wa_grpgv-grpnr IMPORTING output = lv_posid.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = gt_fieldcat is_layout = ls_layout it_events = gt_event i_suppress_empty_data = 'X' is_print = ls_print TABLES t_outtab = gt_list1 EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = xt_event EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = lc_struc1 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = lc_struc2 CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING formatwidth = 60 linewidth = 132 startline = 1 TABLES lines = gt_tline EXCEPTIONS bound_error = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_commentary.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid it_fieldcat = gt_fieldcat is_layout = ls_layout it_events = gt_event i_suppress_empty_data = 'X' is_print = ls_print TABLES t_outtab = gt_list2 EXCEPTIONS program_error = 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 RGRPGF02 or its description.