Installation and Configuration Guide For The ILM Store
Installation and Configuration Guide For The ILM Store
2018-08-31
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.1 Prerequisites for the Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.2 Prerequisite Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Prerequisite SAP Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 More Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1 Authorizations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.2 File Handling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
Logical Files. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Commands for Using a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.3 Business Application Log. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.4 Storage Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.5 Check Parameters of Internet Communication Manager. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20
3.6 Origin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Concept. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Customizing Values for SAP Origins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22
Use Origin per System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Routing Table. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.7 Set Up Client and Origins in the ILM Store . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Create Clients and Origins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
3.8 Table Distribution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Options for Table Distribution. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5 Customizing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.1 Customizing the ILM Store. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Customizing Settings Using View TILM_STOR_CUS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Making Customizing Settings with Transaction FILE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Overview: Namespaces and Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
5.2 Scenarios for Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
7 Console. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Caution
Before you start the implementation, make sure that you have the most current version of this document.
You can find the current version here: SAP Information Lifecycle Management.
The following table contains an overview of the most important changes to the document.
Document History
With SAP's ILM Store, you can run the entire data retention process - from archiving data to storing data -
within the SAP environment without having to use external interfaces. The specifications from Retention
Management for SAP Information Lifecycle Management (ILM) are taken into consideration during this
process.
This means you can store archive files and indexes by using the WebDAV interface standard in a database (for
example, SAP IQ or SAP HANA). How you do this is described in the specification BC-ILM 3.0 for ILM-compliant
storage systems.
ILM Retention Management defines the interface BC-ILM 3.0 as an enhancement of the WebDAV protocol for
storing and enhancing data. The SAP ILM Store enables you to map data archiving with ILM Retention
Management, including the physical storage of data, as a process integrated in SAP without the need of third
parties. This guide provides step-by-step instructions for configuring your ILM Store so that it is ready to use.
This installation and configuration guide requires the completed installation of the system landscape. You have
installed all of the required software components and imported the required notes.
Note
For more information about the prerequisite components and notes, see the chapter Prerequisite
Components in this document as well as in the application documentation on SAP Help Portal at http://
help.sap.com/nw. Choose SAP NetWeaver Platform Application Help Function-Oriented View
Solution Life Cycle Management ILM Store Prerequisites for Using the ILM Store .
Seen schematically, you need the following components to be able to work with the ILM Store:
● Software modules that create archive files and store these by using SAP ILM Retention Management
● SAP ILM Retention Management (BC-ILM-IRM)
● Storage and Retention Service (BC-ILM-SRS)
● ILM Store (BC-ILM-STO)
Note
With the ILM Store, you have a certified, SAP-specific store for BC-IM 3.0. The used interface BC-ILM
3.0 is an enhancement of the WebDAV protocol and you use it to store and adjust data. ILM Retention
Management defines this interface. All store providers that use SAP ILM must implement the
requirements from this interface. The SAP ILM store also implements this interface and is certified with
Certification Suite for AS ABAP. For more information about the Certification Suite for AS ABAP, see
the corresponding implementation guide at Certification Suite BC-ILM 3.0.
Alternatively, you can randomly bundle the components that are identified in the figure with AS ABAP
(Application Server for ABAP) so that the compact distribution shown in the next figure is also possible:
The components you actually need are described in the following chapter, Prerequisite Components.
● You have activated the ILM Database Store (ILM_STOR) business function. For more information about the
business function, see SAP Help Portal at http://help.sap.com Enterprise Management SAP ERP
Application Help Choose Language Business Functions Business Functions in SAP NetWeaver ILM
Store . You need the business function to be able to work with the ILM Store.
● You have activated the Information Lifecycle Management business function (ILM). For more information
about the business function, see SAP Help Portal at http://help.sap.com Enterprise Management
SAP ERP Application Help Choose Language Business Functions Business Functions in SAP
NetWeaver ILM . You need the business function to be able to work with SAP ILM Retention
Management and the Storage Retention Service (SRS).
● Use one of the following databases:
○ Database of the Enterprise Edition of SAP IQ as of Version 15.4 SP03
○ For more information about the Enterprise Edition of SAP IQ, see SAP IQ Community .
○ For more information about the installation of the Enterprise Edition for SAP IQ and the required
licenses, see SAP First Guidance - SAP NetWeaver BW: Implementation SAP NLS with SAP IQ .
○ SAP HANA Database, as of Version SPS06, Features included in Revision 60
For more information, see SAP Help Portal at http://help.sap.com/hana_platform .
● If you want to use a file system instead of a database for your storage, there is one available for storing files.
Note
To do so, you have familiarized yourself with the ILM Store by performing the following actions:
○ Mounting the drive
○ Entering the drive in FILE
○ Specifying the logical file name in Customizing (this means making the use of all directory names
known; see the chapter Making Customizing Settings with TILM_STOR_CUS)
● You have installed the following components as of the version specified or higher:
Application Component Retention Management for SAP Infor SAP ILM's Retention Management es
mation Lifecycle Management (BC- tablishes the connection between Ar
ILM-IRS) chive Development Kit (ADK) and the
ILM Store. The expected interface im
plements the specification BC-ILM
3.0.
*We recommend using the highest available software component version for the productive use of the
ILM Store - however, at least SAP NetWeaver 740 SP13.
Below you will find a list of SAP Notes that are required for the configuration of the ILM Store.
Recommendation
Note that the recommended release for productive use is SAP NetWeaver 7.40 SP13 or higher. The
following notes are included in the support package as of release SAP NW 7.40 SP13 and are relevant only
for lower SPs.
Also note that the full range of functions for the ILM Store is supported only as of 7.40 SP13.
2563024 Collection of SAP Notes that are required for ILM Store.
A service for ILM Store should be created and activated in transaction SICF. The ILM Store is to be published
after configuration is complete (see the Publish Storage System Using ICF Nodes section).
Note
For more information about activating services in the Internet Communication Framework, see SAP
NetWeaver Library under http://help.sap.com/nw SAP NetWeaver Platform Application Help
Function-Oriented View Application Server Application Server Infrastructure Functions and Tools of
SAP NetWeaver Application Server Connectivity Components of SAP Communication Technology
Communication Between ABAP and Non-ABAP Technologies Internet Communication Framework
(ICF) .
Note that you also need to ensure the following for the SAP IQ database:
We recommend installing SRS locally for performance reasons. A remote installation is possible but it is slower.
If you have clients with a release earlier than 7.31 SP10 and want them to connect to ILM Store, you can use
SAP Note 1659904 for releases down to 7.02/7.01 SPS 08.
3.1 Authorizations
To be able to set up and use the ILM Store, you need to assign the required authorizations to the relevant users.
1. You need a technical user with the necessary authorization to access the ILM Store and to save files to the
store. You need to assign authorization object SILMSTOR with activity ACTVT = 16 (Execute) to the relevant
role.
2. You then assign authorization object S_DATASET with the following values to this user so that the file
system can be used to temporarily store the data:
○ File Name: *
○ Program: CL_ILM_STOR_DATASET CP and RILM_STOR_PUT_WORKER
The following activities belong to the authorization object:
○ 06 = Delete
○ 33 = Read
○ 34 = Write
3. Assign authorization object S DEVELOP with the following values to generate temporary tables:
○ OBJTYPE=TABL
○ ACTVT=07 and 40
4. Assign authorization object S CTS ADMI with the following values to generate temporary tables:
○ CTS_ADMFCT=TABL
5. Assign authorization object S CTS SADM with the following values to generate temporary tables:
○ CTS_ADMFCT=TABL
For more information about using this authorization, see the chapter Publish Storage System Using ICF Nodes
in this document.
To be able to install, configure, and test the store, you need a role with administration authorization.
The authorization object SILMSTORAD with the following activities provides the authorizations required for this
role:
1. 02 = Change
You can also use activity ACTVT = 07, which belongs to the same authorization object, to provide the
authorization for installing the ILM store.
For the installation of the ILM Store, the administrator must specify the location where the data is to be stored.
The administrator can perform this distribution only once after the installation. In SAP NetWeaver
Customizing, choose Application Server Basis Services Information Lifecycle Management ILM Store
Define Settings for Administrative Customizing .
Caution
Changing the setting later on during operations can lead to the loss of all information stored up to that
point in time.
For this reason, you need a separate authorization for the installation that is provided by authorization
object SILMSTORAD with activity ACTVT = 07.
The Origin is a central element in the configuration of the store. You can use the test reports to check the
configuration defined in the Origin.
The authorization object SILMSTORAD with activity ACTVT = 39 (Check) provides the administrator with the
authorizations to make the settings needed for testing and to run the required tests.
Caution
If you change the Origin settings during operations, you might lose all of the information you have stored up
to now.
For more information about the Origin concept in the ILM Store, see SAP Help Portal at http://
help.sap.com/nw Select SAP NetWeaver Platform Application Help Function-Oriented View
Choose Language Solution Life Cycle Management ILM Store Origin .
After installation and setting up distribution, the administrator must make the Customizing settings in the ILM
Store. The authorization object SILMSTORAD with activity ACTVT = 02 (Change) provides the authorization that
is necessary to do so.
For more information about Customizing the ILM Store, see the section on Customizing in this document.
The ILM Store can use temporary files in the following situations:
● Within a network, archive files are transferred in the form of shared files.
● To buffer data of a certain volume before writing it to the database.
File names must be verified in the AS ABAP to prevent a search of the entire directory. You use function module
FILE_VALIDATE_NAME for this purpose. This requires a logical file name as well as a logical path.
The function module performs a check that determines whether the logical file exists, or is permitted to exist,
in the logical path assigned to it. Therefore all specified paths within the ILM Store always consist of these two
components. The ILM Store contains the following settings:
ADK_FILE ILM_STOR_ADK_FILE
ADK_ROOT_FOLDER ILM_STOR_ADK_ROOT_FOLDER
AN_FILE ILM_STOR_AN_FILE
AN_ROOT_FOLDER ILM_STOR_AN_ROOT_FOLDER
ILM_STOR_FILE ILM_STOR_FILE
ILM_STOR_FOLDER ILM_STOR_FOLDER
ILM_STOR_REQ_SHARED_FILE ILM_STOR_REQ_SHARED_FILE
ILM_STOR_REQ_SHARED_FOLDER ILM_STOR_REQ_SHARED_FOLDER
In transaction FILE, you can either adjust predefined values as needed or you can create your own paths or
files. You can then enter these in Customizing instead of using the delivered values. The ILM_STOR_FILE and
ILM_STOR_FOLDER should be defined as the temporary buffer and they are always needed.
ADK_FILE as well as ADK_ROOT_FOLDER define the logical file name (path and file name) of ADK files if these
are to be stored in the file system.
ADK_ROOT_FOLDER ILM_STOR_ADK_ROOT_FOLDER
WINDOWS NT <P=DIR_TEMP>/<FILENAME>
UNIX <P=DIR_TEMP>/<FILENAME>
Define the logical file name (path and file name) of anonymous files if these are to be stored in the file system.
Anonymous files are those that are stored outside of the ILM context.
Logical Path
AN_ROOT_FOLDER ILM_STOR_AN_ROOT_FOLDER
WINDOWS NT <P=DIR_TEMP>/<FILENAME>
UNIX <P=DIR_TEMP>/<FILENAME>
Define the logical file name (path and file name) of temporary files, for example, those used when buffering
PUT requests.
ILM_STORE_FOLDER ILM_STOR_FOLDER
WINDOWS NT <P=DIR_TEMP>/<FILENAME>
UNIX <P=DIR_TEMP>/<FILENAME>
Define the logical file name (path and file name) in the situation where the ADK transports the PUT request
data using a shared file instead of in the HTTP request. Normally, this is the logical file name under which the
ADK files are stored (ARCHIVE_GLOBAL_PATH).
Logical Path
ILM_STOR_REQ_SHARED_FOLDER ILM_STOR_REQ_SHARED_FOLDER
WINDOWS NT <P=DIR_TEMP>/<FILENAME>
UNIX <P=DIR_TEMP>/<FILENAME>
If you use a file system instead of a database to store your data, you need the following commands for working
with the file system:
● ILM_STOR_DIR: Used to read the content of a directory and check whether a file exists.
You can use the transaction External Operating System Commands (SM49) to execute these commands.
Create a directory
Operating system:
Check directory
Operating system:
Check files
Operating system:
You can run the RILM_STOR_TEST_SM69 report to create these Z commands for the WINDOWS NT and UNIX
operating systems only in NW740SP16 and NW750SP05 or higher systems.
The standard SAP delivery includes the settings for the Business Application Log. You can verify these settings
with transaction Application Log: Object Maintenance (SLG0).
The ILM Store uses some management tables on the application server to save administration data. The data
should be stored in a different place. You can store the data in the following storage media:
● Database Connections
● File system (external drives mounted via NFS for example)
● Hadoop
Database Connections
The ILM Store can store the archive file in database tables. These form a pool of tables which store the data as
BLOBs (Binary Large OBjects).
You can store these tables on the application server or on external SAP HANA / SAP IQ databases. For more
information, see the chapter on Table Distribution in this document.
You need to create secondary database connections depending on the distribution plan.
For more information about secondary databases, see the SAP ERP library at http://help.sap.com/erp
Application Help Choose Language SAP ERP Cross-Application Functions Cross-Application
Components SAP Information Lifecycle Management Additional Functions Define Secondary Database
(SAP Sybase IQ) .
Field Value
DBMS SYB
DB Password *****
Permanent <space>
Connection Limit 0
Optimum Connecton 5
Note
If you want to set up an SSL-encrypted database connection to SAP IQ, see SAP Note 1820202 .
Start transaction SE38 and run ABAP report ADBC_TEST_CONNECTION to test the configuration of the
database connection.
You need custom connection types to define how ILM Store connects to the file system.
A database used for storing the Archive Development Kit (ADK) content can be connected to the ILM Store
through a data base connection using the transaction DBCON. The database connection is always connected to
Example
The file system implementation is used in test report RILM_STOR_TEST_FILE. Here you create two
Customizing entries and perform the following steps:
● You can create the connection type for the connection ID (and call it, SAP_CONN_DEF, for example) as
CONSYS.SAP_CONN_DEF = SAP_SYS_FILE. This is the initial step.
● You can then set DBCON.TILM_STOR_BLOB pointing to the connection ID SAP_CONN_DEF defined
above.
● You can create a new entry in the class factory, using interface as IF_ILM_STOR_DB_OPERATOR and
parameter as SAP_SYS_FILE.
In this example, when you see the Customizing settings, you can infer that the connection ID is
SAP_CONN_DEF. You then try to determine the connection type by reading the DBCON but you do not get a
Hadoop
You can use a Hadoop cluster to store your archive files. For more information, see the Hadoop Configuration
guide. The customized connection types are also used to establish a connection between Hadoop and ILM
Store.
The resources are transferred in an HTTP request. To guarantee a smooth transfer, you must check the
permitted request size in the parameters of the Internet Communication Manager (ICM).
icm/HTTP/max_request_size_KB Determines the maximum data size that the ICM will accept.
3.6 Origin
3.6.1 Concept
The Origin serves as the identifier of the source of the data (data origin). All of the systems that want to use the
ILM Store do this in the context of the origin (data origin).
Recommendation
We recommend that you familiarize yourself the with origin concept and its use in the ILM Store before you
start configuring. For more information about origins in the ILM Store, see the application documentation
on SAP Help Portal at http://help.sap.com/nw Select SAP NetWeaver Platform Application Help
Function-Oriented View Choose Language Solution Life Cycle Management ILM Store Origin .
The origin is the central element in the store for separating various scenarios and clients from one another.
This version provides the option of determining the origin in the respective client (BAdI implementation) and
copying it to the ILM Store. The prerequisite for this is that SRS is installed locally. This means that you can, for
example, send the archives for the business application log to Origin #1 (that is connected to the file system as
a store) while FIN files are sent to Origin #2 (that is connected to the database).
SAP delivers specials origins in advance that require you to make additional settings:
● As of release SAP NW 7.40 SP13, the origin sap must be set in more detail due to the security requirements
for file handling.
● The settings for the archeb origin need to be adjusted accordingly, as all test programs run in its context.
No settings are needed for the arthurdent origin. It is used for unit tests.
DBCON.TILM_STOR_COL DEFAULT
DBCON.TILM_STOR_POOL DEFAULT
DBCON.TILM_STOR_PROP DEFAULT
DBCON.TILM_STOR_RTI DEFAULT
DBCON.TILM_STOR_RTM DEFAULT
DBCON.TILM_STOR_AUDIT DEFAULT
DBCON.TILM_BLOB DEFAULT
DBCON.TILM_CERT DEFAULT
DBCON.TILM_COL DEFAULT
DBCON.TILM_POOL DEFAULT
DBCON.TILM_PROP DEFAULT
DBCON.TILM_RTI DEFAULT
DBCON.TILM_RTM DEFAULT
Note
DEFAULT means that the local database is used. This is fine for the origin sap but for archeb origin you
should use your target connection to test it properly.
Note
Note that for this to work, SRS has to be installed locally and the corresponding SRS settings must be
made in transaction SARA. For more information, see the Prerequisites chapter in the More Information
section of this document.
As of NetWeaver 740 SPS 13 or 7.50 SPS 02 there is a second option available. You can implement the BAdI
once on the ILM Store system instead of the client systems – this allows you to have one source of truth for the
origins.
● System: YI3
● Client: 000
● Scheme: ad
● Object Type: flight bookings
The routing table TILM_STOR_O_ROUT has an entry that matches these fields. The fields are SYSTEM_ID,
RESOURCE_TYPE, CLIENT, OBJECT_TYPE, and ORIGIN. You can use the routing table to create any
combination leading to an Origin provided the system ID is given.
E0C ORIGIN_0
In this example, ORIGIN_1 is used for all archive link documents from system and client combination (E0C:
000) and for all resources handling the GREAT_OBJECT. You use ORIGIN_3 for all resources from system and
Proceed as follows to set up the clients and origins in the ILM Store.
1. In SAP NetWeaver Customizing, choose Application Server Basis Services Information Lifecycle
Management ILM Store Define Settings for Administrative Customizing .
2. Choose Create Client.
3. Enter the name of a client and then use the F4 help to choose the Logical File Name that you have already
created using transaction FILE (see the chapter Making Customizing Settings using the FILE transaction in
this document).
4. Specify a name and a description for the new administrative origin.
5. If needed, select the Monitoring Is Active checkbox.
6. Specify the ILM Store User if you have selected Monitoring Is Active: In this field, you can enter the name of
the user for whom the request is being executed. Monitoring will use this user to query certain system
statuses (such as dumps). For more information about monitoring, see the chapter on the ILM Store
Monitor in this document.
Note
The ILM Store user corresponds to the name of the user that is used for this client as the WebDAV user.
7. In the section Administrative Origin: Table Distribution, the system displays the database connections
defined for the administrative origin you have selected.
8. In the section Assigned Operational Origins: Details, you can create operational origins and make settings
for database tables. Operational origins that have already been defined for the administrative origin you
selected are displayed here.
9. To make adjustments, choose Add Operational Origin and enter the required data or choose Change
Operational Origin.
Note
Note that you can only use lowercase letters for naming origins. There are no constraints concerning the
selection of characters.
● Data tables
● Administration tables
The data tables contain the resources (for example, the ADK files).
Note
For performance reasons, SAP IQ locks the entire table during changing access. In a column-based
database, locking a data record is one of the operations that negatively affects performance. Since archive
files can become quite large, a straightforward INSERT database operation can take several minutes. This
can quickly lead to a data bottlenecks during parallel access. For this reason, the ILM Store generates a new
table instead of granting parallel access. The new table is then included in the administration data and
subsequently described. In this way a pool with data tables is formed. This procedure can be transferred to
all other database systems.
These data tables are usually stored on a remote database (SAP IQ or SAP HANA). The number of tables in the
pool is limited by the maximum possible number of simultaneous connections in the Internet Communication
Server (ICM). As soon as the process returns to the caller, the system releases the occupied table again.
The administration tables contain the collections and properties that are directly linked to the resources.
Together they make up the payload (the actual content) of Retention Management. However, because the
access to properties and collections takes place more frequently and has significantly shorter access times as
compared to the resources, exactly one table is used.
Recommendation
For performance reasons, we recommend that the collections and property tables be stored on the AS
ABAP database even though they belong semantically on the same database as the resources. As a rule,
the administration data is stored on the AS ABAP on which you will also find the ILM Store. This makes
sense because of the access times. Above all, the initial table TILM_STOR should be stored on the AS ABAP.
Example
The distribution of tables shown below is a suggestion. Seen technically, the tables can be distributed as
needed. This might have a strong effect on performance and should therefore be tested carefully.
Caution
If you move a table from one server to another, you must also move the contents of that table, otherwise all
of the data administration becomes invalid.
This section is intended to support you during scheduling, so that you store certificates when necessary. SAP
does not support certificates at this time. However, we recommend that you take into consideration that it is
best to store certificates on the AS ABAP. You can also store these on a completely separate database. Like
each shift to an external database, this is accomplished only by sacrificing performance. On the other hand, the
system does not constantly run checks of the signatures and timestamps, which make possible external
attacks more difficult.
Note
The current delivery does not contain the function for managing certificates. However, you should still take
the underlying structure into consideration.
The ILM Store is addressed via the WebDAV log. For this reason, the ILM Store has to be published as a service
in the ICF.
1. Start transaction SICF and skip the initial screen with the filters by choosing [F8] .
2. Create a new service and enter the following values.
○ Virtual host: DEFAULT_HOST
○ Service path:
Enter the service path for example, /sap/bc/ilm/zdata_vault
○ Service name: for example, ZDATA_VAULT
3. On the Handler List tab, enter a handler class (CL_ILM_STOR_WD_REQUEST_HANDLER) that serves as the
request handler for the service. It represents the entry point to the functions of the ILM Store.
4. On the Logon Data tab, enter a user who has the authorization to access the ILM Store.
In the system that contains the active SRS component, you have to create a destination that points to the ILM
Store.
Proceed as follows:
The path prefix that you define on the Settings tab represents the connection between the destination and the
ICF node. Example: /sap/bc/ilm/zdata_example.
After you have created the destination, you can enter it in the list of stores that are available for the SRS.
Proceed as follows:
The HTTP connection can contain a URI prefix. This prefix identifies the data root to be used in the ILM Store.
You must enter this URI prefix in the Customizing of the origin used by this system.
Note
In the ILM Store, the URI prefix is placed in front of the resource URI. This is why it is called prefix instead of
suffix (see figure) from the perspective of transaction SM59.
Caution
When the prefix is used as shown in the figure, a file with the resource URI /sys/mandt/sflight/
myflight.adk is transferred as /uri_prefix/sys/mandt/sflight/myflight.adk. This prefix must
be excluded from the coding for validations and has to be specified in Customizing.
A new storage type has been implemented on the Content Management Server (package SCMS) to support the
ArchiveLink interface in the ILM Store. In this way, CMS's ArchiveLink interface is used.
You can use the ArchiveLink connection to the ILM Store in three different ways: as a local implementation, a
remote connection, and an http server implementation serving clients on lower releases. The systems can be
combined in any constellation.
Note
The content server and the client have to be on NetWeaver 7.40 SP13 or above.
Note
The name of the content server should be the same on the client and server.
The default value leads to the local database of the application server.
In the local implementation, leave the fields for the RFC destination and the HTTP specifications
blank.
3. If you are working in a remote scenario, enter the following values as well:
○ HTTP server: Enter the HTTP server to be used.
○ Port number: Enter the port number.
○ HTTP script: For example, /sap/bc/ilm/zdata_vault
○ RFC destination: Enter the RFC destination, for example, ILM_VAULT101_yi3
Note
The RFC destination points to the WebDAV URI of the ILM Store. The HTTP values are made up of the
values of the SICF node. The RFC destination is needed for the general operations of the ILM Store
while the HTTP values are needed to access the documents via the URI.
Note
The client should be on a lower release than NetWeaver 7.40 SP13. The name of the content
repository should be the same in the client system and the ILM Store.
5. Create a new content repository in the ILM Store side. In the ILM Store, the content repository should
be created so that you can check the repository and allow URL access for document retrieval.
5. Link the Content Repository with an operational origin:
1. To do so, in SAP NetWeaver Customizing, choose Application Server Basis Services Information
Lifecycle Management ILM Store Define Settings for Administrative Customizing .
2. Select the required client and choose Change.
3. Choose Change Operational Origin in the section Assigned Operational Origin: Details.
4. Enter the name of the created Content Repository (CREP_ID).
6. Create the required document types. You need to add the document types that you usually use in the
project for data transfer to the ILM Store using ArchiveLink. You can add different document types, such as
PPTX or JPEG.
1. Choose Display Document Types Globally (transaction OAC2) and choose Change).
2. Add the document types you want to use.
For more information about ArchiveLink documentation, see SAP Help Portal at http://help.sap.com/nw
. Choose Function-Oriented View Application Server Application Server ABAP Other Services
Services for Business Users ArchiveLink .
In addition to the Customizing settings for the origin (see the chapters Origin and Set Up Client and Origins in
the ILM Store in this document), you can use the TILM_STOR_CUS view to make other Customizing settings for
the ILM Store. You can call the view by using transaction SM30.
Caution
In this view, you can change the settings for all of the ILM Store's namespaces.
Note that when you enter the logical file names, you should use only the settings for the namespace
SYST.PLACES.
If you want to make additional settings for other namespaces, do so only after consulting SAP. Changes
could lead to a loss of data. Use component BC-ILM-STO to contact SAP Support for questions about the
settings regarding namespaces other than SYST.PLACES.
The figure shows the origins used internally for the test environment with sample settings.
This namespace contains all of the settings that control general processing.
Property: FILE_SINK_SIZE
When data is transferred to the store, the store first buffers it before the information that the data is now
complete and can be added to the database is issued. This means it is possible, for example, to transfer the
data in multiple small requests instead of in one large request, which significantly improves the error tolerance.
The main memory is usually used as the buffer. If the server does not have a lot of main memory or if there is
too much data to be stored, a temporary file can be used as the buffer. This value defines the data size as of
which a temporary file is to be used. This is where you enter the value, in megabytes, up to which files can be
stored in the main memory.
FILE_SINK_SIZE defines the maximum size (in MB) of a data block sent by a PUT request up to which data
can be processed simultaneously. As of this size, data is stored in a temporary file (ILM_STOR_FILE in the
ILM_STOR_FOLDER directory) and processed asynchronously. If you use the value -1, this always means that
the data buffer is also used.
These are used for internal settings and define the return value for a corresponding OPTIONS request.
Property: STREAMING_SIZE
You can use two different methods to write resources to the database:
The theoretical threshold of two gigabytes is set for the host variable; in actual fact, this threshold is reached
much earlier. However, the procedure is faster than the streaming procedure. You specify the amount of data
up to which the system uses a host variable by using the Streaming Size value. This is where you enter the
value, in megabytes, up to which files can be transferred with SQL and a host variable.
STREAMING_SIZE defines the size of the data blocks transferred using PUT as of which the data is written to
the database with the streaming API instead of with the “normal” SQL.
Caution
Theoretically, the streaming procedure can process any amount of data, however, it requires substantially
more runtime and is not available on all platforms. Therefore, use this procedure only after consulting
SAP. We recommend that you do not use this procedure.
It is possible to store mixed data in the database as well as in the file system. This is primarily for scenarios in
which the ILM Database Store is used as a random store: This means you can store CD images anywhere in the
file system whereas relevant business data is written to the database (as it has been up to now). ADK stands for
files in the ILM context. For all other data, use DATA.
This flag is available should there already be a constellation in which a customer-specific job control system
takes on the distribution of data from PUT requests. If the flag is set, the data stays in the queue and the job
control system must shift it to its final destination. You use AN for all non ADK files.
Property: MAX_PUT_JOBS
This property defines the maximum number of jobs that can be used for each application server in background
processing of the PUT requests of the ILM Database Store.
Property: SAP_ILM_SHARED_FILE
You use this property for internal settings and to define the return value of a corresponding OPTIONS request.
Property: STORE_DB_THRESHOLD
This property is obsolete and has been replaced by ADK_DB_SIZE and DATA_DB_SIZE.
This namespace bundles all of the settings that refer to database access. The central values are the
DBCON.TILM_STOR* entries: They contain the access to the connection to be used on the individual tables.
Enter the relevant table distribution.
Resources are stored in data tables. New tables are generated as soon as parallel access to a data table is
required. Tables can be taken from the resulting pool as needed. This happens until there are no more free
tables and new tables have to be generated.
In time this would lead to tables taking on large amounts of data. With the help of the threshold value, you can
make settings that specify as of which table size you can no longer get tables from the pool. The value to be
entered identifies the threshold value in gigabytes up to which a table can be described. If you exceed this
value, the affected table changes to read-only mode from the store's perspective.
You use this property for the database connection to the relevant table <table name> . DEFAULT means that
this table is used on the current application server. This is a valid setting for all tables except
DBCON.TILM_STOR_BLOB. As this is an administration table, performance is an important factor when
accessing it. Table DBCON.TILM_STOR_BLOB, on the other hand, contains the data that will actually be stored.
This namespace groups all of the settings that refer to diagnostic information. Both error analysis and the
monitoring functions are controlled here.
Property: DEBUG
This property makes it possible to write messages marked with DEBUG to the application log. We recommend
using this property only in test mode.
Property: TRACE
This property makes it possible to write messages marked with TRACE to the application log. We recommend
using this property only in test mode.
Property: EMAIL_DIAG_NOTIFY
Property: EVENTS
Switches on eventing, which is used for monitoring as well as for audit data.
Property: SILENT
If this property is activated, only error messages and warnings are written to the application log.
Property: TH_PUT_IN_PROCESS
This property defines the maximum number of temporary files resulting from a PUT request that can be stored
in the queue. If this value is exceeded, a comment is made in the application log.
This namespace contains the settings that refer to the storage location, such as the file system or other
storage locations.
All of the values named here represent path and file name pairs. You can make the settings for these pairs using
the FILE transaction.
Define the logical file name (path and file name) of ADK files if these are to be stored in the file system. (ADK
files are files stored in the ILM context).
Define the logical file name (path and file name) of anonymous files if these are to be stored in the file system.
Anonymous files are those that are stored outside of the ILM context.
Define the logical file name (path and file name) of temporary files, for example, those used when buffering
PUT requests.
Define the logical file name (path and file name) in the situation where the ADK transports the PUT request
data using a shared file instead of in the HTTP request. Normally, this is the logical file name under which the
ADK files are stored (ARCHIVE_GLOBAL_PATH).
Below you will find a list of the current namespaces and properties and as of which release they are available:
TRACE <space>
EMAIL_DIAG_NOTIFY <space>
EVENTS <space>
SILENT X
TH_PUT_IN_PROCESS 50
SAP_ILM_AL_CONFORMANCE 2
SAP_ILM_CONFORMANCE 2
ADK_DB_SIZE -1
DATA_DB_SIZE -1
LEAVE_RESSOURCES_IN_QUEUE <space>
LEAVE_RESSOURCES_IN_QUEUE_AN <space>
MAX_PUT_JOBS 5
SAP_ILM_SHARED_FILE 0
AN_ROOT_FOLDER ILM_STOR_AN_ROOT_FOLDER
ILM_STOR_FILE ILM_STOR_FILE
ILM_STOR_FOLDER ILM_STOR_FOLDER
ILM_STOR_REQ_SHARED_FILE ILM_STOR_REQ_SHARED_FILE
ILM_STOR_REQ_SHARED_FOLDER ILM_STOR_REQ_SHARED_FOLDER
Below, you will find descriptions of setting combinations that define known scenarios. If none of the scenarios
mentioned above fit your system environment, use component BC-ILM-STO to contact SAP Support.
You can transport data that is intended for storage in so-called Shared Files.
1. To do so, the ILM Database Store must be able to access the directory used by ADK so that the file(s) can
be saved before they are stored.
2. You must enter the directory in Customizing under the ILM_STOR_REQ_SHARED_FOLDER key.
3. Set the value for SAP_ILM_SHARED_FILE to a value that is not 0 so that the ADK knows that the data can
be sent in this way.
This setting makes scenarios possible in which data is transferred to the ILM Database Store in multiple steps.
The numeric value is interpreted as MB. The default setting is 300 MB. In the system, check what the best
value is. The following aspects should be taken into account:
You can use a file system to store your files. To do so, you need the following information:
If you want to use an external job control system, note the following information:
● [ADK|DATA]_DB_SIZE = 0
● [AN_]LEAVE_RESSOURCES_IN_QUEUE = X
One of the ways to identify the HTTP connection is with the help of a user agent. For Storage Retention Service
(SRS) this is SAP XML DAS. If you want to access the ILM Database Store with another WebDAV client, such as
the DAV explorer, the attempt will fail. You will receive a message saying the user agent is unknown.
To make a user agent known, you can implement BAdI BADI_ILM_STOR_PROCESS. The method
IS_VALID_USER_AGENT checks whether a character strings identifies a permitted user agent.
You can use this table to perform simple evaluations with the help of transaction SQVI or another table
calculation program.
The following test reports are available for testing different ILM Store scenarios:
RILM_STOR_TEST_HC_SERVER Health Check for Server. This report checks the ILM Store’s
configuration.
RILM_STOR_TEST_HC_CLIENT Health Check for Client. This report checks the Archiving cli
ent's configuration.
RILM_STOR_TEST_ROUTING This report fills the table TILM_STOR_O_ROUT with test data.
It can also remove the test data and can test two operations:
LIST and DETERMINE_ORIGIN.
● arthurdent
You use this Origin exclusively for unit tests. The origin is dealt with explicitly in the coding.
● archeb
You use this Origin to test the ILM Store physically.
You use report RILM_STOR_TEST_AT to check various data constellations and operations as defined in the
specification BC-ILM 3.0 and which a store must fulfill.
The tests issues a log as a summary. The log shows the failed as well as the successful processes of the run.
You use the delete report to delete the data created by the test report.
Note
A further run of the test report as part of the acceptance test returns only green traffic lights. The
installation and configuration of the ILM Store is complete.
Test of sequences
Two reports are available. The only difference between them is that you can process different amounts of data.
Individual Tests
For example, you can use report RILM_STOR_TEST_PF_SINGLE to test the processing of an individual data
block for trace purposes.
Note
You have to specify the resource counter in the report only if you want to start multiple runs in sequence.
This forms the resource name that is stored and which must be unique.
You use report RILM_STOR_WD_DEMO to send the basic commands for the WebDAV log to the store, either as
single commands or as a command chain with a test queue.
Note
SAP supports only the Active Origin in the current version. Entries for the source ID are not taken into
consideration at this time.
3. Now you can select the command you want to send. Depending on the command, you may need to enter
additional parameters. The command can be executed immediately or attached to the current chain of
commands (test queue).
The following figure shows an excerpt of the event log for the call as it is displayed in the log window.
Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:
● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:
● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.
Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.
SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.