2009 Jun 18 8:23 AM
Hello Friends ,
Friends i just want to remove the print option button from the list report ..
Because we don't wan't that user take print out of few selected list reports
If you provide code i will be thankful .
Thanks
cool..
2009 Jun 18 8:36 AM
Yes , you can exclude the button.
Check the IT_EXCLUDING table and build this table for PRINT.
Fill the fcode for print ans padd it to teh FM
Hello Friends ,
Friends i just want to remove the print option button from the list report ..
Because we don't wan't that user take print out of few selected list reports
If you provide code i will be thankful .
Thanks
cool..
2009 Jun 18 8:27 AM
Hi,
Try to create your own pf status and remove print option from your custom pf status.
Thanks
Mohit
2009 Jun 18 8:36 AM
Yes , you can exclude the button.
Check the IT_EXCLUDING table and build this table for PRINT.
Fill the fcode for print ans padd it to teh FM
2009 Jun 18 10:42 AM
Hi Ajay,
Use the following code:
Data: Begin of i_ucomm occurs 0,
ucomm type sy-ucomm,
End of i_ucomm.
Refresh: I_UCOMM.
IF <Your Condition>.
I_ucomm-ucomm = 'PRINT'.
Append i_ucomm.
SET PF-STATUS "<PFNAME>"
EXCLUDING i_ucomm.
.....
.....
ELSE.
SET PF-STATUS "<PFNAME>".
ENDIF.Rgds,
Ramani N
2009 Jun 18 10:59 AM
Thanks dear ,
But i am using the type i program and not the module pool .
In my case first selection screen comes then then after filling parameter value output comes as a list output .
My need is to remove the print button ..
2009 Jun 18 10:44 AM
Hi ,
you can create your own PF-Status by copying it from any standard PF-Status. Then you remove the print button. Or else you can exclude that button programatically and use
SET PF-STATUS excluding itab.
Regards,
Anil
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |