SAP Reports / Programs | Basis Components | Use Subcomponents | Archive Development Kit(BC-CCM-ADK) SAP BC

SAPMF040 SAP ABAP dialog Program - documentation and ABAP source code







SAPMF040 is a standard Module pool for a dialog screen ABAP Program available within your SAP system (depending on your version and release level). It is used for This module pool provides central archiving functions...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 SAPMF040 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 SAPMF040. "Basic submit
SUBMIT SAPMF040 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMF040 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT SAPMF040

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:

POPUP_DISPLAY_TEXT * CALL FUNCTION 'POPUP_DISPLAY_TEXT' * EXPORTING ** LANGUAGE = SY-LANGU * POPUP_TITLE = ' ' ** START_COLUMN = 10 ** START_ROW = 3 * TEXT_OBJECT = 'DOCSARA' ** importing ** cancelled = * EXCEPTIONS * TEXT_NOT_FOUND = 1 * OTHERS = 2.

ENQUEUE_EFTR01 * CALL FUNCTION 'ENQUEUE_EFTR01' * EXPORTING * APPLI = TR01-APPLI * OBJCT = TR01-OBJCT * EXCEPTIONS * FOREIGN_LOCK = 1 * SYSTEM_FAILURE = 2.

ARCHIVES_ADMINISTRATION * CALL FUNCTION 'ARCHIVES_ADMINISTRATION' * EXPORTING * I_APPLI = TR01-APPLI * I_OBJCT = TR01-OBJCT * I_UPDAT = 'X'.

DEQUEUE_ALL * CALL FUNCTION 'DEQUEUE_ALL'.

ARCHIVES_ADMINISTRATION * CALL FUNCTION 'ARCHIVES_ADMINISTRATION' * EXPORTING * I_APPLI = TR01-APPLI * I_OBJCT = TR01-OBJCT.

ARCHIVE_TRANSPORT * CALL FUNCTION 'ARCHIVE_TRANSPORT' * EXPORTING * I_APPLI = TR01-APPLI * I_OBJCT = TR01-OBJCT.

RSLG_WRITE_SYSLOG_ENTRY * CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' * EXPORTING * SL_MESSAGE_AREA = 'C0' * SL_MESSAGE_SUBID = '1'.

RSLG_WRITE_SYSLOG_ENTRY * CALL FUNCTION 'RSLG_WRITE_SYSLOG_ENTRY' * EXPORTING * SL_MESSAGE_AREA = 'C0' * SL_MESSAGE_SUBID = '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 SAPMF040 or its description.