SAP Reports / Programs

MJ8AFI03 SAP ABAP INCLUDE - include mj8afi03







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


Text pool values


Title: include mj8afi03


INCLUDES used within this REPORT MJ8AFI03

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:

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = text-120 * TEXTLINE2 = TEXT-120 titel = text-020 IMPORTING answer = answer.

J_8AFM_ARCHIVE_WITH_SCAN CALL FUNCTION 'J_8AFM_ARCHIVE_WITH_SCAN' EXPORTING pi_assign_str = t_j_8afn-assign_str pi_arch_id = t_j_8afn-arch_id IMPORTING pe_doc_id = t_j_8afn-doc_id EXCEPTIONS OTHERS = 1.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'LAYOUT_SET' value_org = 'S' display = ' ' TABLES value_tab = t_j_8afls return_tab = lt_return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-400 textline2 = text-110 titel = text-030 IMPORTING answer = answer.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-250 textline2 = text-260 titel = text-040 IMPORTING answer = answer.

J_8AFM_ARCHIVE_WITH_UPLOAD CALL FUNCTION 'J_8AFM_ARCHIVE_WITH_UPLOAD' EXPORTING pi_assign_str = t_j_8afn-assign_str pi_arch_id = t_j_8afn-arch_id pis_fs = ls_fs IMPORTING pe_doc_id = t_j_8afn-doc_id EXCEPTIONS OTHERS = 1.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING environment = ' ' filename = file_path query = 'FE' winid = ' ' IMPORTING return = ret_code EXCEPTIONS inv_query = 01 no_batch = 02.

WS_QUERY * CALL FUNCTION 'WS_QUERY' * EXPORTING * ENVIRONMENT = ' ' * FILENAME = FILE_PATH * QUERY = 'DE' * WINID = ' ' * IMPORTING * RETURN = RET_CODE * EXCEPTIONS * INV_QUERY = 01 * NO_BATCH = 02.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-410 textline2 = text-420 titel = text-040 IMPORTING answer = answer.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = ' ' def_path = default_path mask = default_mask mode = 'O' title = text-240 IMPORTING filename = file_path * RC = EXCEPTIONS inv_winsys = 01 no_batch = 02 selection_cancel = 03 selection_error = 04.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING cucol = 0 curow = 0 display = ' ' fieldname = 'ARCHIV_ID' tabname = 'TOAAR' IMPORTING select_value = l_name2 TABLES fields = i_tabf valuetab = i_values EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

J_8AFM_PREVIEW_LOCAL_FILES CALL FUNCTION 'J_8AFM_PREVIEW_LOCAL_FILES' EXPORTING pi_arch_id = t_j_8afn-arch_id pi_title = window_title psi_fs = ls_fs IMPORTING pe_rc = ret_code EXCEPTIONS OTHERS = 1.

ARCHIVOBJECT_GET_SERVER * CALL FUNCTION 'ARCHIVOBJECT_GET_SERVER' * EXPORTING * ARCHIV_DOC_ID = T_J_8AFN-DOC_ID ** ARCHIV_DOC_INDEX = E02 * ARCHIV_ID = T_J_8AFN-ARCH_ID * PATH = PREFIX ** SIGN = E05 * EXCEPTIONS * ERROR_ARCHIV = 01 * ERROR_COMMUNICATIONTABLE = 02 * ERROR_KERNEL = 03.

ENQUEUE_EJ_8AFM * CALL FUNCTION 'ENQUEUE_EJ_8AFM' * EXPORTING * MODE_J_8AFM = 'E' * MANDT = SY-MANDT * LAYOUT_SET = * CODE = * VERSION = * X_LAYOUT_SET = ' ' * X_CODE = ' ' * X_VERSION = ' ' * _SCOPE = '2' * _WAIT = ' ' * EXCEPTIONS * FOREIGN_LOCK = 1 * SYSTEM_FAILURE = 2 * OTHERS = 3.

ENQUEUE_EJ_8AFM CALL FUNCTION 'ENQUEUE_EJ_8AFM' * EXPORTING * MODE_J_8AFM = 'E' * MANDT = SY-MANDT * LAYOUT_SET = * CODE = * VERSION = * X_LAYOUT_SET = ' ' * X_CODE = ' ' * X_VERSION = ' ' * _SCOPE = '2' * _WAIT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EJ_8AFM * CALL FUNCTION 'DEQUEUE_EJ_8AFM' * EXPORTING * MODE_J_8AFM = 'E' * MANDT = SY-MANDT * LAYOUT_SET = * CODE = * VERSION = * X_LAYOUT_SET = ' ' * X_CODE = ' ' * X_VERSION = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * EXCEPTIONS * OTHERS = 1.

J_8AFM_APPEND_NOTE CALL FUNCTION 'J_8AFM_APPEND_NOTE' EXPORTING pi_assign_str = p_note pi_arch_id = p_archive_id pi_doc_id = p_document_id IMPORTING pe_rc = p_rc EXCEPTIONS OTHERS = 1.

/IXOS/FM_ECR_SERVER_CONFIG CALL FUNCTION '/IXOS/FM_ECR_SERVER_CONFIG' IMPORTING pe_active = g_ecr_active.



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