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

CNV_MBT_PC_ACT_START SAP ABAP Report - Jobs Starter (activity starter)







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


Text pool values


Title: Jobs Starter (activity starter)


INCLUDES used within this REPORT CNV_MBT_PC_ACT_START

INCLUDE CNV_MBT_SM_MACROS .
INCLUDE CNV_MBT_SUB_SM_MACROS .
INCLUDE: LBTCHDEF,
RSADMKEY.


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_PC_JOBS_REFRESH CALL FUNCTION 'CNV_MBT_PC_JOBS_REFRESH' EXPORTING PACKID = P_PACK PHASE = P_PHASE GEN_FLAG = 'X' EXCEPTIONS JOB_CHECK_ERROR = 1 MODIFY_CNVMBTJOBS_ERROR = 2 GET_RFC_DESTINATION_ERROR = 3 OTHERS = 4.

CNV_MBT_PC_JOBS_GET CALL FUNCTION 'CNV_MBT_PC_JOBS_GET' EXPORTING CRT_TIME_ID = P_CRT_ID GEN_FLAG = 'X' TABLES T_EX_CNVMBTJOBS = GT_CNVMBTJOBS EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.

CNV_MBT_PC_JOBS_GET CALL FUNCTION 'CNV_MBT_PC_JOBS_GET' EXPORTING PACKID = P_PACK PHASE = P_PHASE GEN_FLAG = 'X' TABLES T_EX_CNVMBTJOBS = GT_CNVMBTJOBS EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.

CNV_MBT_PC_JOBS_GET CALL FUNCTION 'CNV_MBT_PC_JOBS_GET' EXPORTING PACKID = P_PACK PHASE = P_PHASE CRT_TIME_ID = GS_CNVMBTJOBS-CRT_TIME_ID ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID GEN_FLAG = '' IMPORTING S_EX_CNVMBTJOBS = GS_CNVMBTJOBS_CURRENT TABLES T_EX_CNVMBTJOBS = GT_CNVMBTJOBS EXCEPTIONS NO_DATA_FOUND = 1 OTHERS = 2.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING PACKID = GS_CNVMBTJOBS-PACKID EXEC_TARGET = GS_ACTIVITY-EXEC_TARGET call_local = 'X' IMPORTING DESTINATION_ID = GV_DESTINATION_ID EXCEPTIONS NO_DESTINATIONS_FOR_PACKID = 1 NO_SPECIFIC_DESTINATION_TYPE = 2 OTHERS = 3.

ENQUEUE_ECNVMBTJOBS CALL FUNCTION 'ENQUEUE_ECNVMBTJOBS' EXPORTING MODE_CNVMBTJOBS = 'E' CLIENT = SY-MANDT PACKID = P_PACK PHASE = P_PHASE CRT_TIME_ID = P_CRT_ID ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING DESTINATION = GV_DESTINATION_ID EXCEPTIONS DESTINATION_NOT_OPEN = 1 OTHERS = 2.

CNV_MBT_PC_JOBS_START CALL FUNCTION 'CNV_MBT_PC_JOBS_START' DESTINATION GV_DESTINATION_ID EXPORTING PACKID = GS_CNVMBTJOBS-PACKID PHASE = GS_CNVMBTJOBS-PHASE ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID EXEC_TARGET = GS_ACTIVITY-EXEC_TARGET SERVER = GS_CNVMBTJOBS-SERVER JOBNAME = GS_CNVMBTJOBS-JOBNAME JOBCOUNT = GS_CNVMBTJOBS-JOBCOUNT CRT_TIME_ID = P_CRT_ID JOBS_FREE_IN = gv_jobs_free_in JOBS_FREE_IN_TOTAL = gv_jobs_free_in_total flag_initial = gv_flag_initial importing JOBS_FREE_out = gv_jobs_free_out JOBS_FREE_out_total = gv_jobs_free_out_total SERVER = GS_CNVMBTJOBS-SERVER FLAG_NEXT_ALLOWED = gv_flag_next EXCEPTIONS GET_FREE_PROCESSE_FAILED = 1 BTC_ABORTED = 2 BTC_FAILED = 3 NO_FREE_PROCESS = 4 JOB_START_FAILED = 5 OTHERS = 6.

DEQUEUE_ECNVMBTJOBS CALL FUNCTION 'DEQUEUE_ECNVMBTJOBS' EXPORTING MODE_CNVMBTJOBS = 'E' CLIENT = SY-MANDT PACKID = P_PACK PHASE = P_PHASE CRT_TIME_ID = P_CRT_ID ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID.

CNV_MBT_PC_JOBS_UPDATE CALL FUNCTION 'CNV_MBT_PC_JOBS_UPDATE' TABLES T_IM_CNVMBTJOBS = GT_CNVMBTJOBS_CURRENT EXCEPTIONS MODIFY_ERROR = 1 OTHERS = 2.

DEQUEUE_ECNVMBTJOBS CALL FUNCTION 'DEQUEUE_ECNVMBTJOBS' EXPORTING MODE_CNVMBTJOBS = 'E' CLIENT = SY-MANDT PACKID = P_PACK PHASE = P_PHASE CRT_TIME_ID = P_CRT_ID ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID.

DEQUEUE_ECNVMBTJOBS CALL FUNCTION 'DEQUEUE_ECNVMBTJOBS' EXPORTING MODE_CNVMBTJOBS = 'E' CLIENT = SY-MANDT PACKID = P_PACK PHASE = P_PHASE CRT_TIME_ID = P_CRT_ID ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID.

CNV_MBT_STATE_GET CALL FUNCTION 'CNV_MBT_STATE_GET' EXPORTING PACKID = p_pack PHASE = p_phase ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID * EXEC_NUM = ALL_AS_TABLE = 'X' * IMPORTING * STATE_TEC = * STATE_LOG = * ABORTED = * LAST_EXEC_NUM = TABLES T_EX_CNVMBTSTATE = gt_check_state * EXCEPTIONS * ENTRY_DOES_NOT_EXIST = 1 * OTHERS = 2 .

DB_COMMIT CALL FUNCTION 'DB_COMMIT' .

DEQUEUE_ECNVMBTJOBS CALL FUNCTION 'DEQUEUE_ECNVMBTJOBS' EXPORTING MODE_CNVMBTJOBS = 'E' CLIENT = SY-MANDT PACKID = P_PACK PHASE = P_PHASE CRT_TIME_ID = P_CRT_ID ACTIVITY_ID = GS_CNVMBTJOBS-ACTIVITY_ID.

CNV_MBT_STATE_INIT CALL FUNCTION 'CNV_MBT_STATE_INIT' EXPORTING PACKID = P_P_PACK PHASE = P_P_PHASE ACTIVITY_ID = P_P_ACTIVITY_ID RESTART = 'X' ONLY_CHECK = 'X' NO_DIALOG = 'X' * IMPORTING * SESSION_ID = * EX_CNVMBTSTATE = * RESTART_MODE = EXCEPTIONS INVALID_STATE_REQUEST = 1 START_NOT_POSSIBLE = 2 INTERNAL_SM_DB_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_PC_ACT_START or its description.