2014 May 28 7:47 AM
Hi All
I have done the Z programe, out put is smartform.
when i am execute it properly it ran and print preview is displayed.
But problem is print out is not coming, when i m click the print button it is going to spool olny,
Hw can i sort this, Any settings have to change in SPAD......
Rgds
Pramod
Hi All
I have done the Z programe, out put is smartform.
when i am execute it properly it ran and print preview is displayed.
But problem is print out is not coming, when i m click the print button it is going to spool olny,
Hw can i sort this, Any settings have to change in SPAD......
Rgds
Pramod
2014 May 28 7:49 AM
2014 May 28 7:52 AM
You may also change the user settings in SU01, there's a checkbox for "Print immediately" under default printer. Another way is to go into settings when the print window appears.
2014 May 28 8:08 AM
2014 May 28 8:16 AM
2014 May 28 8:17 AM
Hi Pramod,
plesae check these code and match it with yours code for print and preview
*****For Printing
IF PRIN = 'X'.
P_CONTROL_PARAMETERS-PREVIEW = ' '.
I_OUTPUT_OPTIONS-TDNOPRINT = ' '.
I_OUTPUT_OPTIONS-TDNOPREV = 'X'.
I_OUTPUT_OPTIONS-TDNEWID = 'X'.
I_OUTPUT_OPTIONS-TDIMMED = 'X'.
**********For Preview
ELSEIF PRIV = 'X'.
P_CONTROL_PARAMETERS-PREVIEW = 'X'.
I_OUTPUT_OPTIONS-TDNOPRINT = 'X'.
P_CONTROL_PARAMETERS-NO_DIALOG = ''.
ENDIF.
if your code are correct, then i think problem is in settings, you should talk to your basis guys regarding it.
2014 May 28 8:41 AM
If you want the SU3 have an impact on your smartforms, you have to select the option User_Settings in the call function of the smartforms.
regards
Fred
2014 May 28 8:42 AM
Hi Pramod,
system --> user profile --> Own Data (Defaults tab) Check output immediately.
Thanks,
Anil
2014 May 28 8:56 AM
Dear Pramod,
In smartform layout select Global setting form attributes, output format is 'standard output'.
Regards,
Abbas.
2014 May 28 10:14 AM
Hi Pramod,
Check if the spool request is getting generated. When you give the print option, it will tell you the spool request number. Check the spool number in tcode SP01.
You can see the print preview from there and trigger the print as well. If you trigger the print from there, it will create logs and you can find out what is causing the error.
What kind of printing are you using to get the print out.
Hope this helps.
AC