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

CNV_MBT_MT_DEFINE SAP ABAP Report - PCL Define Masstransfer-ID







CNV_MBT_MT_DEFINE 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_MT_DEFINE 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_MT_DEFINE. "Basic submit
SUBMIT CNV_MBT_MT_DEFINE AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_MBT_MT_DEFINE 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: GP_COBJ = Conversion objects
Selection Text: P_ACT_ID =
Selection Text: P_EXPERT =
Selection Text: P_PACK =
Selection Text: P_PHASE =
Selection Text: P_REDEF = Redefine conversion objects
Title: PCL Define Masstransfer-ID
Text Symbol: 001 = Expert mode
Text Symbol: 002 = Confirm deletion
Text Symbol: 003 = Redefine &1 Migration objects?


INCLUDES used within this REPORT CNV_MBT_MT_DEFINE

INCLUDE CNV_MBT_SM_PARAMS.
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_EXISTENCE_CHECK CALL FUNCTION 'DTL_EXISTENCE_CHECK' DESTINATION gd_centerdest EXPORTING i_objecttype = '3' i_object = gd_mtid EXCEPTIONS object_not_found = 1 invalid_objecttype = 2 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 3.

DTL_MT_DEFINE CALL FUNCTION 'DTL_MT_DEFINE' DESTINATION gd_centerdest EXPORTING im_mt_id = gd_cnvmbtsubproject-mtid im_descript = gd_cnvmbtsubproject-description im_subproject = gd_cnvmbtsubproject-subproject im_write_behaviour = gd_write_behaviour_global im_blocksize = gd_blocksize_global i_reading_type = gd_reading_type_global i_max_portion_acpl = gd_max_port_global i_table_max_parall = gd_max_paral_global im_packid = p_pack im_session_id = gd_sess_id i_tadir = 'X' IMPORTING ex_lognumber = gd_lognumber ex_status = gd_dtl_status TABLES it_tables = gt_tables EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-002 text_question = gd_popup default_button = '2' display_cancel_button = 'X' IMPORTING answer = gd_answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = gd_jobname IMPORTING jobcount = gd_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = gd_jobcount jobname = gd_jobname strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

CNV_MBT_L_PROTOCOL_WRITE_DB CALL FUNCTION 'CNV_MBT_L_PROTOCOL_WRITE_DB'.

CNV_MBT_PCL_EXPERT CALL FUNCTION 'CNV_MBT_PCL_EXPERT' IMPORTING is_expert = ld_expert EXCEPTIONS OTHERS = 1.

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

ENQUEUE_ECNVMBTSUB CALL FUNCTION 'ENQUEUE_ECNVMBTSUB' * EXPORTING * MODE_CNVMBTSUBPROJECT = 'E' * CLIENT = SY-MANDT * SUBPROJECT = * X_SUBPROJECT = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

DTL_EXISTENCE_CHECK CALL FUNCTION 'DTL_EXISTENCE_CHECK' DESTINATION gd_centerdest EXPORTING i_objecttype = '3' i_object = gd_mtid EXCEPTIONS object_not_found = 1 invalid_objecttype = 2 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 3.

DEQUEUE_ECNVMBTSUB CALL FUNCTION 'DEQUEUE_ECNVMBTSUB'.

CNV_MBT_RFC_GET * CALL FUNCTION 'CNV_MBT_RFC_GET' * EXPORTING * packid = p_pack * all_as_table = 'X' * none_at_local_dest = 'X' * TABLES * desttab = lt_destinations * EXCEPTIONS * no_destinations_for_packid = 1 * no_specific_destination_type = 2 * get_system_info_failure = 3 * rfc_failure = 4 * system_info_has_changed = 5 * login_not_possible = 6 * OTHERS = 7.

CNV_MBT_ADM_MTID_SYNC * CALL FUNCTION 'CNV_MBT_ADM_MTID_SYNC' * DESTINATION ld_destination-destination_id * EXPORTING * mode = 'R' * TABLES * t_cnvmbtusedmtids = lt_local.

CNV_MBT_ADM_MTID_SYNC * CALL FUNCTION 'CNV_MBT_ADM_MTID_SYNC' * DESTINATION ld_destination-destination_id * EXPORTING * mode = 'W' * TABLES * t_cnvmbtusedmtids = lt_global.

CNV_MBT_PARAMS_READ CALL FUNCTION 'CNV_MBT_PARAMS_READ' EXPORTING packid = p_pack local = 'X' paramname = ld_pname 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 = ld_pname 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.



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