Skip to Content
author's profile photo Former Member
Former Member

Disable the Print button in standard list

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 02: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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 01, 2006 at 02:34 AM

    Continued from this Inactivate the print button is the ABAP list

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 03: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.