cancel
Showing results for 
Search instead for 
Did you mean: 

HCM Interactive forms - operation error while applying usage rights

Former Member
0 Kudos

Hi!

We have setup several scenarios using the new HCM Interactive forms on ERP6.0 and EP7.0. The scenarios include things like Transfer, pay change request.

In 9 out of 10 cases everything thing is working as expected so that the users can complete the forms and the process for their requests but occasionally we are seeing a random error that occurs for any user at any time without any apparent pattern.

The below is what is seen from the log file

Exception Stack Trace:

com.adobe.ProcessingError: PDF operation error while applying usage rights to PDF: /tmp/adobewa_PEP_17116350/DM-6192899546130604164.dir/DM8253967776737558967.tmp

Specific error information:

this document is signed

at com.adobe.ads.request.UsageRights.execute(Unknown Source)

at com.adobe.BaseADSRequest.doWork(Unknown Source)

at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)

at sun.reflect.GeneratedMethodAccessor403.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

at SoapServlet.doPost(SoapServlet.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:215)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.adobe.document.pdf.PDFOperationFailure: IDL:com/adobe/document/pdf/PDFOperationFailure:1.0

at com.adobe.EJB_PDFAgent.linearize(Unknown Source)

at com.adobe.EJB_PDFAgent.setUsageRights(Unknown Source)

... 30 more

I am in the processes of raising a message to SAP about this but was wondering if any one else had experienced a similar error or knows what might cause this type of error.

Thanks

Matt

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

We had the same problem. The fix is to get a unique ID for every form. Given below

Instructions to generate unique ID

1. Modify template

Edit your template via t-code SFP

-> goto Layout tab -> Adobe LiveCycle Designer will be started

-> Goto 'XML source' tab

in line2, you will find following entry

<?xfa generator="AdobeLiveCycleDesigner_V8.0_SAP" APIVersion="2.5.8227.0"?>

<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2008-09-11T14:

39:44Z" uuid="4ed773ff-6aeb-483e-a5ec-4af1a138c775">

from this line, delete uuid="..." part.

Go back to 'Design view' tab

Check if layout is not changed.

Save / activate template

2. Delete database table entry for table ADS_Licensed_forms

Schema SAP<SID>DB -> table ADS_LICENSED_FORMS

(you can delete all table entry from this table)

3. When you access the forms, they are aitomatically registered in this table.

Hope this helps.

Sunil

Former Member
0 Kudos

Matt,

Is the error happening on one particular form or randomly on any form as you mention in 9 out of the 10 times?

Also, are these the standard HCM forms or ones that you have built from scratch or perhaps a modified standard form? I came across an issue not too long ago with some custom Interactive Forms where the UUID was the same for every form throwing an error.

-Matt

Former Member
0 Kudos

The temporary solution to this is restarting the ADS Service from Visual Admin.

But I am still searching why this error comes in irregular intervals.

Former Member
0 Kudos

Even I am also getting the similar error...

com.adobe.ProcessingError: PDF operation error while applying usage rights to PDF: C:\WINDOWS\Temp\adobewa_BEP_7612550\DM-8106761452442695840.dir\DM1105230895792801939.tmp