2006 Nov 23 4:23 PM
Hi,
i want to add a print button to the toolbar and when i click on that i want my content(entries in the tablecontrol) to be printed.
how can i do this?
is there ne way other than leave to list-processing?
thanks,
vijaya.
2006 Nov 23 4:28 PM
How do you want it printed? to spool? If so you can turn this button on and handle in the PAI, then submit a print program to SAP-SPOOL, this will print the data without writing to list. You will need to pass the internal table from your table control to this submitted program, which can been done using EXPORT/IMPORT statements.
Regards,
Rich Heilman
Hi,
i want to add a print button to the toolbar and when i click on that i want my content(entries in the tablecontrol) to be printed.
how can i do this?
is there ne way other than leave to list-processing?
thanks,
vijaya.
2006 Nov 23 4:28 PM
How do you want it printed? to spool? If so you can turn this button on and handle in the PAI, then submit a print program to SAP-SPOOL, this will print the data without writing to list. You will need to pass the internal table from your table control to this submitted program, which can been done using EXPORT/IMPORT statements.
Regards,
Rich Heilman
2006 Nov 24 10:16 AM
hi,
can u explain that in detail?
what is the function module i need to use?
thanks,
vijaya.
2006 Nov 27 2:20 PM
2006 Nov 23 4:32 PM
Hi Vijaya,
If you have screen created for this purpose,
AT USER-COMMAND set the PF status(sy-Ucomm) for the buttons created so based upon the PF status fill the data in the output screen and fill the table control with the required data.
AT USER-COMMAND
case sy-ucomm
when 'Button1'
....
..... fill the data / display the data to table control
when 'button2'
....
......
endcase
Regards
Shiva
2006 Nov 23 4:33 PM
hi Vijaya,
Pls handle above said at PAI of the screen.
Reargds
shiva
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |