Variable in Report

Hi,
I've creted one report with Variable, The variable has created with Characteristic value with Selection option.
While executing query it asks
1. Selction for [] , = , < , > , <= , >=
2. Selection value list
3. selection value list
4. Include or Exclude
5. Insert Row
Why all these comes defaultly , is there any way yo restrict it to only Selection value list alone?
Regards,
Arun.M.D

Hi Arun,
         By selecting Single value variables might solve ur prblm.
From context menu of characteristic,choose Restrict.The diaglog box 4r selecting characteristic values appears.select variable option 4m show dropdown list & transfer required variables using drag & drop or arrow button.
          By selecting <b><u>value ranges</u></b> 4m the show dropdown we can set the required operator to 
[] , = , < , > , <= , >=
          You can not only select single values 4r variables but also several single values,intervals,or selection option.Under single values,select relevant variables 4m the  variable window & specify the values or interval limits when u execute the query.
pls asssign me points if useful.
regards,
rudra.

Similar Messages

  • How to use Value Variable in Report Painter Column defined as Formula

    Hi Gurus,
    In report painter, how can I add one field (exchange rate) in selection screen, so that user can provide the exchange rate to be used, then execute the report, the exchange rate will used to multiple local currency amount.
    The reason for this is we want use provided exchange rate to convert the amount from once currency to the other currency.
    Alternatively I am studying the functionality of "Value Variable" and found that I can perform the task from this. I have created the value variable but when I am using the variable in Report Painter columns as "&ZVALVAR", system is giving me error. I read the help and it states that use the variable with "&" and do it as it is mentioned.
    Can anybody suggest what I need to do to make it workable.
    Thanks

    I did try using the presentation variable, but that does not work too. I am setting session variable in the dashboard prompt (select 'request variable'). When I use presentation variable, it hard codes the value of the variable name.
    sql is
    select date from work_order where facility = @{p_facility}
    the physical log sql is
    select date from work_order where facility = 'p_facility'

  • Internal variables of report painter shouldn't be selectable

    Dear collegues,
    I have created two new internal variables in report writer in order to use them in planning layout of TA KP67:
    - previous year: marked as internal variable: calculated as: &1CGJAHE-1 (2008)
    and
    - future year: marked as internal variable: calcualted as: &1CGJAHE+1 (2010).
    In report painter these variables are assigned to key figures and are not shown on the selection screen again as they are calculated internally.
    But in planning layout of TA KP67 cost activity planning these variables are also assigned to key figures like actual costs or fixed planned costs and are indicated as acceptable for input on the selection screen but shouldn't - so how it is possible to define internal variables in co planning layouts as really internal which do not come up if the planning layout is executed via TA KP06?
    Thanks and regards,
    Christian

    Hello Christian,
    when I understand your request correctly, you want to plan for several years like 2008, 2009 and 2010 but you just want to enter one year. Right?
    For the column with the current fiscal year you can use a standard variable like GJAHR. For the other columns you define the year in the column as variable with value "GJAHR-1" (last year) and with value "GJAHR+1" (following year). On the selection screen of the planning transaction you will only have one field for the current year and the fiscal year for the other columns is calculated accordingly when you run the planning.
    Hope this helps.
    Cheers,
    Daniela

  • Variable in report script

    Is it possible to create create user defined variables in report script?

    You can't use an Essbase report script to set a substitution variable.
    You can set it in EAS or use MaxL (or Esscmd) to do so.
    See: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_variable.htm
    MaxL/Esscmd can be used to set a substitution variable and run a report script that references the variable.
    Regards,
    Cameron Lackpour

  • Variable in report painter

    Hi,
    I have a customized variable in report painter which pulls data from standard table, profit centre (GLPCT).  The data is included dummy profit centre. 
    How can block or should not allow dummy profit centre data to flow to the report?
    Please advice.

    Hi,
    Easier option is to create a profit center group excluding the dummy profit center and assign it in the report painter instead of the variable.
    Other option is at the time of executing the report, exclude the dummy profit center with out making any changes in the report.
    Regards
    Sudhakar Reddy

  • Use global variable in reports which is declared in forms

    Hi All,
    I have declared and used a global variable in Forms and after that I'm running a report and I want to use the same variable in reports.
    How can I use that.
    Regards
    Praveen Kr. Arora

    Hi Rizwan,
    Thanks for prompt reply.
    Can you explain in more detail with example.
    Though I'm calling report from menu item and I have created report file with three parameters.
    In menu item I have created a parameter list with same three parameters but whenever I tried to run then it gives Invalid ID error for all three parameters.
    Regards
    Praveen Kr. Arora

  • Syntax for declaring global variable in report

    Hello all,
    Kindly let me know syntax for declaring global variable in report?
    Thnks,
    SUnny

    Hi Sunny,
    All data declaration in the main program is global.
    Only if you do some data declaration withtin the subroutines then the scope of the variable is limited to that FORM ....ENDFORM.
    As you read in the above reply for a global variable in FM you need to declare in the top include.
    This means that you want this variable to be made available to all the Function Modules in that Function Group.
    If you want to make the variabe be available only within that FM then do the declaration in the source code itself.
    hope this explaination helps,
    Taher.

  • Local variable in report writer

    how to declare local variable in report writer?

    HI Oscar,
    what is "local" for you? Local in the report?
    Did you check the documentation?
    My result in SAP Help Portal is:
    [Variables|http://help.sap.com/saphelp_nw04s/helpdata/en/fc/eb3034358411d1829f0000e829fbfe/frameset.htm]
    Regards, Boris

  • How to create characterstic formula variable in reporting

    how to create characterstic formula variable in reporting
    tell me any one in steps
    thanks

    HI
    Query Designer -- Select your Char -- Create Char Variable -- Processing type should be Replacment path =In the Replace Variable with drop down box, choose Attribute Value. In the Attribute drop down, select Characteristic Reference
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/6ba03cc24efd1de10000000a114084/frameset.htm
    Hope it helps

  • Presentation variables in report

    Hi all,
    I wold like to show representation variables in report and then dashboard
    It runs fine in answer but it failed in dashboard
    @{pvar_promptChannel}{'Agency'}
    Unresolved column: "Agency"
    what is wrong?
    THnak you.

    Hi MuRam,
    I tried @{pvar_promptChannel}{Agency}, it shows the same error Unresolved column: "Agency" in both analysis and dashboard
    for @{pvar_promptChannel}{'Agency'}, actually, it works very well in analysis, but failed in dashboard.

  • Adding variable in Report painter

    Hi Gurus,
    I am creating a new report using Report painter. Though, it is working fine, I want to bring one of the field for selection. How to add variable ? I created a variable but I am trying to insert this variable in the report painter... I am unable to find any way.
    Awaiting your help.
    thanks in advance.

    Hi,
    Go to Global Parameters Definitaion in report painter, variable will be used only along with the field, just in global paramerters enter your desired field and click in next column, system will show you a pop up select your variable for that field...
    now its just done run the report and test it!
    If you still not make it refer to standard report of such kind, you will surely get it....
    Regards,
    Sayujya

  • Creating variables in Report Painter

    Hi ...
    I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please advise
    Also, I would like to I have a requirement for a report whereby the format is like this .....
    SALES       CURR MONTH (06/2006)  LAST YEAR          
    - Sales IT
    - Sales 1
    - Sales 2
    COGS
    - cogs 1
    - cogs 2
    - cogs 3
    COS
    - cos 1
    - cos 2
    - cos 3
    GROSS PROFIT
    Whereby, SALES = sales it + sales 1 + sales 2, COGS = cogs 1+cogs 2 + cogs 3, COS = cos 1+ cos 2+ cos 3. also GROSS PROFIT = SALES + COGS + COS
    The abpve report is inclusive of Cost Centre and Profit Centre, how acn I utilize the libraray in Report Pianter to create such report, is this possible in Report Painter whereby including Cost center and Profit Centre in one single report
    Pls assist me
    Nathan

    When you create your variable first enter the variable name. Second enter the reporting "table" to use. Third enter the "field'. Press enter. Next enter a default value for your field. Save you variable. It is now ready to use in your report painter.
    Using the PCA reporting tables gives you the profit center but not the cost center. You can only use one reporting table per report. you will need a cctr report for that.
    First create your own libray from GLPCT. Next create your report using your new library. The report painter can do the calculations that you have shown.
    You create a formula in the row or column to calculate your sub totals.
    pls assign points if helpful as a way to say thanks.

  • Poor performance when using bind variable in report

    I have a report that takes 1 second to run if i 'hardcode' a particular value into the where clause of the report. However, if i now replace the hardcoded value with a bind variable and set the default value for the bind variable to be the (previous) hard coded value the report now takes 50 seconds to run instead of 1 second!!
    Has anyone else seen this behaviour - any suggestions to workaround this will be gratefully received

    More info
    SELECT patch_no, count(*) frequency
    FROM users_requests
    WHERE patchset IN (SELECT arps2.patchset_name
    FROM aru_bugfix_relationships abr, aru_bugfixes ab, aru_status_codes ac,
    aru_patchsets arps, aru_patchsets arps2
    WHERE arps.patchset_name = '11i.FIN_PF.E'
    AND abr.bugfix_id = ab.bugfix_id
    AND arps.bugfix_id = ab.bugfix_id
    AND abr.relation_type = ac.status_id
    AND arps2.bugfix_id = abr.related_bugfix_id
    AND abr.relation_type IN (601, 602))
    AND included ='Y'
    GROUP BY patch_no
    order by frequency desc, patch_no
    Runs < 1 sec from SQL navigator and from portal (if i hardcode the value for fampack.
    Takes ~50 secs if i replace with :fampack and set default value to 11i.FIN_PF.D

  • How I can get in Additional pl/sql code variables in Report?

    I develop sql Report
    with group functions and I can't insert there additional fields in SQL.So I think that I can insert or get bind variables and others by Additional Pl/SQL.Is it possible or not ?
    Example of Report
    can I insert here by additional PL/SQL ------------> COTTON
    department sum(price)
    usa-cotton-01 20000000 sum
    usa-cotton-02 30000000 sum
    usa-cotton-03 40000000 sum
    Thanks in advance.

    Hi,
    I did not understand your requirement. The additional plsql code section can be used for any additional coding like inserting or updating into a table in the DB or printing a single value from a table or printing multiple values using cursors. It can also be used to print the values of the p_arg_names and p_arg_values which are the bind variable names and values. But you cannot add columns to the main existing query.
    Thanks,
    Sharmila

  • Formula Variables for Report Painter- Syntac error in formula, Please Help!

    Dear Experts,
    I'm creating the report where I need to calculate annualized P&L. The formula is as follows : (P&L account/Period(variable ))12*
    I need to capture the From_period, which is entered by the user on the selection screen when running the report and use it as a variable in the formula above. Example: If User insert From Period 3, then the formula should be *P&L accoun / 3 * 12*
    I have tried so many different way but nothing seems to work. one of the ways i tried was:
    In the general selection Im using set variable 6P-S-PERIOVB.CCSS for period which consists of variable V_PERIO and B_PERIO.
    So Im trying to create a folowing formula:
    IF 1 >= u2018PER_FRu2019 AND 1 <= u2018PER_TOu2019 THEN 1 ELSE 16
    IF 2 >= u2018PER_FRu2019 AND 2 <= u2018PER_TOu2019 THEN 1 ELSE 16
    Unfortunately I keep getting Syntac error in formula. Please help me I'm really desperate to solve this issue after 5 days of unlucky research.
    Thank you in advance
    Regards
    Ernesta

    Thank you all for your help. The issue was that the variable was assigned to the different table as the library. After I changed it, it worked fine.
    Regards
    Ernesta

  • Date variable- delivery report

    Hi all,
    In my report, there are two structures designed :- Pending deliveries and Reservation deliveries.
    For Pending deliveries:
    I have used Confirmation Del Date(ZCNFDT) and Open Qty as the restrictions. The Date variable is built upon Confirmation Delivery Date, In selection screen if i input a date as Dec-1, i get the pending qty for week1, week2, week3.
    For Reservation deliveries:
    I am using Requirement Date(ZBDTER) and the Requirement Qty as restrictions.
    My doubt is if i create a variable as ZVAR_BDTER on Requirement date, i will be having another date input in the selection screen, asking for the desired date to be entered. If i enter a date for this date selection then the query will display wrong data.
    According to the Specs, the input date variable must be common for both Pending and Reservations, such that, if i enter Dec 1, it must give the data for both Planning and Reservations.
    I am planning to use 0DATE variable for both of the above structures. Requesting you to suggest on this
    Thanks

    y cant u use 0CALDAY and then create variable for it
    use same 0CALDAY in query design in rows below ur characteristic COMPANY CODE

Maybe you are looking for

  • The Thread which won't let go...

    I posted very late last night and those who responded were a big help. Still, even though I changed my code I'm worked my way right around into a big circle and the exact same stopping point. Here is some sample code to try to simplify my complicatio

  • Memory update -- 4gb≥ 2gb≥ 1gb≥ 0gb

    Hey guys, I would like some help about memory update. I have a MacBook with 2x512 ram. I would like to get more RAM. So, my question is if I get the 2x2gb it will improve my overall performance and graphics (Intel GMA 950 graphics processor with 64MB

  • OJ 8000 prints alignment page with every job

    WinXP, New install.  OJ is printing this page every time, and driving me nuts!  Is there a key sequence on the panel or something to turn it off?

  • Ios6 has caused my vibrate function to stop working. solutions?

    after installing ios6 i had a chance that i needed to use the do not disturb funtion. after turning it off i could not reactivate the vibrate. i restored the software and it still did not help. any suggestions?

  • Anybody please help

    hi sd gurus anybody  please send the down payment configuration