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

OALINES SAP ABAP Report - Report for generating outgoing documents







OALINES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to create outgoing documents with SAPscript...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter OALINES 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 OALINES. "Basic submit
SUBMIT OALINES AND RETURN. "Return to original report after report execution complete
SUBMIT OALINES 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: IMMEDIAT = Output immediately?
Selection Text: LANGUAGE = Standard text: Language
Selection Text: NODARA = No DARA line?
Selection Text: NODARACO = Blank DARA line?
Selection Text: NOTICE = Note
Selection Text: SAPOBJ = Object type
Selection Text: TEXTNAME = Standard text: Text name
Selection Text: TEXT_ID = Standard text: Text ID
Selection Text: AROBJECT = Document type
Selection Text: DOC = Number of Outgoing Documents
Title: Report for generating outgoing documents
Text Symbol: 001 = No archive information found
Text Symbol: 002 = Spool request
Text Symbol: 003 = was created
Text Symbol: 004 = Outgoing documents
Text Symbol: 005 = Test for archive


INCLUDES used within this REPORT OALINES

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' "get print-parameters exporting archive_info = info(3) archive_mode = '2' archive_text = 'Test für Archiv'(005) ar_object = arobject authority = '_' copies = count cover_page = '_' data_set = '_' * department = 'BPT' * destination = 'LT48' expiration = days immediately = 'X' * in_archive_parameters = ' ' * in_parameters = ' ' * 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_DELETE_META call function 'ARCHIV_DELETE_META' exporting ar_object = arobject delete_flag = 2 object_id = objid sap_object = sapobj documentclass = 'PDF' * IMPORTING * ALL_CONNECTIONS_DELETED = exceptions error_connectiontable = 1 error_parameter = 2 error_archiv = 3 error_kernel = 4 error_communicationtable = 5 error_authority = 6 others = 7.

ARCHIVOBJECT_STATUS call function 'ARCHIVOBJECT_STATUS' exporting archiv_doc_id = adi archiv_id = aid importing archiv_object_status = dok_stat exceptions error_archiv = 1 error_communicationtable = 2 error_kernel = 3 others = 4.



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