RGPSA_CALC_PROCESS 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 RGPSA_CALC_PROCESS into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_BUDAT = Posting date
Selection Text: P_BUKRS = Company code
Selection Text: P_CLC = Report layout: by calc. catgry
Selection Text: P_COMPL = Check for PSC group complete
Selection Text: P_CURT = Currency Type
Selection Text: P_EGP = Report layout: by equity group
Selection Text: P_KIND = Entitlement in Kind
Selection Text: P_PERIOD = Period
Selection Text: P_PR_DEC = Number of decimals
Selection Text: P_PR_SCL = Scale Unit
Selection Text: P_REV = Revenue
Selection Text: P_TEST = Test run/Print/Recalculation
Selection Text: P_VALKND = Entitl. in value and in kiND
Selection Text: S_VNAME = Venture
Selection Text: S_PSCGR = PSC group
Selection Text: S_PSC = PSC name
Selection Text: S_PROD = PSC product
Selection Text: S_ETYPE = Equity type
Selection Text: P_YEAR = Fiscal year
Selection Text: P_VOLUMS = Scale Unit
Selection Text: P_VOLUMD = Number of decimals
Selection Text: P_VOL = Volume
Selection Text: P_VALUES = Scale Unit
Selection Text: P_VALUED = Number of decimals
Selection Text: P_VALUE = Entitlement in Value
Title: PSA Calculation
Text Symbol: SS6 = Currency type / Decimals / Scaling / Other
Text Symbol: SS5 = Other
Text Symbol: SS4 = Value
Text Symbol: SS3 = Volume
Text Symbol: SS2 = Price
Text Symbol: SS1 = Currency
Text Symbol: SS0 = Layout options
Text Symbol: SLD = Sliding scale details
Text Symbol: SCR = Selection criteria
Text Symbol: RPT = Reporting
Text Symbol: ROY = Royalty
Text Symbol: REV = Revenue
INCLUDE RGPSA_CALC_TOP. "DATA DECLARATION
INCLUDE RGPSA_CALC_PROCESS_MAIN_ALV.
INCLUDE RGPSA_CALC_FORMS. "FORMS USED ONLY IN THIS PROGRAM
INCLUDE RGPSA_GLOBAL_FORMS. "FORMS USED IN PROGRAM & FG
INCLUDE RGPSA_CALC_PRINT_FORMS_ALV. "FORMS FOR PRINT
INCLUDE RGPSA_CALC_PSA_FORMS. "FORMS USED IN PSA DEVELOPMENT
INCLUDE RGPSA_CALC_CREATE_LEDGER.
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat1 it_events = lt_evts_1 is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' "1508898 TABLES t_outtab = gt_temp_first EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV4' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV2' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV1' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV2' is_keyinfo = ls_key is_print = ls_prnt it_except_qinfo = gt_exc I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_second_temp t_outtab_item = gt_temp_second EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt it_except_qinfo = gt_exc I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_third t_outtab_item = gt_temp_third EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_four t_outtab_item = gt_temp_four EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_five t_outtab_item = gt_temp_five EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_six t_outtab_item = gt_temp_six EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_seven t_outtab_item = gt_temp_seven EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_eight t_outtab_item = gt_temp_eight EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_nine t_outtab_item = gt_temp_nine EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo1 it_fieldcat = lt_fcat3 it_events = lt_evts_1 i_tabname_header = 'RGPSA_CALC_PROCESS_ALV4' i_tabname_item = 'RGPSA_CALC_PROCESS_ALV3' is_keyinfo = ls_key is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab_header = gt_header_ten t_outtab_item = gt_temp_ten EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV4' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV3' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layo it_fieldcat = lt_fcat1 it_events = lt_evts_1 is_print = ls_prnt I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab = gt_temp_last EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV5' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo11 it_fieldcat = lt_fcat11 it_events = lt_evts_11 is_print = ls_prnt11 it_except_qinfo = gt_exc I_SUPPRESS_EMPTY_DATA = 'X' TABLES t_outtab = gt_temp_outtab1 EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV6' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'RGPSA_CALC_PROCESS_ALV7' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' IMPORTING et_events = ct_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = gs_layo11 it_fieldcat = lt_fcat11 it_sort = lt_sort it_events = lt_evts_11 is_print = ls_prnt11 it_except_qinfo = gt_exc TABLES t_outtab = gt_temp_outtab2 EXCEPTIONS program_error = 1 OTHERS = 2.
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 RGPSA_CALC_PROCESS or its description.
RGPSA_CALC_PROCESS - PSA Calculation RGPSA_CALC_PROCESS - PSA Calculation RGPSA_CALC_PROC - PSA Calculation Process RGPSA_CALC_PRINT_FORMS_ALV - Create the ledger entries including partner split RGPSA_CALC_PRINT_FORMS - Include for printing calcualtion result RGPSA_CALC_PLAN - PSA Calculation - Plan