02-10-2015 8:12 AM
Hi,
I would like to know if there is a way through authorizations to prohibit the use of the command PDF! in the command box. This command triggers the generation and download of a SAP output to PDF format. I know this command can only be used with Smartforms and not with SAPscript but I would like to take this command away for Smartforms as well.
Thanks a lot for your help.
Joris
02-11-2015 5:39 AM
Hi,
I checked the code and it seems to be a standard functionality delivered with smartforms. There is no authorization code associated with it. You could implement this by yourself or help with developer. In function group STXBW there is routine cc_exludes that determines which options are available. So at the end using implicit enhancement point you could simply put perform exclude using 'PDFV'. This would disable this option for everyone. If you want to control it by authorization object you can define your own and check for it.
Cheers
02-10-2015 8:50 AM
02-10-2015 9:10 AM
Hi,
I would be careful about using GuiXT for authorization purposes. Execution of scripts is under control of client so if users can disable script then they can bypass it.
Cheers
02-10-2015 9:22 AM
02-11-2015 5:39 AM
Hi,
I checked the code and it seems to be a standard functionality delivered with smartforms. There is no authorization code associated with it. You could implement this by yourself or help with developer. In function group STXBW there is routine cc_exludes that determines which options are available. So at the end using implicit enhancement point you could simply put perform exclude using 'PDFV'. This would disable this option for everyone. If you want to control it by authorization object you can define your own and check for it.
Cheers
02-11-2015 8:57 AM