INCL_CPE_CALCRULE 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 INCL_CPE_CALCRULE 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.
Title: Include INCL_CPE_CALCRULE
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING * filename = 'C:\CPE_TEST_BASIS\calcrule.txt'
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING * filename = 'C:\CPE_TEST_BASIS\calcrule_mod.txt'
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING * filename = 'C:\CPE_TEST_BASIS\calcrule_text.txt'
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING * filename = 'C:\CPE_TEST_BASIS\calcrule_textmod.txt'
CPE_CALCRULE_UPDATE_DU CALL FUNCTION 'CPE_CALCRULE_UPDATE_DU' EXPORTING it_calcrule_ins = lt_calcrule_file it_calcrule_t_ins = lt_calcrule_t_file EXCEPTIONS OTHERS = 1.
CPE_CALCRULE_READ_CB CALL FUNCTION 'CPE_CALCRULE_READ_CB' EXPORTING iv_logsys = ls_calcrule_file-logsys iv_calcrule = ls_calcrule_file-calcrule iv_validto = ls_calcrule_file-validto iv_langu = sy-langu iv_no_buffer = 'X' IMPORTING es_calcrule = ls_calcrule_prog ev_ruletext = ls_calcrule_t_prog-ruletext EXCEPTIONS not_found = 1 OTHERS = 2.
CPE_CALCRULE_UPDATE_DU CALL FUNCTION 'CPE_CALCRULE_UPDATE_DU' EXPORTING it_calcrule_upd = lt_calcrule_modfile it_calcrule_t_upd = lt_calcrule_t_modfile EXCEPTIONS OTHERS = 1.
CPE_CALCRULE_UPDATE_DU CALL FUNCTION 'CPE_CALCRULE_UPDATE_DU' EXPORTING it_calcrule_del = lt_calcrule_modfile it_calcrule_t_del = lt_calcrule_t_modfile EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.