SAP Reports / Programs | Archiving | SAP Utilities | Archiving(IS-U-TO-ARC) SAP IS

REEWA_WDO_RELOAD SAP ABAP Report - Archived Waste Disposal Orders Reloaded







REEWA_WDO_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 REEWA_WDO_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 REEWA_WDO_RELOAD. "Basic submit
SUBMIT REEWA_WDO_RELOAD AND RETURN. "Return to original report after report execution complete
SUBMIT REEWA_WDO_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: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_RELPRD = D .
Selection Text: P_RELTST = D .
Title: Archived Waste Disposal Orders Reloaded
Text Symbol: 001 = Waste Disposal Order
Text Symbol: 002 = &1 (&2 of &3) Waste Disposal Orders Reloaded


INCLUDES used within this REPORT REEWA_WDO_RELOAD

INCLUDE: IEEWA_ARCH.
INCLUDE ARCH_RELOAD_PRG_STANDARD2.


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_PROTOCOL_INIT * CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' * EXPORTING * i_detailprotocol = p_prot.

ARCHIVE_GET_CUSTOMIZING_DATA call function 'ARCHIVE_GET_CUSTOMIZING_DATA' exporting OBJECT = CO_WDO_ARCH_OBJ importing COMMIT_COUNT_FOR_DELETE_PRG = G_COMMIT_COUNT.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'EARC' I_MSGNO = '206'.

ARCHIVE_PROTOCOL_INIT call function 'ARCHIVE_PROTOCOL_INIT' exporting I_DETAILPROTOCOL = P_PROT.

ARCHIVE_OPEN_FOR_MOVE call function 'ARCHIVE_OPEN_FOR_MOVE' exporting OBJECT = CO_WDO_ARCH_OBJ TEST_MODE = P_RELTST importing ARCHIVE_READ_HANDLE = G_ARCHIVE_HANDLE exceptions others = 1.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'EARC' I_MSGNO = '201'.

ARCHIVE_GET_NEXT_OBJECT call function 'ARCHIVE_GET_NEXT_OBJECT' exporting ARCHIVE_HANDLE = G_ARCHIVE_HANDLE exceptions END_OF_FILE = 1 others = 2.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'EARC' I_MSGNO = '204'.

ARCHIVE_RELOAD_OBJECT_DATA * CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' * EXPORTING * ARCHIVE_HANDLE = G_ARCHIVE_HANDLE.

PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting I_TEXT = TEXT-002 I_PROCESSED = LI_DOC_COUNT I_TOTAL = LI_TOTAL_DOCS I_OUTPUT_IMMEDIATELY = SPACE.

PROGRESS_INDICATOR call function 'PROGRESS_INDICATOR' exporting I_TEXT = TEXT-002 I_PROCESSED = LI_DOC_COUNT I_TOTAL = LI_TOTAL_DOCS I_OUTPUT_IMMEDIATELY = CO_TRUE.

ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting ARCHIVE_HANDLE = G_ARCHIVE_HANDLE.

ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting ARCHIVE_HANDLE = G_ARCHIVE_HANDLE exceptions others = 1.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'EARC' I_MSGNO = '202'.

ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.

ARCHIVE_RELOAD_OBJECT_DATA CALL FUNCTION 'ARCHIVE_RELOAD_OBJECT_DATA' EXPORTING ARCHIVE_HANDLE = G_ARCHIVE_HANDLE.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'EARC' I_MSGNO = '207'.

ARCHIVE_GIVE_STATISTICS call function 'ARCHIVE_GIVE_STATISTICS' exporting ARCHIVE_HANDLE = G_ARCHIVE_HANDLE tables TABLE = IT_STAT.

ARCHIVE_PROTOCOL_COLLECT





* call function 'ARCHIVE_PROTOCOL_COLLECT' * exporting * I_OBJECT = -ORDERNR * I_MSGTYPE = '1' * I_MSGID = 'EWA' * I_MSGNO = '187' * I_MSGV1 = TEXT-001 * I_MSGV2 = -ORDERNR.

ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_OBJECT = xyt_WDO_DOC-ORDERHEADER-ORDERNR I_MSGTYPE = '1' I_MSGID = 'EWA' I_MSGNO = '187' I_MSGV1 = TEXT-001 I_MSGV2 = xyt_WDO_DOC-ORDERHEADER-ORDERNR.

STATUS_READ_ARCHIVE_OBJECT call function 'STATUS_READ_ARCHIVE_OBJECT' exporting ARCHIVE_HANDLE = G_ARCHIVE_HANDLE I_OBJNR = RIT_WDOHEADER->HOBJNR tables T_JSTO = LJSTO T_JEST = LJEST exceptions WRONG_ACCESS_TO_ARCHIVE = 1 others = 2.

STATUS_READ_ARCHIVE_OBJECT call function 'STATUS_READ_ARCHIVE_OBJECT' exporting ARCHIVE_HANDLE = G_ARCHIVE_HANDLE I_OBJNR = RIT_WDOOBJ->POBJNR tables T_JSTO = LJSTO T_JEST = LJEST exceptions WRONG_ACCESS_TO_ARCHIVE = 1 others = 2.



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