Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Print button

Former Member
0 Kudos

Hi All,

how to disable the standard tool bar 'PRINT' button.

ex: when we press Print preview button for any application it shows the document details, there have a PRINT button in the appication toolbar . how to diable this Print icon (standard) from here .

pls suggest ...

Thanks .

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

First find the PF- Status of the Transaction , using that find the PRINT function code, you can say

SET PF-STATUS 'XYZA' excluding 'PRINTCODE' .

XYZA is the status , PRINTCODE is the function code of the Print button.

you use this in the Initialization of the program if it s report program.

4 REPLIES 4

former_member188685
Active Contributor
0 Kudos

First find the PF- Status of the Transaction , using that find the PRINT function code, you can say

SET PF-STATUS 'XYZA' excluding 'PRINTCODE' .

XYZA is the status , PRINTCODE is the function code of the Print button.

you use this in the Initialization of the program if it s report program.

Former Member
0 Kudos

Hi SK,

Check this link for disabling standard buttons:

http://www.saptechies.com/disable-some-standard-buttons-from-alv-display/

Regards,

Chandra Sekhar

Former Member
0 Kudos

Hi,

You can use Command in INITIALIZATION or in

AT LINE-SELECTION.

Set Pf-status 'STATUS' Excluding 'PRINT' Immediately.

Regards

Sumit Agarwal

Former Member
0 Kudos

solved