Passing User Parameters through Run_Report_Object
hi,
How to pass multiple user parameters through run_report_object.example i have to pass 20 parameters, have i write 20 statements? is there any way to come in single statement.i am using Forms 6i.
thks in advance,
A parameter list can be the second parameter of RUN_REPORT_OBJECT,
rjob := RUN_REPORT_OBJECT(rep_id,paramlist_id);
Gerald Krieger
Similar Messages
-
Pass User Parameters between Forms and Reports...?
Hi,
I have been trying to pass user parameters from forms to reports using
RUN_REPORT_OBJECT. I am able to run the report from the form, but still don't know how to pass user_parameters. Does anyone know how to do this?
Thanks,
ABYou can use SET_REPORT_OBJECT_PROPERTY with the "REPORT_OTHER" parameter
The following example passes 3 parameters to the report:
SET_REPORT_OBJECT_PROPERTY(pt_report_object_id, REPORT_OTHER, 'paramform=no p_param_1='||pc_param_1||' p_param_2='||pc_param_2); -
Passing user parameters to groovy script
From OIM 11gr2 ,I need to create users into LDAP through OID connector OID-11.1.1.6.0.
After creation , i need to pass user id and other parameters to groovy script to run a command on target system.
How do i pass these parameters to groovy script. Please assistHi,
I am calling the shell script from concurrent program and below is the log file of the concurrent program.
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
KORONT_041_SH module: KORONT - Daily Item Master Update
+---------------------------------------------------------------------------+
Current system time is 29-JUN-2011 10:09:35
+---------------------------------------------------------------------------+
REQUEST_ID: 68510795
USER_ID: 4219
PDC: 85
Item Number:
KORDC: 124
PDCSET: 1100000003
last_updated_in_hours: 24
EMAIL_ID: [email protected],[email protected]
SQLPATH: /e381/oracle/asodev01appl/custom/motont/1.0.0/sql/
RPTDIR: /e381/oracle/asodev01comn/admin/out/ASODEV01_asoprdb2
RPTFILE: o68510795.out
Table truncated.
*Enter value for 6: User requested Interrupt or EOF detected.*
Table truncated.
old 15: AND ic.organization_id = &&4
new 15: AND ic.organization_id = 1100000003
0 rows created.
Input truncated to 9 characters
old 8: AND organization_id = &&4
new 8: AND organization_id = 1100000003
0 rows created.
End of SQL
No record.
+---------------------------------------------------------------------------+
Executing request completion options...
+------------- 1) PRINT -------------+
Printing output file.
Request ID : 68510795
Number of copies : 0
Printer : noprint
+--------------------------------------+
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed successfully
Current system time is 29-JUN-2011 10:09:38
+---------------------------------------------------------------------------+Regards,
Sreekanth -
Passing VM Parameters through Applet Tag
Is there some way to pass Runtime JVM parameters through the Applet Tag?
something like -D"java.security.policy="xxx"
<Applet >
<Param Name="JVM_PARAM" Value="-D"java.security.policy="xxx"">
</Applet>Is there a way to set JVM parameters directly in the applet tag? i.e., not by passing generic parameters and then calling setProperty, and not by setting the JVM parameters in the Plug-in control panel.
For some reason, setProperty will not work correctly in my applet. I can set the new property value, immediately do a getProperty and verify that the new value is returned, but the JVM still uses the old value throughout the life of the applet.
And I don't want to set the parameter in the control panel, because I don't won't this parameter set for all applets that use the plug-in.
Thanks,
Ken -
Pass Diadem Parameters through command line
Hi,
I am trying to run DIAdem through command line. I have no problem with this but can I pass a variable through the same.
I would like to pass T1 with some value through command line. Can anyone please help me how can I do this.
Expecting your earliest reply.
Thanks,
PriyaHi Priya,
I am not quite sure what you're trying to do. So are you running a DIAdem SCRIPT from the command line? Is your variable defined within your application? How is the variable initialized when you run the script from within DIAdem. Is it a user Input? Also how exactly are your running the script from the command line?
I hope to hear from you soon and I will post as soon as I get some info from you side. Thank you for your patience.
SijinK
National Instruments -
Passing user parameters in interface
Hi,
How do I implement interface that accepts user parameters?Thanks for the response. :).
Hereunder is what I want to achieve:-
I have written two interfaces to do the loading from table (SQL) and file (txt), schema definition for both is the same, and data is different. The target is same for both.
I want to make the interface generic by passing an input variable @i
if @i = 1 then load from table
if @i = 2 then load from file
Is it achievable in ODI? -
FR: how passing POV parameters through Related Content
Hi,
i'm using Financial Reporting as a reporting tool for my budget application over a Planning 9.3.1 system.
My question is about the possibility to use the related content in order to pass report POV parameters.
As we know it's possibile in FR open a new report starting from the cell of a initial report throught Related Content but i ask if is possible pass the current report POV to the new one in order to obtain a kind of "drill-down effect" based on a initial user-selection.
Thank in advance.
StefanoHi Stefano
Yes it is possible providing that you have set up your reports correctly.
A common example would be:
Report1: Standard P&L report (Accounts in rows, Period in columns, Entity on POV) - initially run at a summary Entity level with drill link by account to
Report2: Entity in rows, Period in columns, Accounts on POV - use IDescendants(Current POV for Entity)
Effect is you start with a standard P&L report where you find an account with a variance you want to investigate (e.g. Staff Pay) click the related content link in the report and it will pass that account into the POV on the second report and expand the Entities down the row.
Hope this helps
Stuart
www.analitica.co.uk -
Getting problem with running RWBLD60 with User parameters
Hi All,
I am trying to run a report using rwbld60 from command prompt which has input parameters
I tried like this but it didnt work out
rwbld60 module=reportname.rdf userid=scott/tiger@orcl destype=file desformat=pdf
desname=report_out.pdf parameterform=NO params=parms_1 traceopts=trace_prf tracemode=trace_replace
tracefile=trace.txt
Can any one please tell me how i can pass user parameters for rwbld60
Thanks,
Amaractually, i do my FYP on bluetooth chatting...
and there will be more than two emulators running at the same time..
one of my frens said that if u want to run more than one emulator u just simply click on run button..
and it will appear on the screen.. -
Issue with passing parameters through Java-JSP in a report with cross tab
Can anyone tell me, if there's a bug in Java SDK in passing the parameters to a report (rpt file) that has a cross tab in it ?
I hava report that works perfectly fine
with ODBC through IDE and also through browser (JSP page)
(ii) with JDBC in CR 2011 IDE
the rpt file has a cross tab and accpts two parameters.
When I run the JDBC report through JSP the parameters are never considered. The same report works fine when I remove the cross tab and make it a simple report.
I have posted this to CR SDK forum and have not received any reply. This have become a blocker and because of this our delivery has been postponed. We are left with two choices,
Re-Write the rpt files not to have cross-tabs - This would take significant effort
OR
(ii) Abandon the crystal solution and try out any other java based solutions available.
I have given the code here in this forum posting..
CR 2011 - JDBC Report Issue in passing parameters
TIA
DRG
TIA
DRGMr.James,
Thank you for the reply.
As I stated earlier, we have been using the latest service pack (12) when I generated the log file that is uploaded earlier.
To confirm this further, I downloaded the complete eclipse bundle from sdn site and reran the rpt files. No change in the behaviour and the bug is reproducible.
You are right about the parameters, we are using {?@Direction} is: n(1.0)
{?@BDate} is: dt(d(1973-01-01),t(00:00:00.453000000)) as parameters in JSP and we get 146 records when we directly execute the stored procedure. The date and the direction parameter values stored in design time are different. '1965-01-01' and Direction 1.
When we run the JSP page, The parameter that is passed through the JSP page, is displayed correctly on the right top of the report view. But the data that is displayed in cross tab is not corresponding to the date and direction parameter. It corresponds to 1965-01-01 and direction 1 which are saved at design time.
You can test this by modifying the parameter values in the JSP page that I sent earlier. You will see the displayed data will remain same irrespective of the parameter.
Further to note, Before each trial run, I modify the parameters in JSP page, build them and redeploy so that caching does not affect the end result.
This behaviour, we observe on all the reports that have cross-tabs. These reports work perfectly fine when rendered through ODBC-ActiveX viewer and the bug is observable only when ran through Java runtime library. We get this bug on view, export and print functionalities as well.
Additionally we tested the same in
With CR version 2008 instead of CR 2011.
(ii) Different browsers ranging from IE 7 through 9 and FF 7.
The complete environment and various softwares that we used for this testing are,
OS : XP Latest updates as on Oct 2011.
App Server: GlassFish Version 3 with Java version 1.6 and build 21
Database server ; SQL Server 2005. SP 3 - Dev Ed.
JTds JDBC type 4 driver version - 1.2.5 from source forge.
Eclipse : Helios along with crystal libraries directly downloaded from SDN site.
I am uploading the log file that is generated when rendering the rpt for view in IE 8
Regards
DRG -
How to set user parameters in transaction MD61 through a report?
Hi,
I want to set default values for 'Requirement Type' in user parameters of transaction MD61 through a report. Please help.
Thanks in Advance.Create Variant using SHD0 and with Group and assign to particular user's
Here is the steps
Creating a Variant Group
1. Open transaction SHD0, enter the transaction code, and press enter.
2. Choose the Standard Variants tab page, and then the sub tab page Variant Groups, and enter a group name, such as GROUP_GEN
3. Choose Create. Enter a short text on the Maintain Variant Group window that appears and save the variant group.
Assigning Users
Once you have created the variant group and the relevant transaction variants with screen variants, you now need to assign users to the variant group as follows
1. Return to the Standard Variants tab page, Variant Groups sub tab page.
2. Enter the name of a user that you want to assign to this variant group, and choose Assign. A message that this user was successfully assigned to the variant group appears in the status bar. If you choose a where-used list for users, this user is displayed in the user list.
3. However, for the screen variants of the variant group that you created above to be displayed for the user, you first need to select Set Proposal. The user is assigned to the group and the associated transactions are started with the corresponding variants only once you choose the Set Proposal function.
You can use this procedure of user assignment for all other users that you want to add to the variant group
Hope this helps.
Thanks
S.N -
Select (query) details by passing parameters through a calender
Hi All,
I have a scenario like below;
i have a report and it returns 1000s of details which is not necessary @ all.
what i want to do is, place a calender in top of the report and select date range (probably 2 calenders)
and query the data accordingly by clicking a button or something.
I know i can do this using default filter... but initially i have to pass select * from table; query for that. it returns unnecessary data.
----scenario in brief----
user login to the page
nothing comes until enter data range
once he pick the date range.... after click on the button
then returns the related data according to the date range...
i think you got my question.
can anybody give me a hand to solve this problem.
It will be a great help.....
Thanks in advance
Max
------------------------------Hey Jeff,
I got a problem again. when i try to query the data using a db link... i cant fetch the data using this data time picker... when click the button.. it doesnt fetch the data.
but when i pass the query through the sql workshop. then i get the actual result... dont understand why the same thing does not apply in both places.....
if i hard coded the date... then it works....
here is my query...
SELECT
ATN.ATN_TRANSACTION_DATE RECEIPT_DATE,
--CD.CDL_CHEQUE_NUMBER CHEQUE_NUMBER,
ATN.ATN_VOUCHER_NUMBER RECEIPT_NO ,
ATN.ATN_RECEIPT_PAYMENT_MODE PAY_MODE,
ATN.ATN_JOURNAL_REFERENCE_NUMBER PROPOSAL_NUMBER,
ATN.ATN_TOTAL_AMOUNT ATN_AMOUNT,
CD.CDL_CHEQUE_AMOUNT CD_AMOUNT,
ACT.ACC_GL_CODE GL_CODE,
ATN.ATN_CREATED_BY USER_C,
DECODE(ATN.ATN_RECEIPT_PAYMENT_MODE,'C',ATN.ATN_TOTAL_AMOUNT) CASH,
DECODE(ATN.ATN_RECEIPT_PAYMENT_MODE,'B',ATN.ATN_TOTAL_AMOUNT) IBT,
DECODE((DECODE(ACT.ACC_GL_CODE,'CF20000002','Q')),'Q',ATN.ATN_TOTAL_AMOUNT) HNB_Green_path_1,
DECODE((DECODE(ACT.ACC_GL_CODE,'CF20000005','Q')),'Q',ATN.ATN_TOTAL_AMOUNT) HNB_Green_path_2,
DECODE((DECODE(ACT.ACC_GL_CODE,'CF20000006','Q')),'Q',ATN.ATN_TOTAL_AMOUNT) HNB_Green_path_3,
DECODE(ATN.ATN_RECEIPT_PAYMENT_MODE,'R',ATN.ATN_TOTAL_AMOUNT) Credit_Card,
DECODE((DECODE(ACT.ACC_GL_CODE,'CF20000008','Q')),'Q',ATN.ATN_TOTAL_AMOUNT) HNB_Kollupitiya,
DECODE((DECODE(ACT.ACC_GL_CODE,'CF20000009','Q')),'Q',ATN.ATN_TOTAL_AMOUNT) Commercial_Bank,
DECODE((DECODE(ACT.ACC_GL_CODE,'CF20000010','Q')),'Q',ATN.ATN_TOTAL_AMOUNT) HNB_Green_path_USD
FROM T_ACCOUNTING_TRANSACTION@racprod ATN
,T_ACCOUNTING_TRN_DETAIL@racprod ATD
,T_ACCOUNT@racprod ACT
,T_CHEQUE_DETAIL@racprod CD
WHERE ATN.ATN_ACCOUNTING_TRANSACTION_ID =ATD.ATD_ATN_ACCOUNTING_TRN_ID
AND ATD.ATD_ACC_ACCOUNT_ID=ACT.ACC_ACCOUNT_ID
AND ATN.ATN_ACCOUNTING_TRANSACTION_ID=CD.CDL_ATN_ACCOUNTING_TRN_ID
AND ATN.ATN_TRANSACTION_DATE >=to_date(:P4_FROM_DATE,'dd/mm/yyyy')
AND ATN.ATN_TRANSACTION_DATE <=to_date(:P4_TO_DATE,'dd/mm/yyyy')
AND ATN.ATN_VOUCHER_TYPE IN ('RV','SR')
AND ATN.ATN_ACCOUNTING_TRN_CODE IN ('L1000','S001','S002','S003','S004','S005','S006','S007','S008','S009','S010','S011','S012','S013','S014'
,'L1021','L1031','L1032','L1033','L1034','L1035','L1036','L1037','L1038','L1039','L1040')
AND substr(ATN.ATN_VOUCHER_NUMBER,9,3)=(select branch from user_login where username=:app_user)
AND ATD.ATD_DR_CR_INDICATOR='DR'
AND ATN.ATN_ATN_ACCOUNTING_TRN_ID IS NULL
ORDER BY ATN.ATN_VOUCHER_NUMBER
can u please suggest me a solution...???
Thanks again,
Max -
Passing user defined parameters in oracle reports thru command line
Hi All
We are currently using Reports 6i with Oracle 10g 10.2.0.4.0
I would like to know that is it possible to pass user defined parameters values while calling report from command line.
For Example: I am using following coding to call report from command line.
for /f "tokens=1-3 delims=/ " %%a in ('date /t mm/dd/yyyy -1') do (
set mm=%%b
set dd=%%a
set yyyy=%%c)
rwrun60 report=c:\reports\banks.rdf userid=express/test@test_rs2 destype=FILE desname=c:\reports\banks%dd%%mm%%yyyy%.pdf desformat=PDF BACKGROUND=NO BATCH=YES
The report contains some user defined parameter which is using in where condition of reqport query.
Select * from banks
where id = :Bank_ID
Now I want to Pass value for :Bank_Id from command line (like we pass parameter list while calling report with run_product), how it is possible?
Thanks
HassanHi guys
Fortunately I am able to perform the required task as I just added the report parameter field as follows:
rwrun60 report=c:\reports\banks.rdf userid=express/test@test_rs2 destype=FILE desname=c:\reports\banks%dd%%mm%%yyyy%%h%%mi%%ss%%ts%.pdf desformat=PDF BACKGROUND=NO BATCH=YES ERRFILE=c:\reports\error.log LOGFILE=c:\reports\joblog.log bank_id='MCB'
bank_id is the report parameter using in where clause.
Regards,
Hassan -
Is it possible to pass parameters through eventlisteners?
Hello everyone!
Inside a .fla file I have some buttons and each button will tween a different image to the stage. All the images are outside the stage in the same x and y position and I just need to tween the x coordinate.
Now I'm working with an external document class where I'm trying to hold all my functions and I'm stucked with the Tweens. I'm willing to stay away from the flash tween engine and I'm trying to work with tweenLite.
My question is: Is it possible to pass parameters through eventListeners so I can use something like this inside my docClass?
public function animeThis (e:MouseEvent, mc:MovieClip, ep:int):void { //ep stands for endPoint.
TweenLite.to(mc, 2, {x:ep});
If this is possible, how am I supposed to write the listeners so it will pass the event to be listened for AND those parameters? And how to build the function so it will receive those parameters and the event?
If this is not possible, what's the best approach to do this?
Thanks again!So, I understand you need to match buttons with corresponding visuals.
Here is a suggested approach.
Since SimpleButton is not a dynamic class, I suggest you have an enhanced base class for these buttons that extends SimpleButton. What is enhanced is that button has reference to the target.
I wrote code off the top of my head and it may be buggy. But concept is clear:
This is base class for all the buttons:
package
import flash.display.DisplayObject;
import flash.display.SimpleButton;
public class NavButton extends SimpleButton
public var targetObject:DisplayObject
public function NavButton()
Now, this is your doc class that utilizes this new buttons:
package
import flash.display.DisplayObject;
import flash.display.MovieClip;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
public class DocClass extends Sprite
private var btnArray:Array;
private var visuals:Array;
// references to objects being swapped
private var visualIn:MovieClip;
private var visualOut:MovieClip;
public function DocClass()
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
private function init(e:Event = null):void
removeEventListener(Event.ADDED_TO_STAGE, init);
// buttons and MCs shouldn't be in the same array - otherwise it is counterintuitive
// assuming all the objects are on stage
btnArray = [price_btn, pack_btn, brand_btn, position_btn];
visuals = [g19_mc, g16_mc, g09_mc, g04_mc];
configObjects();
private function configObjects():void
var currentVisual:MovieClip;
var currentButton:NavButton;
for (var i:int = 0; i < btnArray.length; i++)
currentVisual = visuals[i];
// hold original positioin
currentVisual.hiddenPosition = currentVisual.x;
currentButton = btnArray[i];
// set target MC
currentButton.targetObject = currentVisual;
currentVisual.addEventListener(MouseEvent.CLICK, placeObject);
currentButton.addEventListener(MouseEvent.CLICK, placeObject);
private function placeObject(e:MouseEvent):void
// if NavButton is clicked - make new visual targeted for moving in and currently visible object subject for moving out
if (e.currentTarget is NavButton) {
visualOut = visualIn;
visualIn = NavButton(e.currentTarget).targetObject;
else {
// otherwise - move visual out
visualOut = visualIn;
swapVisuals();
* Accompishes visuals swapping
private function swapVisuals():void {
if (visualIn) TweenLite.to(visualIn, .3, { x:0 } );
if (visualOut) TweenLite.to(visualOut, .3, { x:visualOut.hiddenPosition } ); -
How to pass the report parameters through java not by using URL
Hello...
I have an oracle App. Server 10g with report service
I can the report using the URL :
http://host:Port/rwservlet/report=....
and passing the report parameters ...
But is there any way to call the report by pdf format and passing the parameters from java without using the url ???thank you shahcsanjay for your reply
but I think that web.showDocument can not be used by ordinary java web application ..
I think it can be used only with with "oracle forms" Am I right ?
If no can you please tell me where can I find a useful document about how to use web.showDocument ...
thanks again
Saleem -
Passing Parameters through a URL to a Report..
I have noticed a lot of message about similar situations where people have had problems sending certain parameters through a URL.. so this is maybe something that's not possible.. but you if you dont ask then you dont know.
so..
We have a form that has search options in it
(its a customized form that replaces the customization bit that you get with a report -> .show_parms - just so we could do different things with it)
and one of the fields is a combobox populated by an LOV
- it has usernames in it
so when you search using a value in the combobox it will show all the records that that person has entered into the table..
however we are currently getting an error
Error: An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error (WWV-16016)
this is the URL with the parameters
http://portal.somewhere.com/pls/portal30/foldername.RPT_Edit_Request_Old.show?p_arg_names=Request.RID&p_arg_values='||nRID||'&p_arg_names=Request.CID&p_arg_values='||nCID||'&p_arg_names=Request.ATID&p_arg_values='||nATID||'&p_arg_names=Request.REQUEST_NAME&p_arg_values='||nREQNM||'%&p_arg_names=_request_rid_cond&p_arg_values=%3D&p_arg_names=_request_cid_cond&p_arg_values=%3D&p_arg_names=_request_atid_cond&p_arg_values=%3D&p_arg_names=_request_request_name_cond&p_arg_values=LIKE';
when you remove the condition at the end
the report is displayed (but not customized obviously)
however you can see the value has been picked up from the combobox as it's in the URL in the address bar..
so that bit works fine
any thoughts/ideas/or even solutions! :) would be much appreciated
thanks
Richardactually
nevermind
i got it to work without even knowing :)
the condition was causing the error
and adding a % after the value makes it work
Maybe you are looking for
-
i have a creative micro zen with about 000 handpicked and some very hard to find songs on it...i don't really have trouble with the player itself, just the software and the continous problems seems like everyone is having with something... my questio
-
Satellite Pro A200 doesn't charge if running
Hello I have a new Toshiba Satellite Pro A200 running Vista. I have a problem with the mains adapter and charging. It will boot up and operate fine, and when switched off will charge the battery on mains fine. But when switched on, the machine automa
-
Data is coming from one cube to another cube. How to restrict the data in update rule by using routine , which is not require in to another Cube. Thanks, Asit
-
Flash video screenshot before play
I have some flash videos (.flv) that just display a black screen until the person presses play, how can I have it show a still image of the actual video or define an image to be displayed before the person presses play? Thanks in advance.
-
Negative Ranges, Java Scrollbars and Java2D.
Hiya all. I have a bit of an odd problem. Im working on graph animation. Graphs tend to be laid out with an initial random seed which tends to give a good smattering of negative values as well as postive ones. Now, I tend to shift all the nodes by a