Unable to pass parameter from a hyperlink in drill down report
Hi,
I have created a drill down report.
Master report has a column with hyperlink
with url to call detail report.
"http://webserver/dev60cgi/RWCGI60.EXE?item+the_prodid=200376"
when i see the detail report i get the value of the_prodid parameter as null.
any help will be highly appreciated.
Thanks very much.
It worked for me also.
Now i am getting here something new
i have wrriten a function which returs javascript and i this is being passed to report using before report trigger.
I am using
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text) tag to do this.
When i run this report from report builder it works fine but when this is invoked from
a report server i get a blank page and the window status says tranferrring data from webserver nothing comes up.
Now when i remove the contents of before report trigger it works fine.
my before report trigger conetenst are
function Before_Report return boolean is
HTML_Text VarChar2(32000);
begin
HTML_Text := '<html> ' | |chr(10)| |
mainpagejavascript| |
'<body dir=LTR bgcolor="#ffffff">'| |chr(10); -- for 6i the body tag dir=&Direction would work and be set at runtime
SRW.SET_BEFORE_REPORT_HTML(SRW.TEXT_ESCAPE,HTML_Text);
return (TRUE);
end;
mainpagejavascript function returns
<script language="javascipt">
function test()
alert("I have a problem");
</script>
can anybody help me out in this.
Thanks in advance
shailesh
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Haithem Abdelkefi:
Yes, the drill down works.
We have a field with this Format Trigger.
function F_EQP_GRPFormatTrigger return boolean is
begin
srw.set_hyperlink (:p_url| |'&report=INP-A2.2.rep&p_eqp_grp='| |:eqp| |'&desformat='| |:desformat);
return (TRUE);
end;
Haithem<HR></BLOCKQUOTE>
null
Similar Messages
-
Pass parameter from SSAS to Non-SSAS based report
Hi,
I want to pass a report from my mainreport based on a SSAS cube to my subreport which is a NON-ssas cube (relationel datasource)
How can achieve this when my parameter is structured like this in SSAS:
[ProjID].[ProjID].&[be]&[PRJ180127-00001] - I only want to pass the Projectnumber(PRJ180127-00001) to my subreport
How to achieve this ?
I tried using Projectid.UniqueName - but this is passing the whole string [ProjID].[ProjID].&[be]&[PRJ180127-00001] - which my other report wont accept as a parameter.Hi ,
For value you can use ;
[Dim Date].[Calendar Year].CURRENTMEMBER.MEMBER_CAPTION
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. -
How to pass parameter from form6i to report6i
when i passed parameter from form6i to report6i, while previewing report the data was not displaying only fields heading was displaying, but in report6i there is a parameter form thru that it was displaying data, but thru form6i to report6i it was not. Please kindly help me and give me the some sample or example of it.
Thanks
Best regards
ZaheerADD_PARAMETER(pl_id,'P_SCRIPT',TEXT_PARAMETER,:b1.script);
-
Post Author: usaitconsultant
CA Forum: JAVA
Would you know if there's a way to mimic Deski
document from BOXI server(CMS) to local machine, pass parameter, execute and
save in a mutiple report format then store in a local drive or network
drive? Most examples and tutorials in BO XI R2 I've seen are scheduling while drilling report is for web intelligence only and not desktop intelligence. Please let me know your ideas. I would really appreciate your help. Thanks.Post Author: usaitconsultant
CA Forum: JAVA
Hi Ted,
Thanks for the reply.The file is not available in the server. Though, I checked CMS and I found an instance in history tab and the status is failed with error below.
Error Message:
A variable prevented the data provider Query 1 with BANRRD30 from being refreshed. (DMA0008).When I checked my codes, I found out that the object Im using is for web intelligence data provider. However, I cannot find any documentation and example for passing parameter values in desktop intelligence data provider. Any idea on this? You think this is not suported by Report Engine SDK?Thanks. -
Post Author: usaitconsultant
CA Forum: JAVA
To Guru's, Would you know if there's a way to mimic Deski document from BOXI server to local machine, pass parameter, execute and save in a mutiple report format then store in a local drive or network drive? Most examples and tutorials in BO XI R2 I've seen are scheduling while drilling report is for web intelligence only. Please let me know your ideas. I would really appreciate your help. Thanks.Give Chronosync a go - have been using for over a year and it works great; if you like Syncback you'll like this app.
-
How to pass parameter from 1 stored procedure to another stored procedure inside crystal report
Hi
I have several stored procedure in my Crystal Report. I am wondering if it is possible for me to pass a parameter to one of the stored procedure and to use the result of that stored procedure E.g. CustomerCode. To another 2 stored procedure to generate the report dynamically?
I have 3 stored procedure
The 1st one is used to gather information and process the calculation
another 2 stored procedure is used for generate the graph and both of them required to take 2 parameters. The 1st stored procedure will require 1 parameter (E.G. Reference Code) and will return a set of information including the data that could be use on the other 2 stored procedures.
After I added these 2 stored procedure, it requires me to pass 3 parameters to the report. I would like to know if I could only pass the Reference Code for stored procedure 1 and use it to retrieve the information for the other 2 parameter?
Thanks in advance
ChiHi Chi
To pass parameter from 1 stored procedure to another stored procedure, you will have to create sub report. In your case you will have to create 2 sub reports for 2nd and 3rd stored procedure and link those sub reports with the main report using Reference Code field in order to pass the values.
After creating the report when you will refresh the report, it will ask 4 parameters, one parameter for main report, one for the first subreport and two for second subreport to fetch the data correctly.
Regards
Poonam Thorat. -
Master-detail relationship - passing parameter from form to form
Hello.
I have a question about master detail relationship.
In first form we have master-detail relationship.
Example on dept, emp tables:
We query dept (master), so we can get one or many emp (detail) records. Then we have a third table - tasks. Tasks table (detail) can have many records for one employee.
Tasks table is in another form, which is called with call_form built_in. So we pass a parameter from master to detail - parameter empno. Because of that, we can only see tasks for one employee and can't navigate to another employee. This is normal.
Now comes the question.
Is it possible to call a form (with tasks table) with deptno parameter (so we can navigate through all employees with that department), but first show employee that was last used in first form?
Example of our goal.
Master: deptno = 20
Detail: navigate to JONES employee
Call new form (tasks)
Tasks for JONES employee are first shown
Can navigate to another employee - without requery
Is this possible?
If we pass deptno parameter, we can navigate through all employees - but must navigate to the employee we last used in first form.
If we pass empno parameter to second form, we see last used employee but cannot navigate to another employee without requery.
Hope you understand my problem.
Thanks.Hi
yes you can pass parameter from one form to another.
In your master detail form set the trigger when-new-instance and there define the global variable like
:GLOBAL.G_CIRCLE_ID := NULL;
and in your task table set the trigger when-new-instance and there define the global variable like and also write this code
:GLOBAL.G_DIVISION_ID := NULL;
IF :GLOBAL.G_CIRCLE_ID IS NOT NULL THEN
GO_BLOCK('DIVISION');
SET_BLOCK_PROPERTY('DIVISION',DEFAULT_WHERE,'CIRCLE_ID ='||''''||:GLOBAL.G_CIRCLE_ID||'''');
EXECUTE_QUERY;
END IF;
:GLOBAL.G_CIRCLE_ID := NULL;
now you maintain your trigger according your need.
Regards, -
Problem while passing parameter from report to report.
Hi
I'm using forms and reports 10g, hava a problem while passing the parameter from reports to report.
i'm using srw.set_hyperlink to call report from report.
i have created a key value in the cgicmd.dat file called
faccre802005-2006: report=faccre80 destype=cache desformat=pdf userid=<userid/passwd@cs> server=<servername>
Now in the format trigger i'm using this key value
function BTN_DEBITFormatTrigger return boolean is
temp varchar2(5000);
IP_ADDRESS VARCHAR2(50);
SERVER_NAME VARCHAR2(10);
L_ACCT_CODE VARCHAR2(14);
begin
SELECT MAST_INT_DESC,MAST_USER_PGM_ID INTO IP_ADDRESS,SERVER_NAME FROM MAST_INT_INFO WHERE MAST_INT_ID='VISHWA';
temp := IP_ADDRESS||'?faccre80'||:P_FIN_YEAR||'+server='||server_name;
temp :=temp ||'+'||'P_PREVIOUS_CODE='''||:ACCT_CODE||''''||'+'||'P_COMPANY_CODE='''||:P_COMPANY_CODE||'''';
temp :=temp ||'+'|| 'P_FROM_DATE='''||TO_CHAR(:P_FROM_DATE,'DD-MON-RRRR')||''''||'+'|| 'P_TO_DATE='''||TO_CHAR(:P_TO_DATE,'DD-MON-RRRR')||''''||'+'||'P_TRUST_CODE='''|| :P_TRUST_CODE||'''';
temp :=temp ||'+'|| 'P_UNIT_CODE='''||:P_UNIT_CODE||''''||'+'||' P_FIN_YEAR='''||:P_FIN_YEAR||'''';
temp :=temp ||'+'|| 'P_LEVEL='''||:P_LEVEL||''''||'+'||'P_HEADER='''||replace(:P_HEADER,' ','%20')||''''||'+'||'P_FORMAT='''||:P_FORMAT||'''';
SRW.Set_Hyperlink(temp);
END;
return (TRUE);
end;
Report is coming but not the expected result because parmaeters are not coming from first report to second report.
If i dont use cgicmd file userid and password are displyed in the URL.
Pl tell me how to pass parameter from one report to another.
thanks and regardsHi
I got the solution.
I forgot to add %* at end of the KEY value. -
How can I pass parameter from report to form?
Hi :)
Now I try to build conference room like this by using form
and report. And i design that when users click at group report
then i'll show page that contain questions report and add
question form. And question form and report must receive the
same parameter from group report.
First Problem: is I don't know how group report send the
same parameter to question report and add question report at the
same time. And is it possible??? If not please suggest me what
should I do???
Second Problem: is I don't know how can I pass parameter from
report to form. I don't know the way to do it.
Please tell me!!! Please...
I look forward to hearing from all of you.
Thank You.One way is to create a link based on that form and attach that
link with the report. Through links you can pass parameters -
How to Pass Parameter from BIP to Dashboard Report
Hi,
Parameter from BIP to Dashboard Report
If I select BIP report paremeter should pass value to dashboard report
thanks in advance.
CHEERS ,
JelHi Saichand,
I hav gone through above link its passing values from Dashboard prompt to BIP report only..
just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
Thanks in advance
Cheers,
Jel -
Hw to pass parameter from report to forms
Dear Friends,
I m working on Forms n Reports 6i,
I m running report n passing parameter from the forms now the requirement is that if report run successfully it shuld give the msg otherwise give an user define error msg.
Hw do i pass any parameter from report to form for acknowledgment.
Thanking yours
ChandanHi Rajat,
using run_product built in i can pass parameter from forms to reports but hw can i get some parameter value from reports to forms as mentioned earlier my post
Thanking Yours,
Chandan -
Passing Parameter from URL to Web Forms - Oracle 10 Application Server
Hi All -
I want to pass parameter from a URL to 10g Oracle Web Forms - Oracle Application Server 10.1.2
http://server1/forms/frmservlet?config=SATWEB_SSO&otherparams=username_sso=BABUS
How to receive this 'username_sso' value inside my forms application ?
Created a Parameter in the same name as URL parameter 'username_sso' in forms but didn't receive the value. I want to know how to receive the value of this parameter within forms from URL.
Thanks - SureshTry this,
1. Create a parameter in the formsweb.cfg (say username_sso) under default section ( or you can create it in your own config section)
2. Add the username_sso in otherparams parameter as username_sso=%username_sso%
3. Add this username_sso parameter in your form.
4. Run the form as
http://<machine>:<port>.....?form=blahblah....&otherparams=username_sso=scott
Regards,
Arun -
Not able to pass parameter from one fragment to another fragment in another taskFlow
Hi,
I'm trying to pass parameter from one fragment to another fragment and want to print the parameter value in second fragment.
i have inputtext in first frag---
first fragment belongs to one taskflow1 and this taskflow1 i had darg and drop to one mainPage.
Under taskflow1 itself i drag and drop one taskflow call activity and on top of that i drag and drop another bounded taskflow as taskflow2
under taskflow2 i have one fragment as fragment2and in that i have one outputtext field, now here i want to print the value from fragment1--inputtextfield value
to achive this i had tried many ways but somewhere doing mistake please explain step by step.
Thanks
MaheshIn addition you need to tell us your jdev version!
Can you elaborate on your use case a be more?
On which event this should happen?
In general contextual events should allow you to implement this, however, as I don't understand the use case, I find it hard to help.
Timo -
Passing parameter from workitem to bsp page
Hi,
is it possible to pass parameter from workitem to bsp page and also vice versa?SAP_WAPI_READ_CONTAINER function works well.but i need to pass a parameter to workitem container.
what i am trying to do is;
1-get data by using sap_wapi_read_container
2-change data
3-send changed data back to workitem
my problem is in third step.I am using SAP_WAPI_WRITE_CONTAINER. but it doesnt work.After execution the FM return_code set to 1.
Do u know how to set a variable in workitem? -
Unable to call a form from drill-down report
hello
i have a drill-down report, from where i wanna to call a transacation level form, so that user can modify the data from that transaction level form after seeing the result from report. After modification in data through form, report should be refreshed automatically.
i am using form6i, can't user dde.app_begin because it starts a new sessionHi,
if this is for Forms on the web, just call the Reports from web.show_document() when closing the Forms (assuming you close the Forms after the update).
If it is on client/server then you don't have a hook into Reports except you run a new Reports from Forms and close the Reports that called the Forms application (needs to be done within this Report)
Frank
Maybe you are looking for
-
How to print multiple fields in single barcodes
Hello friends, How to create a single barcodes with multiple fields in smartforms and retrieve same multiple fields while scanning also. My requirement is, i want to create barcodes which contains material no, serial no, material description and quan
-
Upgrading From The Free Trial The Cheaper Way!!
Hi, I've currently have Aperture 3 running well within the 30 day trial period. I've imported 9000 plus photo's from my iPhoto library and busy moving them into nice folders, and organising them in a better way that iPhoto could do. I like Aperture a
-
I dont know how it happened but i guess my iphoto library has deleted itself and now I have just the pictures left I also had in different folders. Now about 95% of my pictures (40GB) are away and I cant find them anywhere on my mac Do i have a chanc
-
Why do I get a security warning when I try to download firefox
I have used firefox for a few yers. Now I have anew computer and it tells me that firefox is not secure
-
I UNABLE TO START MY IPAD I HAVE TRIED A HARD START AND RECHARGING WITH NO LUCK. ALL I GET IS A BLANK SCREEN. DVICE IS 2 YEARS OLD WITH LIGHT TO MODERATE USE.