SAP Reports / Programs

J_8AFMT1 SAP ABAP Report - Test outgoing document with formsoverlay







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


Text pool values


Selection Text: AROBJECT = Document Type
Selection Text: FORM = Form
Selection Text: SAPOBJ = SAP Business Object
Title: Test outgoing document with formsoverlay
Text Symbol: 001 = Error: Archive Info not found!
Text Symbol: 002 = Printed Text: spool id = "
Text Symbol: 003 = "
Text Symbol: 004 = Test notice
Text Symbol: 005 = Test for Archive
Text Symbol: 010 = Error: There should be exactly one entry in the link table
Text Symbol: 011 = Please wait some time, Document is not yet stored!
Text Symbol: 012 = Error: archiving outgoing document
Text Symbol: 013 = Error: No active form available!
Text Symbol: 014 = F4 Help : Forms name


INCLUDES used within this REPORT J_8AFMT1

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:

J_8AFM_GET_SMART_FORM call function 'J_8AFM_GET_SMART_FORM' exporting * CLIENT = SY-MANDT code = '0000' layout_set = form * VERSION = ' ' importing form_arch_id = toa_dara-formarchiv form_doc_id = toa_dara-form_id return_code = l_rc exceptions code_does_not_exist = 1 form_does_not_exist = 2 version_does_not_exist = 3 others = 4 .

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = '01' object = 'ARCHIVELNK' * QUANTITY = '1' * subobject = 'AA' * TOYEAR = '0000' * IGNORE_BUFFER = ' ' importing number = l_number * QUANTITY = * RETURNCODE = exceptions interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 buffer_overflow = 7 others = 8 .

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' "get print-parameters exporting archive_info = info(3) archive_mode = '2' archive_text = l_archive_text "LLSAPS-1938 ar_object = arobject authority = '_' copies = count cover_page = '_' data_set = '_' * department = 'BPT' * destination = 'LT48' expiration = days immediately = 'X' * in_archive_parameters = ' ' * in_parameters = ls_in_para * layout = 'X_65_80' * line_count = 60 * line_size = 80 list_name = 'oalines' list_text = text-004 mode = mode new_list_id = 'X' no_dialog = 'X' receiver = sy-uname release = 'X' report = 'OACONTA2' sap_cover_page = 'D' sap_object = sapobj type = '_' importing out_archive_parameters = a_parameters out_parameters = p_parameters valid = valid exceptions archive_info_not_found = 1.

READ_TEXT call function 'READ_TEXT' "get text exporting client = sy-mandt id = text_id language = language name = textname object = 'TEXT' importing header = header tables lines = lines exceptions id = 01 language = 02 name = 03 not_found = 04 object = 05 reference_check = 06.

PRINT_TEXT call function 'PRINT_TEXT' "print text exporting application = 'TX' archive_index = toa_dara archive_params = a_parameters device = 'PRINTER' dialog = ' ' header = header options = options importing new_archive_params = a_parameters result = result tables lines = lines exceptions canceled = 01 device = 02 form = 03 options = 04 unclosed = 05 unknown = 06.

ARCHIV_GET_CONNECTIONS call function 'ARCHIV_GET_CONNECTIONS' exporting objecttype = sapobj object_id = toa_dara-object_id * CLIENT = * ARCHIV_ID = * ARC_DOC_ID = documenttype = arobject * FROM_AR_DATE = * UNTIL_AR_DATE = SY-DATUM * DOCUMENTCLASS = * DEL_DATE = * LIMITED = importing count = l_count * REDUCEDBYLIMIT = * REDUCEDBYAUTHORITY = tables connections = lt_connections exceptions nothing_found = 1 others = 2 .

ARCHIVOBJECT_DISPLAY call function 'ARCHIVOBJECT_DISPLAY' exporting archiv_doc_id = ls_connection-arc_doc_id * ARCHIV_DOC_INDEX = ' ' archiv_id = ls_connection-archiv_id * OBJECTTYPE = ' ' * OBJECT_ID = ' ' * AR_OBJECT = ' ' * LANGUAGE = ' ' * SIGN = ' ' * WINDOW_ID = ' ' * WINDOW_TITLE = ' ' * DOC_TYPE = ' ' * POSITIONINALFFILE = ' ' * NOGET = ' ' * PATHOFFILE = ' ' * EOF = ' ' * DALENGTH = ' ' * PFSTATUS = ' ' * REPORT = ' ' * MULTIPLE = ' ' * IMPORTING * RETURNCODE = * TABLES * DISPDOCS = exceptions error_archiv = 1 error_communicationtable = 2 error_kernel = 3 others = 4 .

DYNP_GET_STEPL CALL FUNCTION 'DYNP_GET_STEPL' IMPORTING povstepl = lv_stepl EXCEPTIONS OTHERS = 0.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'LAYOUT_SET' dynpprog = lv_program dynpnr = lv_dynpro dynprofield = 'FORM' stepl = lv_stepl window_title = 'TEST' value_org = 'S' TABLES value_tab = lt_value_tab EXCEPTIONS PARAMETER_ERROR = 1 NO_VALUES_FOUND = 2 OTHERS = 3.

HELP_VALUES_GET_WITH_DD_TABLE * call function 'HELP_VALUES_GET_WITH_DD_TABLE' * exporting ** FIELDNAME = ' ' ** FIELDTABNAME = ' ' * SELECTFIELD = 2 ** SHFIELDS = '123456789000000000' ** TABKEY = '*' * tabname = 'J_8AFM' ** TITLE_IN_LIST_POPUP = ' ' ** SHOW_ALL_VALUES_AT_FIRST_TIME = ' ' ** SHOW_VALUES = 'X' * IMPORTING * SELECTVALUE = form ** TABLES ** SELECTED_VALUES = ** RETURN_STRUCTURE = * EXCEPTIONS * FIELD_NOT_IN_DDIC = 1 * MORE_THEN_ONE_SELECTFIELD = 2 * NO_SELECTFIELD = 3 * TABLE_NOT_IN_DDIC = 4 * DATABASE_ERROR = 5 * OTHERS = 6 * .



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