RRI - Jump query, unable to pass the variable value from source to target
Hi,
I've a source query which has a variable on 0vendor, from this query i jump to another query for which i want to pass the this variable value, in the target query i've vendor in free characteristics (no filter or variable in there), and in RSBBS i tried the assignment details options keeping vendor as generic, tried variable and the variable name but nothing seem to work.
But when query is run i can jump into target query but the vendor variable value doesnt get passed thru the values i get in target query is for all rather than for the variable entered vendor value in the source.
btw we're in NW2004s.
any help appreciated with points.
thanks
Mayil
Anyways, I read somewhere that a variable with replacement path in target query would work, tried it seem to work.
let me know if there other way to do it without creating a variable in target query.
thanks
mayil
Similar Messages
-
Virtual KF(as Date) in Cube and pass the variable value to this VKF runtime
Hi ,
User would enter 1 date using date variable untime.
My cube also has 1 Completed Date (KF).
And i wann do comparisan based on input variable and exisitng variable.
Can i add 1 Virtual KF(as Date) in Cube and pass the variable value to this VKF runtime and do the calculation in cube ???
I know the same thing i can do in formula , but i have some different req.which i am unable to explain u here .
So please let me know can i use VKF if yes how ???
Points would be thrown for all .
Bapuit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
-
Passing global variable values from databse to forms
I am using forms 6i and database is oracle 9i.
I am trying to run a form stand alone ( by pressing CTRL-R) without putting it in the application.
since when this form is placed in the application menu it works fine as it has been passed global variables values from the database .
now i am trying to run the form without menu and thus i want to pass the values of global variables .please let me know where should i pass these values in form .is it be WHEN-NEW-FORM-Instance trigger or in Pre-form trigger.
i know what are the global variable values passing into the form from database.
i can hard code any values to check if the form runs well or not.If you intend to do this sort of testing regularly you might want to consider creating a seperate form with a control block which allows entry of the name of the form you want to run, the names of the globals and their values, and do a CALL_FORM.
-
Passing a variable value from one query to another within a web template
Hi All,
I have a web template with two queries. Both queries have the same select option variable called ZSELCUST on the characteristic ZCUSTOMER but because they are different info providors (both infocubes) the customer has to be entered once for each query, even with the 'Display same variable only once' flag checked.
I want the user to select the customer once and then that value be passed to the other query within the resulting web template output.
Am I right in that the same variable is used more than oncee because of the different info providors?
I'm struggling, can anyone help out there....???
Best Regards,
Stuart HumphreyHi
A way of doing this is by "linking" the queries: in transaction RSBBS you define the sender and receiver queries. In query navigation you can jump to the dependent query (blue arrow icon in the BEx tool bar). This transfers the navigational state to the called query: filters over characteristics and variable values.
Hope this help
German -
How to pass the variable value to reports as a parameter
hi
i have facing a problem that i want to pass the value of a variable that i had calculate in a procedure like
SELECT nvl(BASIC_PAY,0) INTO v_basic FROM EMP WHERE EMP_ID=P_EMP_ID;
so i want to send the variable value v_basic as a parameter through form to report...and simlarly other variables values which i have calculate in procedure....
need ur help to solve this problem
thanks in advanceit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
-
How to pass Presentation Variable Value from Main Report to Detail Report
Hello,
I've 2 reports that is attached to each other. In my main report i've several report prompts and i am using i"s prompted" on my detail report to attach them.
But 2 of my report prompts are presentation variables(Names : FIRST, SECOND). Both are in date format. I've a filter in my main report like;
"ASSIGNMENTS_F"."EFFECTIVE_START_DATE" BETWEEN @{FIRST} AND {SECOND}
It works fine when i run the main report. But when i click on the numbers, i see that i can not filter my detail report with the chosen values for 2 presentation variables. It just shows all the dates.
I've tried adding both presentation variables in both reports as columns and adding 'is prompted' filter to them. But did not work either.
I just cant pass the written values for presentation variable prompts to detail report..
Please help :)Hi,
What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
Hope this helps.
Regards
MuRam -
Open a crystal report from WAD with passing the variables values
Hi,
I need to know is there any way to link SAP WAD to crystal reports (open a crystal report from WAD)and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
Maybe we need to pass parameter by WAD URL but this is just my assumption and have no idea how to do this with passing variable values.
right now I know the method of how Bex queries which are used as data source for crystal reports but in my current scenario we have the structure like this that bex queries link with WAD and then WAD is linked with crystal reports.
No doubt that Crystal report is target option in RRI but there the source is Bex Query only but in current scenario we are looking WAD (web template) as a source to crystal report or crystal report called in WAD.
Please suggest something on same.
Thanks
Take care
Vishal sharmaHello Vishal.
Did you find a solution for this problem?
I'm facing right now the same problem, I need a way to link SAP WAD to crystal reports (open a crystal report from WAD) and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
Have found an answer to this issue? If yes, please kindly inform how have you solved this.
Best Regars
Armando Santos -
Unable to pass presentation variable value to Go url with narrative view
I am trying to use navigate option of Go URL. I have Dashboard prompt with presentation variable (pv)defined. I am able to see the pv value in compund view but unable to see in Narrative view. Any thoughts?
Check my blog entry here http://oraclebizint.wordpress.com/2007/11/26/oracle-bi-ee-101332-same-page-navigation-drills-and-passing-parameters/. It has an example.
Thanks,
Venkat
http://oraclebizint.wordpress.com -
Pass The Variable Value to another class
maybe just simple question, but i can't find out how to resolve it
I want to use the ResultSet for my database connection result to another class ..
this is my code
private static select(){
String URL = "jdbc:mysql://localhost/Chat";
String username = "root";
String password ="";
try{
Class.forName("com.mysql.jdbc.Driver")
}catch(exception e){
System.out.println("Failed to load MySQL driver");
Statement stmt = null;
Connection con = null;
try{
con = DriverManager.getConnection(URL,username,password);
stmt = con.createStatement();
ResultSet RS = stmt.executeQuery("SELECT * FROM message;");
while (RS.next()){
String command = RS.getString("command");
String source = RS.getString("source");
String target = RS.getString("target");
RS.close();
stmt.close();
con.close();
i want to retrieve those three string variable "command", "source", "target"
for example
public void run(){
while(true){
try{
select()
...... next line is to retrive those three value of string
how can do it ?
TIAthan you limeybrit9 for the answer..
i get the point, buat i still can't figure it how exactly it has to be done ..
let me try with arrayList
private static select(){
String URL = "jdbc:mysql://localhost/Chat";
String username = "root";
String password ="";
String[] result = new String[3];
Arrays array = new Arrays();
try{
Class.forName("com.mysql.jdbc.Driver")
}catch(exception e){
System.out.println("Failed to load MySQL driver");
Statement stmt = null;
Connection con = null;
try{
con = DriverManager.getConnection(URL,username,password);
stmt = con.createStatement();
ResultSet RS = stmt.executeQuery("SELECT * FROM message;");
while (RS.next()){
Result[0] = RS.getString("command");
Result[1] = RS.getString("source");
Result[2] = RS.getString("target");
array.asList(Result);
RS.close();
stmt.close();
con.close();
and i still dont know how to pass those arraylist in other class -
Unable to assign the variable value
Hi,
I am trying to capture the error message into a variable using statement in the Refreshing tab :
Select '<%=odiRef.getPrevStepLog("MESSAGE")%>' from dual
After getting the error log into variable, I am making a call to Scenario which will generate a file and email it stating the error log.
Now the issue is when i assign this variable to the Scenario variable it throws the following error:
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Invalid parameter
at com.sunopsis.dwg.function.SnpsFunctionBase.getSunopsisApi(SnpsFunctionBase.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.g.y(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
If i set the variable with any default value, it successfully makes a call to the scenario and generates the file.
Please help!
Thanks,
RitikaHi,
i created a variable and assigned the value to another variable in a procedure, am getting the following error, as it says in the error i don't have any ";" that is causing the problem.
the variable name is table_nm
inside the procedure am assigning the value to lv_table_nm :=#SESSNAME.table_nm;
If i change the variable name tos ome constant or any other value, the package is working fine. Any ideas why am getting error assigning the variable?
6550 : 65000 : java.sql.SQLException: ORA-06550: line 1, column 294:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
( - + case mod new not null <an identifier>
<a double-quoted delimited-identifier> <a bind variable>
continue avg count current exists max min prior sql stddev
sum variance execute forall merge time timestamp interval
date <a string literal with character set specification>
<a number> <a single-quoted SQL string> pipe
<an alternatively-quoted string literal with character set specification>
<an alternatively
java.sql.SQLException: ORA-06550: line 1, column 294:
PLS-00103: Encountered the symbol ";" when expecting one of the following: -
How to pass the field value from module pool program to smartform using submit?
// AT pai of module pool pgm i entered the following: here gv_orderid is my value to be available at smart form(driver pgm) & zmusic_store_smf is the driver program of my smartform.
gv_orderid= wa-itemid./
SUBMIT ZMUSIC_STORE_SMF VIA SELECTION-SCREEN
WITH p_order = gv_orderid
AND RETURN.
//AT driver pgm(zmusic_store_smf):
START-OF-SELECTION.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZMUSIC_SMARTFORM1'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = lv_form
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION lv_form
EXPORTING
* iv_orderid = is_purchase_item-zorder_id.
iv_orderid = gv_orderid.
// here i'm trying to call my smartform('ZMUSIC_SMARTFORM1') from this driver pgm but unable to access the value of gv_orderid please help me out with this.Declare the gv_orderid in modulepool program.
And Declare the parameter as import parameter in smartform.
CALL FUNCTION lv_form
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* OUTPUT_OPTIONS =
* USER_SETTINGS = 'X'
i_input = gv_orderid
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
* EXCEPTIONS
* FORMATTING_ERROR = 1
* INTERNAL_ERROR = 2
* SEND_ERROR = 3
* USER_CANCELED = 4
* OTHERS = 5 -
How can I pass a variable value from first jsp page to thired jsp page
In my program ,threr are three jsp pages . I want the first pages's variable value in to thired page .How can I acess.
I used the request.getparameter() ,but when I print the value , null value is getting .request parameters only last for one request.
To save them longer than that you need to save them somewhere.
Couple of alternatives
1 - store them to session
session.setAttribute("username", request.getParameter("username");
2 - create a hidden field on page 2 and store the value from page 1 there. When you submit page2, you can get it on page3 with request.getParameter again.
<input type="hidden" name="username" value="<%= request.getParameter("username") %>"> -
Unable to capture the parameter values from a PL/SQL procedure
hi.
i'm trying to capture the parameter values of a PL/SQL procedure by calling inside a anonymous block but i'm getting a "reference to uninitialized collection error" ORA-06531.
Please help me regarding.
i'm using following block for calling the procedure.
declare
err_cd varchar2(1000);
err_txt VARCHAR2(5000);
no_of_recs number;
out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
cntr_var number:=0;
begin
rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
dbms_output.put_line('The error is ' ||err_cd);
dbms_output.put_line('The error is ' ||err_txt);
dbms_output.put_line('The cntr is ' ||cntr_var);
for incr in 1 .. OUT_SIGN_TAB.count
loop
cntr_var := cntr_var + 1 ;
Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN_TAB(incr).txn_type||','||OUT_SIGN_TAB(incr).objid);
end loop;
end;
Error is thrown on "for incr in 1 .. OUT_SIGN_TAB.count" this line
Following is some related information.
the 3rd parameter of the procedure is a out parameter. it is a type of a PL/SQL table (SEARCH_SIGN_TAB_TYPE) which is available in database as follows.
TYPE "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
TYPE "SEARCH_SIGN_TYPE" AS OBJECT
(ref_no VARCHAR2(22),
ciref_no VARCHAR2(352),
ac_no VARCHAR2(22),
txn_type VARCHAR2(301),
objid VARCHAR2(1024))............We don't have your rt843pq procedure, but when commenting that line out, everything works:
SQL> create TYPE "SEARCH_SIGN_TYPE" AS OBJECT
2 (ref_no VARCHAR2(22),
3 ciref_no VARCHAR2(352),
4 ac_no VARCHAR2(22),
5 txn_type VARCHAR2(301),
6 objid VARCHAR2(1024))
7 /
Type is aangemaakt.
SQL> create type "SEARCH_SIGN_TAB_TYPE" IS TABLE OF SEARCH_SIGN_TYPE
2 /
Type is aangemaakt.
SQL> declare
2 err_cd varchar2(1000);
3 err_txt VARCHAR2(5000);
4 no_of_recs number;
5 out_sign_tab search_sign_tab_type:=search_sign_tab_type(search_sign_type(NULL,NULL,NULL,NULL,NULL));
6 cntr_var number:=0;
7 begin
8 -- rt843pq('DWS','3000552485',out_sign_tab,no_of_recs,err_cd,err_txt);
9 dbms_output.put_line('The error is ' ||err_cd);
10 dbms_output.put_line('The error is ' ||err_txt);
11 dbms_output.put_line('The cntr is ' ||cntr_var);
12 for incr in 1 .. OUT_SIGN_TAB.count
13 loop
14 cntr_var := cntr_var + 1 ;
15 Dbms_output.put_line(OUT_SIGN_TAB(incr).ref_no||','||OUT_SIGN_TAB(incr).ciref_no||','||OUT_SIGN_TAB(incr).ac_no||','||OUT_SIGN
TAB(incr).txntype||','||OUT_SIGN_TAB(incr).objid);
16 end loop;
17 end;
18 /
The error is
The error is
The cntr is 0
PL/SQL-procedure is geslaagd.Regards,
Rob. -
Ccalling the webservice in WSDL based on the incoming value from source
Hi Experts,
i am doing the inteface like SAP -(Client proxy)SAPPI(SOAP)----thirdparty
i got WSDL from the third party it provides the structure like this when i was impoted through external defination
BLE
Fault
Exception code
Exception message
ADDPARTS
Add parts
Parts
Each record
Field1
Field2
Field3
Price
Usd
Field4
ADD PARTSRESPONSE
Add parts response
Status
Success
Message
DELETEPARTS
Deleteparts
Parts
Criteria
DELETEPARTSRESPONSE
Deletepartsresponse
Status
Success
Message
GETPARTS
Getparts
Parts
Criteria
GETPARTSRESPONSE
- -Getpartsresponse
Status
Parts
Eachrecord
Field1
Field2
Field3
Field4
UPDATEPARTS
Updateparts
Parts
Eachrecord
Field1
Field2
Field3
UPDATEPARTSRESPONSE
Updatepartsresponse
Status
my question is how can i call the perticular webservice suppose if the partsmaster values are new values we need to update so in that time we need to call the update parts webservice
in the same manner deleteparts and getparts
please any body suggest to me how can iachinve this one
Thanks in advance
Edited by: katakoti on Mar 23, 2011 9:35 AMTo process adapter attributes in the message header of the XI message, select Use Adapter-Specific Message Attributes and Variable Transport Binding.
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm -
Unable to reset the variable value in the method value change event and use
Hi ,
int i=4;
public changevalue(ValueChangeEvent ValueChangeEvent)
//some code
i=5;
system.out.println("in changevalue method="+i)// this prints i value as 5
public void submit(ActionEvnet actionEvent){
//somecode
system.out.println("in submit="+i) // this prints value 4;though its value is changed as 5 in above mehtod
how can i get the value as i=5 in second method(i.e, in submit method)??Hi 980230,
When I tried the same thing it gives me 5 in the submit method.
Are you sure that ValueChange method is getting invoked before the actionEvent method?
Its better to debug the application, you will get the exact flow and error if any....
Thanks
--NavinK
Maybe you are looking for
-
When I try to open my mail (not IMail) a new message screen comes up on my iPad (version 8.1.3 (12B466), and I cannot cancel it; it prevents me from getting to the mail in that mailbox.
-
10.5.8 does not resume wired ehternet after resume from sleep.
I am new to administering macs but have many years linux experience. I have a imac here that does not correctly wake from sleep. It assumes an generic IPV4 address instead of resuming its lease. Here is some data from the kernel buffer running dmesg:
-
Changes via SM30 of ztable is not reflected after saving...
Hello experts, I am trying to modify a z table because the users told me that when they try to modify it using its maintenance view their changes is not being saved. Now, I checked the table and it has 3 fields(excluding MANDT) and I found out all of
-
the computer will but itunes won't please help
-
Make all pages viewable from default URL?
I'm a bit confused about publishing to .Mac (as you can see from my other question.) I'd like my iWeb pages to be accessible along with my file-sharing page when I go to homepage.mac.com/myname. But when I go there, I only can see the file-sharing pa