SAP Reports / Programs

OAARCHLOG04P SAP ABAP Report - Write Program Log Entries of Print Lists







OAARCHLOG04P 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 OAARCHLOG04P 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 OAARCHLOG04P. "Basic submit
SUBMIT OAARCHLOG04P AND RETURN. "Return to original report after report execution complete
SUBMIT OAARCHLOG04P 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: TESTRUN = Deletion Program as Test Run
Selection Text: S_USER = User Name of Recording
Selection Text: S_TIME = Time of Recording
Selection Text: S_REPORT = Report Name
Selection Text: S_OBJECT = Business Object
Selection Text: S_LNR = Sequential No. of Print List
Selection Text: S_KURZ = Short Text of Print List
Selection Text: S_INFO = ID Field of Print List
Selection Text: S_FCT = Log Function
Selection Text: S_DATUM = Storage Date
Selection Text: S_DATE = Date of Recording
Selection Text: S_BENUTZ = Print List Created By
Selection Text: S_AROBJ = Document Type
Selection Text: S_AREA = Log Area
Selection Text: S_AID = Content Repository
Selection Text: S_ADI = Document Key
Selection Text: DEL_FLAG = Delete
Selection Text: BLK_SIZE = Number of Links per Object
Selection Text: ARC_FILE = Write Archive File
Title: Write Program Log Entries of Print Lists
Text Symbol: 003 = Processing Options
Text Symbol: 002 = Selection
Text Symbol: 001 = ArchiveLink Logging Entries for Print Lists


INCLUDES used within this REPORT OAARCHLOG04P

INCLUDE OAARCHLOPPARAM.


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:

ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' EXPORTING call_delete_job_in_test_mode = testrun create_archive_file = arc_file comments = text-001 object = adk_object IMPORTING archive_handle = handle.

ALINK_READ_LOG_PRI call function 'ALINK_READ_LOG_PRI' IMPORTING count = count TABLES logconnp = i_pri parameter = p EXCEPTIONS error_parameter = 1 others = 2.

ARCHIVELOP_ARCHIVE_OBJECT call function 'ARCHIVELOP_ARCHIVE_OBJECT' EXPORTING archive_handle = handle link_entry = wai_docp object_delete_flag = del_flag.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 1 others = 2.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 others = 3.

ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = handle * OBJECT_ID = ' ' exceptions internal_error = 1 wrong_access_to_archive = 2 others = 3 .

ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = handle * IMPORTING * OBJECT_OFFSET = * ARCHIVE_NAME = exceptions file_io_error = 1 internal_error = 2 open_error = 3 termination_requested = 4 wrong_access_to_archive = 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 OAARCHLOG04P or its description.