SAP Reports / Programs | Student Accounting | Student Accounting | Student Accounting(IS-HER-CM-AC) SAP IS

RCMAC_FEE_CALC SAP ABAP Report - Fee Calculation Test Program







RCMAC_FEE_CALC 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 RCMAC_FEE_CALC into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

CMAC_FEE_CALC - Fee Calculation Report


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 RCMAC_FEE_CALC. "Basic submit
SUBMIT RCMAC_FEE_CALC AND RETURN. "Return to original report after report execution complete
SUBMIT RCMAC_FEE_CALC 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: SL_CDATE = Calculation Date
Selection Text: SL_FGRP = Calculation Base
Selection Text: SL_PERD = Fee Calculation Period
Selection Text: SL_STID = Object ID of Student
Title: Fee Calculation Test Program
Text Symbol: 001 = Total
Text Symbol: 002 = Parameter(s)


INCLUDES used within this REPORT RCMAC_FEE_CALC

INCLUDE SBAL_CONSTANTS.


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:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CMSTID' value_org = 'S' TABLES value_tab = lt_student return_tab = lt_return EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'CMPERSL' value_org = 'S' TABLES value_tab = lt_student return_tab = lt_return EXCEPTIONS OTHERS = 0.

CMAC_FEE_CONTROL_GET CALL FUNCTION 'CMAC_FEE_CONTROL_GET' EXPORTING iv_period_key = sl_perd iv_fee_group = sl_fgrp * IV_XPOST = iv_calcdate = sl_cdate iv_xdisplay = 'X' iv_xtest = 'X' * IV_XMINPUT = * IV_PMODE = CHANGING cs_fee_control = ls_fee_calc_control EXCEPTIONS no_data_found = 1 OTHERS = 2.

CMAC_FEE_TREE_INIT CALL FUNCTION 'CMAC_FEE_TREE_INIT' EXPORTING is_cmac_st = ls_stinfo IMPORTING et_fee_tree = lt_fee_tree CHANGING cs_fee_ctrl = ls_fee_calc_control EXCEPTIONS procedure_not_found = 1 tree_read_error = 2 OTHERS = 3.

CMAC_FEE_CALC_INIT CALL FUNCTION 'CMAC_FEE_CALC_INIT' TABLES ct_scinfo = lt_scinfo ct_sminfo = lt_sminfo CHANGING cs_stinfo = ls_stinfo EXCEPTIONS student_data_error = 1 program_data_error = 2 module_data_error = 3 OTHERS = 4.

CMAC_FEE_CALCULATE CALL FUNCTION 'CMAC_FEE_CALCULATE' EXPORTING is_cmac_st = ls_stinfo is_fee_ctrl = ls_fee_calc_control TABLES it_cmac_sc = lt_scinfo it_cmac_sm = lt_sminfo it_period = lt_period ct_log_tab = lt_error_msg CHANGING ct_cmac_fee_tree = lt_fee_tree EXCEPTIONS fee_procedure_error = 1 calendar_read_error = 2 pricing_error = 3 OTHERS = 4.

CMAC_FEE_DISPLAY CALL FUNCTION 'CMAC_FEE_DISPLAY' EXPORTING is_stinfo = ls_stinfo it_fee_tree = lt_fee_tree TABLES it_scinfo = lt_scinfo it_sminfo = lt_sminfo it_period = lt_period et_error = lt_error_msg CHANGING is_fee_control = ls_fee_calc_control EXCEPTIONS system_error = 1 currency_conversion_error = 2 bp_get_error = 3 OTHERS = 4.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = cs_stinfo-cmcompcode IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 1.

FKK_ACCOUNT_DETERMINE CALL FUNCTION 'FKK_ACCOUNT_DETERMINE' EXPORTING i_tfk033d = ls_tfk033d * I_DO_NOT_USE_BUFFER = ' ' * I_ONLY_SIMULATION = ' ' IMPORTING e_tfk033d = ls_tfk033d EXCEPTIONS error_in_input_data = 1 nothing_found = 2.

FKK_ACCOUNT_DETERMINE_PC02 CALL FUNCTION 'FKK_ACCOUNT_DETERMINE_PC02'.

HRIQ_READ_PERIOD_KEY_INFO CALL FUNCTION 'HRIQ_READ_PERIOD_KEY_INFO' DESTINATION lv_log_sys EXPORTING iv_period_key = ps_stinfo-cmpersl IMPORTING et_period_key = ct_period.

ALE_BAPI_GET_UNIQUE_RECEIVER CALL FUNCTION 'ALE_BAPI_GET_UNIQUE_RECEIVER' EXPORTING object = $rhpo_object method = $rhpo_method IMPORTING receiver = ls_receivers TABLES filterobjects_values = ls_filterobjects_values EXCEPTIONS error_in_filterobjects = 1 error_in_ale_customizing = 2 not_unique_receiver = 3 no_rfc_destination_maintained = 4 OTHERS = 5.

MASS_MESSAGE_GET CALL FUNCTION 'MASS_MESSAGE_GET' EXPORTING sprsl = sy-langu arbgb = lv_arbgb msgnr = lv_msgnr msgv1 = pt_error_tab-msgv1 msgv2 = pt_error_tab-msgv2 msgv3 = pt_error_tab-msgv3 msgv4 = pt_error_tab-msgv4 IMPORTING msgtext = ls_error_output-text EXCEPTIONS OTHERS = 1.

MASS_MESSAGE_GET * CALL FUNCTION 'MASS_MESSAGE_GET' * EXPORTING * sprsl = sy-langu * arbgb = lv_arbgb * msgnr = lv_msgnr * msgv1 = pt_error_tab-msgv1 * msgv2 = pt_error_tab-msgv2 * msgv3 = pt_error_tab-msgv3 * msgv4 = pt_error_tab-msgv4 * IMPORTING * msgtext = lv_msgtext * EXCEPTIONS ** message_not_found = 1 ** OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_bypassing_buffer = 'X' i_structure_name = 'PIQ_ERROR_STRUCTURE_DISP' is_layout = ls_layout_alv it_fieldcat = lt_fieldcat is_print = ls_print_attr TABLES t_outtab = gt_error_output EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'PIQ_ERROR_STRUCTURE_DISP' CHANGING ct_fieldcat = p_lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.



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