Display R/3 report in portal as pdf
Hello,
We have a custom report (R/3 report) which is too complex to be converted to a smart/adobe form.
The requirement is to show this report on portal for users to be able to print/save it.
The idea we have is:
1. Print the report to spool.
2. Convert the spool to pdf.
3. Render the pdf to portal.
How can we retrieve a pdf (spool) from the backend to portal?
What is the best way of doing this?
Please suggest.
Thanks,
Hi Lakshmi,
You dont even need WD application for this.
You can write small java code which calls R/3 picks up data, fills up your table and returns this back to portal.
Also in java there are many APIs available which will help you convert this generated report to PDF/EXCEL etc.
Only thing is you need to have a RFC in place for this to work.
Write if you need any additional inputs on this.
Here is sample code for connecting to R3.
Code for connection to backend by creating JCO
public void createRepository() {
String SID = "R3";
JCO.addClientPool(SID,10,"<CLIENT>","<USERID>",
"<PASSWORD>","EN","<SERVERNAME>","<PORT>");
repository = new JCO.Repository("MyRepository", SID);
jcoClient = JCO.getClient(SID);
//response.write("Server Alive? = " + jcoClient.isAlive());
Regards,
Kedar Kulkarni
Reward points if useful
Similar Messages
-
FM for converting PDF to XSTRING - display R/3 report in Portal as PDF
Hello SDNers,
Requirement:
I am trying to display an R/3 report in Portal as PDF. I am trying to do it with the following logic:
1. Call a RFC enabled FM from my Webdynpro Java appln.
2. The FM then submits the Print request for the R/3 report and then gets the spool.
3. Convert the ABAP spool to PDF (using FM CONVERT_ABAPSPOOLJOB_2_PDF).
4. Convert the PDF to XSTRING and send it back to the calling Webdynpro appln.
5. Using the XSTRING regenerate the PDF using some Webdynpro Java APIs.
The Problem / Question:
The output of the FM CONVERT_ABAPSPOOLJOB_2_PDF is a table of type "TLINE" which includes TDFORMAT and TDLINE.
To get the XSTRING I am using the FM "'SCMS_STRING_TO_XSTRING". This FM only uses the "TDLINE" and completely ignores the "TDFORMAT". When I import this XSTRING value into my Webdynpro for Java appln., and assign to the corresponding UI element, my PDF does not show up.
My FM code is like this:
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spono
no_dialog = 'X'
TABLES
pdf = t_pdf
IF sy-subrc 0.
ENDIF.
IF sy-subrc EQ 0.
LOOP AT t_pdf INTO w_pdf.
CONCATENATE
output
w_pdf-tdformat
w_pdf-tdline
INTO output.
ENDLOOP.
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
EXPORTING
text = output
IMPORTING
buffer = outputx.
I doubt if "'SCMS_STRING_TO_XSTRING'" is the right FM to use in my scenario.
If we had a smartform, we could have used the FM "CONVERT_OTF" , but in our case we do not have a smart form and I am not able to figure out which FM should be used.
Please suggest if I am doing any thing wrong.
Thanks for Reading.
Regards,
Raj KumarHi
check this thread
spool to pdf conversion
It looks like you are missing translate in you processing of the table t_pdf. Something like the following line is missing:
TRANSLATE gd_buffer USING '~ '.
Loo at the standard program RSTXPDFT4 as well. It converts spool to PDF and then you can download it to your desktop. -
What is the prerequisite to export bi 7.0 reports on portal to pdf ?
Hello all
We have put bi 7.0 bi reports on the portal . When we are trying to export the reports to pDf it is giving error.
"/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.ui.acs/resources/js/sapbi_ac_tray_comp.js" does not exist
and error while writing pdf
detail error
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://ENCEPD:50000/AdobeDocumentServices/Config?style=document"
Stack trace: java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://ENCEPD:50000/AdobeDocumentServices/Config?style=document"
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:84)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:94)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:417)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:369)
at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:336)
at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:98)
at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:659)
at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:461)
at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:388)
at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:74)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:598)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:134)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:351)
at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:5151)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:5243)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4801)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4723)
at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:3316)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:3162)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:1065)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:949)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:926)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:401)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:318)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://ENCEPD:50000/AdobeDocumentServices/Config?style=document"
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:986)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1438)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
... 57 more
Message: No message was provided.
Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException
at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:342)
at com.sap.ip.bi.export.xfa.widthcalc.WidthCalculator.<init>(WidthCalculator.java:55)
at com.sap.ip.bi.export.xfa.impl.SizeCalculator.calc(SizeCalculator.java:98)
at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:659)
at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:461)
at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:388)
at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:74)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:598)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:134)
at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:351)
at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:5151)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:5243)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:4801)
at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:4723)
at com.sap.ip.bi.webapplications.runtime.impl.Page._processRequest(Page.java:3316)
at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:3162)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:1065)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller._processRequest(Controller.java:949)
at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:926)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService._handleRequest(BIRuntimeService.java:401)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:318)
at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:24)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
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(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://ENCEPD:50000/AdobeDocumentServices/Config?style=document"
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:440)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:369)
at com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream(Document.java:336)
... 53 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://ENCEPD:50000/AdobeDocumentServices/Config?style=document"
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:84)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:94)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:417)
... 55 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://ENCEPD:50000/AdobeDocumentServices/Config?style=document"
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:986)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1438)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
... 57 more
Will you please tell what all configuration , licences are required for enabling this functionality.
Regards
RajendraHI Rajendra,
1.The error in log " http://ENCEPD:50000/AdobeDocumentServices/Config?style=document", this is related to ADS related error .
For this ADS configuration is required(i think).
For ADS configuration credentials are required. write to SAP they will send ADS credential file and password.(itz free)
And follow this thread for Configuration
http://www.scribd.com/doc/14246206/ADS-Configuration-Guide
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e4e9afb-0701-0010-f8a8-b8cd093662c2?QuickLink=index&overridelayout=true
check this link..service.sap.com>adobe>Interactive Forms based on Adobe software> media library>documentation--> ADS config guides.
2. "Is any software required on client pc to export report to PDF"?
ADS components needs to be installed . Check in ur system information -->all components information
Regards,
Surekha. -
XSTRING with Binary of PDF - display R3 report in portal
Hello,
We have a requirement to show an R/3 report on portal as PDF. User will then be able to Print/Save the same.
I have browsed through different posts on SDN and
The idea I have is:
1. Print the report to spool (Backend).
2. Convert the spool to pdf (Backend).
3. Create a FM (in the backend) that exports an xstring with the binary of the pdf (of the report)
4. Using webdynpro for Java, create pdf form based on binary xstring.
5. Render the pdf to portal and display it in portal.
I have a couple of questions regarding this approach:
1. What exactly does the function module needs to export (what format and type should be used)?
2. How should the data being sent from the backend be handled in the Webdynpro Code? (What Context attribute should be created and what type should be used?)
Please share your experience if some one had developed a similar application. Any sample code would be really appreciated.
Thanks for Reading the post and for your time.
Regards,
RajHi Raj,
Thanks for the link, i followed the procedure the way it mentioned in the link, but i am getting the below error as nullpointer exception, i checked everything but still i am getting the error.
i can see one thing in webdynpro java code , i am getting warning message for this " wdwebresource"
as deprecaiated, what is this meant?
thanks,
vinay
java.lang.NullPointerException
at com.vin.view.PdfView.wdDoInit(PdfView.java:115)
at com.vin.view.wdp.InternalPdfView.wdDoInit(InternalPdfView.java:137)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)
at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
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:207)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) -
Hi All,
My requirement is to Display a Custom Report in Portal. This Report is developed in Abap. Since I am new to this portal thing I can think of only 1 idea to display these reports in Portal by creating transactional iViews . But In HTML transactional iViews I noticed that everytime I scroll through the Report the page is getting refreshed. I am worried about the performance of the portal since I have to display around 5-10 HR Reports in Portal. Also I am not able to hide the System Details that appear at the bottom of the SAP Screen.
Please help me out how can I hide those details. Also I need to provide Print Option for these reports. How can I acheive that ?
Is there any other way I can Display these reports in Portal. Please Help !!
Regards,
Akhil Raihi rai,
u can try on this RFC iview
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90fc8a14-a02c-2a10-5a91-821561099192&overridelayout=true
let me know u need any further information
ravindra -
Displaying Custom or Z Reports in Portal
Hi All,
My requirement is to Display a Custom Report in Portal. This Report is developed in Abap. Since I am new to this portal thing I can think of only 1 idea to display these reports in Portal by creating transactional iViews . But In HTML transactional iViews I noticed that everytime I scroll through the Report the page is getting refreshed. I am worried about the performance of the portal since I have to display around 5-10 HR Reports in Portal. Also I am not able to hide the System Details that appear at the bottom of the SAP Screen.
Please help me out how can I hide those details. Also I need to provide Print Option for these reports. How can I acheive that ?
Is there any other way I can Display these reports in Portal. Please Help !!
Regards,
Akhil RaiHi,
Please don't do cross posting.
Regards,
SrinivaS -
Dynamic publishing of crystal report in portal.
Hi All,
My understanding of publishing Crystal Report in portal is using the URL iview, is my understanding correct.
I have checked this in [Integration of BOE XI3.1 into the SAP Enterprise Portal 7.x|http://wiki.sdn.sap.com/wiki/display/BOBJ/IntegrationofBOEXI3.1intotheSAPEnterprisePortal+7.x] wiki
and my question is, when publishing the crystal report from Crystal Report Designer, it is published in BI via the bw publisher and saved under some BW role. Is it possible to display the saved report in portal with out creating the url iview as an object of pcd in portal, i mean the report which is saved under BW role needs to be displayed dynamically in portal with out iview creation. Is this possible.
Can someone comment on this.
Many Thanks,
AnsarHi Ansar,
The Crystal reports can be used for publishinh good quality gralha and charts through BW. though making a URL iView is not the only option.
Good examples of Crystal report usage have been explained in the link below:
[Crystal Report with BW|http://www.bi-expertonline.com/article.cfm?id=3666]
Regards,
Shailesh -
Displaying Report name in the PDF File.
HI,
I want to print the report in the PDF format.
I executed one report and i am trying to print that report in PDF format.
But in that PDF format it is not showing any report name.
Can any body suggest me how can i get the report name in the PDF file.
Thanks in Advance.
BR
Rajeshhi suri,
chk this link..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6dd54713-0c01-0010-8691-a3576b9a95d9
go thru these threads for more details..
Reg converting the BW report in PDF format
PDF Report
assign pts if helpful.. -
How to display custom forms or reports on portal pages?
Hi friends
I am new to Portal. I knew that we can create forms and reports in portal.
But how can i display a custom form ( ex: employee.fmb) on a portal page?
Thanks
RaviAre you meaning Oracle Forms Module and Oracle Reports?
If so
please check the following
Reports
http://download-uk.oracle.com/docs/cd/B14099_15/bi.1012/b14048/pbr_conf.htm#sthref494
Forms (you can only invoke forms using the SSO)
http://download-uk.oracle.com/docs/cd/B25016_02/doc/dl/web/B14032_02/security.htm#sthref42
Otherwise you can create your custom HTML form and report using the following technologies:
http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_matrix.htm#CHDJIEIH
Please refer also to:
http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_understand.htm#sthref35
Hope this helps
Cheers
Diego -
How to run and display oracle application standard reports in portal
We have portal with oracle applications framework. We want to provide the users the ability to run certain standard oracle applications reports in Portal?
Is there a way to do it?
thanks -
sriHi Sri,
Here you can learn about integrating Oracle Reports with OracleAS Portal: Oracle Application Server Reports Services Publishing Reports to the Web.
Peter -
Error while attaching document to report on Portal - Invalid selection valu
Hello All,
We are running our reports on Portal and as per the business requirement the users have to create comments or attach documents to certain amounts in certain columns and once they create the comment a document icon shows up near that amount (for example there are 3 columns Budget, actual, balance then the user have to create comment for some amounts which needs explanation) they do that from context menu Documents -> Create new Comment.
Now we want those documents to be saved on Infoprovider level and not on master data for any particular object. We have activated the flag "Characteristic is document property" on related infoobjects. We have the flag to display document icon on Infoprovider active in the web template. Now when I run the report I am able to create new comments on first two columns and when the report refreshes it shows me icon near that amount but it gives me errors on third column after the report refreshes itself. Now when I go in portal KM repository where documents are stored I do see the document that I created for the third column as well so looks like the document is getting created and being stored but the issue is when it tries to display the icon on that third column.
The error I get is this:
The initial exception that caused the request to fail was:
Invalid selection value: AttributeMember
com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException: Invalid selection value: AttributeMember
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderRange.setLowForced(ProviderRange.java:297)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderRange.setLow(ProviderRange.java:291)
at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.selection.ProviderRange.set(ProviderRange.java:469)
at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.selection.SingleMember.set(SingleMember.java:125)
at com.sap.ip.bi.km.common.assignment.AssignmentMember.isContained(AssignmentMember.java:192)
Please give some inputs if anyone is facing same problem or is anyone has worked previously with this kinda of stuff.
Thanks in advance.
KiranHi!
Have you solved this problem? I have the same problem after a SPS implementation (SPS 17). The message appears when we select a single value in a DP (hierarchical filter item) that filters another one, but when I select a node it doesn't.
Before the patch implementation the apliccation worked ok.
Any idea?
Thanks in advance.
Jose -
Is it possible to Display BW Bex report iviews in Tabbed Interface?
Hi,
Is their a way to display BW BEx Report Iviews in Tabbed Interface?
My requirement is to show four BEx Reports using 4 tabs on a page. Can we achieve this functionality in portal? If yes can some one guide me how to proceed?
Regards
Sai Krishna Reddywhy not have a webtemplate with tabbed interace and use that webtemplate to create BWP iview?
check out the following how to document on this subjec.
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5074a890-0201-0010-a489-dd05902a28c8">How to Create Buttons and TabStrips in BI Web Applications</a>
Regards
Raja -
Mimes Object doesn't exixts warning message in bi report on Portal.
Hi All,
We have integrated bi 7.0 reports on portal 7.01 . reports are working fine first time with out any warning .
But when we try to change the drop down value for display as field (Table, Graphic, Table and Graphic) or when we click any buutton New Analysis, Open , Save As etc we are getting following error.
MIME object "/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.ui.acs/resources/js/sapbi_ac_tray_comp.js" does not exist
MIME object "/irj/portalapps/com.sap.ip.bi.web.portal.mimes/web.ui.acs/resources/js/sapbi_ac_tray_comp.js" does not exist
Please help us to resolve this issue.
Regards
RajendraHi all
Any suggestion?
Regards
Rajendra -
Hi,
What is the best way to display an ALV report in the Portal?
I would like the report to be displayed in the GUI of the Portal (meaning, I would like to work with WebDynpro or PDK or any other way such that the GUI will be identical to all the other Portal objects).
Thanks in advance,
AviadHi,
You can actually, as suggested by others, code the PDV_ALV found in the PDK yourself.
All you need is to understand the workflow of the BAPI called "PORTAL_ALV_QUERY_CALL".
This BAPI is configured to get the properties of a query and another BAPI (derived from Z_QUERY_SELECTIONS) which plants additional data in the original query.
For example - If you wish to activate a query called myQuery1 in the user group FI-AP with a variant called TEST between a date range selected by the portal user. The parameters passed to the BAPI are as follows -
"QUERY_NAME=myQuery1"
"QUERY_USERGROUP=FI-AP"
"QUERY_VARIANT=TEST"
"QUERY_CREATE_SELTAB_FM=Z_QUERY_SELECTIONS_1"
"FROM_DATE="
"TO_DATE="
What will happen in the background is that the query myQuery1 from the usergroup FI-AP will be activated using the variant TEST and using the QUERY_CREATE_SELTAB_FM value the date fileds will be assigned to their corresponding fields in the query. After the activation the BAPI will return a table with the result.
Hope it helps,
Aviad -
Dear All,
I am trying to display a BW report iView in the portal. However I got an error message like Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable. When I right click for properties it show
res://C:\WINDOWS\system32\shdoclc.dll/navcancl.htm#http://sapbwp.gen.com.my:8001/sap/bw/BEx?sap-language=en&sap-client=045&accessibility=&style_sheet=http%3A%2F%2Fsapepprd.gen.com.my%3A50400%2Firj%2Fportalapps%2Fcom.sap.portal.design.portaldesigndata%2Fthemes%2Fportal%2Fsap_tradeshow%2FBIReports30%2FBIReports30_ie6.css%3F6.0.16.0.0&CMD=LDOC&TEMPLATE_ID= GEN_BUDGET_REPORT
Anyone know what is the problem?
Is there any step by step guide to create a bw report in the portal including system landscape configuration so that I can narrow down my problem.
Thanks
Regards,
BryanBrian,
Please chek this document:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6cc17893-0e01-0010-6d91-f9303b436d91
for publishing bi reports to portal's end.
Hope it helps you.
Thanks
Mona
Maybe you are looking for
-
Goods receipt for purchase order.
i wanna set period like this "you have opened next period (12) i.e. period for March 2010. Close next period and reopen current period (11) is Feb 2011" what is the transaction code used to set this. how to set periods for company code . explain the
-
No connection after installing firmware 1.10.03 on brand new Zen Nano P
Hi all, After I installed the new firmware, .0.03, my Zen Nano Plus is no longer recognised by my computer (it seems to work fine otherwise). What should I do? I have tried this on not just one, but three different computers, with no luck, even thoug
-
Reading manual planning function header data in exit function
Hello all, I would like to know if is there a chance to read header data of a planning function. The planning function is determined by user selection (user choose which value will be in ) and in exit function I then modify the buffer by data which I
-
Quicksizer for ADS 7.02 and SLD 7.02
Dear all, We have installed a 2 systems, an ADS and SLD, both on a SAP NetWeaver 7.02 platform. Now, we have to install both of them on QAS and PRD environement. Question : Using QuickSizer tools on http://service.sap.com/quicksizer, I can see that t
-
Function Module performance in Crystal Reports - Best practices
Hi all, We are following a function module based approach for our crystal reporting needs. We tried to follow an infoset approach, but found that most of the critical fields required for reports were retrieved from function modules and bapis. Our rep