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: 

How to disable PDF! command in Print preview of smart forms?

former_member191296
Participant
0 Kudos

Hi,

How can I disable PDF! command in Print Preview of smart forms(PDF! command converts the smart form to PDF). I want to achieve this using Authorization check not by enhancement. Can this be done through authorization settings or do I have to do enhancements?

2 REPLIES 2

former_member196331
Active Contributor

I don't think it is possible.I have similar problem, Some users we need to Restrict It.
What i did is .If some body put pdf! then press enter. I validate the User and Raise the error message.
There is one enhancement point is available at LSTXBCFOP Program. Just you can Write the Code Here.
Hope you understood.

former_member191296
Participant
0 Kudos

I just want to update that it can be done using enhancement. Implement implicit enhancement in Smartform code. Just remember that this will disable PDF! command across all transactions. If you need Tcode specific restriction then write condition based on Tcode in enhancement.

-Raghu