on 10-08-2009 6:54 AM
Hello All,
When i execute my smartform driver program i get popup for print and print priview, i want to disable the PRINT button in that popup screen andonly PRINT PREVIEW button should be visible and when i press on print preview i can see the preview and their i should be able to print the form.
I am able to do disable the PRINT button in popup but when i give print from print preview it is printing the entire SAP SCREEN (LIke a Screen Shot) which is visible at that time. I need to print only my form.how to achieve this.
Hi,
To disable the print option in smartform by passing the OUTPUT_OPTIONS parameters
ls_composer_param-tdnoprint = 'X'.
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
regards,
jagadeesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes..I have already worked on that..I am able to disable the entire POP UP..But after this when i am printing the form from print preview i am getting the Print of the Entire Screen Like when we take a screen shot of any screen. The Entire SAP Screen is getting printed with Menu bar,title bar etc....
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.