on 02-16-2012 6:28 AM
Dear Experts,
I have creted a smartform in ABAP client, which is working OK in 220 and 100 Dev clients.
But the same after transporting to Quality and Production the spool is not triggering.
i.e., After clicking on the Print or Print Preview buttons of the Print pop-up, the transaction aborts and comes back to the selection screen.
(This is happening in both Quality, Production clients. This is the case with only this program. All other smartforms developed these days are working fine.)
This is to request you to help me solve this problem.
kind regards
Jogeswara Rao
Can you post the code which you had used in the report
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes You Have to Use in Driver Program,
I had Asked the Call Function used for printer settings not to call Smartform.
Use this way
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
in_parameters = lwa_params
layout = 'X_65_132'
line_count = 65
line_size = 132
no_dialog = 'X'
IMPORTING
out_parameters = lwa_params
valid = lv_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
MOVE-CORRESPONDING lwa_params TO w_print-print_ctrl-pri_params.
w_print-print_ctrl-pri_params-pdest = 'LP01'. " your printr device
NEW-PAGE PRINT ON PARAMETERS lwa_params NO DIALOG.
if any issue kindly intimate
Edited by: gop4sap11 on Feb 16, 2012 8:23 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
this it will help you
IF SY-BATCH EQ 'X' OR
SY-BINPT EQ 'X'.
<.....WRITE UR CODE HERE......>
ENDIF.
Edited by: gop4sap11 on Feb 16, 2012 7:53 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for responding.
Where exactly in the driver program I have to add this IF syntax.
(I am using SSF_FUNCTION_MODULE_NAME fm for smartform, I would like to remind that the exisitng code is working fine in Dev clients).
kind regards
Jogeswara Rao
Edited by: K Jogeswara Rao on Feb 16, 2012 12:45 PM
Edited by: K Jogeswara Rao on Feb 16, 2012 12:48 PM
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.