Display 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 Rai
hi 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
Similar Messages
-
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) -
How to display Oracle Report in portal
How can I have a link in the portlet, and then after clicking a link, it will open an oracle report in the browser (in pdf format) ?
I am using win2k as my OS....Hi,
For Developer 6i reports you can
create the link (ie http://<host>/dev60cgi/rwcgi60.exe?report=abc.rdf&userid=un/pw/@cs&.....
Pass the parameter required for output format in the URL .
Thanks
Vineet -
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 -
HOW TO DISPLAY BW REPORTS(LINKS) IN PORTAL??
Hi All,
I am haveing Links of BW Report i have to display those reports in portal
How can i achive this except URL IVIEW??
I want to know that is theare any inbuilt template of Iview or any othere method to display thease reports in portal??
Any help will be highly appretiated.
Thanks in Advance.
Vinit SoniHi Vinit,
After looking into ur BW url , i think u r not using webtemplates.
u can follow below steps
Creating an BEx Web Application iView :
1.Right-click on the iViews folder, and choose New → iView. The iView Wizard displays.
2.Select iView template create an iView from an existing iView template radio button.
3.Choose Next.
4.In the iView Wizard, select BEx Web Application iView radio button.
5.Choose Next.
6.Enter a name, iView ID and iView ID Prefix.
7.Choose Next.
8.Choose SAP BW2.x/3.x radio button from Version.
9.Choose Next.
10.Select the SAP BW system alias SAP_BW and in the BEx Web Application Query String, copy the query id from the URL of your desired query from the string text &INFOCUBE onwards (for example, &CMD=LDOC&INFOCUBE=0MKTG_C01&QUERY=ZMKTG_C01_Q7001).
11.Choose Next.
And also maku sure u have configured WAS settings in system object u have created
Hope this helps u
Regards
Krishna. -
"Display Work Schedule" in Portal( Generic iviews)
Hi All,
Is there any way to display the "Display Work Schedule " in Portal.
We are trying use the Generic iViews to display the reports in Portal and we created a SAP Query with the IT 7 ( Planned working time ) .
Here we would like to see the view thats similar to the view we see when we go display of IT 7 and then click on "Display Work Schedule "
Can some one tell me how we can acheive this " Display Work Schedule" thru generic iview in Portal.
Appreciate your valuable inputs on this.
thnks,
NRhai..
The iViews and Web Dynpro applications of the Business Package for Employee Self-Service (ESS) are based on the Floor Plan Manager. Business Package for Self-Service Administrator.
SAP Service Marketplace at service.sap.com/ep-content , BP Product Availability Matrix. -
Import Crystal Report to Portal
I'm investigating the possibility of displaying crystal reports in Portal iViews. Those crystal reports will be reading off BW and R/3 data sources. I've run into different questions and they are:
1) Should I save the crystal reports in BW repository or should I activate them and move them to Crystal Enterprise (i.e. which option is better? or do I not have a choice?).
2) Where should the authorization be handled? My guess is at the portal, am I right?
3) How to get crystal report format (especially font and background colors) to change with the portal style, if the user change it at run time.
4) and finally, has anyone gone through this before? if so, is there any resources or manual on the subject? please help.I have done this using the iview template that is in the "migrated ep5 content" folder. I am just using EP6 SP2. With SP4 (and maybe SP3?) there is a template.
1. I think the report needs to be saved in BW. It needs to be "published" as well. (See the BW documentation.)
2. I think the authorization needs to be done in the BW. The reports are assigned to a role. The role is assigned to a BW user. We are using SAPLOGONTICKETS, so the BW user id has a matching id in the portal. The passwords do not need to match. (Don't forget to export the portal cerificate and import it into BW.) That is if you want SSO to work.
3. Not sure about this one. I thought EP6 had something called "rendered iviews", but I can't find it. This is supposed to alter the look of a url iview to match the poral look. (I believe that a crystal report iview is basically just a url iview. It just calls a url http://crystal server/viewreport.csp(or jsp)?id=9999...etc).
4. Feel free to email me at [email protected]
You could just use a URL iview if you know the url of the report. The params are just filled out in the parameters of the iview wizard.
The BIG hurdle I had to get through was the creation of the system(and alias) for the server where crystal is. The system properties for Crystal are missing from EP6 until you get to SP4 or SP3. I had to copy the par for the SAP system and add new properties for Crystal ENterprise. (seerver, path, and protocol.) -
we would like to display on a report a comparison between products. The relationship between these 2 tables is a many to many. On the intersection table, we have products that are equivalent to others in the market.
comp_A Others
A 1
A 2
A 3
B 1
B 2
and so on
we want to display a report in portal something like that looks like this (horizontally)
compA other1 other2 other3
A 1 2 3
B 1 2
Is this possible to do in portal? thanks
nullI might just use Oracle Reports. :)
Rich -
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. -
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 -
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 -
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 -
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 -
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
-
Mod_jk receiving blocked requests?
Hello all, this might not be the correct forum (excuses for that) but maybe someone has an idea what might be my problem here: I just installed the mod_jk connector and switched logging to debug mode. When I open the log file I see the following: [Tu
-
Import of existing Contract in Sourcing 7.0
Hi All, I am trying to upload existing contract document in the Sourcing 7.0. I have utilized the workbook provided by SAP in the reference guide for contract import. There are 3 section in the workbook. They are:- contracts, agreements, contract_lin
-
HCM form deletes future actions
Hi, We are having issues with a form created to update pay changes to an employee, if the effective date of the record is in the past and there are already future records in both IT0000 and IT0008, the form when it posts, it deletes all future record
-
CS4 Fehler bei Neuinstallation unter windows 7 ultimate
Hallo, ich musste das windows Programm von Vista auf windows 7 ultimate wegen einem Festplattenfehler ändern. Bei dem Versuch mein CS4 von der CD zu installieren neu zu installieren erscheinen immer 2 Fehlermeldungen und das Photoshop Programm kann
-
I think i solved trackpad selecting everything issue.
I have been experiencing a horrible trackpad lock problem for days and scoured the internet for answers, but so far have found none that pertained to me. but as a mac enthusiast for many years, i went to the old standby of zapping the pram. it has