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

CNV_TDMS_09_EXP_CREATE_PROGRAM SAP ABAP Report - Create programs in expert mode (drop-solution)







CNV_TDMS_09_EXP_CREATE_PROGRAM 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_09_EXP_CREATE_PROGRAM 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_09_EXP_CREATE_PROGRAM. "Basic submit
SUBMIT CNV_TDMS_09_EXP_CREATE_PROGRAM AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_TDMS_09_EXP_CREATE_PROGRAM 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_DEL = Delete old programs
Selection Text: GP_SLETT = Distinguish. letter prog name
Selection Text: GP_UNCND = Create even with syntax error
Selection Text: GS_TABS = Table name
Selection Text: P_ACT_ID = Actvity ID
Selection Text: P_PACK = Package ID
Selection Text: P_PHASE = Phase
Title: Create programs in expert mode (drop-solution)
Text Symbol: 001 = Choice of programs for generation - expert mode
Text Symbol: 002 = Attributes of the programs for generation
Text Symbol: 003 = Program handling
Text Symbol: 004 = Expert mode
Text Symbol: 005 = Deletion program for Table &1
Text Symbol: 006 = Test run - no change to DB
Text Symbol: 010 = Continue generation?
Text Symbol: 011 = Continue generation anyway?
Text Symbol: 012 = Program for recreating deletion program(s) successfully scheduled.
Text Symbol: 020 = Old programs are deleted.


INCLUDES used within this REPORT CNV_TDMS_09_EXP_CREATE_PROGRAM

INCLUDE CNV_MBT_SM_CONSTANTS .
INCLUDE CNV_MBT_SM_MACROS.
INCLUDE CNV_TDMS_PROTMESS_TOP.


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_TDMS_SET_GET_STATE CALL FUNCTION 'CNV_TDMS_SET_GET_STATE' EXPORTING gd_packid = p_pack gd_phase = p_phase gd_act_id = p_act_id EXCEPTIONS insert_error = 1 rfc_error = 2 OTHERS = 3.

CNV_MBT_L_STATE_INIT CALL FUNCTION 'CNV_MBT_L_STATE_INIT' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id EXCEPTIONS OTHERS = 1.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = gc_rcv_system IMPORTING destination_id = gd_rcv_destid EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.

CNV_TDMS_09_CHECK_OLD_PROGS CALL FUNCTION 'CNV_TDMS_09_CHECK_OLD_PROGS' DESTINATION gd_rcv_destid EXPORTING pack_id = p_pack letter = gp_slett IMPORTING old_programs = gd_old_programs.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-011 titel = text-010 IMPORTING answer = gd_slett_decision EXCEPTIONS OTHERS = 1.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = gc_program_1 * IMPORTING * SP = TABLES selection_table = gt_sel_table .

CNV_MBT_PC_PROG_START_BGR CALL FUNCTION 'CNV_MBT_PC_PROG_START_BGR' DESTINATION gd_rcv_destid EXPORTING progname = gc_program TABLES lt_params = gt_sel_table EXCEPTIONS program_does_not_exist = 1 no_authority = 2 scheduling_error = 3 OTHERS = 4 .

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 OTHERS = 1.



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