SAP Reports / Programs

MJ8AFI01 SAP ABAP INCLUDE - include mj8afi01







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


INCLUDES used within this REPORT MJ8AFI01

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:

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

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

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

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

J_8AFM_ARCHIVOBJECT_DISPLAY CALL FUNCTION 'J_8AFM_ARCHIVOBJECT_DISPLAY' EXPORTING pi_arch_id = t_j_8afd-arch_id pi_doc_id = t_j_8afd-doc_id pi_title = title IMPORTING pe_rc = rc EXCEPTIONS OTHERS = 1.

J_8AFM_ARCHIVOBJECT_STATUS CALL FUNCTION 'J_8AFM_ARCHIVOBJECT_STATUS' EXPORTING pi_arch_id = t_j_8afd-arch_id pi_doc_id = t_j_8afd-doc_id IMPORTING pe_form_status = form_status EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-150 textline2 = text-160 titel = text-020 IMPORTING answer = answer.

VIEW_GET_FIELDTAB * CALL FUNCTION 'VIEW_GET_FIELDTAB' * EXPORTING * view_name = view_name * TABLES * fieldtab = structure_table.

TABLE_PRINT_STRUCTURE_KNOWN * CALL FUNCTION 'TABLE_PRINT_STRUCTURE_KNOWN' * EXPORTING * show_selectionscreen = selection * tab_name = view_name * tab_title = title * TABLES * structure_tab = structure_table * work_tab = value_tab.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = l_repid i_structure_name = view_name i_save = 'A' TABLES t_outtab = lt_outtab EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2 .

POPUP_GET_VALUES_USER_CHECKED CALL FUNCTION 'POPUP_GET_VALUES_USER_CHECKED' EXPORTING formname = 'CHECK_MANDT_ARCHIV' popup_title = text-190 programname = 'SAPMJ8AF' start_column = '5' start_row = '5' IMPORTING returncode = rc TABLES fields = t_sval EXCEPTIONS error_in_fields = 01.

J_8AS_GET_MODULE_VERSION * CALL FUNCTION 'J_8AS_GET_MODULE_VERSION' * EXPORTING * P_MODULE = P_MODULE * P_VERSION = P_VERSION * P_SUBVERSION = SPACE * P_DEV_CLASS = P_DEV_CLASS * 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 MJ8AFI01 or its description.