INVALID_PRI_PARAMS is an ABAP runtime error which you may come across when using or developing within an SAP system. See below for the standard details explaining what it means and how you can avoid or fix this runtime error.
Short Dump Classification: A - ABAP Programming Error
You can view further information about a runtme error by using transaction code ST22 which will show you this and all runtime erros that have happen in your SAP system.
Also check out the Comments section below to view or add related contributions and example screen shots.
If you want to put ABAP lists in the spool, set the correct print
parameters using "NEW-PAGE PRINT ON" before the first WRITE command.
Printing with invalid print parameters
Please see abap error for more details about the possible cause of this runtime error and how it could be avoided.
Printing was activated without setting print parameters with "NEW-PAGE
PRINT ON".
An attempt was made to create a spool request with empty or invalid
print parameters.