I am using ALV grid.
My requirement is displayed and when user clicks on Print button print should be fired immediately.
For the requirement, I am using parameters,
CALL FUNCTION 'GET_PRINT_PARAMETERS'
NO_DIALOG = 'X'
IMMEDIATELY = 'X'
DESTINATION = 'LOCL'
LAYOUT = 'X_65_255'
OUT_PARAMETERS = PRIPAR
OUT_ARCHIVE_PARAMETERS = ARCPAR
VALID = VAL
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4.
but when clicked on print button only spool is generated.
Even I tried with setting PRINT-PRINT_CTRL-PRI_PARAMS-PRIMM = 'X'
of REUSE_ALV_GRID.. but it's generating spool ,but print is not happing immediately.
Please suggest a way to give print immediately.
Thanks in advance,