Calling an ABAP Report from the Web
Hello all,
Is there a way in WAD to have a web link call an ABAP report? I am trying to provide a link in my web template to allow users to launch the BEx Analyzer. When I look at transaction RRMX in the GUI, it appears to be calling the ABAP report RRMX_START_EXCEL. Can I use BSP to accomplish this?
Thanks in advance for any help you can provide,
Chris
OK, here is the code for my BSP page:
<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<html>
<% submit RRMX_START_EXCEL and return. %>
</html>
When I attempt to test it, however, I am receiving the following error:
The following error text was processed in the system BWS : Screen output without connection to user.
The error occurred on the application server sapbwsci_BWS_35 and in the work process 5 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Module: SEND_TAB of program SAPLGRAP
Function: GRAPH_RECEIVE of program SAPLGRAP
Function: REGISTRY_GET of program SAPLGRAP
Form: PREPARE_LAUNCHER of program SAPLRSAH
Function: RSAH_LAUNCH_EXCEL of program SAPLRSAH
Form: START_EXCEL of program RRMX_START_EXCEL
START-OF-SELECTION of program RRMX_START_EXCEL
Any ideas??
Thanks again!!
Similar Messages
-
Calling an ABAP report from a web-dynpro view
Hi,
I have a web dynpro view that i would like to call an ABAP program from. Any ideas how i can do this? Thanks,
Samir
Edited by: Samir Vora on Feb 18, 2008 11:12 AMHello Samir,
that would mean mixing two different ui technologies and hence it not possible. You can start the report in background though. Please refer to [this list of restrictions and limitations|http://help.sap.com/saphelp_nw70/helpdata/en/46/82091e304559dbe10000000a1553f6/content.htm] regarding the usage of certain ABAP statements.
Best regards,
Thomas -
How to Run Oracle Reports from the web.
How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
This is a univeristy that implements Banner - so can we run them from within Banner?Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html
-
Calling an ABAP Report from GRC Portal
Hello...
we want to know how an ABAP report will be called from GRC Portal ? How will be the linkage between these two and can u please explain the same .
Thanks in advance.
Regards,
KY.I suppose you want to add additional portal content to GRC PC/RM 3.0 portal, then follow the steps bellow:
In backend ABAP box,
- Create an transation code for the ABAP report
In the front end Portal box,
- Create an iView using the template "SAP Transaction iView"
- Add this iView to your protal role, either directly added to portal role or via workset
Done. -
How to call a function module from the Web Template?
Hi all,
how can I call a function module from a BI 7.x web template and then show the result of the FM on the web template?
Many thanks for your hints.
Regards, NilsHi!
I am too working on a similar issue.
Probably this helps:
Re: Calling a function module from a Web Template
Regards,
Sri -
Calling an ABAP Report from ITS
Hi,
I am new to ITS and we have requirement, where i have to call an ABAP Report with selection screen.
Now my question is where to put the code to execute the report and what is the syntax?
Any suggestions/documentation would be of a great help.
Regards,
LalithHi Lalith,
Just pass the Tcode after the webgate followed by ! mark.
http://hostname:portno/scripts/wgate/<b>ztest!</b>
Rgds,
Jothi.P -
Calling one abap report from another
1.There are two abap reports Report A and Report B.
2.Report A is already developed and I am working on Report B.
3.Report B has two radio buttons.
4.The logic for the first radio button is written in the Report B itself.
5.While for the second radio button i want to call the Report A.
6.The selection-screen fields required for executing the report A are already present in the report B.i.e Report B's selection-screen contains all the selection-screen fields of Report A plus some additional fields.
Now my requirement is that when I select radio button 2 in the report B and fill up the selection screen data in the report B and execute the report I want that the selection-screen of Report A should not be displayed but the logic of the report A should be used and should return back to Report B. (Report A just downloads some data on into excel file). How can I achieve this?Hi ,
Use submit z_reportA with selection-table p_rspar_tab and return. Here you need to populate the selection screen fields in table p_rspar_tab of type rsparams.
rspar_line-selname = 'P_TAB'.
rspar_line-kind = 'P'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = value.
append rspar_line to rspar_tab.
clear rspar_line.
Thanks
Subhankar -
Error ITS_TEMPLATE_NOT_FOUND when calling a function code from the web
Hi Experts,
I have craeted a simple module pool program and a service for the same in SICF. The module pool has only one screen where I am giving the input to the two fieds
1. year 2. category. when I click on FIND button the result will appear on the same screen. The result will be the winner and the nominees for that year. The program is running perfect when I execute the transaction in R/3.
The coding in the PAI of the module pool is as follows:
*& Module Pool ZYMOVIE1
INCLUDE ZYMOVIE1TOP . " global Data
INCLUDE ZYMOVIE1O01 . " PBO-Modules
INCLUDE ZYMOVIE1I01 . " PAI-Modules
INCLUDE ZYMOVIE1F01 . " FORM-Routines
tables : ymovie.
DATA: OKCODE like sy-ucomm.
tables: ztext.
*& Module GET_RECORD INPUT
text
MODULE GET_RECORD INPUT.
case okcode.
when 'FIND'.
SELECT SINGLE * FROM YMOVIE
WHERE YYEAR = YMOVIE-YYEAR
AND CATEGORY = YMOVIE-CATEGORY.
endcase.
ENDMODULE. " GET_RECORD INPUT
I have created a Internet service ZYMOVIE1 ans created a template for screen 9000
The HTML code is as follows:
`include(~service="bbpglobal", ~name="bbpfunctions.html")`
<html>
<head>
<title>`~windowtitle`</title>
</head>
<body>
`~messageline`
<form name="formFind" action=”`wgateUrl()`” method="POST">
year : <input type = "text" name = "`YMOVIE-YYEAR`"/>
category : <input type = "text" name = "`YMOVIE-CATEGORY`"/>
<INPUT TYPE="hidden" name="~okcode" value="FIND">
<INPUT TYPE="submit" name="btnSubmit" value="FIND">
<input type = "text" name = "YMOVIE-WINNER" value= "`YMOVIE-WINNER`" size = "`YMOVIE-WINNER.maxsize`"/>
<input type = "text" name = "YMOVIE-NOMINEE1" value= "`YMOVIE-NOMINEE1`" size = "`YMOVIE-NOMINEE1.maxsize`"/>
<input type = "text" name = "YMOVIE-NOMINEE2" value= "`YMOVIE-NOMINEE2`" size = "`YMOVIE-NOMINEE2.maxsize`"/>
<input type = "text" name = "YMOVIE-NOMINEE3" value= "`YMOVIE-NOMINEE3`" size = "`YMOVIE-NOMINEE3.maxsize`"/>
</form>
</body>
</html>
when i click on the FIND button in the web I am getting a dump "ITS_TEMPLATE_NOT_FOUND".
Please suggest me where I am doing wrong. Also is there any way i can add attachemtns in SDN. It is very difficult to write everything here and how to use the "code" button when i create a new thread in SDN?/
thanks
sankarhi
yes i got some entries in SM50 with w at the left
A Error Code ITS_TEMPLATE_NOT_FOUND.
W *** ERROR => diag: Template for modulepool ZYMOVIE1, dynpro number 9000, service zymovie1 is not found and GenerateDynpro fla
W *** ERROR => plugin: XKrnHandleResponse failed rc= -25 [itspxkrn.cpp 764]
W *** ERROR => plugin: ItspXKrn_HandleResponse failed. 0x2b96feff78 rc: 0 [itspxkrn.cpp 391]
W *** ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c 1551]
let me know if you need any other information
thanks
sankar -
Is there a way to call a stored proc from the web in Oracle 10g?
I've found an article about Native Oracle XML DB Web Services in 11g, but it appears to be a new feature. Is there any way of accomplishing something similar in 10g? I would like to be able to process XML documents that contain the name and parameters of the stored proc/function to execute.
Link to 11g article:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_web_services.htmI agree with you. I was looking into mod_plsql, but it turns out that their development standards include not using Oracle HTTP server. The whole reason why they want to be able to execute a stored proc based on what is specified in an XML doc is that they want to avoid having to change their middle-tier configurations anytime a new stored proc or a change in stored proc parameters is made. I'm not familiar with what all is involved with .NET and the middle-tier, but supposedly this way, they can specify any stored procedure name and its parameters in an XML file. The XML is then suppose to be passed on to an Oracle stored procedure which will parse the XML and dynamically execute the stored procedure that was specified in the XML.
Here is an example of the XML:
'<Root>
<PackageName>TEST_PKG</PackageName>
<ProcedureName>TEST_PROC</ProcedureName>
<Parameters>
<Parameter>
<Name>EmpID</Name>
<Value>12345</Value>
</Parameter>
<Parameter>
<Name>Org</Name>
<Value>ABC</Value>
</Parameter>
</Parameters>
</Root>I basically need to parse out the pkg/proc names:
SELECT t.COLUMN_VALUE.extract('//PackageName/text()').getstringval() PkgName,
t.COLUMN_VALUE.extract('//ProcedureName/text()').getstringval() ProcName
INTO v_pkg_name, v_proc_name
FROM TABLE(xmlsequence(XMLTYPE(v_XML_input) .extract('/Root'))) t;...and then execute the procedure:
EXECUTE IMMEDIATE 'BEGIN '||v_pkg_name||'.'||v_proc_name||'(:a, :b, :c); END;'
using in v_in_param1, v_in_param2, out v_XML_output;The problem is that this approach is very complicated since there can be any number of IN/OUT parameters and of various datatypes. I would have to create all kinds of possible bind variables! -
Call back-end report from Web Dynpro for ABAP
Hi Experts,
I have an web dynpro for abap application, I put it into an iView. I also have a report which have selection screen and ALV display in back-end. Now I would like to call the report from the web dynpro application and display it in the web.
What steps need to be done to do it?
Thanks,
AnthonyAnthony,
you can create a custom transaction for your report "for example ZREPORT" and then create an IVIEW for ZREPORT.
in your webdynpro you can create a button or link and in the action behind you can call OBN and pass the IVIEW parameters for the OBN call.
OBN can be found in the webdynpro wizard tool.
thanks!
Jason PV -
Calling a report from a web form & specifying PDF format
Has anyone been able to call a report from Oracle Forms (6i or 9i) in a web browser (i.e. by pressing a button or any other link)? We are having problems generating the report in PDF format when we web deployed our forms. In client server mode it works fine with the report deferring to PDF. But in the web browser it reverts to a messy HTML format with the columns being distorted. Running a standalone report from the web is no problem but when it is linked with a form it goes back to HTML. In the old forms (5.0) we used a function like run_product but I am not sure what the problem is in the new environment.
T.J.Hello,
According to the way the reports is launched, the format of the reports output depends on the
variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
Can you check the variable FORMS60_REPFORMAT ?
regards Dennis:
Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
Thanks again for your help!
T.J. -
Call an ABAP Program from Web Application designer
Hi Gurus,
I have an requirement in which I need to fetch an CSV file from the server and place the file into an internal table in R/3.I got the function module and wrote the program for this,but now I need to call this ABAP program from Web Application designer.
To make it more explicit ,I need to call an ABAP Program /function module from the WAD.I am new to WAD Please help.
AnkitHi Ankit,
take a look:
/thread/725385 [original link is broken]
WAD and ABAP
How to call a ABAP or ABAP Class from the WEB
/people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
Regards
Andreas -
Call an ABAP routine from Web Template
Hi Gurus,
I Need to call an ABAP routine from a Web template or export value to memory to use in the variable exit.
is it possible ?
Thanks.
RodrigoHi Ankit,
take a look:
/thread/725385 [original link is broken]
WAD and ABAP
How to call a ABAP or ABAP Class from the WEB
/people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
Regards
Andreas -
Hi experts,
How do I include an abap program in R/3 sandbox in my process chain in BW.
I know how to do it in BW but this program is in the ECC sandbox.
what I did was to create a job in R3 through SM36,this job had two steps one to run my program and another step to call the FM RSPC_ABAP_FINISH,which would inform the PC that the job is executed and continue to the next step.
I was triggering this job trough an event in R3.
In my PC I added a process type ABAP program,where i made an asynchronous call to the event in the ecc sandbox.
But this is not working.Any ideas?
Regards
AnkitHi Ankit,
take a look:
/thread/725385 [original link is broken]
WAD and ABAP
How to call a ABAP or ABAP Class from the WEB
/people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
Regards
Andreas -
Calling a function module from a Web Template
Hi,
I need to call a function module from a web template. Any pointers on how i can do this ? Is this even possible ?
Thanks
ShaileshHi Rael,
We were finally able to call a FM module from the Web. The trick as Heike suggested was to create an ABAP class which inherits from CL_RSR_WWW_HELP_WINDOW. Then you should modify the process_cmd method of this new class in order to call the FM. Now use this class to create a help service. In case you need to pass any parameters to the FM, you will need to pass them as additional parameters while calling the help service.
An example is below.
CMD=PROCESS_HELP_WINDOW&HELP_SERVICE=ZBOOKMARKING&TEXT=mytext&URL=myurl
Where mytext and myurl were the parameters i pass to my FM and ZBOOKMARKING is my help service.
Thanks a Lot to Heike for his help on this !!
Shailesh
Maybe you are looking for
-
Cant add files/folders to library
Everytime i try to add a file or folder i click on it then click ok and the screen just disapears nothing happens at all. I dont know what to do im very frusterated because i have over 1000 songs on my computer and i cant get any of them in to itunes
-
External keypad will not connect to MacBook
I have an external Samsonite Comptuer Keypad and it will not connect to my macbook. It is saying to press the key next tothe shift key, but there is not shift key, because it's only a keypad. If anybody knows what to do..please help! Also, there is n
-
Ragrding internal number ranges fro BP
Hi, i want to use the internal no ranges[BP] for SAP CRM and EXternal system not like internal no range for one system and another one external number ranges. Can you anyone how to setup both system internal no ranges and wht are the things are requi
-
WD(ABAP) table as event parameter
Is i possible to pass an inernal table as an event parameter. if so, how?
-
DAQmx Create Virtual Channel (Custom Voltage with Excitation)
Hi, My problem is this. I am using the custom voltage w/ excitation for my application, together with the scxi 1520. Of course, you have to put values on the excitation value, say 5 V. But whenever I turn off the chassis aftr measurements (the LabVIE