CPE_RCOMMFOR 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 CPE_RCOMMFOR 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: TEST_RUN = Test run without update
Selection Text: P_SPROJ = Subproject
Selection Text: P_PROJ = Project
Selection Text: P_OBJ = Object
Selection Text: LDS_NAME = File name
Title: Transfer of CPE Customizing Formulas
Text Symbol: 019 = Some of the formulas already exist in the system
Text Symbol: 018 = Not all formulas found in file are saved in system
Text Symbol: 017 = Total no of customizing formulas found in textfile
Text Symbol: 016 = No of new period determination rules found in file
Text Symbol: 015 = Keys of generated period determination rules (PERIODDETRULE)
Text Symbol: 014 = No of period determination rules created
Text Symbol: 013 = No of new surcharge rules found in file
Text Symbol: 012 = Keys of generated surcharge rules (SURCHARGERULE)
Text Symbol: 011 = No of surcharge rules created
Text Symbol: 010 = No of new CPE terms found in file
Text Symbol: 009 = Keys of generated CPE terms (TERMID)
Text Symbol: 008 = No of CPE terms created
Text Symbol: 007 = No of new CPE customizing formulas found in file
Text Symbol: 006 = Keys of generated CPE formulas (FORMID)
Text Symbol: 005 = No of CPE customizing formulas created
Text Symbol: 004 = Log details
Text Symbol: 003 = Processing options
Text Symbol: 002 = Logical file
Text Symbol: 001 = LSMW project information
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = lds_name IMPORTING file_name = convfile EXCEPTIONS file_not_found = 01.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = lds_name CHANGING physical_filename = convfile EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
CPE_FORMULA_READ_ALL_CB CALL FUNCTION 'CPE_FORMULA_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_formula = gt_db_cpec_formula et_formula_t = gt_db_cpec_formula_t EXCEPTIONS OTHERS = 0.
CPE_FORMCONV_READ_ALL_CB CALL FUNCTION 'CPE_FORMCONV_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_formconv = gt_db_cpec_formconv EXCEPTIONS OTHERS = 0.
CPE_FORMROUND_READ_ALL_CB CALL FUNCTION 'CPE_FORMROUND_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_formround = gt_db_cpec_formround EXCEPTIONS OTHERS = 0.
CPE_TERMGRP_READ_ALL_CB CALL FUNCTION 'CPE_TERMGRP_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_termgrp = gt_db_cpec_termgrp EXCEPTIONS OTHERS = 0.
CPE_TERM_READ_ALL_CB CALL FUNCTION 'CPE_TERM_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_term = gt_db_cpec_term EXCEPTIONS OTHERS = 0.
CPE_TERMCONV_READ_ALL_CB CALL FUNCTION 'CPE_TERMCONV_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_termconv = gt_db_cpec_termconv EXCEPTIONS OTHERS = 0.
CPE_TERMROUND_READ_ALL_CB CALL FUNCTION 'CPE_TERMROUND_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_termround = gt_db_cpec_termround EXCEPTIONS OTHERS = 0.
CPE_TERMRULE_READ_ALL_CB CALL FUNCTION 'CPE_TERMRULE_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_termrule = gt_db_cpec_termrule EXCEPTIONS OTHERS = 0.
CPE_SURCHARGE_READ_ALL_CB CALL FUNCTION 'CPE_SURCHARGE_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_surcharge = gt_db_cpec_surcharge EXCEPTIONS OTHERS = 0.
CPE_PERIODDET_READ_ALL_CB CALL FUNCTION 'CPE_PERIODDET_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_perioddet = gt_db_cpec_perioddet EXCEPTIONS OTHERS = 0.
CPE_CONVERSION_READ_ALL_CB CALL FUNCTION 'CPE_CONVERSION_READ_ALL_CB' EXPORTING iv_validto = lv_max_validto IMPORTING et_conversion = gt_db_cpec_conversion EXCEPTIONS OTHERS = 0.
CPE_CONVERSION_UPDATE_DU CALL FUNCTION 'CPE_CONVERSION_UPDATE_DU' EXPORTING it_conversion_ins = gt_cpec_conversion it_convers_t_ins = gt_cpec_conversion_t.
CPE_PERIODDET_UPDATE_DU CALL FUNCTION 'CPE_PERIODDET_UPDATE_DU' EXPORTING it_perioddet_ins = gt_cpec_perioddet it_perioddet_t_ins = gt_cpec_perioddet_t.
CPE_SURCHARGE_UPDATE_DU CALL FUNCTION 'CPE_SURCHARGE_UPDATE_DU' EXPORTING it_surcharge_ins = gt_cpec_surcharge it_surcharge_t_ins = gt_cpec_surcharge_t.
CPE_TERM_UPDATE_DU CALL FUNCTION 'CPE_TERM_UPDATE_DU' EXPORTING it_term_ins = gt_cpec_term it_term_t_ins = gt_cpec_term_t.
CPE_TERMRULE_UPDATE_DU CALL FUNCTION 'CPE_TERMRULE_UPDATE_DU' EXPORTING it_termrule_ins = gt_cpec_termrule it_termrule_t_ins = gt_cpec_termrule_t.
CALL FUNCTION 'CPE_TERMCONV_UPDATE_DU' EXPORTING it_termconv_ins = gt_cpec_termconv.
CPE_TERMROUND_UPDATE_DU CALL FUNCTION 'CPE_TERMROUND_UPDATE_DU' EXPORTING it_termround_ins = gt_cpec_termround.
CPE_FORMULA_UPDATE_DU CALL FUNCTION 'CPE_FORMULA_UPDATE_DU' EXPORTING it_formula_ins = gt_cpec_formula it_formula_t_ins = gt_cpec_formula_t.
CPE_FORMCONV_UPDATE_DU CALL FUNCTION 'CPE_FORMCONV_UPDATE_DU' EXPORTING it_formconv_ins = gt_cpec_formconv.
CPE_FORMROUND_UPDATE_DU CALL FUNCTION 'CPE_FORMROUND_UPDATE_DU' EXPORTING it_formround_ins = gt_cpec_formround.
CPE_TERMGRP_UPDATE_DU CALL FUNCTION 'CPE_TERMGRP_UPDATE_DU' EXPORTING it_termgrp_ins = gt_cpec_termgrp.
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = lv_funcname EXCEPTIONS function_not_exist = 1 OTHERS = 2.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
TEXT_SPLIT CALL FUNCTION 'TEXT_SPLIT' EXPORTING length = 50 text = text-015 IMPORTING line = line1 rest = line2.
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 CPE_RCOMMFOR or its description.