Application Development and Automation 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: 
Read only

PDF Security Information

Former Member
0 Likes
691

Hi All,

PDF converted from smartform contains system information as 'PDF producer' ( via properties, under description ->advance). Is there a way to hide these information?

Regards,

cady

1 REPLY 1
Read only

D_Chia
Active Participant
0 Likes
584

unfortunately, if you are using the standard FM 'CONVERT_OTF' the properties are basically hardcoded into logic of a subroutine (at the end of writing the hex string for the contents of the PDF file)

the Function Module 'CONVERT_OTF' makes some calls to subroutines in program RSTXCPDF

the subroutine of interest here can be found by the chain of calls listed below:-

program RSTXCPDF

form CONVERT_OTF2PDF_END

     ==> form PDF_WRITE_INFODICT (properties of PDF are determined and written here)

excerpt of code from the subroutine PDF_WRITE_INFODICT

there's another way of generating the PDF file which offers more programming flexibility in the creation process but it requires Adobe Document Services setup and running. see the link below if you would like to have a go at it.

add metadata to PDF document in ABAP | SAP_ALLes