09-01-2006 3:13 AM
I would like to disable the printing function in standard list. I have tried to create a customed gui status with nothing set in the print icon in the standard toolbar and then call 'set pf-status'.
However, the print button is still active.
I have even tried to create a new gui status without copying from the standard one(SAPMSSY0 STLI). I find that there are some functions that will be automatically set active (print, find, find next).
So is there any way that I can disable the printing function? Thanks a lot
09-01-2006 3:35 AM
Hi gundam,
double click on ur PF status , in tyhe menu goto>Attributes>Push button Assignment-->display all
then in ur set pf status exclude that FCODE of print button
SET PF-STATUS 'ZTEST' excluding itab.
09-01-2006 3:34 AM
09-01-2006 3:35 AM
Hi gundam,
double click on ur PF status , in tyhe menu goto>Attributes>Push button Assignment-->display all
then in ur set pf status exclude that FCODE of print button
SET PF-STATUS 'ZTEST' excluding itab.
09-01-2006 3:45 AM
09-01-2006 3:55 AM
09-01-2006 4:08 AM
To achieve this you need to create your own custom pf-status. The tcode for creating new pf-status is se41. Goto SE41, enter the program name and click create.
Enter the menu bar buttons, application tool bar button and Function key as per your requirement. Active the pf-status. Once the pf-status is created, use this in your program using the statement.
set pf-status 'ZPF'.
Regards