CNV_TDMS_CRM_STATE_AGENT_DTL 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_CRM_STATE_AGENT_DTL into the relevant SAP transactions such as SE38 or SE80
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.
Title: State Agent DTL
INCLUDE CNV_MBT_SM_PARAMS .
No SAP DATABASE tables are accessed within this REPORT code!
CNV_MBT_L_STATE_GET CALL FUNCTION 'CNV_MBT_L_STATE_GET' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id IMPORTING state_tec = gd_state_tec aborted = gd_aborted EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = gd_cnvmbtstate-jobcount job_read_jobname = gd_cnvmbtstate-jobname job_read_opcode = 19 IMPORTING job_read_jobhead = ld_jobhead EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.
CNV_MBT_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_UPDATE CALL FUNCTION 'CNV_MBT_L_STATE_UPDATE' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id aborted = gd_cnvmbtstate-aborted EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_L_STATE_REFRESH CALL FUNCTION 'CNV_MBT_L_STATE_REFRESH' TABLES im_cnvmbtstate = gt_cnvmbtstate.
BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = gd_substate-jobcount job_read_jobname = gd_substate-jobname job_read_opcode = '19' IMPORTING job_read_jobhead = ld_jobhead EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.
CNV_MBT_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_UPDATE CALL FUNCTION 'CNV_MBT_L_STATE_UPDATE' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id aborted = 'X' EXCEPTIONS update_failed = 1 OTHERS = 2.
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.
CNV_MBT_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_COMPLETION CALL FUNCTION 'CNV_MBT_L_STATE_COMPLETION' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id proc_total = ld_total proc_compl = ld_completed EXCEPTIONS update_failed = 1 OTHERS = 2.
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_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_UPDATE CALL FUNCTION 'CNV_MBT_L_STATE_UPDATE' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id state_log = gd_state_log aborted = gd_aborted EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_DMS_FMID_SYNC CALL FUNCTION 'CNV_MBT_DMS_FMID_SYNC' EXPORTING i_packid = p_pack EXCEPTIONS function_not_exist = 1 failed_reading = 2 insert_failed = 3 OTHERS = 4.
CNV_MBT_PC_ACTIVITY_START CALL FUNCTION 'CNV_MBT_PC_ACTIVITY_START' EXPORTING PACKID = p_pack PHASE = p_phase ACTIVITY_ID = p_act_id AND_RETURN = '' EXCEPTIONS TRANSACTION_DOES_NOT_EXIST = 1 PROGRAM_DOES_NOT_EXIST = 2 NO_AUTHORITY = 3 SCHEDULING_ERROR = 4 VARIANT_NOT_MAINTAINED = 5 DESTINATION_NOT_MAINT = 6 ACTIVITY_LOG_ERROR = 7 START_NOT_POSSIBLE = 8 OTHERS = 9.
CALL FUNCTION 'CNV_MBT_L_PROTOCOL_READ' EXPORTING lognumber = gd_substate-lognumber IMPORTING ex_maxseverity = ld_state_log ex_starttime = ld_starttime ex_endtime = gd_substate-endtime EXCEPTIONS no_log_found = 1 OTHERS = 2.
CNV_MBT_L_PROTOCOL_READ CALL FUNCTION 'CNV_MBT_L_PROTOCOL_READ' EXPORTING lognumber = gd_substate-lognumber IMPORTING ex_starttime = gd_substate-starttime EXCEPTIONS no_log_found = 1 OTHERS = 2.
CNV_MBT_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_COMPLETION CALL FUNCTION 'CNV_MBT_L_STATE_COMPLETION' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id proc_total = ld_total proc_compl = ld_completed EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_PC_ACTPARAMS_GET CALL FUNCTION 'CNV_MBT_PC_ACTPARAMS_GET' EXPORTING packid = p_pack activity_id = p_act_id variant = gd_variant TABLES t_ex_act_params = lt_actparams EXCEPTIONS no_actparams = 1 OTHERS = 2.
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_CRM_STATE_AGENT_DTL or its description.
CNV_TDMS_CRM_STATE_AGENT_DTL - State Agent DTL CNV_TDMS_CRM_STATE_AGENT_DTL - State Agent DTL CNV_TDMS_CRM_SCEN_SO - TDMS CRM: Program to create Sales Order Scenario CNV_TDMS_CRM_SCEN_SO - TDMS CRM: Program to create Sales Order Scenario CNV_TDMS_CRM_SCEN_MM - Program CNV_TDMS_CRM_SCEN_MM: Create scenario for material master CNV_TDMS_CRM_SCEN_MM - Program CNV_TDMS_CRM_SCEN_MM: Create scenario for material master