on 06-18-2009 10:51 AM
Hi,
We are using SRM 550.
When a user views/changes a PO in the browser they can use the Preview Purchase Order button to view the PO as a PDF document.
This is OK, but we want to disable users from printing the form using the Adobe PDF print button as there is no print log recorded for this action and so the audit trail is compromised.
I have heard that this can be disabled by SAP when the PDF is generated does anyone know how this is acheived.
Thanks in advance
Allen Brooks
SRM BPO
Sunderland City Council
Hi Allen,
we also had a similar issue with print option and also we tried most of the BADIs and methods given below however the exact requirement wasn't achieved. As you saying its only a compliance issue and not for any system technical reason, We had a workaround for implemented for this.
Is the problem you are facing is "end users misusing the print functionality by printing the form before ORDERED status of the PO?" if yes we made a watermark in the smartform based on condition of PO status. If the PO is in any status except ORDER, smartform will print the wtaermark in the background as "Not approved / awaiting for approval /test"
Rgds / Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to all for your helpful suggestions we will try these out.
Regards
Allen Brooks
SRM BPO
Sunderland City Council
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Muthu,
yes it is that Print Preview Button but we don't want to disable that button, it is the buttons in the Adobe application that we want to disable for all users.
We do want the users to be able to do a print preview.
Thanks
Allen Brooks
SRM BPO
Sunderland City Council
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Muthu,
When our users click on Print Preview the Adobe Acrobat application on their Desktop machine starts up and the PDF document is displayed for them.
The Acrobat application has Print and Save buttons that allow users to print or save Po's and no log entry is made in SAP because the application is outside the SAP environment, it is these buttons that need to be disabled.
Somewhere, in darkest SAP there must be a routine that is creating the Adobe form, (it is identical to our smartform layout), in this routine we need to disable the Print and Save buttons before the form is sent to the users Desktop. This output routine is not controlled from the usual SPRO Output config stuff, i.e. it is not Print, Fax, Email or XML.
I have been informed that this is possible, but no other information on the how of it.
Any suggestions would be welcome.
Regards
Allen Brooks
SRM BPO
Sunderland City Council
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Allen
Are you talking about
Output preview -( Standard SRM ) Print preview
Process PO
Display Purchase Order
order hold check change display delete complete refresh
output preview download upload
are you clicking the above output preview . sorry to ask you many times. if it so
we can disable this output preview for every po . so no one can print .
br
muthu
Hi,
You can try acheiving this by creating an implicit enhancment for the class 'CL_FP_PDF_OBJECT'
Open method -IF_FP_PDF_OBJECT~SET_OUTPUTPDF. In this the 'printable' parameter is set as default 'true' . You can reset the parameter with your enhancement. However you should also note that PO output to vendor emails will also go as non printable pdf.
Regards,
Sanjeev
Muthu,
Sorry I apologise if I am not making myself clear?
We do want the users to be able to preview the PO's in the Adobe Reader screen, but simply don't want them to be able to print from that screen.
Disabling the Print Preview button will not achieve this.
Regards
Allen Brooks
SRM BPO
Sunderland City Council
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Allen
SAP Note 923753 - SRM5.0: Unwanted PO output preview
button
have checked with this BBP_UI_CONTROL_BADI discussed in this note.
br
muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Muthu,
thanks but we already have this note implemented (we are at SP13 and the note is in SP12), also I think the change would be situated in a either function that generates the PDF document as it is normal option using Adobe Acrobat Professional to be able to disable the download or printing of a PDF doc.
May also be something to do with the smartform?
The BADI you mention does not appear to have a method for this.
Regards
Allen
Hi Allen
field control you can do either via below badi or templates.
BBP_UI_CONTROL_BADI BAdI
BBP_PO_UI_CTRL - field control in Purchase order
you must control the output preview button to disable . if you still finding problem then only this note is applicable . got it.
You do not want to provide the output preview button in the purchase order using the BBP_UI_CONTROL_BADI BAdI, however, this appears as soon as you go to the output area in the header data of the purchase order. However, the button no longer has the label "Output preview", instead it just has the label "Preview".
This problem is caused by a program error: The display area contains a hidden "preview" button (the button is invisible but nevertheless it exists in the GUI) (Function group BBP_OUTPUT, screen 1100). This has the same name as the button for the "output preview" that exists separately in the button area of the purchase order (Function group BBP_PO_UI_ITS screen 2200). In the described case, the data of the output button is used for the purchase order button.
Solution
This note ensures that the output button does not exist (that is, not even in the GUI) if a calling application (in this case, purchase order) requires the generic output screen using the BBPS_OUTPUT_PUT_PBO function module without the preview button (IV_WITH_PREVIEW = ' '). Therefore, the data of the output button cannot be used for the purchase order button. This correction is available with Support Package 04 (SAPKIBKT04). For an advance correction, use Transaction SNOTE to implement the correction instructions attached to this note.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.