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

CNV_MBT_ACTIVITY_FORMS SAP ABAP INCLUDE - Generic subroutines







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


Text pool values


Title: Generic subroutines


INCLUDES used within this REPORT CNV_MBT_ACTIVITY_FORMS

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_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_EXEC_NUM = im_only_initial = t_yes EXCEPTIONS insert_failed = 1 connection_failed = 2 OTHERS = 3 .

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

CNV_MBT_PARAMS_READ CALL FUNCTION 'CNV_MBT_PARAMS_READ' EXPORTING packid = gd_pack local = '' paramname = gd_param * ALL_PARAMS = '' TABLES paratab = lt_paratab EXCEPTIONS action_failed = 1 entry_not_found = 2 rfc_destination_error = 3 rfc_calling_error = 4 OTHERS = 5 .

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = gd_pack exec_target = 'P' * ALL_AS_TABLE = 'X' none_at_local_dest = '' IMPORTING destination_id = ld_dest_p * TABLES * DESTTAB = 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_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = gd_pack exec_target = 'S' * ALL_AS_TABLE = 'X' none_at_local_dest = '' IMPORTING destination_id = ld_dest_s * TABLES * DESTTAB = 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_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = gd_pack exec_target = 'R' * ALL_AS_TABLE = 'X' none_at_local_dest = '' IMPORTING destination_id = ld_dest_r * TABLES * DESTTAB = 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_PARAMS_WRITE CALL FUNCTION 'CNV_MBT_PARAMS_WRITE' EXPORTING packid = gd_pack * LOCAL = '' TABLES paratab = lt_paratab EXCEPTIONS action_failed = 1 rfc_calling_error = 2 rfc_destination_error = 3 OTHERS = 4 .

CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = p_pack TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS update_failed = 1 no_destination = 2 no_pcl_destination = 3 destination_calling_error = 4 pcl_update_failed = 5 rfc_failure = 6 OTHERS = 7.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

CNV_MBT_L_STATE_GET CALL FUNCTION 'CNV_MBT_L_STATE_GET' EXPORTING packid = lp_pack phase = lp_phase activity_id = lp_ref_activity * EXEC_NUM = all_as_table = 'X' IMPORTING * STATE_TEC = * STATE_LOG = * ABORTED = last_exec_num = ld_last_exec TABLES t_ex_cnvmbtstate = lt_cnvmbtstate EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2 .

CNV_MBT_L_STATE_SESSION_INFO CALL FUNCTION 'CNV_MBT_L_STATE_SESSION_INFO' EXPORTING im_session_id = ld_session_id activity_info = ' ' subactivity_info = 'X' * IMPORTING * EX_CNVMBTSTATE = TABLES * T_IN_SESSION_ID = * T_EX_CNVMBTSTATE = t_ex_cnvmbtsubstate = lt_substate .



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