SAP Function RSPO_GET_ARCHIVE_DEVICE - Determine an Archiving Device

Parameter Reference Type Length Default Optional Text
ARCHIV_ID TSP0F-ARCHIV_ID C 2 X TSP0F Key

Parameter Reference Type Length Default Optional Text
DEST TSP03-PADEST C 4 X Archiving Device

Exception Text
NO_ARCHIVER Device is Not an Archiving Device
NO_SUCH_DEVICE No Such Device

Functionality
This function module provides the name of an archiving device matchingthe specified parameters. As an option, an archive ID or a device namecan be specified. If an archive ID is specified, but no device, thenthe device is determined for this ID. If no device is determined thenthe profile parameter 'rspo/default_archiver' is used. If this value isalso empty, or not set, then the device 'ARCH' is selected.
If the selected device is not configured in the transaction SPAD theexception 'NO_SUCH_DEVICE' is triggered.
If the selected device is not an archiving device (according to theSPAD configuration) the exception 'NO_ARCHIVER' is provided.
The parameter 'DEST' is set on the relevant archiving device.