Validation on Execution of workitem
Hi all,
I have a scenario in which a workitem with expense value 7000$ has gone for approval to manager1 in his UWL. Manager1 can approve expense upto 10000$ But when this workitem was created Manager1 has gone on leave and he has substituted Manager2 for this approval. Manager2 has limit of approving expenses only upto 5000$.
So what I want is when this Manager 2 click on approval of this workitem in his UWL the validation should happen and it should give Manager2 an Error message that ' 7000$ is higher than your approval limit' and workitem should not get executed and should remain in Manager2 UWL so that later when Manager1 comes Manager2 can forward this workitem back to Manager1
How to do this...should i do this validation in my BO method then how to throw error in UWL screen. else if this validation is to be done in JAVA or ABAP Webdynpro of UWL or any other way to achieve this...
Thanks in advance..
Michell,
As mentionned by Pavan, you can use a program exit for this. Look at the decision step in your workflow, tab Program Exit. Since you need to add something there I suggest you do a copy of the standard wf and use that one instead of the standard directly
There is a serious downside to this when using UWL however: the nice and sexy Java Webdynpro provided with the portal and used by default to handle decision tasks does not handle the program exits. That means you need to change the configuration of your UWL so that it calls the GUI decision screen instead of the WD.
I faced exactly the same issue in the same process and copntext (i.e. travel management wf in UWL), and that's the only solution I found for this. The other possibilities are too far from the SAP standard functionality, i.e.
- Changing the decision java WD
- Creating a task (including an object method and maybe a WD or BSP application) on your own in which you integrate the check on the approval power, and in the workflow replace the standard decision by that task.
I even opened a message to SAP support about the fact that their UWL decision WD does not support program exits. After months of frustrating discussions I have got the standard answer that "this works as designed". I have a development request opened at SAP since almost a year, with no feedback so far.
Hope this helps. In any case, I would really appreciate if you could post here what solution you end up with.
Thanks and regards,
Patrick
Similar Messages
-
Problem in execution of WorkItem through Lotus Notes
Hi,
When i am trying to execute the workitem from lotus notes, a dialog appears denoting that the system description and GUI start parameters are unknown. But when i give the start parameter manually the work item gets executed. My question is how to automatically bring the GUI start paramter in the work item execution link itself.
Regards,
Susheel JoshiHi Susheel,
Can you pls. let me know... if I directly send the workitem to the lotus notes mail ID... will it go as workitem in lotus notes... or do we need to do some settings on the same....
I have a requirement of sending a workitem to the lotus notes ID and need to execute the workitem from lotus notes itself.
If its possible can you let me know how...
Thanks,
Sid -
Workitem execution from outlook - via citrix
Hallo,
we access SAP via Citrix and we want to execute workitems from outlook (by a decision task).
I use the report RSWUWFML2, the user receives e-mail with corresponding attachments to execute the workitem, but I don't know, how to open them.
Do I have to set up anything special?
Thank you.
PetraHi PB,
Are you not able to open/execute the workitem ?
Does it give you error ?
I have built scenarios of executing the workitem from Outlook,
in order to do that, you need to run the report RSWUWFML2 in background, hence create a variant for the report with following checkboxes ticked,
X New workitems only.
X One message per workitem.
X Workitem Execution.
After you run this report in background, you need to create a shortcut of your transaction to which your workitem should lead you.
I mean, say on execution of workitem, you want the user to reach transaction ME54N, then create a shortcut for this transaction, by opening your client thru SAP, going to ME54N and clicking the shortcut button on the menu.
Now, add this shortcut to your SAP GUI LogOnPad.
Note* : you should have all the valid parameters in the shortcut.
Thats all I did.
Hope it helps.
Reward if helpful.
Citrix system wouldnt create an issue I suppose.
Aditya -
Extending Validity Period In Assigned Appraisal Documents ???
Dear Experts,
Appraisal Documents is assigned to Employee via Appcreate, where we have provided some validity period and Execution period of Documents .
Now requirement is to extend END Date of Validity and execution period .
For Ex :
Start date : 01.01.2014
End Date : 31.06.2014
Now Appraisal Period is over and appraisal document is freezed .
Is there any way We can Extend that Appraisal Period from 31.06.2014 to 31.08.2014 ???
I was trying PHAP_ADMIN_PA, where we can click on CHANGE HEADER DATES and can change Dates and other fields but that is possible before Ending of Appraisal Document .
Now I am getting Error : latest appraisal date must occur after the current date .
Is this Possible to do ?
Is there any table or configuration or enhancements where we can Extend Dates of Freezed Appraisal Documents ??
Its a needful thing to do..
Please help me out for way forward .
Regards,
PranHi Pran,
Yes, your request can be done by PHAP_ADMIN_PA (not by PHAP_CHANGE, as was suggested here).
The reason you got that error message is that you have tried to set the execution end-date earlier than the current date, and that makes no sense.
As you may know, the execution period determines the period in which the appraisers will be able to enter the appraisal document the perform the appraisal (edit the document). if you set it to a period in the past, what will you gain by doing it?
Just fix the execution period.
Regards,
Liran -
Scanned Incoming Invoice (BUS2081 + ArchiveLink)
Hi all,
I have a scenario that i need some help with:
Scanned invoice arrives to SAP (TOA0). Picture should be assigned to invoice in SAP.
Sometimes, invoice doc. already exists in SAP (as parked) and metadata of incoming scanned picture would contain a reference (XBLNR) so that pre-existing SAP inv. doc can be found. When reference doesn't exist (is empty), a new SAP invoice should be created.
Archived document triggers my workflow definition. Definition in SOA0 for my document type ZMMINV is set to BUS2081.PARKED. My WF container contains reference and invoice no. and fiscal year if they exist.
When there is no existing invoice doc. (reference was empty) an empty MIR7 would be called via IMAGE.IMAGEASSIGNEARLY and a user would enter a SAP invoice manually.
The problem i'm facing is:
If invoice document already exists in the system, on execution of workitem, a pre-filled MIR7 should be called (inv.no/fisc.yr/BUKRS) and scanned picture should be assigned to it upon saving/parking.
Am i correct if i'd use IMAGE.IMAGEASSIGNLATE in a step for creating a workitem for that particular invoice doc.no.?
If so, how can i pass/call MIR7 (BUS2081.PARKED) with existing invoice number, so a user wouldn't have to manually enter
inv.no.?
Thnx for your helpful replies...
TomSolved it myself...
-
Hi all,
When i tried to create correpondence requests, i am getting the following error in the ADS trace.
Begin trace
Adobe Document Services Tue May 29 18:23:33 GMT+05:30 2007 Trace Results:
String: rp.script.uri = sap/SAPPDFDocument.rps
String: Trace = 4
String: Username = TM_ADMIN
Stream: PDFDocument
Stream: XFD
IIOP service is running
Created a Data Manager for this request
Locating stream: PDFDocument and loading into a DOM
PdfDocument bytes = 870
Processing PDFDocument instructions
Parsing the request
Checking request semantics
Request initialization (including DOM construction and validation) processing execution time = 32 ms.
Action: Identity
<Identity><Application> = SAFP
<Identity><Form> = ZLSO_PWB_COVER_CONFIRM
<Identity><SID> = UBI
<Identity><Client> = 800
<Identity><IsProductive> = 0
Action: Renderer
Using Template Template (xdp):
Source = URL
Name = dest:FP_ICF_DATA_UBI//sap/bc/fp/form/layout/ZLSO_PWB_COVER_CONFIRM.XDP?fp-language=EN
CacheInfo =
Setting PDFDynamic to default 0 for this PDF.
Stream = PDFOut
URL = acrobat7.xdc
Input node: <Render><Output> = pdf
URL = xfa.xci
Data: XFD
No custom config file found.
Using standard config file: AdobeDocumentServices\lib\xfa.xci
Config setup completed.
Unhandled exception detected during a "Render" operation.
Request start time: Tue May 29 18:23:33 GMT+05:30 2007
java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: java.net.ConnectException: Connection refused: connect
Exception Stack Trace:
java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: java.net.ConnectException: Connection refused: connect
at org.w3c.www.protocol.http.HttpURLConnection.error(Unknown Source)
at org.w3c.www.protocol.http.HttpURLConnection.checkReply(Unknown Source)
at org.w3c.www.protocol.http.HttpURLConnection.getResponseCode(Unknown Source)
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:471)
at com.adobe.ads.util.FileUtils.getPDFDataFromURL(FileUtils.java:572)
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:200)
at com.adobe.ads.request.Template.setPDFData(Template.java:222)
at com.adobe.ads.request.Renderer.initializeTemplates(Renderer.java:468)
at com.adobe.ads.request.Renderer.execute(Renderer.java:395)
at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111)
at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1142)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:160)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Help needed!!
Regards,
SharadhaHello Sharadha,
One thing you could try is to use the ip address of the server rather than the host name. The error suggests that the ADS cannot find the server to send back the rendered pdf, so i would double check the connection parameter like the WS Proxy Url etc.
Regards
Abdul -
How to use secondary method in workflow?
Hi friends,
can anyone plz let me know how to use secondary methods in workflow? it would be helpful if u explain with an example..
thanks and regards,
Arun.SHi Arun Kumar,
The Sec Method can be used in the user decision step. The secondary methods are executed along with the user decision step. You have 3 options. Either execute a secondary method before executing the user decision step or after execution of user decision step or while executing the user decision.
For this define the methods either in Methods before execution of workitem execution to execute it before user decision step or Methods after execution of workitem so as to execute it after the execution of user decision.
In order to execute a method along with user decision step execution use secondary methods (amodal call.)
Let me know if you have any queries.
Regards,
Raj -
Error in Fork Step causing issue in generating next work items
All,
We have ECC 6.0 with the following SP:
SAP_BASIS 700 0012 SAPKB70012 SAP Basis Component
SAP_ABA 700 0012 SAPKA70012 Cross-Application Component
I have this strange issue. In one of my custom workflows, i am using a Fork step with 02/ 02 necessary outcomes. In branch 1, i am sending a mail to a user's e-mail id. In branch 2, i have 3 activity steps for another user. Step 1 is to display an invoice and step 2 is a user decision to apprve/deny this invoice.
I know that during runtime, at the Fork step, the work item for branch 1 and the 1st work item for activity step 1 in branch 2 get generated almost simultaneously(though with some small time difference). This is OK. But the issue is, when the sendmail in branch 1 errors out due to some error, and when step 1 is finished successfully by another user, the work item for 2nd activity step in branch 2 is not getting created.
As i understand, in the Fork, the 2 branches, execution should be independent of each other, that means, the work item creation and execution of branch 1 and 3 steps in branch 2 should be happening independently. But, this doesn't seem to be the case.
I understand when the sendmail in branch failed, the wflow is set to 'Error' Status.But there is already an open workitem for step 1 of branch 2. When this workitem is completed successfully, I expect the work item for 2nd step should get generated.But this is not happening. But, when i restart the whole workflow using SWPR, it generates the witem for 2nd step in branch 2. And still the wflow is in 'Error' status.
When the user finishes the 2nd workitem of branch 2, the next work item for 3rd step is not getting generated. Instead i needed to restart the whole wflow again and this time, it generated the 3rd witem in ranch 2.
To my understanding, when a Fork is there, if i specify 02/02 outcomes necessary, these 2 branches should go in parallel, both creation and execution of workitems, until they are joined. And at this point, if the whole Fork step is successful, then workflow will proceed further with steps below the Fork. Shouldn't this be the case ?
Anybody had similar issue? Pl share your thoughts on this. I'd really appreciate if somebody can clarify whats going on in the above case and how to fix this.
Thank you in advance
Regards,
venu
Edited by: Venugopal Jogi on Jun 10, 2009 5:58 PMHi Arghadip,
Thanks for your reply. You said
"When a Workflow goes into error the processing should stop whether it is in same branch or in different.".
If this is correct, then as i explained earlier, when i restart the workflow without fixing the errored branch, then also, the next work item should not be created..Right ? But, it is. I didn't fix the errored branch but simply restarted the workflow. Then it created the witem for 2nd step, in the branch 2 that is not errored.
How can this be, the branch 1 is still in ERROR status only. So, can you pl clarify if something else might be going on here.
Also, fixing the issue is fine. But, the SendMail step in branch 1 is just an information only and per business requirement, this should not be holding up the approval process. And if we don't process the invoice in time, just because of some informational mail errored out, this will not be a feasible solution to the client,Right ? That's the whole reason i am using Fork step, so that they both proceed parallelly (independently).
If step 1 is a pre-requisite for step 2, then it makes sense to fix error in step 1 so that we can proceed with step 2.
Any other thoughts on this.....
Regards,
venu -
Execute program using a button on Selection screen
Hi Experts,
I had placed a push button on my selection screen and now i want this button to carry all the behaviour of the std F8 function in terms of validations and execution.
How can i do this?
Thanks
DanyAdding to the good answer provided above, you need to put your validation logic in the event At USER-COMMAND. There is where you will process the command (function key) raised by clicking on the toolbar. (assuming you did the step described by Reddy).
Leonardo De Araujo -
Hello All,
Iam trying to display interactive form thru example FP_EXAMPLE_01 but Im getting error, have switched on the trace here are the details
<b>PDF with additional info</b>
'all' Log Entries
Severity Message Id Date/Time Description
Trace No Errors Reported.
<b>Trace level file</b>
Begin trace
Adobe Document Services Tue Oct 24 11:52:49 GMT+04:00 2006 Trace Results:
String: rp.script.uri = sap/SAPPDFDocument.rps
String: Trace = 10
String: Username = MAHESHB
Stream: PDFDocument
Stream: XFD
IIOP service is running
Created a Data Manager for this request
Locating stream: PDFDocument and loading into a DOM
PdfDocument bytes = 1077
Processing PDFDocument instructions
Parsing the request
Checking request semantics
Request initialization (including DOM construction and validation) processing execution time = 98 ms.
Action: Identity
<Identity><Application> = SAFP
<Identity><Form> = ZDEMO_FORM
<Identity><SID> = DEV
<Identity><Client> = 200
<Identity><IsProductive> = 0
Action: Renderer
Using Template Template (xdp):
Source = URL
Name = dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/ZDEMO_FORM.XDP?fp-language=EN&fp-cacheinfo=2006-10-24T04%3a29%3a19Z%24618b0729-7edc-458f-b1bb-4f5d273a67c7%240%24en_US%24v0%2e8
CacheInfo = 2006-10-24T04:29:19Z$618b0729-7edc-458f-b1bb-4f5d273a67c7$0$en_US$v0.8
Setting PDFDynamic to default 0 for this PDF.
Stream = PDFOut
Input node: <Render><Output> = pdf
Stream = PDLOut
URL = hppcl5e.xdc
Input node: <Render><Output> = pcl
Data: XFD
No custom config file found.
Using standard config file: AdobeDocumentServices/lib/xfa.xci
Config setup completed.
Processing exception during a "Renderer" operation.
Request start time: Tue Oct 24 11:52:49 GMT+04:00 2006
com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/ZDEMO_FORM.XDP?fp-language=EN&fp-cacheinfo=2006-10-24T04%3a29%3a19Z%24618b0729-7edc-458f-b1bb-4f5d273a67c7%240%24en_US%24v0%2e8
Exception Stack Trace:
com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_DEV//sap/bc/fp/form/layout/ZDEMO_FORM.XDP?fp-language=EN&fp-cacheinfo=2006-10-24T04%3a29%3a19Z%24618b0729-7edc-458f-b1bb-4f5d273a67c7%240%24en_US%24v0%2e8
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:210)
at com.adobe.ads.request.Template.setPDFData(Template.java:222)
at com.adobe.ads.request.Renderer.initializeTemplates(Renderer.java:468)
at com.adobe.ads.request.Renderer.execute(Renderer.java:395)
at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111)
at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1142)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Native Method)
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: java.io.FileNotFoundException: Destination exception while retrieving destination
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:452)
at com.adobe.ads.util.FileUtils.getPDFDataFromURL(FileUtils.java:572)
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:200)
... 33 more
Caused by: com.sap.security.core.server.destinations.api.DestinationException: [destination_0001] The properties for destination FP_ICF_DATA_DEV of type HTTP could not be located.
at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:166)
at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.invokeInternal(LocalInvocationHandler.java:77)
at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:53)
at $Proxy103.getDestination(Unknown Source)
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:444)
... 35 more
Caused by: com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination FP_ICF_DATA_DEV of type HTTP exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination FP_ICF_DATA_DEV of type HTTP exists
at com.sap.security.core.server.destinations.io.ConfigurationManagerStorage.get(ConfigurationManagerStorage.java:123)
at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:136)
... 42 more
Merging log data with log.pdf
Merge result: Success with information
Successfully merged data into dataless log.pdf.
Action: Render Error Log
Saved input stream, size: 18877 to temporary file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM-8202457197062434482.tmp
Saved input stream, size: 1077 to temporary file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM9000379241336545535.tmp
Embedding file/stream: pdfDocument.xml using ID: pdf doc MimeType: Description: Document Services Control Stream into PDF: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM6587752938953647532.tmp
Instantiate PDFMM CORBA connection execution time = 27 ms.
Error embedding request inputs in error log.:
java.lang.NullPointerException
Saved input stream, size: 7601 to temporary file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM-5415419749347233973.tmp
Embedding file/stream: trace.txt using ID: trace string MimeType: Description: Document Services Trace into PDF: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM6587752938953647532.tmp
Adding file:/var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM1133995506666286675.tmp to workstreams as: error.pdf
Saved output file: /var/tmp/adobewa_DEV_19732350/DM-6148188065651030618.dir/DM1133995506666286675.tmp to stream: error.pdf
Processing exception during a "Render" operation.
Request start time: Tue Oct 24 11:52:49 GMT+04:00 2006
com.adobe.ProcessingError: No output was generated while rendering
The render error log file has been written to /usr/sap/DEV/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles/2006.10.24.115250SAFPMAHESHB.pdf.
Please validate the input files or streams attached with it and try again
Exception Stack Trace:
com.adobe.ProcessingError: No output was generated while rendering
The render error log file has been written to /usr/sap/DEV/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles/2006.10.24.115250SAFPMAHESHB.pdf.
Please validate the input files or streams attached with it and try again
at com.adobe.ads.request.RenderErrorLog.writeErrorPDF(RenderErrorLog.java:216)
at com.adobe.AdobeDocumentServicesWorker.processRenderLog(AdobeDocumentServicesWorker.java:1300)
at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1168)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Help me on this......The problem was resolved by copying from our other system running the ADS the missing folders. If you check under the global directory you will see the subfolder as described in my last post so if a system identifier is DEV it would be drive usr\sap\DEV\sys\global\AdobeDocumentServices\
then under the AdobeDocumentServices folder there needs to be the folder for XMLFormService otherwise when starting and testing it will not find the XDP files it requires. I did not end up filing the call as this resolved the problem
Other folders you should have are;
Licensesupportservice
RenderErrorlog
TrustManagerService
DataManagerService
and others.
I believe there must be a support package that is not cumulative as we did the install then added the Java support package for ADS and several of the mentioned folders influding the XMLFormService and the RenderErrorlog were not there
Hope this helps -
Hi all,
I am getting the following exception when i tried to download a PDF.
Begin trace
Adobe Document Services Thu Jun 07 12:17:14 GMT+05:30 2007 Trace Results:
String: rp.script.uri = sap/SAPPDFDocument.rps
String: Trace = 4
String: Username = SN_DEMO1
Stream: PDFDocument
Stream: XFD
IIOP service is running
Created a Data Manager for this request
Locating stream: PDFDocument and loading into a DOM
PdfDocument bytes = 832
Processing PDFDocument instructions
Parsing the request
Checking request semantics
Request initialization (including DOM construction and validation) processing execution time = 32 ms.
Action: Identity
<Identity><Application> = SAFP
<Identity><Form> = FP_TEST_00
<Identity><SID> = UBI
<Identity><Client> = 800
<Identity><IsProductive> = 0
Action: Renderer
Using Template Template (xdp):
Source = URL
Name = dest:FP_ICF_DATA_UBI//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
CacheInfo =
Stream = PDLOut
URL = hppcl5e.xdc
Input node: <Render><Output> = pcl
URL = xfa.xci
Data: XFD
No custom config file found.
Using standard config file: AdobeDocumentServices\lib\xfa.xci
Config setup completed.
Processing exception during a "Renderer" operation.
Request start time: Thu Jun 07 12:17:14 GMT+05:30 2007
com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_UBI//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
Exception Stack Trace:
com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_UBI//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:210)
at com.adobe.ads.request.Template.setPDFData(Template.java:222)
at com.adobe.ads.request.Renderer.initializeTemplates(Renderer.java:468)
at com.adobe.ads.request.Renderer.execute(Renderer.java:395)
at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111)
at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1142)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.GeneratedMethodAccessor562.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:160)
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(Native Method)
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: java.io.FileNotFoundException: IO exception while constructing a URLConnection for destination: dest:FP_ICF_DATA_UBI//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:481)
at com.adobe.ads.util.FileUtils.getPDFDataFromURL(FileUtils.java:572)
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:200)
... 33 more
Caused by: java.io.IOException: HTTP error: 09:08 07/06/2007: dest:FP_ICF_DATA_UBI//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:472)
... 35 more
Merging log data with log.pdf
Merge result: Success with information
Successfully merged data into dataless log.pdf.
Action: Render Error Log
Embedding file/stream: pdfDocument.xml using ID: pdf doc MimeType: Description: Document Services Control Stream into PDF: C:\WINDOWS\Temp\adobewa_KAQ_13331850\DM-7246211801620166179.dir\DM4279620779879099808.tmp
Instantiate PDFMM CORBA connection execution time = 16 ms.
Error embedding request inputs in error log.:
java.lang.NullPointerException
Embedding file/stream: trace.txt using ID: trace string MimeType: Description: Document Services Trace into PDF: C:\WINDOWS\Temp\adobewa_KAQ_13331850\DM-7246211801620166179.dir\DM4279620779879099808.tmp
Adding file:C:\WINDOWS\Temp\adobewa_KAQ_13331850\DM-7246211801620166179.dir\DM-1030498827488367259.tmp to workstreams as: error.pdf
Saved output file: C:\WINDOWS\Temp\adobewa_KAQ_13331850\DM-7246211801620166179.dir\DM-1030498827488367259.tmp to stream: error.pdf
Processing exception during a "Render" operation.
Request start time: Thu Jun 07 12:17:14 GMT+05:30 2007
com.adobe.ProcessingError: No output was generated while rendering
The render error log file has been written to D:\usr\sap\KAQ\SYS\global
AdobeDocumentServices\renderErrorLog\errorFiles\2007.06.07.121715SAFPSN_DEMO1.pdf.
Please validate the input files or streams attached with it and try again
Exception Stack Trace:
com.adobe.ProcessingError: No output was generated while rendering
The render error log file has been written to D:\usr\sap\KAQ\SYS\global
AdobeDocumentServices\renderErrorLog\errorFiles\2007.06.07.121715SAFPSN_DEMO1.pdf.
Please validate the input files or streams attached with it and try again
at com.adobe.ads.request.RenderErrorLog.writeErrorPDF(RenderErrorLog.java:216)
at com.adobe.AdobeDocumentServicesWorker.processRenderLog(AdobeDocumentServicesWorker.java:1300)
at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1168)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.GeneratedMethodAccessor562.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:160)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Any help will be appreciated!!
Regards,
SharadhaHello,
the error message describes your problem.
You are missing the FP_ICF_DATA_UBI HTTP destionation in the destionation service. /* Visual Admin */
Please configure this.
#915399
Best regards,
Dezso Pap -
Render log file has been written to Drive :\u(200101)
Hi
I am setting up a ADS server. (NW2004s)
When I test using FP_PDF_TEST_00, it returns me the version information
(Version Information: 705.20051005114147.242570)
But when I test <b>FP_TEST_00</b>. I get the error
The render log file has been written to <Drive>:\u(200101)
Now in the server I went to <drive>:\usr\sap\<SID>\SYS\global\AdobeDocumentServices\renderErrorLog\errorFiles
I check the error file ithas the message <b>No Error Reported</b>
If there are no errors, then why is the program FP_TEST_00 is not displaying the result in pdf format?
Thanks for your help
Regards
smHi
Thanks Ramakrishna.
Now I could get the detailed trace. It given below, please let me know what could the issue
Begin trace
Adobe Document Services Wed Nov 29 10:33:23 CST 2006 Trace Results:
String: rp.script.uri = sap/SAPPDFDocument.rps
String: Trace = 4
String: Username = ABC123
Stream: PDFDocument
Stream: XFD
IIOP service is running
Created a Data Manager for this request
Locating stream: PDFDocument and loading into a DOM
PdfDocument bytes = 725
Processing PDFDocument instructions
Parsing the request
Checking request semantics
Request initialization (including DOM construction and validation) processing execution time = 16 ms.
Action: Identity
<Identity><Application> = SAFP
<Identity><Form> = FP_TEST_00
<Identity><SID> = AAA
<Identity><Client> = 110
<Identity><IsProductive> = 0
Action: Renderer
Using Template Template (xdp):
Source = URL
Name = dest:FP_ICF_DATA_AAA//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
CacheInfo =
Setting PDFDynamic to default 0 for this PDF.
Stream = PDFOut
Input node: <Render><Output> = pdf
Data: XFD
No custom config file found.
Using standard config file: AdobeDocumentServices\lib\xfa.xci
Config setup completed.
Processing exception during a "Renderer" operation.
Request start time: Wed Nov 29 10:33:23 CST 2006
com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_AAA//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
Exception Stack Trace:
com.adobe.ProcessingError: File not found on: URL location: dest:FP_ICF_DATA_AAA//sap/bc/fp/form/layout/FP_TEST_00.XDP?fp-language=DE
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:210)
at com.adobe.ads.request.Template.setPDFData(Template.java:222)
at com.adobe.ads.request.Renderer.initializeTemplates(Renderer.java:468)
at com.adobe.ads.request.Renderer.execute(Renderer.java:395)
at com.adobe.BaseADSRequest.doWork(BaseADSRequest.java:111)
at com.adobe.AdobeDocumentServicesWorker.processRender(AdobeDocumentServicesWorker.java:1142)
at com.adobe.AdobeDocumentServicesWorker.execute(AdobeDocumentServicesWorker.java:598)
at com.adobe.AdobeDocumentServicesEJB.processRequest(AdobeDocumentServicesEJB.java:130)
at com.adobe.AdobeDocumentServicesEJB.rpData(AdobeDocumentServicesEJB.java:108)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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(Native Method)
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: java.io.FileNotFoundException: Destination exception while retrieving destination
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:452)
at com.adobe.ads.util.FileUtils.getPDFDataFromURL(FileUtils.java:572)
at com.adobe.ads.util.FileUtils.getPDFDataFromInput(FileUtils.java:200)
... 34 more
Caused by: com.sap.security.core.server.destinations.api.DestinationException: [destination_0001] The properties for destination FP_ICF_DATA_AAA of type HTTP could not be located.
at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:166)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.rmi_p4.reflect.LocalInvocationHandler.invokeInternal(LocalInvocationHandler.java:77)
at com.sap.engine.services.rmi_p4.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:53)
at $Proxy103.getDestination(Unknown Source)
at com.adobe.ads.util.FileUtils.getURLStream(FileUtils.java:444)
... 36 more
Caused by: com.sap.exception.io.SAPIOException: <Localization failed: ResourceBundle='com.sap.exception.io.IOResourceBundle', ID='No such destination FP_ICF_DATA_AAA of type HTTP exists ', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key No such destination FP_ICF_DATA_AAA of type HTTP exists
at com.sap.security.core.server.destinations.io.ConfigurationManagerStorage.get(ConfigurationManagerStorage.java:123)
at com.sap.security.core.server.destinations.service.DestinationServiceImpl.getDestination(DestinationServiceImpl.java:136)
... 44 more
Merging log data with log.pdf
Merge result: Success with information
Successfully merged data into dataless log.pdf.
Action: Render Error Log
Embedding file/stream: pdfDocument.xml using ID: pdf doc MimeType: Description: Document Services Control Stream into PDF: C:\WINDOWS\Temp\adobewa_GAD_29997650\DM-1666978463314757527.dir\DM-6806111980545081106.tmp
Instantiate PDFMM CORBA connection execution time = 0 ms.
Error embedding request inputs in error log.:
java.lang.NullPointerException
Thanks,
SM -
Workflow WS14000146- back to approver strange behaviour
Hi,
In this workflow WS14000146 for PO changes, there is an option for a approver (Say APP1) to send the workitem back to purchaser ( PUR1). When the purchaser (PUR1) receives this workitem and checks the details and presses on "Back to approver" which ideally should execute the step for PUR1 and create new WI for APP1.
Instead of step execution, the workitem is getting forwarded to the approver (APP1). So the workitem of PUR1 which has just the details for a purchaser is getting forwarded to the APP1 instead of new step getting created which is relevant for approver.
The forwarded option (FORWARDING NOT ALLOWED) is deactivated for this workflow and the user has no chance to manually forward the workitem, however with the press of "Back to approver" button, the item is getting forwarded insteading of purchaser step execution and continuing with the step for approver.
Has anyone comes across this kind of situation. I could not find any SAP note so far on this.
Any inputs will be helpful.
Thanks
SwethaGMLudo wrote:
Ok, the problem is some ACPI issues.
I've disabled acpi on boot, now it works.
It's not a fix though...
http://bbs.archlinux.org/viewtopic.php?id=46887
Last edited by Leonid.I (2010-02-22 23:19:49) -
Increased Shared Pool size longer hot backup time?
Hello,
I have hot backup that usually took 2 hours to complete. Then we had to increase Shared pool size from 280Mb to 380Mb due to some performance issue.
One week after increase of size the hot backup is taking 4 hours to complete. Since there was no other changes to the system I am suspecting size increase
of Shared Pool from 280Mb to 380Mb might be is reason for such drastic increase of backup time.
I would like to get your comments on my suspicion to the problem.
thank youPaul.S wrote:
One week after increase of size the hot backup is taking 4 hours to complete. Since there was no other changes to the system I am suspecting size increase of Shared Pool from 280Mb to 380Mb might be is reason for such drastic increase of backup time.Hmm... at first glance it does not seem that this is the problem.. but perhaps it contributes to it.
When a SQL hits the SQL engine, the 1st thing the SQL engine does is determine if there is an existing parsed and ready-to-use copy of that SQL. If there is, that existing SQL is re-used - thus the name SQL Shared Pool. The resulting soft parse of the SQL is a lot faster (or should be) than a hard parse . A hard parse is where there is no re-usable copy, and the SQL needs to be parsed, validated and execution plan determined, etc.
Kind of like re-using an existing compiled program (with different input data) versus compiling that program before using it. (and that is what source SQL is - a program that needs to be compiled).
Okay, now what happens if there 100's of 1000's of SQLs in your shared pool? The scan that the SQL engine does to determine if there is a re-usable cursor, becomes pretty slow. A soft parse quickly becomes very expensive.
The problem is typically clients that create SQLs that are not sharable (where the input data is hardcoded into the program, instead of input variables to the program). In other words, SQLs that do not use bind variables.
Each and every hardcoded SQL that hits the SQL engine, is now a brand new SQL. And requires storage in the SQL Shared Pool. Shared Pool footprint grows and you start getting errors like insufficient shared pool memory.. and increase the shared pool which means even more space to store even more unique non-sharable SQLs and making soft and hard parses even more expensive.
Like moving the wall a few metres further and then running even faster into it. !http://www.pprune.org/forums/images/smilies2/eusa_wall.gif!
Now if the backup fires off a load of SQLs against the SQL engine, the fast soft/hard parses can now be a lot slower than previously, thanks to a larger shared pool that now caters for more junk than before.
Unsure if this is the problem that you are experiencing.. but assuming that your suspicion is correct, it offers an explanation as to why there can be a degradation in performance. -
hi,
we are currently implementing the execution of workitems by swnconfig.
the work item is of type webdynpro for java.
while executing from the universal work list, the workitem is executed properly.
But the when the workitem is executed from the outlook email, it is ending up with JCO error.
are we missing any settings?
ramsHello Karri,
Please find my answers
+Do you have other Java Web Dynpro applications working from the extended notification?
+ Answer: Yes
Can you compare the URL to them?
Are you perhaps missing a parameter (now it seems that you have work item id as only parameter)?
Answer: I compared with the one that is working currently, which has
http://ipaddress:50000/webdynpro/dispatcher/mycompany.com/abcmgrappl/Application?WI_ID=000000123456 &wi_id=000000123456
&wi_id u2013 the dynpram parameter from swfvisu (for the items that are not having any problem when executed).
Are you able to formulate a working URL manually by yourself - what is the difference to the URL generated by extended notification? If you launch the web dynpro application from UWL, which parameters does it seem to have?
Answer: the difference is that the one which is launched from the UWL will have a session id with it.
But in this case is not,
so is there a way to prompt the authentication screen, when the problematic work item is executed from outlook?
thanks and best regards
rams
Maybe you are looking for
-
Error while calling a workflow process from a JSP
Hi, I have a workflow program which is havign a process, which in turn calls 2 other processes. Below given is the procedure which i am using to call the main process. =========================================================== CREATE OR REPLACE PROC
-
For the last 2 weeks iCal has not let me update or delete calendars. It continues to remind me about events in the past (about 10 days ago). Also, Safari is not recording history, apart from today the last entry is 2 weeks ago. Time and date is worki
-
DVD player pauses and skips.
My DVD player skips? When I play a DVD in my Mac Mini, viewing it with a 32" LCD TV, the dvd will stop and pause. It's kind of like a skip, but it does not pixelate or anything? Is my DVD player broken?
-
After DB migration from PRD to DEV
Dear Expert: I install R/3 4.7 x110 in windows NT 2003 64 bit with MSSQL 2005 server. and I did DB Migration from PRD to this DB server. But after that SAP can't start. I followed the note 551915 download the STM program but sadly it can't start. So
-
Will macbook air run photoshop?
Anyone here run Photoshop Elements on a Macbook Air? And if so, can you share any insight regarding the experience? Thank you. -CW