SAP Reports / Programs

WS_ACSITE_RELOAD SAP ABAP Report - Reloading Program: Plant Master Archiving







WS_ACSITE_RELOAD 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 WS_ACSITE_RELOAD 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 WS_ACSITE_RELOAD. "Basic submit
SUBMIT WS_ACSITE_RELOAD AND RETURN. "Return to original report after report execution complete
SUBMIT WS_ACSITE_RELOAD 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: X_TESTL = Test Run
Selection Text: X_DETAIL = Detail Log
Selection Text: WERKSX = Plant
Title: Reloading Program: Plant Master Archiving
Text Symbol: 021 = Due to general data
Text Symbol: 019 = Error adding retail data in the database
Text Symbol: 018 = Error adding plant data in the database
Text Symbol: 017 = No data found for this category
Text Symbol: 016 = Other error found
Text Symbol: 015 = Plant exists; data variances
Text Symbol: 014 = Plant already exists
Text Symbol: 013 = Plant not selected
Text Symbol: 012 = Error during reloading
Text Symbol: 011 = Name
Text Symbol: 010 = Number
Text Symbol: 009 = Overview log
Text Symbol: 006 = Retail data statistics
Text Symbol: 005 = Detail log: retail data
Text Symbol: 004 = Detail log: plant data not reloadable
Text Symbol: 003 = Detail log: reloadable plant data
Text Symbol: 002 = <<< Test Run >>>
Text Symbol: 001 = <>>
Text Symbol: 022 = Due to Retail data
Text Symbol: 024 = Objects read:
Text Symbol: 025 = Of which, following were reloaded:
Text Symbol: 038 = Processed/Created Archiving Session:
Text Symbol: 036 = Stop time
Text Symbol: 035 = Stop date
Text Symbol: 034 = Start time
Text Symbol: 033 = Start date
Text Symbol: 032 = Objects with unknown records:
Text Symbol: 031 = Object contains unknown record '&'
Text Symbol: 030 = Error inserting in database
Text Symbol: 029 = Objection due to general data
Text Symbol: 027 = Objection Retail application
Text Symbol: 026 = Not imported because (more than one reason poss.):


INCLUDES used within this REPORT WS_ACSITE_RELOAD

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:

ARCHIVE_OPEN_FOR_MOVE CALL FUNCTION 'ARCHIVE_OPEN_FOR_MOVE' EXPORTING OBJECT = SYS_OBJCT TEST_MODE = X_TESTL IMPORTING ARCHIVE_READ_HANDLE = ARCHIVE_READ_HANDLE ARCHIVE_WRITE_HANDLE = ARCHIVE_WRITE_HANDLE EXCEPTIONS OTHERS = 10.

ARCHIVE_GET_INFORMATION CALL FUNCTION 'ARCHIVE_GET_INFORMATION' EXPORTING ARCHIVE_HANDLE = ARCHIVE_READ_HANDLE IMPORTING ARCHIVE_CREATION_RELEASE = ARCHIVE_RELEASE ARCHIVE_NAME = ARCHIVE_NAME.

ARCHIVE_GET_NEXT_OBJECT CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCHIVE_READ_HANDLE EXCEPTIONS END_OF_FILE = 1.

ARCHIVE_SAVE_OBJECT CALL FUNCTION 'ARCHIVE_SAVE_OBJECT' EXPORTING ARCHIVE_HANDLE = ARCHIVE_WRITE_HANDLE.

ARCHIVE_CLOSE_FILE CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING ARCHIVE_HANDLE = ARCHIVE_READ_HANDLE.

ARCHIVE_GET_NEXT_RECORD CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD' EXPORTING ARCHIVE_HANDLE = ARCHIVE_READ_HANDLE IMPORTING RECORD = STR_WA RECORD_STRUCTURE = STR_NAME RECORD_LENGTH = STR_LEN EXCEPTIONS END_OF_OBJECT = 01.

WR24_RELOAD_CHECK CALL FUNCTION 'WR24_RELOAD_CHECK' EXPORTING I_WORKAREA = STR_WA I_STRUCTURE = STR_NAME I_LENGTH = STR_LEN I_RELEASE = ARCHIVE_RELEASE I_T001W = YT001W i_wbpro = yt001k-wbpro IMPORTING O_DECISION = DECISION O_FOR_ME = FOR_ME.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

WR24_RELOAD CALL FUNCTION 'WR24_RELOAD' EXPORTING I_TESTL = X_TESTL I_T001W = YT001W IMPORTING O_NOERROR = INSERT_OK.

ARCHIVE_ROLLBACK_WORK CALL FUNCTION 'ARCHIVE_ROLLBACK_WORK'.

WR24_RELOAD_INFORM CALL FUNCTION 'WR24_RELOAD_INFORM' EXPORTING I_WERKS = YT001W-WERKS I_NOTVAL = NOT_STORED I_XTESTL = X_TESTL I_REASON = REASON I_T001W = YT001W.

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = HANDLE EXCEPTIONS WRONG_ACCESS_TO_ARCHIVE = 2.

WR24_RELOAD_PROTOCOL CALL FUNCTION 'WR24_RELOAD_PROTOCOL' EXPORTING I_DETAIL = TRUE I_SUMMARY = FALSE.

WR24_RELOAD_PROTOCOL CALL FUNCTION 'WR24_RELOAD_PROTOCOL' EXPORTING I_DETAIL = FALSE I_SUMMARY = TRUE.



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