SAP Reports / Programs | Basis Components | Basis Components | Business Configuration Sets(BC-CUS-TOL-BCD) SAP BC

SCPRARCHIVE_READ SAP ABAP Report - Report SCPRARCHIVE_READ







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


Text pool values


Title: Report SCPRARCHIVE_READ


INCLUDES used within this REPORT SCPRARCHIVE_READ

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:

SCPR_AUTHORITY_CHECK CALL FUNCTION 'SCPR_AUTHORITY_CHECK' EXPORTING task = 'DISPLAY' * ID = EXCEPTIONS wrong_parameters = 1 no_authority = 2 OTHERS = 3 .

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING * ARCHIVE_DOCUMENT = '000000' * ARCHIVE_NAME = ' ' object = 'BC_BCSET' * MAINTAIN_INDEX = ' ' IMPORTING archive_handle = handle * TABLES * ARCHIVE_FILES = * SELECTED_FILES = EXCEPTIONS file_already_open = 1 file_io_error = 2 internal_error = 3 no_files_available = 4 object_not_found = 5 open_error = 6 not_authorized = 7 OTHERS = 8 .

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING archive_handle = handle IMPORTING object_id = object_id * OBJECT_OFFSET = object_offset archive_name = archive_name * COMPR_OBJECT_LENGTH = session = session EXCEPTIONS end_of_file = 1 file_io_error = 2 internal_error = 3 open_error = 4 wrong_access_to_archive = 5 OTHERS = 6 .

ARCHIVE_GET_TABLE CALL FUNCTION 'ARCHIVE_GET_TABLE' EXPORTING archive_handle = handle record_structure = 'SCPRATTR' * ALL_RECORDS_OF_OBJECT = ' ' * AUTOMATIC_CONVERSION = 'X' * IMPORTING * RECORD_CURSOR = * RECORD_FLAGS = * RECORD_LENGTH = TABLES table = gt_attr * RECORD_FLAGS_TABLE = EXCEPTIONS end_of_object = 1 internal_error = 2 wrong_access_to_archive = 3 OTHERS = 4 .

SCPR_SV_BCSET_ICON_GET CALL FUNCTION 'SCPR_SV_BCSET_ICON_GET' EXPORTING proftype = -type category = -category IMPORTING ICON = bcset_icon * TEXT = .

SCPRMP_ARCHIVE_PRINT_BCSETS CALL FUNCTION 'SCPRMP_ARCHIVE_PRINT_BCSETS' EXPORTING archive_info_tab = gt_archive_info_all.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = handle EXCEPTIONS internal_error = 1 wrong_access_to_archive = 2 OTHERS = 3.



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