Calling a report from another report in after parameter form
hi,
I'm calling Emp.rdf report with deptno as parameter and if the parameter is '10' then i have to call dept.rdf
function AfterPForm return boolean is
begin
if :p_deptno =10 then
srw.run_report('report=c:\reports\dept.rdf destype=screen p_deptno='||:p_deptno);
end if;
return (TRUE);
end;
But, now i'm getting an error as
REP-1428: afterpform': Error while running SRW.RUN_REPORT
Could you please help on this. thanks Bcj
Hi , I have tried destype=file , didn't work for me. same time i tried with background=yes , that time report crashed.
Actualy what i'm trying to do is,
whenever the main report received an incorrect user input , i have to run a different report based on that particular input value and to show the users the actual input values.
so the coding would be like this in the after parameter form,
BEGIN
IF :P_ID between 1000 and 5000 then
--here i'm only changing the paramter value ,
ELSE
--here i'm calling the new report
srw.run_report('report=c:\reports\emp.rdf batch=yes destype=file desname c:\reports\id.txt background=yes p_new_id='|| :p_id);
return(true);
END;
Any help....
Similar Messages
-
Calling a report from another report
Hi,
Is there any way ,(any built in ) to call a report from another report in Report Builder 2000 and Report Builder 6i.
RegardsTry to call report from report by a button in the calling report:
1 In the Layout Model view, click in the tool palette. Note
2 Click and drag a rectangle.
3 Double-click the button object to display the Property Palette.
4 Under the Button Label node, set the Label Type property to either Text or Icon:
n If the button label is text, set the Text property to the text you want to appear on the button.
n If the button label is an icon, set the Icon Name property to the name of the file containing the icon (the file must reside in the directory specified by the UI_ICON environment variable).
5 Under the Button Behavior node, set the Type property to PL/SQL.
6 Double-click the PL/SQL Trigger property value field.
7 In the PL/SQL Editor, define the PL/SQL for the action trigger or format trigger when the button is clicked in the formatted report.
8 Set other properties as desired.
9 To activate the button, run the report, then display it in the Runtime Previewer. -
Calling a Report from another Report.....URGENT
Hi,
I am calling a report from another report using hyperlink. I want that this new report should come in a new page.
Can any body help me where i can set this property, so that the new report will open in a new page.
Thanks in advance
Regards
KamalTry to call report from report by a button in the calling report:
1 In the Layout Model view, click in the tool palette. Note
2 Click and drag a rectangle.
3 Double-click the button object to display the Property Palette.
4 Under the Button Label node, set the Label Type property to either Text or Icon:
n If the button label is text, set the Text property to the text you want to appear on the button.
n If the button label is an icon, set the Icon Name property to the name of the file containing the icon (the file must reside in the directory specified by the UI_ICON environment variable).
5 Under the Button Behavior node, set the Type property to PL/SQL.
6 Double-click the PL/SQL Trigger property value field.
7 In the PL/SQL Editor, define the PL/SQL for the action trigger or format trigger when the button is clicked in the formatted report.
8 Set other properties as desired.
9 To activate the button, run the report, then display it in the Runtime Previewer. -
Can we run one report from another Report in reports 6i
Actually my requirement is i want to run 4 reports from another report(driver report) by passing parameter same as the driver report.
i want to see the out put on the screen report by report next to driver report output.is it possible?? actually i got the solution for printing or taking file. but i want to show the output on the screen.
Edited by: user9165808 on Feb 16, 2010 3:21 AMI used SRW.RUN_REPORT () . But my question that is it possible to show report in batches on screen??
Edited by: user9165808 on Feb 19, 2010 4:23 AM -
Calling one Report from another Report in oracle 10g(Urgent)
Hi All,
Can anyone let me know how to make hyperlink to call another report.
I am trying
SRW.SET_HYPERLINK('/reports/rwservlet?&report=rep059_v31.rdf&il&destype=cache&desformat=pdf');
But i am getting message 'make sure the path or internet address is correct' .
Please let me know what are the attributes used to create hyperlink.
Thanks
Nikhil
Edited by: user9527411 on 29-Apr-2009 05:53
Edited by: user9527411 on 30-Apr-2009 00:24Hello,
The syntax is correct (except the & after the ?)
You are using a "relative URL" . It means the browser will use the protocol , server and port from the current page in order to build a full URL
(full URL = <protocol>://<server>:<port>/reports/rwservlet?report=test&destype=cache&desformat=html)
Regard -
Error while calling oracle reports from another report
Hello everyone,
I have a problem running oracle reports. In one report I have a button
that calls another report. There is a button for each row of the result
in the first report , and i have used Srw.run_report to call the second
report.
My problem is, when I run the report, at the first time i can push the
button and the second report opens and works correctly. But if i close
the second report and come back to the first one, when i push the
button for a different row ,the second report starts to run but then I
get some oracle errors like table does not exist or... while the first
time the report worked correctly.
It seems that when i close the second report and go back to the first
one, sth happens that changes my session or connection. I don't know
what can be the problem.
By the way, when I log in with the user that owns the tables and has
all the privileges, I don't get this problem. It only occurs when I
use other users ( which have all privileges on all of the tables
needed in the report )
I am using Report Builder 6.0.5 and the DB is Oracle Database 10g.
Can anyone please help me with this problem?
Thanx in Advance.
Maryam.6.0.5 is not certified against 10g database, so I suggest to upgrade to 6.0.8.26 (6i patch 17) first to see if the problem is gone.
-
How can i call one report from another report (Drill Down Approach)
Hi Friends,
I've two reports in completely different layout format.
One is in Crosstab & another is in Tabular.
Now i want to call my Tabular report(report 1) from my Crosstab (report 2) without using BO's default drill down feature. Or, you can show using BO's feature if it supports my requirement.
How to do that?
Is it at all possible?
Please share your thoughts. Thanks in advance for your time.
Regards.
Satyaki De.hi
you can use openDocument for this.
[http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
I would suggest to use variables that build the HTML code for the hyperlinks dynamically, and display them in your crosstab. Set the display option for the related cells (ie. the cells where your variables are displayed in) so that the cell's contents as interpreted as HTML code.
Regards,
Stratos -
Submit a Report from another report
I have 2 reports a and b. Both have similar selection screen. The only difference is that the mandatory fields of the 2 reports are different from each other. My requirement is that, when the user selects a radio button 'Summary' in report 'a' , it should call report 'b' retaining the selection-screen values in report 'a'. Can anybody please give me a solution for this ? When i use submit report b... It is going to report b but, the values are getting cleared ..
If both screens are selection-screens, you can use SUBMIT ... SELECTION-SCREEN values.
For more information refer to this weblog(and also try F1 on SUBMIT):
/people/horst.keller/blog/2004/10/27/abap-geek-4-150-the-mystery-of-submit-unveiled
and
http://help.sap.com/saphelp_46c/helpdata/en/34/8e72d96df74873e10000009b38f9b8/frameset.htm
Regards,
Subramanian V.
Message was edited by: Subramanian Venkateswaran -
How to filter a combined analytic report from another report.
Hello,
I am having two reports, Rpt1 and Rpt2(which is combined analytic report, two different subject areas). I am passing Owner Name from Rpt1 to Rpt2, in doing so only one criteria is getting filter and other criteria is not. I know I can't create any presentation variables at report level and cannot use dashboard for this. Can someone please provide a solution for this.
Thanks in Advance,
Nick.Hi Mike,
I did. Owner 'Is Prompted' in both the criteria, but as said they are coming from two different subject areas.
Thanks in Advance,
Nick. -
Regarding calling 1 report from another
Hello Friends,
Can u plz tell me how to call one report from another report.
Regards,
Drashanahi,
Use SUBMIT program statement
SUBMIT ZFIR001
chk this.
*Code used to populate 'select-options' & execute report
DATA: seltab type table of rsparams,
seltab_wa like line of seltab.
seltab_wa-selname = 'PNPPERNR'.
seltab_wa-sign = 'I'.
seltab_wa-option = 'EQ'.
load each personnel number accessed from the structure into
parameters to be used in the report
loop at pnppernr.
seltab_wa-low = pnppernr-low.
append seltab_wa to seltab.
endloop.
SUBMIT zreport with selection-table seltab
via selection-screen.
*Code used to populate 'parameters' & execute report
SUBMIT zreport with p_param1 = 'value'
with p_param2 = 'value'.
Other additions for SUBMIT
*Submit report and return to current program afterwards
SUBMIT zreport AND RETURN.
*Submit report via its own selection screen
SUBMIT zreport VIA SELECTION-SCREEN.
*Submit report using selection screen variant
SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
*Submit report but export resultant list to memory, rather than
*it being displayed on screen
SUBMIT zreport EXPORTING LIST TO MEMORY.
Once report has finished and control has returned to calling
program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
DISPLAY_LIST to retrieve and display report.
\[removed by moderator\]
rEGARDS
Edited by: Jan Stallkamp on Jul 29, 2008 5:25 PM -
How to call dynamic selection screen from another report
hi,
i have transaction ZFAGLL03.
it has got standard selection screen.. and dynamic selection screen...
i am calling this transaction from another report, now how do i display this dynamic selection screen.....Try following code and see if it helps:
TYPE-POOLS : rsds.
TABLES:tgsb.
DATA: trange TYPE rsds_trange,
trange_line
LIKE LINE OF trange,
trange_frange_t_line
LIKE LINE OF trange_line-frange_t,
trange_frange_t_selopt_t_line
LIKE LINE OF trange_frange_t_line-selopt_t,
trange_line1
LIKE LINE OF trange,
trange_frange_t_line1
LIKE LINE OF trange_line-frange_t,
trange_frange_t_selopt_t_line1
LIKE LINE OF trange_frange_t_line-selopt_t,
texpr TYPE rsds_texpr.
DATA: seltab TYPE TABLE OF rsparams WITH HEADER LINE,seltex TYPE rsds_texpr.
SELECT-OPTIONS:so_gsber FOR tgsb-gsber.
LOOP AT so_gsber.
trange_line-tablename = 'FAGLFLEXA_FS'.
trange_frange_t_line-fieldname = 'RBUSA'.
MOVE-CORRESPONDING so_gsber TO trange_frange_t_selopt_t_line.
APPEND trange_frange_t_selopt_t_line
TO trange_frange_t_line-selopt_t.
ENDLOOP.
APPEND trange_frange_t_line TO trange_line-frange_t.
APPEND trange_line TO trange.
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
submit FAGL_ACCOUNT_ITEMS_GL with FREE SELECTIONS texpr AND RETURN . -
Calling another report from a report
just wanna explore the possibility...
i have a.bat which will call a.rep.
in a.rep, a function will loop and call b.rep.
is this possible?Hi KLC
This is prasanth again. In reports we can call a report from another report which is called "drilleddown reports"
If ur requirement is this one, then we can do this by using SRW builtin called srw.run_report.
syntax is srw.run_report(reportname,<arguements if any)
Place a push button in report 'a' and put this code in that button.
I think this will solve your problem. I dont know exactly what requirement you have. Because for ur last question regarding distribution not clearly understood, so i suggestion is incorrect. any way i am trying to distribute the date based on sql model and i will suggesst you soon, Since i am also a developer,please try my suggestion but i am not sure that will work 100% correctly.
thans and regards
prasanth a.s. -
Calling a report from a report (10g)
Hi
I am using DeveloperSuite 10g and Application Server 9.0.4 - I am trying to call a report from another report.
I believe I am correct in thinking that as buttons don't exist in reports any more I have to use a hyperlink containing the URL to the reports service with appropriate parameters to invoke the required report.
My problem is that when I click on the hyperlink I do not see the called report, but get an html screen saying "Oracle Report Status - Successfully run".
My hyperlink is formed like this:
/reports/rwservlet?module=reportb.rdf
Is there an additional parameter I must pass to get the report to display on the client browser window?
ThanksHi,
Can someone let me know as to what the maximum length of the URL string that could be formed? I believe in IE browser a maximum of 64,000 characters can only be formed. If I need to pass many parameters and the length of the values passed exceeds the default length in IE, the rest of the values will not be captured in the report server.
Please let me know on how to proceed with this problem. -
Calling a report from a report
I would like to know how to call a report from another report
Thanx in advance
RAMyou can use a SRW.RUN_REPORT to calla report from a report
-
Can we call a report in another report?
I have developed a XMLP report for AR receivables for a customer and another XMLP report for AP vouchers for a customer.
Now my requirement is to develop a report for AR/AP Balance for a customer,which is combination of above 2(ie AR Receivables report + AP vouchers report).
What is the possible solution to above mentioned requirement??
Can I call a report from another report(for ex AP vouchers report from AR Receivables report).Is this possible?
If yes,please explain...
Or are there any alternatives to this requirement??
Thanks in advance!!Hi,
Calling another report in a report? Not sure about your requirement but you can do fnd_submit/fnd_request.
OR, if you need AR/AP balance,... here's an alternative solution:
If you're in R12, there is the "Automatic Netting (AP/AR)" feature in Payables. You could check on the available report if it fits your need.
In 11i, you may run "Supplier Customer Netting Report" (ARXSCN). This is an OReport(RDF) and could be converted to XMLP. This report is designed to display the net balances in AP and AR for Vendors and Customers with the same name, NIF Code, or VAT Registration.
Hope this helps.
Rownald
Maybe you are looking for
-
Hi, We have an application built using HTMl 5 and Javascript running on IPad2, iOS5.1 Safari 5.1. When a file url is clicked instead of asking for Save or Open or Cancel options, the file gets opened on IPad by default. Is this default behaviour whi
-
Lync Implementation with different internal and external domain sync
Hello Experts, Having Windows 2012r2 with Lync 2013 frontend and Edge 2012 server on Win2012. Internal domain name is test.local and Internet domain name is : tgroup.com. Internally all the clients are able to sync with frontend server using [email p
-
Expert:-. when we uploading the asset master data, thru LSMW, ( How its comes the data, in SAP.( I have tell with LSMW 14 steps, and some explanation, about that but he is 100% not satisfy, plz give ur knowledge about that one,..... request,,,,,plz..
-
Photoshop editor saved in moved folder?
I moved my pictures to a saved folder and after I used Photoshop editor I cannot find where the edited version of a picture is located? Photoshop elements 9 seemed to just put alongside my original. I am using photoshop elements 12.
-
Shift One sub org unit to different higher level Org unit
Dear All, I have requirement of shifting few Org units to different higher Org units, is it possible through PPOME, PPOSE (By drag and drop)or by any other transaction. the Org unit which we want to shift is having position and attched holders also..