12-09-2008 10:32 AM
Dear all,
I am having problem with printing invoice, when ever i am printing invoice some standard page (SAP Test print page) is also printing , this issue is onley in quality and production, in development it is working fine.
Can any one having solution for this, thanks for your help in advance.
Good Regards.
12-09-2008 10:40 AM
1. After calling the FM.
2. l_params-PRSAP = ''.
3. In debuggin, just check, what is the value.
it must be having either X or D
or
1. COVER_PAGE
Try this parameter while calling the FM.
2. COVER_PAGE = ''
12-09-2008 10:56 AM
Hi,
The thing is, it is not printing in development same driver moved to quality and production, printing test page there, why?
Please reply.
Thanks for your help.
12-09-2008 11:24 AM
Hi,
Goto SPAD
Output Devices => DISPLAY
Double click on your output device
Goto OUTPUT ATTRIBUTES tab
Host spool cover page ... SELECT DO NOT PRINT HOST SPOOL COVER PAGE instead of ALWAYS PRINT HOST SPOOL COVER PAGE
Best regards,
Prashant
12-09-2008 11:28 AM
Dear Imran,
Just check it out. I m printed report directly instead of display.
w_destination = 'LOCL'.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = w_destination
layout = 'X_58_170'
no_dialog = 'X'
IMPORTING
out_parameters = params
valid = valid.
IF valid space.
ALL DISPLAY PARAMETER RIGHT ON PRINTER
NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
ELSE.
GIVE ERROR PRINTER DESTINATION IS NOT VALID
MESSAGE s208(00) WITH text-010.
ENDIF.
ENDIF.
User write stament, That will dirctly go for print.
OFF THE PRINTING AFTER REPORT IS DISPLAY
IF valid space.
NEW-PAGE PRINT OFF.
ENDIF.
it may sortout ur proble.
Best Regard,
Flavya