Referencing runtime values of user parameters

Hi folks,
i have a report that displays data for a period between 2 date values that are specified at runtime via 2 date user parameters created in the report.
i want to reference the runtime values of the 2 user parameters in boilerplate text as follows
Between <date_param1> And <date_param2>
Since they are not fields, i cannot reference them in boilerplate text as described in the help notes.
Can anyone help out.
thanks in advance.

In addition to fields, you can also reference column or parameter values directly from within boilerplate. So you should be able to do: "&<date_param1> And &<date_param2>"
Alternatively, create a field - "F_1", mark it as hidden and set its source to "date_param1". You can then reference the field as defined within the help notes.

Similar Messages

  • On Lexical variables: Are they always treated as user parameters???

    Hi
    Report Developer 10g, Winodws XP platform, local client
    I have a dynamic where clause in my report query with a lexical variable &p_where which holds the where clause. This where clause is determined at runtime, depending on the user parameter value that was entered.
    My problem is, the lexical variable &p_where is automatically added to the list of my user parameters and does show up in my parameter form, when the report is run. This will cause lot of confusion to the user, as it is not part of user input.
    It is not a user parameter, but should be treated as a regular variable. How do I work around this?
    Thanks
    Suma

    I understand. The lexical variable was automatically added to the user parameters list upon it having appeared in a query.
    This is expected. The lexical variable must be defined. Since it is not a system parameter, Oracle*Reports added it to the user parameter list.
    But if it is also showing up on your user parameter FORM (the form which solicits input from the user prior to running the report), it can simply be deleted from that form without affecting its use in the query.
    Regards,
    Steve

  • How to dynamic select based on runtime value ?

    how to dynamic select based on runtime value ?
    I want to write a select function, which do selecting based on parameters. eg,
    CREATE OR REPLACE FUNCTION myfunction
    (tableName VARCHAR2, pkName VARCHAR2, pkValue VARCHAR2, requestString VARCHAR2)
    RETURN VARCHAR2 AS
    BEGIN
    select requestString from tableName where pkName=pkValue;
    RETURN NULL;
    END;
    myfunction('users', 'user_id', '100', 'user_name'); it will select 'user_name' from table 'users' where 'user_id' = '100'.
    This way could save lots of coding. but it can't pass compiler. how to work out ?
    Thanks.

    While this may save code, if used frequently it will be ineffecient as all [explicative deleted]. The danger is that it would be used even for repeatable statements.
    This mode of operation ensures that every statement [calling the funciton] needs to be reparsed, which is extremely expensive in Oracle (in CPU cycles, recursive SQL and shared pool memory).
    Such reparsing is rarely a good thing for the environment ... it could easily lead to buying more CPU (bigger box) and therefore adding more Oracle license ... which could quickly exceed the typical developer's salary.
    However - if you really, really want to do this, look up 'execute immendiate' in the PL/SQL manuals.

  • User Parameters Table

    Hi All,
    I want to know the tables where the User Parameters are stored. By User parameter, i mean the The User Profile - Parameter ID & Value.
    Any pointers would be helpful.
    Thanks in advance,
    Best regards,
    Prashant

    hi
    good
    USR01 User master record (runtime data)
    USR02 Logon data
    USR03 User address data
    USR05 User Master Parameter ID
    USR12 User master authorization values
    thanks
    mrutyun

  • How can i copy and referencing the value of a sub-total of a category into another cell?

    How can i copy and referencing the value of a sub-total of a category into another cell?

    Cells in Category  rows 'exist' only when those categories are inserted using the Reorganize table. Those cells cannot be referenced from other cells.
    If you want a category summed, you will need to do that in a cell that is still visible when the table is not sorted into categorie using the Reorganize pane. The function to use is SUMIF. You can find information regarding SUMIF (and SUMIFS) in the iWork Formulas and Functions User Gude. The guide may be downloaded using the link in the Help menu in Numbers '09.
    Regards,
    Barry

  • 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

  • Passing Values to URL Parameters in HTTP Connection SCOT

    Hi ,
    I have created a new node in SCOT as HTTP. In that i am using one URL as HTTP Connection , for that URL have to pass some input values ( eg: User name , password ). Right now i am hardcoding these values in the URL, But i need to pass these input values to the URL dynamically. Is there any way to pass the values to the URL parameters .
    Regards
    Bala..

    Hi Bala,
    Did you ever get this resolved? I have a similar requirement but still cant find a way to do it. I even thought about creating an RFC Destination of type H and entering the user name and pwd in the logon details. But the problem wih this is that the URL for the RFC destination is static and cant really be changed.
    Be interested to hear your thoughts.
    Alon

  • EREC: "Assign Values to Interface Parameters" query

    Hi All,
    I am currently on ehp4, sp4. I had a requirement to change the format of the form to display the posting. Hence i took the help of the node: technical settings>User Interfaces>Administrator and Recruiter>General Settings>Assign Values to Interface Parameters. Here i user the parameter: FORM_PUBL_INT_DOVR and parameter value as the new Z form created. The new form was visible in the publication area of the job posting.
    But when i try to view the form by searching the job posting (as a candidate), it is still displayed in the old format. i.e when i try to view the posting using the posting search functionality.
    Can anybody please tell me what is the configuration left from my side
    Note: Majority of my application is a BSP application
    Regards,
    Kishore

    Dear Kishore,
    Please do the entry in the table V77RCF_PRM_PL for custom entries. Also check the table T77RCF_UI_PARAM whether correct form is used or not ??
    Best Regards,
    Deepak.

  • What are user parameters? and how can i add user parameter

    Hi Experts,
    what are user parameters? and how can i add user parameter and how can i add a user parameter
    HR_DISP_INFTY_NUM with value X?

    user parameters are used give reference grps and counntry grouping use SU3 tcode as amite said

  • Specifying Non-String User Parameters in The Block Comment Dialog Tag

    I am trying to add user parameters for a block. I followed the instruction provided in section 4.3.7 (comments) of sysytembuild user's guide.
    The steps were as follows:
    1- I added a new parameter named (a_r) to a gain block (from the User Parameters section of Comment tag dialog field).
    2- I selected this parameter and assigned a value of 5
    Now, using the SBA command I retrieve this parameter:
    ------------------------------- Xmath outputs
    [n=UserParameterName, p=UserParameterContent] = queryblock(1)
    n
    n (a string) = a_r
    p
    p (a list with 1 elements) =
    1:
    5
    p(1)
    ans (a string) = 5
    ---------------------------- end of Xmath outputs
    Accordin
    g to the documentation, using suffix (_r) will specify a real parameter (_i for integer and _s for string). However, the list object
    obtained from "UserParameterContent" includes a string element and not a number. This can be verified by:
    --------------------------------------- Xmath outputs
    p(1) *2
    Cannot evaluate * of a string.
    modifyblock 1 ,{UserParameterContent = list(5)}
    Expecting a list of strings
    --------------------------------- end of Xmath outputs
    It looks like that independent of the naming convention, the user parameters are stored in a list with string elements in contrast to what
    mentioned in "Editing User Parameters Dialog" of the Help topics:
    "To create a new userparameter, enter a name in the User Defined field, and then click the Add button. Note that the name must have
    one of the following suffixes: _s (string), _b (boolean), _r (real), or _i (integer). "
    The questions are as follows:
    1- Is there a way to store n
    on-string type user parameters?
    2- If there is a way for that, then, is it only for scalar numeric values or vectors and matrices can also be stored in user parameters?
    Thanks,

    The Comments Tab is generally used to define User Parameters that will be used with DocumentIt. The suffix (_s, _b,_r, etc) is to designate the datatype for DocumentIt.
    All user parameters will be passed as string data to Xmath. As you noted the value 5 is passed as a string. To convert this to a scalar use the makematrix command. After you assign a value of 5 to the a_r user parameter use the SBA command queryblock as follows:
    n=UserParameterName, p=UserParameterContent] = queryblock(1)
    then enter
    m=makematrix(p(1))
    this will return a scalar.
    To get a vector in Xmath from the User Parameters you must assign the values differently on the Comment tab. Define a user parameter and assign its values by entering a carriage return after each element.
    For example assign the following value to user paramter a_r:
    5
    6
    7
    8
    Using the queryblock command you should now get:
    p(1) is a column vector of strings
    again use the makematrix command to convert this to a vector of scalars.
    m1=makematrix(p(1))
    Matrices will require a different user parameter for each column of the matrix. For example to add a column to the previous vector, you will need to go to the user parameters and add a new parameter (call it b_r) assign its values with the carriage return after each element for example:
    0
    1
    2
    3
    Again use the queryblock command. Now p will have 2 elements (one for each parameter). To create a matrix enter:
    m2=makematrix([p(1),p(2)])
    NOTE: The order the user parameters were entered in the Comment Tab will not necessarily correspond to the element they return as when using the queryblock. For example from the previous procedure, do not assume the second user parameter entered (b_r) is going to be returne
    d as p(2).

  • How to deploy a VO Bind variable to get value from user session....

    Hello everbody...
    A JSF Page has a table based on VO with two parameters. One of this parameters I will pass by operation ExecuteWithParams.
    but the other parameter I need to pass a value from User session.
    Is that possible? How would I do that? I´m using jdev10.1.3
    Thankyou...

    When you created a binding for executeWithParams in your pageDef, the action binding should have had NamedData elements for each of the parameters. These would have been assigned values from a variableIterator up in the executables section. The parameter that gets its value from user input should be left alone. For the parameter that gets its value from the user session, change the EL expression that defines its NDValue attribute so that it references the session information that you want to use. This can be a sessionScope variable that you set earlier in the session, as Frank suggests, a property of a managed bean in session scope, or some other variable.

  • Default Sales Org Data based on User parameters

    Hello,
    I wonder if it was possible to have the Sales org data beeing filled in automatically based on the user parameters. In ERP you can set this up in the user settings "Own data". In CRM you also have this option but I'm not sure if the WEB GUI uses this data in order to default the values.
    What I would want is that when a user creates a prospect, the sales are data is automatically filled based on the user's parameters.
    would this be possible?
    Kind regards

    Hi Tom,
    You can attach the user to a BP which in turn is assigned with org attributes.
    Also the determination should be enabled.
    Regards,
    Leon

  • How do u handle the user parameters for a currency field.

    How do u handle the user parameters for a currency field.
       Decimal saperator and a hundreds saperator. (depending upon the user parametes set for the user the saperators may differ)
          Eg: currency field: 13.896,01 (In this case u2018,u2019 is a thousand saperator and u2018.u2019 is a decimal saperator) How to handle this one.
    Regards,
    Ram.

    Hi,
    Try this code....
    DATA: V_KURSF1 TYPE c LENGTH 10,
            v_kursf2 type c LENGTH 10,
            v_dcpfm    TYPE xudcpfm, "Decimal or Thousand Notation
            v_thousand TYPE char1,   "Thousands Notation
            v_decimal  TYPE char1.   "Decimal Notation
      CONSTANTS:    c_x      TYPE char1 VALUE 'X',
                    c_y      TYPE char1 VALUE 'Y',      "Value Y
                    c_comma  TYPE char1 VALUE ',',      "Comma
                    c_point  TYPE char1 VALUE '.',      "point
                    c_blank  TYPE char1 VALUE ' '.      "Blank
      IF v_dcpfm IS INITIAL.
        SELECT SINGLE dcpfm
        FROM usr01
        INTO v_dcpfm
        WHERE bname = sy-uname .
        IF sy-subrc = 0.
          CASE v_dcpfm.
            WHEN c_x.
              v_decimal  = c_point.
              v_thousand = c_comma.
            WHEN c_blank.
              v_decimal  = c_comma.
              v_thousand = c_point.
            WHEN c_y.
              v_decimal  = c_comma.
              v_thousand = c_blank.
          ENDCASE.
        ENDIF.
       ENDIF.
               Find c_point in  wa_segment-exchange_rate.  ( Eg:ield)
              if sy-subrc = 0.
                replace c_point in wa_segment-exchange_rate with v_decimal.
              endif.

  • How to Access User Parameters in Web Reports

    Hi Friends,
    I am working on Oracle Reports 9i. I am able to access user parameters in Paper Layout by using :user_param1 or &User_param1. But when i am using the same to access user parameters in web source i am not able to access these.
    Actually inside a report i want to create a hyperlink for executing an another report. In this hyperlink i need to pass some user parameters too. But when i am using web source i am unable to access user parameters. Can Somebosy help me on that.
    Thanka in advance
    Regards
    Kamal
    [email protected]

    Hi Kamal,
    For you requirement, the following chapter in the 'Building Reports manual' should help you. Go through the chapter-" Building a Simple Parameter Form for a JSP-based Web Report'. This will help you on how to create a parameterform and to run the report based on the parameter value.
    You can download this manual from the location http://download.oracle.com/docs/html/B10602_01/toc.htm.
    Thanks,
    Vidya

  • User Parameters default to Selection Screen params

    Hi Experts,
    I am having a SELECTION SCREEN with Parameters for Company Code(BUKRS) & Purch Org (EKORG).
    I need to default the values of these fields with their respective user parameters for BUKRS & EKORG.
    manintained iwhich are 'EKO' & 'BUK' in my program.
    How can i do that?
    Thanks
    Dan

    Hi,
    If the user maintains these parameters in their profile with the values , then the values will be populated from there.
    System->User Profile-> goto the parameters tab there you can ask the user to maintain the parameters you mentioned with the default value they need and save this.
    Now when that user runs the report, the values from the user profile will be copied to the respective selection screen parameters
    regards,
    Advait

Maybe you are looking for