RMOT024E 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 RMOT024E 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: Program RMOT024E
Text Symbol: 001 = Exit Assignment ;;
Text Symbol: 002 = Unsaved data will be lost
Text Symbol: 003 = Are you sure you want to cancel? ;;
Text Symbol: 004 = Delete Assignments
Text Symbol: 008 = Purchasing Orgs
Text Symbol: 010 = Company Code
Text Symbol: 012 = Company Codes
Text Symbol: 021 = Do you want to save your data? ;;
Text Symbol: 022 = Assignments were changed ;;
Text Symbol: 050 = * No name *
Text Symbol: 100 = Company code & does not exist ;;
Text Symbol: 200 = Incorrect
Text Symbol: 300 = Should all assignments to the company code
Text Symbol: 301 = be deleted?
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'T024E' varkey = varkey EXCEPTIONS foreign_lock = 4 system_failure = 8.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING tabname = 'T001' varkey = varkey EXCEPTIONS foreign_lock = 4 system_failure = 8.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING titel = text-001 textline1 = text-002 textline2 = text-003 IMPORTING answer = answer.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' "#EC * EXPORTING titel = text-001 textline1 = text-022 textline2 = text-021 IMPORTING answer = answer.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING iv_category = 'CUST' iv_cli_dep = 'X' IMPORTING ev_order = w_order ev_task = w_task EXCEPTIONS invalid_category = 01 no_correction_selected = 02.
TR_APPEND_TO_COMM_OBJS_KEYS CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' EXPORTING " WI_SIMULATION = ' ' " WI_SUPPRESS_KEY_CHECK = ' ' wi_trkorr = w_task TABLES wt_e071 = t_e071 wt_e071k = t_e071k EXCEPTIONS key_char_in_non_char_field = 01 key_check_keysyntax_error = 02 key_inttab_table = 03 key_longer_field_but_no_generc = 04 key_missing_key_master_fields = 05 key_missing_key_tablekey = 06 key_non_char_but_no_generic = 07 key_no_key_fields = 08 key_string_longer_char_key = 09 key_table_has_no_fields = 10 key_table_not_activ = 11 key_unallowed_key_function = 12 key_unallowed_key_object = 13 key_unallowed_key_objname = 14 key_unallowed_key_pgmid = 15 key_without_header = 16 ob_check_obj_error = 17 ob_devclass_no_exist = 18 ob_empty_key = 19 ob_generic_objectname = 20 ob_ill_delivery_transport = 21 ob_ill_lock = 22 ob_ill_parts_transport = 23 ob_ill_source_system = 24 ob_ill_system_object = 25 ob_ill_target = 26 ob_inttab_table = 27 ob_local_object = 28 ob_locked_by_other = 29 ob_modif_only_in_modif_order = 30 ob_name_too_long = 31 ob_no_append_of_corr_entry = 32 ob_no_append_of_c_member = 33 ob_no_consolidation_transport = 34 ob_no_original = 35 ob_no_shared_repairs = 36 ob_no_systemname = 37 ob_no_systemtype = 38 ob_no_tadir = 39 ob_no_tadir_not_lockable = 40 ob_privat_object = 41 ob_repair_only_in_repair_order = 42 ob_reserved_name = 43 ob_syntax_error = 44 ob_table_has_no_fields = 45 ob_table_not_activ = 46 tr_enqueue_failed = 47 tr_errors_in_error_table = 48 tr_ill_korrnum = 49 tr_lockmod_failed = 50 tr_lock_enqueue_failed = 51 tr_not_owner = 52 tr_no_systemname = 53 tr_no_systemtype = 54 tr_order_not_exist = 55 tr_order_released = 56 tr_order_update_error = 57 tr_wrong_order_type = 58 ob_invalid_target_system = 59 tr_no_authorization = 60 ob_wrong_tabletyp = 61 ob_wrong_category = 62 ob_system_error = 63 ob_unlocal_objekt_in_local_ord = 64 tr_wrong_client = 65 ob_wrong_client = 66 key_wrong_client = 67.
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' "#EC * EXPORTING defaultoption = 'Y' objectvalue = field text_after = text-301 text_before = text-300 titel = text-004 IMPORTING answer = answer EXCEPTIONS text_too_long = 01.
DOCU_GET_SHORTTEXT CALL FUNCTION 'DOCU_GET_SHORTTEXT' EXPORTING id = 'NA' langu = sy-langu object = 'CZ106' typ = 'E' IMPORTING shorttxt = message.
DOKU_OBJECT_SHOW CALL FUNCTION 'DOKU_OBJECT_SHOW' EXPORTING dokclass = 'NA' doklangu = sy-langu dokname = 'CZ106' doktitle = message TABLES links = table EXCEPTIONS object_not_found = 01 sapscript_error = 02.
TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = int_ko200 IMPORTING we_ko200 = int_ko200 we_object_appendable = object_appendable TABLES wt_e071k = int_e071k EXCEPTIONS cancel_edit_other_error = 1 show_only_other_error = 2 OTHERS = 3.
TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING wi_order = wi_order wi_ko200 = int_ko200 IMPORTING we_order = wi_order * WE_TASK = we_ko200 = int_ko200 TABLES wt_e071k = int_e071k.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.