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

CNV_MBT_WRITE_BEHAVIOUR_CHANGE SAP ABAP Report - Trouble Shooting: Change write behaviour of failed conv objects







CNV_MBT_WRITE_BEHAVIOUR_CHANGE 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 CNV_MBT_WRITE_BEHAVIOUR_CHANGE 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_WRITE_BEHAVIOUR_CHANGE. "Basic submit
SUBMIT CNV_MBT_WRITE_BEHAVIOUR_CHANGE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_MBT_WRITE_BEHAVIOUR_CHANGE 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: P_PACK = Package
Title: Trouble Shooting: Change write behaviour of failed conv objects
Text Symbol: 001 = Save settings
Text Symbol: 002 = Package
Text Symbol: 003 = Yes
Text Symbol: 004 = No
Text Symbol: 005 = Some objects are not activated yet.
Text Symbol: 006 = Do you want to activate them now?
Text Symbol: 007 = Activate settings
Text Symbol: 008 = Positionate


INCLUDES used within this REPORT CNV_MBT_WRITE_BEHAVIOUR_CHANGE

INCLUDE CNV_MBT_SM_MACROS.


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_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'C' IMPORTING destination_id = gd_centerdest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.

DTL_MT_STATUS_CHECK CALL FUNCTION 'DTL_MT_STATUS_CHECK' DESTINATION gd_centerdest EXPORTING i_mt_id = gd_mtid i_process_step = 'L' TABLES et_mt_status = gt_cobjs_not_loaded.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'CNV_MBT_WRITE' value = ls_dd07v-domvalue_l IMPORTING dd07v_wa = ls_dd07v EXCEPTIONS OTHERS = 1.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = 'CNV_MBT_WRITE' value = ls_dd07v-domvalue_l IMPORTING dd07v_wa = ls_dd07v EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_DATA_LOSS CALL FUNCTION 'POPUP_TO_CONFIRM_DATA_LOSS' EXPORTING * DEFAULTOPTION = 'J' titel = text-001 * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = ld_answer EXCEPTIONS OTHERS = 1.

POPUP_TO_DECIDE CALL FUNCTION 'POPUP_TO_DECIDE' EXPORTING textline1 = text-005 textline2 = text-006 text_option1 = text-003 text_option2 = text-004 titel = text-007 cancel_display = 'X' IMPORTING answer = ld_answer.

CNV_MBT_DOCU_ACTIVITY CALL FUNCTION 'CNV_MBT_DOCU_ACTIVITY' EXPORTING iv_activity_id = p_act_id EXCEPTIONS activity_not_exists = 1 document_id_not_exists = 2 OTHERS = 3.

POPUP_TO_GET_VALUE CALL FUNCTION 'POPUP_TO_GET_VALUE' EXPORTING fieldname = 'CONVOBJECT' tabname = 'CNVMBTCOBJ' titel = text-008 valuein = ld_value IMPORTING answer = ld_answer valueout = ld_value EXCEPTIONS fieldname_not_found = 1 OTHERS = 2.

CNV_MBT_PACK_ACTIVE_CHECK CALL FUNCTION 'CNV_MBT_PACK_ACTIVE_CHECK' EXPORTING packid = p_pack IMPORTING phase = p_phase EXCEPTIONS packid_does_not_exist = 1 packid_is_not_active = 2 subproject_invalid_or_initial = 3 OTHERS = 4.

CNV_MBT_L_STATE_INSERT CALL FUNCTION 'CNV_MBT_L_STATE_INSERT' EXPORTING im_packid = p_pack im_phase = p_phase im_activity = p_act_id im_only_initial = 'X' EXCEPTIONS insert_failed = 1 connection_failed = 2 OTHERS = 3.

DTL_MT_WRITE_BEHAVIOUR_CHANGE CALL FUNCTION 'DTL_MT_WRITE_BEHAVIOUR_CHANGE' DESTINATION gd_centerdest EXPORTING i_mt_id = gd_mtid i_packid = p_pack i_session_id = gd_sess_id i_acc_prec_id = ld_accplan IMPORTING e_lognumber = gd_lognumber e_status = gd_dtl_status TABLES it_tables = lt_change EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.

CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = p_pack TABLES im_cnvmbtsubstate = gt_substate EXCEPTIONS OTHERS = 1.

CNV_MBT_PARAMS_MODIFY CALL FUNCTION 'CNV_MBT_PARAMS_MODIFY' EXPORTING packid = p_pack local = 'X' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 rfc_calling_error = 2 rfc_destination_error = 3 OTHERS = 4.

CNV_MBT_PARAMS_DEL CALL FUNCTION 'CNV_MBT_PARAMS_DEL' EXPORTING packid = p_pack local = 'X' del_all_valnums = 'X' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 entry_not_found = 2 rfc_destination_error = 3 rfc_calling_error = 4 OTHERS = 5.

CNV_MBT_PARAMS_WRITE CALL FUNCTION 'CNV_MBT_PARAMS_WRITE' EXPORTING packid = p_pack local = 'X' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 rfc_calling_error = 2 rfc_destination_error = 3 OTHERS = 4.

CNV_MBT_PARAMS_READ CALL FUNCTION 'CNV_MBT_PARAMS_READ' EXPORTING packid = p_pack local = 'X' paramname = 'PC002_WRITE_BEHAVIOUR_GLOBAL_SETTING' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 entry_not_found = 2 rfc_destination_error = 3 rfc_calling_error = 4 OTHERS = 5 .

CNV_MBT_PARAMS_READ CALL FUNCTION 'CNV_MBT_PARAMS_READ' EXPORTING packid = gd_pack_orig local = 'X' paramname = 'PC002_WRITE_BEHAVIOUR_GLOBAL_SETTING' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 entry_not_found = 2 rfc_destination_error = 3 rfc_calling_error = 4 OTHERS = 5.

CNV_MBT_PARAMS_MODIFY CALL FUNCTION 'CNV_MBT_PARAMS_MODIFY' EXPORTING packid = p_pack local = 'X' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 rfc_calling_error = 2 rfc_destination_error = 3 OTHERS = 4.

CNV_MBT_PARAMS_READ





CALL FUNCTION 'CNV_MBT_PARAMS_READ' EXPORTING packid = p_pack local = 'X' all_params = '' paramname = 'PC002_WRITE_BEHAVIOUR_INACTIVE_OBJECTS' TABLES paratab = gt_cnvmbtparams EXCEPTIONS action_failed = 1 entry_not_found = 2 rfc_destination_error = 3 rfc_calling_error = 4 OTHERS = 5 .



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