IEEWA_ARCH is a standard ABAP INCLUDE 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 IEEWA_ARCH 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: Include IEEWA_ARCH
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_EWAROUTE call function 'ENQUEUE_E_EWAROUTE' exporting MODE_EWAROUTE = 'E' MANDT = SY-MANDT ROUTE = X_ROUTE X_ROUTE = ' ' _SCOPE = '2' _WAIT = ' ' _COLLECT = ' ' exceptions FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 others = 3.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'I0' I_MSGNO = '310'.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'IS' I_MSGNO = '005'.
DEQUEUE_E_EWAROUTE call function 'DEQUEUE_E_EWAROUTE' exporting MODE_EWAROUTE = 'E' MANDT = SY-MANDT ROUTE = X_ROUTE X_ROUTE = ' ' _SCOPE = '3' _SYNCHRON = ' ' _COLLECT = ' '.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting I_MSGTYPE = '2' I_MSGID = 'EWA' I_MSGNO = '193' I_MSGV1 = P_STATUS I_MSGV2 = P_STATUS I_MSGV3 = P_STATUS.
STATUS_CHECK call function 'STATUS_CHECK' exporting OBJNR = OBJNR STATUS = STAT exceptions OBJECT_NOT_FOUND = 1 STATUS_NOT_ACTIVE = 2 others = 3.
ARCHIVE_GET_NEXT_STRUCT_SPECIF call function 'ARCHIVE_GET_NEXT_STRUCT_SPECIF' exporting ARCHIVE_HANDLE = X_ARCHIVE_HANDLE RECORD_STRUCTURE = X_STRUCTURE_NAME importing RECORD = Y_OUTPUT exceptions END_OF_LEVEL = 1 others = 2.
ARCHIVE_GET_TABLE call function 'ARCHIVE_GET_TABLE' exporting ARCHIVE_HANDLE = X_ARCHIVE_HANDLE RECORD_STRUCTURE = X_STRUCTURE_NAME tables TABLE = YT_OUTPUT exceptions END_OF_OBJECT = 1 others = 2.
ARCHIVE_GET_INFORMATION call function 'ARCHIVE_GET_INFORMATION' exporting ARCHIVE_HANDLE = X_HANDLE importing ARCHIVE_DOCUMENT = LV_DOCUMENT ARCHIVE_NAME = LV_ARCHIVE_KEY.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.