SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

CNV_MBT_RULESDEF_RULECODING SAP ABAP INCLUDE - Include CNV_MBT_RULESDEF_RULECODING







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


Text pool values


Title: Include CNV_MBT_RULESDEF_RULECODING


INCLUDES used within this REPORT CNV_MBT_RULESDEF_RULECODING

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:

CNV_MBT_RULE_CODE_CREATE CALL FUNCTION 'CNV_MBT_RULE_CODE_CREATE' EXPORTING iv_include_name = gv_include_name iv_include_desc = lv_include_descr iv_scenario = gv_scenario TABLES xt_initial = gt_rule_coding EXCEPTIONS prog_not_created = 1 OTHERS = 2.

CNV_MBT_RULE_CODE_SAVE CALL FUNCTION 'CNV_MBT_RULE_CODE_SAVE' EXPORTING iv_packid = p_pack iv_include_name = gv_include_name iv_rule_name = gv_rule_name TABLES xt_rule_coding = gt_rule_coding CHANGING xv_include_state = gv_include_state EXCEPTIONS cancelled = 1 permission_failure = 2 OTHERS = 3.

CNV_MBT_RULE_CODE_LOCK CALL FUNCTION 'CNV_MBT_RULE_CODE_LOCK' EXPORTING iv_include_name = gs_cnvmbtrules-include_name IMPORTING ex_mode = lv_mode EXCEPTIONS prog_no_exist = 1 OTHERS = 2.

CNV_MBT_RULE_CODE_UNLOCK CALL FUNCTION 'CNV_MBT_RULE_CODE_UNLOCK' EXPORTING iv_include_name = gv_include_name EXCEPTIONS code_unlock_failure = 1.

CNV_MBT_RULE_CODE_ACTIVATE CALL FUNCTION 'CNV_MBT_RULE_CODE_ACTIVATE' EXPORTING iv_include_name = gs_cnvmbtrules-include_name.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING defaultoption = gc_1 textline1 = text-046 textline2 = text-049 text_option1 = 'Activate anyway'(047) text_option2 = 'Process error'(048) titel = 'Error during activation'(045) start_column = 25 start_row = 6 cancel_display = gc_x IMPORTING answer = lv_ans EXCEPTIONS OTHERS = 0.

CNV_MBT_RULE_CODE_ACTIVATE CALL FUNCTION 'CNV_MBT_RULE_CODE_ACTIVATE' EXPORTING iv_include_name = gs_cnvmbtrules-include_name.

CNV_MBT_RULE_CODE_READ CALL FUNCTION 'CNV_MBT_RULE_CODE_READ' EXPORTING iv_packid = p_pack iv_include_name = is_cnvmbtrules-include_name TABLES xt_rule_coding = gt_rule_coding CHANGING xv_include_state = lv_state EXCEPTIONS program_does_not_exist = 1 OTHERS = 2.

CNV_MBT_RULE_CODE_SYNTAX_CHECK CALL FUNCTION 'CNV_MBT_RULE_CODE_SYNTAX_CHECK' EXPORTING iv_rulename = is_cnvmbtrules-rulename iv_include_name = is_cnvmbtrules-include_name * +lambas iv_ruletype = is_cnvmbtrules-ruletype IMPORTING ev_error_include = gv_error_include ev_error_line = gv_error_line ev_error_message = gv_error_message ev_error_offset = gv_error_offset ev_error_subrc = gv_error_subrc ev_word = gv_word TABLES xt_rule_coding = gt_rule_coding xt_cnvmbtrulepars = gt_cnvmbtrulepars EXCEPTIONS OTHERS = 0.

POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = repid txt2 = space txt1 = text-020.

CNV_MBT_RULE_CODE_READ CALL FUNCTION 'CNV_MBT_RULE_CODE_READ' EXPORTING iv_packid = p_pack iv_include_name = gs_cnvmbtrules-include_name iv_rule_name = gs_cnvmbtrules-rulename TABLES xt_rule_coding = gt_rule_coding CHANGING xv_include_state = gv_include_state EXCEPTIONS program_does_not_exist = 1 OTHERS = 2.

CNV_MBT_RULE_CODE_HEAD CALL FUNCTION 'CNV_MBT_RULE_CODE_HEAD' EXPORTING iv_comment_mode = gc_x TABLES xt_line = lt_rule_coding xt_cnvmbtrulepars = gt_cnvmbtrulepars EXCEPTIONS no_params = 1 OTHERS = 2.

CALL FUNCTION lv_line1 = 'CALL FUNCTION'.

CALL FUNCTION lv_line1 = 'CALL FUNCTION'.



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