SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | ArchiveLink(BC-SRV-ARL) SAP BC

OATESTFORM SAP ABAP Report - SAP ArchiveLink: Storing outgoing documents with form







OATESTFORM 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 OATESTFORM 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 OATESTFORM. "Basic submit
SUBMIT OATESTFORM AND RETURN. "Return to original report after report execution complete
SUBMIT OATESTFORM 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: DOC_TYPE = Document type
Selection Text: CUST_ID = Customer number
Selection Text: FROM_D = Archiving date from
Selection Text: OBJ_TYPE = Object type
Selection Text: UNTIL_D = Archiving date to
Title: SAP ArchiveLink: Storing outgoing documents with form
Text Symbol: 001 = Store with form
Text Symbol: 002 = Form archiving test
Text Symbol: 003 = Store or print request generated.
Text Symbol: 004 = Form test
Text Symbol: 005 = Form archiving test
Text Symbol: 006 = Form test


INCLUDES used within this REPORT OATESTFORM

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:

GET_PRINT_PARAMETERS call function 'GET_PRINT_PARAMETERS' exporting * destination = * copies = list_name = 'oatestform' list_text = 'Test Formulare'(006) mode = mode immediately = 'X' release = 'X' new_list_id = 'X' expiration = days sap_cover_page = 'D' receiver = sy-uname * department = '' sap_object = sap_obj ar_object = ar_obj archive_mode = '2' " only archiving archive_info = info(3) archive_text = 'Test Formulararchivierung'(005) no_dialog = ' ' importing out_parameters = prparams out_archive_parameters = arparams exceptions archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3.

OPEN_FORM call function 'OPEN_FORM' exporting application = 'TX' archive_index = toa_dara archive_params = arparams device = 'PRINTER' dialog = ' ' * form = 'S_FORM_TEST_02' language = sy-langu options = pr_opt * MAIL_SENDER = ' ' * MAIL_RECIPIENT = ' ' * MAIL_APPL_OBJECT = ' ' * RAW_DATA_INTERFACE = '*' importing * LANGUAGE = new_archive_params = arparams exceptions canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 mail_options = 6 archive_error = 7 others = 8.

ARCHIV_GET_CONNECTIONS call function 'ARCHIV_GET_CONNECTIONS' exporting objecttype = obj_type * OBJECT_ID = client = sy-mandt * ARCHIV_ID = * ARC_DOC_ID = documenttype = doc_type from_ar_date = from_d until_ar_date = until_d * documentclass = * DEL_DATE = * IMPORTING * COUNT = tables connections = i_connections exceptions nothing_found = 1 others = 2.

START_FORM call function 'START_FORM' exporting archive_index = toa_dara form = 'S_FORM_TEST_02' language = sy-langu * STARTPAGE = ' ' * PROGRAM = ' ' * MAIL_APPL_OBJECT = ' ' * IMPORTING * LANGUAGE = exceptions form = 1 format = 2 unended = 3 unopened = 4 unused = 5 others = 6.

END_FORM call function 'END_FORM' exceptions unopened = 1 bad_pageformat_for_print = 2 others = 3.

CLOSE_FORM call function 'CLOSE_FORM' exceptions unopened = 1 bad_pageformat_for_print = 2 others = 3.

WRITE_FORM call function 'WRITE_FORM' exporting element = i_element function = 'SET' type = 'BODY' window = 'MAIN' * IMPORTING * PENDING_LINES = exceptions element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 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 OATESTFORM or its description.