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

CNV_TDMS_05_ACTIVATE_HEADER SAP ABAP Report - Check source RFC client against target RFC client







CNV_TDMS_05_ACTIVATE_HEADER 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_TDMS_05_ACTIVATE_HEADER 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_TDMS_05_ACTIVATE_HEADER. "Basic submit
SUBMIT CNV_TDMS_05_ACTIVATE_HEADER AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_TDMS_05_ACTIVATE_HEADER 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: GD_DEST = PCL Destination
Selection Text: P_ACT_ID = Activity ID
Selection Text: P_BTM = BI: Time-Based Reduction
Selection Text: P_CTM = CRM: Time-Based Reduction
Selection Text: P_PACK = Migration Package
Selection Text: P_PHASE = Phase ID
Selection Text: P_SCT = SCM: Time-Based Reduction
Selection Text: P_TCC = ERP: Time and Co. Code Redn
Selection Text: P_TIM = ERP: Time-Based Reduction
Selection Text: P_TSR = SRM: Time-Based Reduction
Title: Check source RFC client against target RFC client


INCLUDES used within this REPORT CNV_TDMS_05_ACTIVATE_HEADER

INCLUDE CNV_MBT_SM_PARAMS.
INCLUDE CNV_TDMS_PROTMESS_TOP.
INCLUDE CNV_TDMS_PROTMESS.
INCLUDE CNV_TDMS_CONSTANTS.
INCLUDE CNV_TDMS_05_ACTIVATE_HEADER_D.


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_INIT CALL FUNCTION 'CNV_MBT_L_STATE_INIT' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' * ALL_AS_TABLE = 'X' IMPORTING destination_id = gd_dest * TABLES * DESTTAB = EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.

CNV_TDMS_05_ACTIVATE_HEADER CALL FUNCTION 'CNV_TDMS_05_ACTIVATE_HEADER' DESTINATION gd_dest TABLES tablelist = gt_tables.

CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' all_as_table = '' none_at_local_dest = '' IMPORTING destination_id = lv_destination_sender EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 OTHERS = 6.

CNV_MBT_DD_GET CALL FUNCTION 'CNV_MBT_DD_GET' DESTINATION lv_destination_sender EXPORTING sel_dd02l = 'X' TABLES et_dd02l = lt_dd02l it_tables = lt_tables.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack * EXEC_TARGET = all_as_table = 'X' * NONE_AT_LOCAL_DEST = 'X' * IMPORTING * DESTINATION_ID = gv_dest_snd TABLES desttab = gt_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 OTHERS = 6.

CNV_TDMS_AUTHORITY_CHECK CALL FUNCTION 'CNV_TDMS_AUTHORITY_CHECK' DESTINATION wa_desttab-destination_id EXPORTING object = gc_dmc_auth_object field1 = gc_dmc_auth_field value1 = gc_dmc_auth_field_val_read EXCEPTIONS user_dont_exist = 1 user_is_authorized = 2 user_not_authorized = 3 user_is_locked = 4 OTHERS = 5.

CNV_TDMS_AUTHORITY_CHECK CALL FUNCTION 'CNV_TDMS_AUTHORITY_CHECK' DESTINATION wa_desttab-destination_id EXPORTING object = gc_dmc_auth_object field1 = gc_dmc_auth_field value1 = gc_dmc_auth_field_val_write EXCEPTIONS user_dont_exist = 1 user_is_authorized = 2 user_not_authorized = 3 user_is_locked = 4 OTHERS = 5.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'R' all_as_table = '' none_at_local_dest = '' IMPORTING destination_id = lv_destination_receiver EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 OTHERS = 6.

CNV_TDMS_05_DB_REC * CALL FUNCTION 'CNV_TDMS_05_DB_REC' * DESTINATION lv_destination_receiver * EXPORTING * paramnam = lv_param * IMPORTING * cur_parvalue = lv_current_val * logmode = lv_logmode.

CNV_TDMS_05_DB_REC CALL FUNCTION 'CNV_TDMS_05_DB_REC' DESTINATION lv_destination_receiver EXPORTING paramnam = lv_param IMPORTING * DEF_PARVALUE = * PRF_PARVALUE = cur_parvalue = lv_current_val logmode = lv_logmode EXCEPTIONS communication_failure = 1 MESSAGE gv_msg system_failure = 2 MESSAGE gv_msg OTHERS = 3.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' all_as_table = '' none_at_local_dest = '' IMPORTING destination_id = lv_destination_sender EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 OTHERS = 6.

CNV_TDMS_05_CLUSTER_CHECK CALL FUNCTION 'CNV_TDMS_05_CLUSTER_CHECK' DESTINATION gd_dest TABLES lt_table = gt_table.

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .



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