RRI Variables passing

Hi All,
I have Query A has 3 input variables (Interval, Hierarchy and Selection Option). I want to pass the same to the called queries. I have defined the Sender Receiver Queries in RSBBS and the same variables are used in both the queries. When I execute the Query A and right click Go To the called queryB , it prompts for variables input where the variables are filled with values. Itis just expecting me to press OK to execute the detail query.
How can I make the query directly go to the called query B without clicking OK?
Any properties to be set? I am using call from WAD(Summary Query) to Bex (Detail Query).
Thanks,
Alex.

Hi,
Are you using both the queries through WAD ? I mean Query A in Temp 1 and Query B in Temp 2 ?
If this is the case, go to your Temp 2 and in the Properties of the Web Template you have an option for "Display Variable Screen". Uncheck it.
I understand you dont want to change the variables during the jump.
And also, in RSBBS you have specified the Sender Template and the Reciever Template and not the queries.
This should solve your problem.

Similar Messages

  • Can a system-variable passed in the The syntax of the FoRM statement

    The syntax of the FoRM statement is
    FORM {TABLES <t1><t2><t3>......} {USING <U1><U2><U3>.....} {CHANGING <C1><C2><C3>.....}
    ENDFORM .
    As all these are vvariables can a system-variable passed here
    ---if not why?

    Hi,
      Why do you need to pass the system variable to the form at the first place ? It would not be a good programming practice to pass a system variable to the form.
    Hope this helps..
    Thanks in advance,
    Harikrishna.

  • RRI with passing user enter values

    Hi Friends !
    Brief about my requirement for the RRI.
    I have a Main Query. When I click on Goto option, it shud display the variable screen and pass the user entered values in the Jump Query.
    In RSBBS, I tried with the "Assignment Detail" button, in which we have variable option, etc but via Assignment Details, its not working.
    Please provide some inputs.
    Thanks.
    Rekha

    It sounds like you are trying to make RRI do something that it is not designed to do. For RRI to work correctly, the sender query must contain all of the values to be passed to the receiver query. Therefore, no prompting for additional variable values occurs during the jump from the sender to the receiver.
    To quote the SAP Help on RRI :
    "Queries, transactions, reports and Web addresses can be jump targets. The parameterization of the target action is taken from the context of the cell that you have jumped from. You can set parameters for calling a BEx Query or a BEx Web Application using input variables which are filled from the selection conditions and the element definitions of the cells highlighted in the sender query."
    See <a href="http://help.sap.com/saphelp_nw04/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm">SAP Library  -  Report-Report Interface</a> for all the details.
    Hope this helps...
    Bob

  • How to access variables passed in custom tag body

    I am developing custom tags in my application. I need to pass some variables from the .jsp file into tag file. I want these to be passed as body of the tag rather than as tag parameter. It seems the correct syntax for this is:
    <myTags:display> someVariable </myTags:display>
    Question 1: Can I not use this as: <myTags:display someVariable /> Since this tag will be used at many places in the jsp, I dont want to write myTags:display twice for every usage.
    Question 2:
    I want to call the tags from main.jsp like:
    <% String var1 = "Display Me Please"; %>
    <myTags:display var1 />I want the tag file to do some processing on the value stored in var1. I've written the following code in tag file, display.tag:
    <jsp:doBody var="theBody" />
    <% Object obj = (Object) request.getAttribute ("theBody"); %>This code snippet gives me access to obj which has the value "var1". Now how do I access the value that is contained in "var1".
    Edited by: coolkomal on Jun 3, 2009 7:45 AM

    coolkomal wrote:
    I am developing custom tags in my application. I need to pass some variables from the .jsp file into tag file. I want these to be passed as body of the tag rather than as tag parameter. It seems the correct syntax for this is:
    <myTags:display> someVariable </myTags:display>
    Question 1: Can I not use this as: <myTags:display someVariable /> Since this tag will be used at many places in the jsp, I dont want to write myTags:display twice for every usage.
    <myTags:display var="<%=someVariable>"/> is a valid syntax for performing respective action of that variable. You can also use EL to pass the variable ${someVariable} provided the custom tag provide support for EL.
    >
    Question 2:
    I want to call the tags from main.jsp like:
    <% String var1 = "Display Me Please"; %>
    <myTags:display var1 />
    Just ensure that you declare all the related variables in Main.jsp and statically include Main.jsp in your jsp such that you do the checking
    [http://java.sun.com/products/jsp/tags/11/syntaxref117.html]
    >
    I want the tag file to do some processing on the value stored in var1. I've written the following code in tag file, display.tag:
    <jsp:doBody var="theBody" />
    <% Object obj = (Object) request.getAttribute ("theBody"); %>This code snippet gives me access to obj which has the value "var1". Now how do I access the value that is contained in "var1".Can be done provided you code it the right way. Start learning basics of how to create custom taglibraries to gain more knowledge on how things can be managed.
    [http://java.sun.com/javaee/5/docs/tutorial/doc/bnalj.html]

  • Variable passing to an email activity

    Hi,
    In my simple process flow I have:
    START--------TRANSFORMATION (procedure call)--------EMAIL ACTIVITY--------END
    My procedure has an output parameter (which consists of an email address).
    In the transformation, the output parameter is passed into a variable VAR1.
    In my EMAIL activity, the TO_ADDRESS parameter is assigned VAR1.
    My problem is, when I validate the processflow it comes up with the error:
    "VLD-10034: Parameter TO_ADDRESS is bound to variable VAR1, but VAR1 has no default value set. For a processflow to be valid the bound parameter or variable should have a default value."
    So I assigned the variable VAR1 a default value (I entered a valid email address), the processflow validates successfully, but when I run it, it fails with an error.
    It's the variable that's causing a problem as when I hard-code an email address in the TO_ADDRESS parameter it runs without a problem.
    Do you have any ideas why the variable is failing when a default value is set?
    Thanks for any replies
    Ansel

    Hi Armands
    I managed to sort this one out.
    I stripped out the transformation from the processflow to simplify it as much as possible.
    So I had:
    START-------- EMAIL ACTIVITY--------END
    The problem was where it was forcing me to enter a default value for the variable VAR1 (where VAR1 was assigned to the TO_ADDRESS parameter in the email activity).
    I entered an email address as the default value in VAR1, and it failed. So I changed the value to 'aaa', and it failed.
    But it DIDN'T fail when I entered '1' (even though the variable is of a string type).
    So it's working now.
    Thank you for taking the time to try to understand my problem.
    Ansel

  • Value of user variable passed in sender/receiver queries

    Hello experts,
    I have to BEx queries, one sender and one receiver, I linked them in RSBBS
    The problem is that I have InfoObject 0FISCPER as a user variable in the sender query and I fill it with for example "avril 2010" but in the receiver query 0FISCPER is also a user variable but it always receive "#" as value, other values are passed without problems
    Regards,
    Thibault Jacobs

    HI Thibault,
    Try making the User input variable a Mandatory one and then Check ,it shud work.
    Hope u have made the necessary settings in RSBBS and activated it.
    Rgds
    SVU123

  • How to get name of variable passed to method

    How can I get the name of the variable that's passed into a method, in the method?
    for instance: the following code prints an array to a text file, and includes the name of the array in the name of hte text file. So, to call it, I have to do this:
    printarray(myArray, "myArray")
    so that the text "myArray" gets passed in & used in teh fileNM output.
    This is inelegant, and I'd like to just call it like this:
    printarray(myArray)
    and have the method extract that name.
    void printarray(String printstuff[], String arrayname) throws Exception
        String fileNM = "arrayprint_" + arrayname +".txt";
        FileWriter printme = new FileWriter(fileNM);
        String newline = System.getProperty("line.separator");
            String tab = "\t";
        for (int i = 0; i<printstuff.length; i++)
            printme.write(i + tab + printstuff[i]  + newline);
        printme.close();
        } // end printarray

    Let me try to put this in different words and see if I convince you...
    I think you are getting confused between variable names that you use refer a variable within your class and "names" that you associate with a variable based on the data it holds.... In your example
    String[] myArray;here 'myArray' is the name of the reference to the variable printstuff[]. When you call the method
    printarray(myArray) a copy of this reference is passed to that method.
    But you also want to pass another variable that represents the description of the array (which you are referring to as the name). In this case one of the ways of doing this what you had pointed out which is
    printarray(myArray, "myArray");If you don't like this and think its inefficient you should do a bit of reading on the basics of what a variable is, what a reference to a variable etc. Alternativel you can define your own class that convinces you like
    public class MyArray
          private String[] myArray;
          private String myArrayName;
          public MyArray(String myArrayName, String[] myArray)
                      this.myArrayName=  myArrayName;
                      this.myArray = myArray;
          public String[] getArray()
                    return myArray;
          public String getName()
                      return myArrayName;
    }Edited by: deepak_1your.com on 17-Apr-2008 14:12

  • Variable passed in movie param

    I am having a troublesome issue that seriously affects a
    paying client. Any help is greatly appreciated.
    1. Built a FLASH 8 movie that has three frames. Each Frame
    is a single form.
    2. The movie param lists the SWF followed by a single
    parameter (<param name="movie" value="
    http://jyourchis.sc35.info/registrationForm.swf?formName=MailingList"/>)
    3 The first frame has Actionscript that is stop() and then
    gotoAndPlay(formName); [in reality, I am first converting to
    lowercase]
    As I test from various machines, the FIRST time visiting the
    HTML page only the first frame appears (sometimes it is part of the
    page). A Reload of the browser then operates correctly.
    I am pointing to this with (eventually) almost a hundred
    different pages. That is why it is in another domain.
    I have the parameter "allowScriptAccess" set to "always".
    Thanks in advance

    Hi,
      Why do you need to pass the system variable to the form at the first place ? It would not be a good programming practice to pass a system variable to the form.
    Hope this helps..
    Thanks in advance,
    Harikrishna.

  • What is the difference between using a global variable,passing a valuee and using a reference?

    I have created a project that consists of several VIs.  Only the main VI has a front panel and the others perform functions.  The function VIs are dependent on controls on the main VI's front panel.  I have several ways of passing the value of the controls.  One is to use a global variable and just place it on the dependent VIs.  Another option is to strictly connect the terminal from the control to a VI connector block and pass the value directly.  My last option is to create a reference of the control and reference it inside the dependent VIs, but this would also require connections to be made to the VI block.
    What are the advantages/disadvantages of these options?
    -Stephen

    5thGen wrote:
    I have created a project that consists of several VIs.  Only the main VI has a front panel and the others perform functions.  The function VIs are dependent on controls on the main VI's front panel.  I have several ways of passing the value of the controls. 
    1) One is to use a global variable and just place it on the dependent VIs.
    2) Another option is to strictly connect the terminal from the control to a VI connector block and pass the value directly. 
    3) My last option is to create a reference of the control and reference it inside the dependent VIs, but this would also require connections to be made to the VI block.
    What are the advantages/disadvantages of these options?
    -Stephen
    1) Globals are evil and introduce race conditions.
    2) The sub-VI only get the value when it was called and updates that occur while the sub-VI is runing are not sensed by the sub-VI
    3) This uses property node "value" or "value signaling" both of which run the user interface thread which is single-threaded and you incur a thread swap hit to performance. You also have a potential for race conditions.
    The are various methods for sharing dat to/from sub-VI which include Queues and Action Engines.
    I hope that hleps,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to check for the variable passed to a function inside a component

    I'm trying to pass a variable to a function inside of a
    component in a conditional statement.
    How to check the existance of this variable inside the
    function so that I can use the right <CFarguments>:
    in aForm.cfm I have:
    <cfinvoke component="#application.cfcroot#.business.Order"
    method="selOrderItems"
    returnvariable="q_OrderItems"
    OrderItemAbbreviation="Min"></cfinvoke>
    <cfset MCompIDs = ValueList(q_OrderItems.OrderItemID)>
    <cfif listFind(MCompIDs,attributes.CompID)>
    <cfset isM = true>
    <cfelse>
    <cfset isM = false>
    </cfif>
    <cfinvoke component="#application.cfcroot#.business.Order"
    method="selOrderItems"
    returnvariable="q_OrderItems"
    OrderItemAbbreviation="SMEnroll"></cfinvoke>
    <cfset SM_CompIDs =
    ValueList(q_OrderItems.OrderItemID)>
    <cfif listFind(SM_CompIDs,attributes.CompID)>
    <cfset isSM = true>
    <cfelse>
    <cfset isSM = false>
    </cfif>
    <CFIF isSM>
    <cfset temppath = frmcreator.buildFrm(isSMFlag=isSM)>
    <CFELSE>
    <cfset temppath = frmcreator.buildFrm(isMFlag=isM)>
    </CFIF>
    On aFormComp.cfc where the function is,
    I checked the existance of isSMFlag this way and I got error
    saying that :
    Context validation error for tag CFARGUMENT.; The tag must be
    nested inside a CFFUNCTION tag.
    How can I properly check the existance of isSMFlag inside the
    function so I can use the right cfarguments?
    <CFFUNCTION NAME="buildFrm" access="public"
    returntype="String" output="No">
    <cfif StructKeyExists(arguments, "isSMFlag")>
    <CFARGUMENT NAME="isSMFlag" REQUIRED="YES"
    TYPE="NUMERIC">
    <cfelse>
    <CFARGUMENT NAME="isMFlag" REQUIRED="YES"
    TYPE="NUMERIC">
    </cfif>
    ........ etc
    </CFFUNCTION>

    <CFFUNCTION NAME="buildFrm" access="public"
    returntype="String"
    output="No">
    <cfif StructKeyExists(arguments, "isSMFlag")>
    <CFARGUMENT NAME="isSMFlag" REQUIRED="YES"
    TYPE="NUMERIC">
    <cfelse>
    <CFARGUMENT NAME="isMFlag" REQUIRED="YES"
    TYPE="NUMERIC">
    </cfif>
    ........ etc
    </CFFUNCTION>
    NOT this way, that is for sure.
    The <cfargument ...> tag is for defining the arguments
    a function
    accepts either optional or not, but they are not required.
    Give this a
    try to see the differences.
    test.cfc
    <cfcomponent>
    <cffunction name="a">
    <cfdump var="#arguments#">
    </cffunction>
    <cffunction name="b">
    <cfargument name="foo">
    <cfargument name="bar">
    <cfdump var="#arguments#>
    </cffunction>
    </cfcomponent>
    test.cfm
    <cfset something = createObject("component","test")>
    <cfoutput>
    #something.a("blue","green")#
    #something.b("blue","green")#
    </cfoutput>
    Not tested or debugged so watch out for typos.

  • Variable passing from sqlplus to linux.

    I have a procedure like (datapump_hr_api), after its completion, I have to grant some grants to user and then create a view which will depend on the datapump_hr_api parameter (TARGET_FIN_HR ). it will generally pass the two username, admin,hr_fin, now I have to connect to Admin and give the grant and then connec to hr and create the views.
    *****datapump_hr_api*****
    create or replace procedure datapump_hr_api(TARGET_FIN_HR_NAME varchar2) is
    h5 NUMBER; -- Data Pump job handle
    job_state VARCHAR2(30); -- To keep track of job state
    sts ku$_Status; -- The status object returned by get_status
    target_admin varchar2
    TARGET_FIN_HR varchar2(32) := TARGET_FIN_HR_NAME;
    SOURCE_FIN_HR varchar2(32);
    dumpfile varchar2(32);
    logfile varchar2(32);
    job_name varchar2(32);
    BEGIN
         select dumpfile,SOURCE_FIN_HR into dumpfile,SOURCE_FIN_HR from source_impdp;
         logfile := TARGET_FIN_HR || '.log' ;
         job_name := TARGET_FIN_HR || '2_job' ;
         h5 := DBMS_DATAPUMP.OPEN('IMPORT','FULL',NULL,job_name);
         DBMS_DATAPUMP.ADD_FILE(h5,dumpfile,'DATA_DIR');
         DBMS_DATAPUMP.ADD_FILE(handle=>h5,filename=>logfile,directory=>'DATA_DIR',
         filetype=>DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
         DBMS_DATAPUMP.METADATA_REMAP(h5,'REMAP_SCHEMA',SOURCE_FIN_HR,TARGET_FIN_HR);
         DBMS_DATAPUMP.METADATA_FILTER(h5,'EXCLUDE_PATH_EXPR','like''%/TABLE/INDEX/STATISTICS/INDEX_STATISTICS''');
         DBMS_DATAPUMP.METADATA_FILTER(h5,'EXCLUDE_PATH_EXPR','like''%/TABLE/STATISTICS/TABLE_STATISTICS''');
         DBMS_DATAPUMP.START_JOB(h5);
    job_state := 'UNDEFINED';
    while (job_state != 'COMPLETED') and (job_state != 'STOPPED') loop
    dbms_datapump.get_status(h5,
    dbms_datapump.ku$_status_job_error +
    dbms_datapump.ku$_status_job_status +
    dbms_datapump.ku$_status_wip,-1,job_state,sts);
    end loop;
    dbms_output.put_line('Job has completed');
    dbms_output.put_line('Final job state = ' || job_state);
    dbms_datapump.detach(h5);
    ----->has to be invoked create_view(TARGET_FIN_HR,Target_admin ),
    END;
    create_view statement:
    create_view: contain
    conn Target_admin/admin
    grant insert to TARGET_FIN_HR.table;
    conn TARGET_FIN_HR/fin_hr
    create view view_name as select * from Target_admin.table;
    ----

    Yes Sir,
    You are right... Your service is not just $200 hundred, it is priceless. I have never been in programming. So I am learning. And as per as "exec immediate" is concerned I have used it(Problem with SQL query sequence and you can c in the previous posting(problem with it is if you have 5 grants and 5 view, what you do). One more thing, I was just thinking if we can developed some thing like sed command does(on linus). It has to just change some table_name and username in a file but the problem was it has to pass the variable to linux and then we have to connect to ssqlplus and then we ahve to again run. I was just thinking to have expert view.
    Is not this forum made for that?
    Message was edited by:
    sanora600

  • Sort Main Report on variable passed from Subreport

    Post Author: realw
    CA Forum: Formula
    I'm working on a CR XI report. I want to be able to sort the main report on a value in the subreport. I am trying to create a shared variable to pass that value from the subreport to the main report. So far, however, the formula containing the variable in the main report is not appearing as an option in the Sort dialogue box.
    My first question is, can this be done?
    If the answer is yes, then which sections in the subreport and main report should the formula appear in?
    What I have at this point is:
    In the last Details section of Subreport, formula @ssSubCreator
    WhilePrintingRecords;Shared StringVar Cre;Cre:= {CreCreat_csv.SummaryData};
    In the Report Header of the Main report, formula @ssCre
    Shared StringVar Cre:="";
    In the Details section of the Main report, following the section containing the Subreport, formula @ssCreator
    Shared StringVar Cre;Cre
    I can see that the data is passing correctly to the Main report. I've tried moving the formulas around to different sections in the sub and main reports but haven't gotten the formula to be sortable.
    Thanks in advance for any assistance,
    Will

    Post Author: bettername
    CA Forum: Formula
    How about just grouping the data in the main report on the formula? (Supress group header and footer, obviously)
    I don't have crystal to hand right now to check if that'll work though - you may run into problems with the 'cannot evaluate at this time' issue... but I use this technique for sorting data based on a chosen parameter (say: surname, forenames, age) in this way...

  • Variables passed to Function module for posting the Idoc

    Hi,
    For Posting the Inbound Idoc a Function module is created what should be the values passed to
    1) return_variable and
    2) workflow_result.
    I saw in many of the program like this if there is an error in posting.
    I gave return_variable-wf_param = ' Error Idoc'.
    and workflow_result = '99999'.
    Why are these values passed, where are they used.

    Josephine,
    In your parntner profile for your customer/vendor ( depending on your idoc type and business scenario) , you would have assigned the post processing permitted agent.
    In case the function module errors out, these values are carried out to the WF container and appropriate post processing notifications are sent to the agents. That is the purpose of having these variables in here.
    It could be a success/failure, agents are notified in either case.
    Ganesh

  • Variable passing with PSP

    I have two pages, one with a few controls and the toher that should ouput a table. When I pass the variable data between pages I am getting a 404 error. When I hard code in the where clause I pull back the correct data. What am I doing wrong. The code is below for the report page.
    <%@ page language="PL/SQL" %>
    <%@ plsql procedure="revision_report_select" %>
    <%@ plsql parameter="drwng_type_cd" type="NUMBER" default="NULL" %>
    <%@ plsql parameter="system_cd" type="NUMBER" default="NULL" %>
    <%@ plsql parameter="assembly_cd" type="NUMBER" default="NULL" %>
    <%@ plsql parameter="go_button" type="VARCHAR2" default="NULL" %>
    <HTML>
    <HEAD>
    <TITLE>Report on Drawing Revisions</TITLE>
    </HEAD>
    <BODY>
    <H1><CENTER>Enter the drawing you are looking for.</CENTER></H1>
    HTP.PRINT('Values: '||drwng_type_cd||' 'system_cd);
    <TABLE border="1" cellspaceing="3">
    <%
    BEGIN
    OWA_UTIL.CELLSPRINT('SELECT * FROM REVISION_DATA WHERE DRWNG_TYPE=drwng_type_cd AND SYSTEM=system_cd');
    END;
    %>
    </TABLE>
    </BODY>
    </HTML>

    Hi all...I have some problem as figure below ;
    When I try to configure mod_plsql (DAD configuration) i found that status is still down.
    Eventhough i already added DAD location and rest the other as default.
    Is there any configuration that missed out? because i use tutorial step by step configuration based on PDF file (HTTP server and mod_plsql configuration).
    Regards,
    Tims

  • RRI variable screen problem

    Hi Gurus,
    I am facing a problem here I am using RRI there in RSBBS I have included two queries in One query. After I excuted query when I am trying to navigate to the another query which I have included it is giving me the variable screen i.e input selection screen.
    I dont want to the variable screen to appear it should pich the characterstic on which I go for GOTO it should pick automatically.
    How can I solve this?
    Regards,
    Sridhar

    Hi,
    In ur RSBBS-Assigments
    The Infoobjcts shud be avaliable in both the Queries.
    The objects for which u want to jump shud be avaliable  as Input Variable ,in the assignments Make the same infoobjects which u want to jump from Query one to Query two as
    TYPE-Infoobject instead of Generic.In the Field give as object name-Tech Name,say 0CUSTOMER,Selection Type as Paramters.
    Come bak if u still have issues.
    Rgds
    SVU
    Edited by: svu123 on Oct 26, 2009 10:46 AM

Maybe you are looking for