SAP Program RSPHXTR1 - XPRA report 3.1H-> for conversion of SAPphone user data

Description
This XPRA-Report is used in the conversion of SAPphone user data forthe Release 3.1 upgrade. A new table entry is created for each SAPphoneuser. The report can be restarted without any problem after terminationand simply converts the SAPphone users which have not yet beenconverted. No old entries are deleted.
In detail, the following conversions are made:
All entries in table USR05 (user parameters) with the parameter ID'SP1' (SAPphone incoming processing) are read.
For each entry, the system checks whether the user already exists inthe new SAPphone user table SPH_TELUSR.
If the user exists already, the entry is not changed.
If the user does not exist, a new data record is created. The parametervalue is interpreted as follows:
A = Display and hold an incoming call -> CALLDISP = X
CALLHOLD = X
T = Hold the data for an incoming call -> CALLDISP = space
CALLHOLD = X
D = Display an incoming call -> CALLDISP = X
CALLHOLD = space
N = No processing of an incoming call -> CALLDISP = space
CALLHOLD = space
This conversion does not affect incoming calls.

Output
The table SPH_TELUSR contains the SAPphone user data stored until nowin table USR05.

Example
Old: USR05
HARRISON SP1 A
New: SPH_TELUSR
HARRISON X X
The remaining data can only be maintained via dialog in useradministration.