SAP Reports / Programs | Cross-Application Components | General Application Functions | Business Application Support(CA-GTF-BS) SAP CA

CNV_00001_SELSIM_F SAP ABAP INCLUDE - FORMs for ORACLE Database Accesses







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


INCLUDES used within this REPORT CNV_00001_SELSIM_F

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:

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = pd_jobcount job_read_jobname = pd_jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = ls_job_hdr EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_pf_status_set = 'STATUS_SET_MAIN' i_callback_user_command = 'USER_COMMAND_MAIN' is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = gt_sort i_tabname_header = 'H' i_tabname_item = 'I' is_keyinfo = ls_keyinfo TABLES t_outtab_header = pt_job_hdr t_outtab_item = pt_job EXCEPTIONS program_error = 1 OTHERS = 2.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = 'CAGTFBS' subobject = 'CONVERSION' external_number = 'CNV_00001_SEL_SIMULATE' * OBJECT_ATTRIBUTE = 0 * SUBOBJECT_ATTRIBUTE = 0 * EXTERNAL_NUMBER_ATTRIBUTE = 0 date_from = sy-datum time_from = '000000' date_to = sy-datum time_to = '235959' * TITLE_SELECTION_SCREEN = ' ' title_list_screen = syst-title * COLUMN_SELECTION = '11112221122 ' suppress_selection_dialog = 'X' * COLUMN_SELECTION_MSG_JUMP = '1' * EXTERNAL_NUMBER_DISPLAY_LENGTH = 100 * IMPORTING * NUMBER_OF_PROTOCOLS = EXCEPTIONS no_authority = 1 OTHERS = 2.

EDITOR_PROGRAM CALL FUNCTION 'EDITOR_PROGRAM' EXPORTING display = 'X' program = ls_job-progname EXCEPTIONS OTHERS = 1.

CNV_INT_SCHEME_INSTANTIATE CALL FUNCTION 'CNV_INT_SCHEME_INSTANTIATE' EXPORTING calling_program = sy-cprog scheme_program = gc_scheme_prog scheme_name = gc_scheme_name TABLES result_tab = lt_coding EXCEPTIONS schemeprog_not_found = 1 scheme_not_found = 2 scheme_syntax_error = 3 generate_error = 4 forced_linesplit = 5 table_not_exists = 6 OTHERS = 7.

EDITOR_SYNTAX_CHECK CALL FUNCTION 'EDITOR_SYNTAX_CHECK' EXPORTING i_program = ps_job-progname * I_TRDIR = ' ' IMPORTING o_error_line = ld_line o_error_message = ld_msg o_error_subrc = ps_result-subrc TABLES i_source = lt_coding EXCEPTIONS OTHERS = 1.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_test_modus = space wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'PROG' wi_tadir_obj_name = ld_objname wi_tadir_devclass = ld_devclass wi_set_genflag = 'T' EXCEPTIONS OTHERS = 1.

CNV_INT_PACKAGE_GET CALL FUNCTION 'CNV_INT_PACKAGE_GET' IMPORTING packid = ld_packid EXCEPTIONS active_package_not_found = 1 OTHERS = 2.

CNV_INT_PACKAGE_SET CALL FUNCTION 'CNV_INT_PACKAGE_SET' EXPORTING packid = gp_pack EXCEPTIONS OTHERS = 1.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = ps_job-jobcount job_read_jobname = ps_job-jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = ls_job_hdr EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.

BP_JOB_READ CALL FUNCTION 'BP_JOB_READ' EXPORTING job_read_jobcount = pd_jobcount job_read_jobname = pd_jobname job_read_opcode = btc_read_jobhead_only IMPORTING job_read_jobhead = ls_job_hdr EXCEPTIONS invalid_opcode = 1 job_doesnt_exist = 2 job_doesnt_have_steps = 3 OTHERS = 4.

BP_JOB_DELETE CALL FUNCTION 'BP_JOB_DELETE' EXPORTING jobcount = pd_jobcount jobname = pd_jobname forcedmode = 'X' EXCEPTIONS cant_delete_event_entry = 1 cant_delete_job = 2 cant_delete_joblog = 3 cant_delete_steps = 4 cant_delete_time_entry = 5 cant_derelease_successor = 6 cant_enq_predecessor = 7 cant_enq_successor = 8 cant_enq_tbtco_entry = 9 cant_update_predecessor = 10 cant_update_successor = 11 commit_failed = 12 jobcount_missing = 13 jobname_missing = 14 job_does_not_exist = 15 job_is_already_running = 16 no_delete_authority = 17 OTHERS = 18.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = pd_jobcount jobname = pd_jobname strtimmed = pd_immediate pred_jobcount = ls_jobcount_previous pred_jobname = ls_jobname_previous EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = pd_jobname IMPORTING jobcount = pd_jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING * IM_AREA = IM_LEVEL = 'PACKAGE' IM_ACTIVITY = '03' * IM_MSGTY = * IM_MSGID = * IM_MSGNO = * IM_MSGV1 = * IM_MSGV2 = * IM_MSGV3 = * IM_MSGV4 = EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2 .

CNV_00001_POPUP_CHOOSE_VALUE CALL FUNCTION 'CNV_00001_POPUP_CHOOSE_VALUE' EXPORTING p_title = text-002 p_column_title = text-003 p_multiple = 'X' IMPORTING p_answer = ld_answ TABLES p_values = lt_table p_sel_values = lt_chosen_table EXCEPTIONS OTHERS = 1.

CNV_MBT_AUTHORITY_CHECK CALL FUNCTION 'CNV_MBT_AUTHORITY_CHECK' EXPORTING * IM_AREA = IM_LEVEL = 'PACKAGE' IM_ACTIVITY = '03' * IM_MSGTY = * IM_MSGID = * IM_MSGNO = * IM_MSGV1 = * IM_MSGV2 = * IM_MSGV3 = * IM_MSGV4 = EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2 .

APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = ld_balhdri.

APPL_LOG_WRITE_SINGLE_MESSAGE





CALL FUNCTION 'APPL_LOG_WRITE_SINGLE_MESSAGE' EXPORTING object = 'CAGTFBS' subobject = 'CONVERSION' MESSAGE = ld_balmi update_or_insert = 'I' EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.

APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = 'CAGTFBS' subobject = 'CONVERSION' TABLES object_with_lognumber = lt_balnri EXCEPTIONS object_not_found = 1 subobject_not_found = 2 internal_error = 3 OTHERS = 4.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = 'CAGTFBS' subobject = 'CONVERSION' external_number = 'CNV_00001_SEL_SIMULATE' * OBJECT_ATTRIBUTE = 0 * SUBOBJECT_ATTRIBUTE = 0 * EXTERNAL_NUMBER_ATTRIBUTE = 0 date_from = sy-datum time_from = '000000' date_to = sy-datum time_to = '235959' * TITLE_SELECTION_SCREEN = ' ' title_list_screen = syst-title * COLUMN_SELECTION = '11112221122 ' suppress_selection_dialog = 'X' * COLUMN_SELECTION_MSG_JUMP = '1' * EXTERNAL_NUMBER_DISPLAY_LENGTH = 100 * IMPORTING * NUMBER_OF_PROTOCOLS = EXCEPTIONS no_authority = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = pd_title text_question = pd_question IMPORTING answer = pd_answ EXCEPTIONS text_not_found = 1 OTHERS = 2.



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