SAP Reports / Programs

LSVIMF1S SAP ABAP INCLUDE - documentation and ABAP source code







LSVIMF1S 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 LSVIMF1S 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 LSVIMF1S. "Basic submit
SUBMIT LSVIMF1S AND RETURN. "Return to original report after report execution complete
SUBMIT LSVIMF1S 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 LSVIMF1S

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:

VIM_TR_OBJECTS_CHECK CALL FUNCTION 'VIM_TR_OBJECTS_CHECK' * exporting * IV_NO_SHOW_OPTION = 'X' IMPORTING WE_ORDER = cuiorder WE_TASK = cuitask WE_OBJECTS_APPENDABLE = cu_appendable TABLES wt_ko200 = cu_ko200_tab WT_E071K = corr_keytab * TT_TADIR = EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 3 .

TR_OBJECTS_CHECK * CALL FUNCTION 'TR_OBJECTS_CHECK' ** exporting ** IV_NO_SHOW_OPTION = 'X' * IMPORTING * we_order = cuiorder * we_task = cuitask * we_objects_appendable = cu_appendable * TABLES * wt_ko200 = cu_ko200_tab * wt_e071k = corr_keytab * EXCEPTIONS * cancel_edit_other_error = 1 * show_only_other_error = 2 * OTHERS = 3.

TR_CHECK_TYPE CALL FUNCTION 'TR_CHECK_TYPE' EXPORTING wi_e071 = e071 IMPORTING we_tadir = cu_tadir we_category = cu_category.

TRINT_GET_REQUEST_TYPE CALL FUNCTION 'TRINT_GET_REQUEST_TYPE' * UF041099 inserted instead of TRINT_CHECK_ORDER_TYPE EXPORTING iv_pgmid = e071-pgmid iv_object = e071-object iv_obj_name = e071-obj_name iv_category = cu_category is_tadir = cu_tadir is_tdevc = cu_tdevc * IV_USE_MEMORY = 'X' IMPORTING ev_request_type = cu_order_type ev_task_type = cu_task_type * EV_TARGET = EXCEPTIONS internal_error = 1 no_request_needed = 2 cts_initialization_failure = 3 OTHERS = 4.

TRINT_ORDER_CHOICE CALL FUNCTION 'TRINT_ORDER_CHOICE' EXPORTING wi_order_type = cu_order_type wi_task_type = cu_task_type wi_category = cu_category wi_cli_dep = space IMPORTING we_order = -order_nbr we_task = -corr_nbr TABLES wt_e071 = cu_e071_tab wt_e071k = corr_keytab EXCEPTIONS no_correction_selected = 1 display_mode = 2 object_append_error = 3 recursive_call = 4 OTHERS = 5.

ENQUEUE_E_TRKORR CALL FUNCTION 'ENQUEUE_E_TRKORR' EXPORTING trkorr = -corr_nbr * X_TRKORR = E02 EXCEPTIONS foreign_lock = 01 system_failure = 02.

TR_EC_CUST_ORIG_LANG CALL FUNCTION 'TR_EC_CUST_ORIG_LANG' EXPORTING it_objects = lt_edt_objects iv_checkmode = ' ' iv_dialog = 'X' CHANGING ct_keys = cu_corr_keyhtb EXCEPTIONS cancel = 1 display_only = 2 OTHERS = 3.

TRINT_APPEND_TO_COMM_ARRAYS CALL FUNCTION 'TRINT_APPEND_TO_COMM_ARRAYS' EXPORTING wi_trkorr = cu_last_corr TABLES wt_e071 = cu_e071_htb wt_e071k = cu_corr_keyhtb wt_trmess_int = cu_trmess wt_trpar_int = cu_trpar EXCEPTIONS OTHERS = 08.

TR_APPEND_TO_COMM_OBJS_KEYS * CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' * EXPORTING ** WI_SIMULATION = ' ' ** WI_SUPPRESS_KEY_CHECK = ' ' * wi_trkorr = e071-trkorr * tables * wt_e071 = cu_e071_htb * wt_e071k = cu_corr_keyhtb * EXCEPTIONS * KEY_CHAR_IN_NON_CHAR_FIELD = 1 * KEY_CHECK_KEYSYNTAX_ERROR = 2 * KEY_INTTAB_TABLE = 3 * KEY_LONGER_FIELD_BUT_NO_GENERC = 4 * KEY_MISSING_KEY_MASTER_FIELDS = 5 * KEY_MISSING_KEY_TABLEKEY = 6 * KEY_NON_CHAR_BUT_NO_GENERIC = 7 * KEY_NO_KEY_FIELDS = 8 * KEY_STRING_LONGER_CHAR_KEY = 9 * 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 * OTHERS = 68 * .

TR_EC_CUST_ORIG_LANG CALL FUNCTION 'TR_EC_CUST_ORIG_LANG' EXPORTING it_objects = lt_edt_objects iv_checkmode = ' ' iv_dialog = 'X' CHANGING ct_keys = cu_corr_keyhtb EXCEPTIONS cancel = 1 display_only = 2 OTHERS = 3.

TRINT_APPEND_TO_COMM_ARRAYS CALL FUNCTION 'TRINT_APPEND_TO_COMM_ARRAYS' EXPORTING wi_trkorr = e071-trkorr TABLES wt_e071 = cu_e071_htb wt_e071k = cu_corr_keyhtb wt_trmess_int = cu_trmess wt_trpar_int = cu_trpar * EXCEPTIONS * OTHERS = 08.

TRINT_DELETE_COMM_KEYS CALL FUNCTION 'TRINT_DELETE_COMM_KEYS' EXPORTING wi_e071 = e071 wi_trkorr = -corr_nbr TABLES wt_e071k = cu_e071k_tab EXCEPTIONS e070_update_error = 01 keys_protected = 02 order_already_released = 03 unallowed_ordertyp = 04 user_not_owner = 05 wrong_client = 06.

TRINT_DELETE_COMM_OBJECT_KEYS CALL FUNCTION 'TRINT_DELETE_COMM_OBJECT_KEYS' EXPORTING is_e071_delete = e071 iv_dialog_flag = ' ' * IMPORTING * ET_NEW_LOCKS = CHANGING cs_request = cu_request EXCEPTIONS OTHERS = 8.

TR_OBJECTS_INSERT * CALL FUNCTION 'TR_OBJECTS_INSERT' * EXPORTING ** WI_ORDER = -ORDER_NBR * wi_order = corr_for_insert * IMPORTING * we_order = -order_nbr * we_task = -corr_nbr * TABLES * wt_ko200 = cu_ko200_tab * wt_e071k = corr_keytab * EXCEPTIONS * cancel_edit_other_error = 4 * show_only_other_error = 6 * OTHERS = 8.

VIM_TR_OBJECTS_INSERT CALL FUNCTION 'VIM_TR_OBJECTS_INSERT' EXPORTING WI_ORDER = corr_for_insert IMPORTING WE_ORDER = -order_nbr WE_TASK = -corr_nbr TABLES wt_ko200 = cu_ko200_tab WT_E071K = corr_keytab * TT_TADIR = EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 4 SHOW_ONLY_OTHER_ERROR = 6 OTHERS = 8 .



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