Missing print parameters after upgrade
[abap] [cmd.parameters.add] [defaults] [EXPORT] [global] [list] [parameter] [parameters] [parameters.add] [printing] [User] [wrong parameters]
- Setting query parameters of type Date or Calendar failsSymptom You use a setParameter method call of the javax.persistence.Query API to bind a parameter of type java.util.Date or java.util.Calendar. Although you specify the TemporalType correctly, you get an IllegalArgumentException stating that...
Symptom
After an upgrade from an SAP start release 4.7 or below to SAP ECC 6.0 or higher, the default settings for the user-specific print parameters for the ABAP list print are missing.
Other terms
ABAP, printing, parameter, list, global defaults, user defaults
EXPORT
Reason and Prerequisites
If you upgrade from an SAP release below 46A (start release), the program RSINDXUPD runs automatically as XPRA.
The report RSINDXUPD reads the “old” print parameters from the database table INDX for all clients, it executes a format conversion, deletes the print parameters in INDX, and it writes the “new” print parameters to the database table TPRI_DEF.
Due to an error in RSINDXUPD the client-dependent print parameters are exported only to the client in which the XPRA RSINDXUPD war started (usually client 000).
If you upgrade from an SAP Release 4.6A, 4.6B, 4.6C, or 4.6D, the data conversion with RSINDXUPD is missing.
If you upgrade from an SAP R/3 Enterprise System 4.7 with SAP_BASIS 6.20, the print parameters are already in the database table TPRI_DEF. However, the data conversion within TPRI_DEF is missing.
Solution
If you upgrade from a start release below 6.4A, include Support Package SAPKB70016 (or SAPKB71006) in the PREPARE.
If you upgrade from an SAP Release 4.6A, 4.6B, 4.6C, or 4.6D, you must correct RSINDXUPD first. For this, you require Support Package SAPKB70016 (or SAPKB71006) or higher, or the corresponding correction instructions from this note. After that, execute RSINDXUPD manually.
Note:
If the report RSINDXUPD ran in the incorrect version, all the converted “old” print parameter default values were deleted. To restore the print parameter default values, you must restore and save the “old” print parameters in the database table INDX (all entries with RELID = PR and SRTFD that begin with U, that is, U*) from a previous data backup or from another system. Then implement the corrections described in this note. You can then execute the program RSINDXUPD manually.
If you upgrade from an SAP R/3 Enterprise System 4.7 with SAP_BASIS 6.20, ensure first that the database table INDX does not contain entries with RELID = PR and SRTFD starting with U, that is, U*. These entries did not have a meaning in 4.7 or SAP_BASIS 6.20 and should be deleted, to prevent interference with the conversion within TPRI_DEF. After that, execute RSINDXUPD manually. Since INDX does not contain relevant print parameters, data is converted within TPRI_DEF only.
Additional information:
If you upgrade from an SAP ECC 5.0 system with SAP_BASIS 6.40, a data conversion is not required.