EWUARCH2_40 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program EWUARCH2_40 evaluates the data which was edited using program EWUARCHI and sets the status depending on this...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 EWUARCH2_40 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Check Archiving Status
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EWU_STATUS_INITIALIZE CALL FUNCTION 'EWU_STATUS_INITIALIZE' EXPORTING PROGRAMM = PROGRAMM IMPORTING AUFSETZARG = DUMMY EXCEPTIONS NO_PROGRAM_ENTRY = 1 WRONG_PHASE = 2 PRECESSOR_NOT_OK = 3 PROGRAM_ALREADY_STARTED = 4 PROGRAM_ALREADY_FINISHED = 5 NO_PAKET_ENTRY = 6 FOREIGN_LOCK = 7 SYSTEM_FAILURE = 8 ACTIVE_PAKET_NOT_FOUND = 9 OTHERS = 10.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING STATUS = ERROR EXCEPTIONS NO_PAKET_ENTRY = 1 FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3 NO_PROGRAM_ENTRY = 4 WRONG_CALL = 5 OTHERS = 6.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING STATUS = WARNING * AUFSETZARG = EXCEPTIONS NO_PAKET_ENTRY = 1 FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3 NO_PROGRAM_ENTRY = 4 WRONG_CALL = 5 OTHERS = 6.
EWU_STATUS_UPDATE CALL FUNCTION 'EWU_STATUS_UPDATE' EXPORTING STATUS = OK EXCEPTIONS NO_PAKET_ENTRY = 1 FOREIGN_LOCK = 2 SYSTEM_FAILURE = 3 NO_PROGRAM_ENTRY = 4 WRONG_CALL = 5 OTHERS = 6.
EWU_PROTOCOL_APPEND CALL FUNCTION 'EWU_PROTOCOL_APPEND' EXPORTING LEVEL = LEVEL MSGTY = MSGTY LANGU = SY-LANGU MSGID = MSGID MSGNO = MSGNO NEWOBJ = NEWOBJ MSGV1 = MSGV1 MSGV2 = MSGV2 MSGV3 = MSGV3 MSGV4 = MSGV4 EXCEPTIONS OTHERS = 1.
EWU_PAKET_GET CALL FUNCTION 'EWU_PAKET_GET' IMPORTING PHASE = PHASE PRODFLAG = PRODFLAG PAKETSICH = PAKETSICH CHANGING PAKET = AKT_PAKET EXCEPTIONS ACTIVE_PAKET_NOT_FOUND = 1 OTHERS = 2.
ADK_CHECK_DB_CONVERSION CALL FUNCTION 'ADK_CHECK_DB_CONVERSION' TABLES EFILES_BY_CONT = FILES_CONT EFILES_BY_STATUS = FILES_STAT E_RELATED_T001 = IT001_ARCH EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.