Periodical tasks that needs to be performed frequently in order to ensure that the software runs smoothly with optimal performance.
In the context of SAP Gateway some cleanup jobs might be necessary on the SAP Gateway hub system. You can find the relevant activities in the Implementation Guide (IMG): In transaction SPRO open the SAP Reference IMG and navigate to .
The tasks need to be performed in regular intervals. The frequency specified depends on the load in your system and therefore may vary. A periodical cleanup is recommended to avoid a waste of disk and memory space. You might consider a frequency of once a week.
When activating SAP Gateway in your system landscape the following jobs are scheduled automatically:
These jobs are newly created if they are not yet available. Note that these two jobs are only carried out in one client, but they are also doing this for the other clients. This is the client in which SAP Gateway has been activated initially. If SAP Gateway is active in another client, then nothing else is done. If the jobs are not running periodically, the system will need more disk resources than expected. You can make them run again by switching SAP Gateway off and on again in the implementation guide (SPRO). When deactivting SAP Gateway the jobs are deleted automatically, as long as SAP Gateway is not active in another client.
In addition to these automatically scheduled jobs we recommend you schedule job /IWFND/R_SM_CLEANUP which — among others — will help to clean up the Application Log Viewer (/IWFND/CLEANUP_APPSLOG) and the Error Log (/IWFND/SUPPORT_UTILITIES).
There are several cleanup scenarios, for example:
Scenario |
Description |
---|---|
/IWFND/CLEANUP_APPSLOG |
Clean-up of Application Log |
/IWFND/SUPPORT_UTILITIES |
Support utilities |
/IWFND/DEVICE_MANAGER |
Cleanup for Device Manager |
/IWFND/DOCUMENT_PUBLISHER |
Document Publisher |
/IWFND/OIL |
OIL - Object ID List |
/IWFND/QRC_AUTO |
QRC - Query Result Cache - For Scheduler |
/IWFND/ROLE_SYNC_ALL |
Role Sync Cleanup - All |
/IWFND/ROLE_SYNC_CAUTIOUS |
Role Sync Cleanup - Cautious Method |
Caching is available in the following places:
in the SAP Gateway hub system
in the client browser (and probably also in the internet proxy)
For development we recommend that caching on the SAP Gateway hub system is disabled.
The implementation guide (SPRO) has been enhanced with additional activities for cache settings:
In transaction SPRO open the SAP Reference IMG and navigate to . Here you can find activities to create cleanup jobs and to manage cleanup jobs.
In the implementation guide for SAP Gateway Service Enablement you can find these activities under .
This job deletes logs of support utilities, such as error logs, traces and performance logs.
This job deletes SAP Gateway entries from the application log.
Deletes the SAP Gateway notifications.
This job deletes logs of support utilities, such as error logs, traces and performance logs.
This job deletes the entries of the query result log.
The activity Manage Cleaup Jobs allows you to display and manage the jobs that you have created to clean up the cache and persistency framework in SAP Gateway. This is done via the standard SM37 transaction for jobs.
For more information on metadata caching, see Metadata Cache.
For information on recommended cache settings per cleanup scenario see the corresponding application documentation.
For information on activating SAP Gateway, see Activating SAP Gateway.