Variable Input

Hi,
In Variable screen,
I have calday as selection variable,in that i am giving one date example: 18/8/2006.
User have to enter one more input value in another variable example: 40 or 70.
My Requirement:
1.How i can make this varibale?
  (How the variable will take the values like 40 & How to capture that value into exit)
2. How i can write exit (Detail Code please)?
Appriciate if any one is helping.
Thanks,
Babu.

Hi,
You can create a text variable with type user entry and use it to write an exit by reading that variable. Using that value you can filter the values for other columns. You can hide the text variable if you don't want to display in report.
Hope this give you some clues.....

Similar Messages

  • Variables/Input Parameters Value help not showing texts

    Hello,
    I have created a crystal report based on a calculation view in Crystal Reports for Enterprise 4.1 SP5, which has a input parameter on the field "Region". For the value help, I am using a custom view based on T005U in which I have made sure that RegionName field is present in the "Label Column" property of the Region field.(Required for viewing descriptions of LOVs).
    In the crystal report, while previewing data in the query builder, I am able to see the value help for the input parameter in the prompt screen, which displays only the key part, but does not display the description of it. Moreover, after accepting the prompt value, the preview runs into an error(as shown below). Please note that I get the error below only when Region is a part of the output fields of the query.
    Instead of input parameter, when I create a variable on the region field in the main calculation view, with the same value help view, I am able to do data preview in the query builder as also data appears in the report on running the query. But, just as in the case of input parameter value help in the prompt screen, even over here, I am only able to see the key part and not the description.
    Are variables/input parameter LOV's supposed to display descriptions or just the key part? As also, any reason why I should be getting this error while using Input parameter?
    Kindly let me know if I am missing something in the development of this report.
    Regards,
    Alston

    Hi,
              I hope you are taking the BEx Query as a source to the crystal report. In the BEx query check region info object  should is maintained as  Text and Key. If text is not maintained over there you will not be getting text in Crystal reports.
    Krishna.

  • Restriction of f4 help of a bex variable based on another variable input

    Hi,
    Could you please let me know if there is any possibility to restriction of f4 help of a bex variable based on another variable input.
    eg: when i select particular company code in one variable, i need to restrict the f4 help for another variables eg: pur. group based on selected company code.
    Regards
    Kasi

    Hi,
    Try using replacement path option in bex with replace variable with variable selction.
    Thanks.

  • New user coloumn with user variable input

    Hi,
    I want a user defined coloumn in a new Query for Report and also it should prompt for user defined values.
    Case scenario.
    In a report for stock status ( Qty, rate , Total etc.) i need a new column " Forex Rate"  which should prompt user to put exchange value manually as on the date of running this report anytime i.e this new column has variable input.
    Since the items are purchased from various sources, the report has to display the value in respective purchase currency. The value on report generation date is based on input of exhange rate as explained. This should prompt before running the report.
    I just need the query part for creation of such column and user prompt. Will integrate that into rest of query.
    Thanks,

    Hi,
    Do you have any UDF defined already?
    Thanks,
    Gordon

  • Problem in displaying variable input screen

    Hi,
    I am trying to execute the query. I created Characteristic with User entry variable on some characteristics. But at the time of execution it is not displaying variable input boxes for inserting the input. It is giving blanck white in colour. It is strucking this process. Even I am opening other queries also it is giving the same problem. So please give me appropriate solution for this.

    Dear Purushottam,
    Check the variable again...in the Details tab
    Check the VARIABLE IS READY for INPUT check box.
    Regards,
    Ram.

  • Variable input in Webi Report

    Hello Experts,
    I have a requirement to create a Webi report which has 3 key figure columns.
    While executing report It should ask for input variable fiscal year/period.
    Now 1st key figure colum should show Amount for the fiscal year/period I entered as an input variable.
    2nd column should show Amount for previous YTD for the fiscal year I entered.
    For Ex. if I enter 04.2009 it should show amount for 01.2009 - 04.2009 and if I enter 04.2008 then it should show amount for 01.2008-04.2008.(based on the variable input I provide)
    3rd column should provide the Amount <= ficsal period I enter as an input.
    Can anyone guide how would I achieve this?
    Regards,
    Nirav Shah

    Hi Nirav,
    what is the granularity of the time dimension of your data in your report? Generally you make sure that you fetch all required in your report and then use formulas (applying the if operator on the time field of your data and the value returned from your prompt) to calculate the desired key figures.
    Regards,
    Stratos

  • Dynamic field selection by variable input in bex report

    Hi Frineds,
              I have created  variable on characteristic  ( 0CURTYPE )  which mainly have two values 'A' and ' B' .Based on my variable input in Bex I have to dynamical select key figuers  Example .
    0CURTYPE    KeyfigA  KeyFigB  
    A                    123 Rs   144 $
    B                     124 Rs   145 $
            In above example is user select A I have to display KeyfigA   if I select B then i should display Keyfig B in Bex report .
    I know that by using user exit in report we can do but I would like to try with out Exit .
    Thanks ,
    Kumar.

    Your formula variable allowed to be of type either number or amount or date or quantity which are all numeric(currency type/type tab) .But your reference characteristics is a letter.So there is an inconsistency here and you can not make equal your formula variable and 0currtype's variable.
    Have a look at Akshata's post in this thread :How to create formula variables in sap bi?
    Therefore this model does not work and I can not see any other way apart from a very simple user exit which says if 0currype=A, then formula variable=0 else if 0currtype=B then formula variable=1.After that you can use your formula variable in your formula since the letters are now converted to numbers.
    By the way it mustn't ask two things in the selection screen.Since your formula variable takes the values of 0currtype's variable automatically.Did you create the formula variable with replacement path(general tab) referencing to 0currtype?Just create a formula, enter this formula,right click create formula variable,go to general tab then replacement path then reference to 0currtype.But as I told, you nevertheless can not achieve it, just explaining it.
    Regards,
    Sunny

  • Variable input values in the query are displayed wrong

    Hi experts,
    I executed a report and in the variable input screen it asks for a key date and company code.
    We entered key date and company code and executed the report.
    We want to take a print out of the output. But the variables which we entered in the variable screens are
    dispalying wrong. i.e if we have entered company code as gsml and key date as 01.01.2008.
    In the report output I am getting as:
    Company code: gsml
    Keydate: #..27-11-4745
    But keydate should be displayed as 01.01.2008
    How to solve this ?
    Regards,
    Nishuv.

    Nishuv,
    Please follow below steps:
    1. Open query through Bex - Query Designer
    2. Beneath the Rows Area( where you actually  drag in charactertistics), you'll be finding two tabs Filter and Rows/Columns
    3. Click on Filter Tab
    4.You'll be navigated to a window, there you can trace two Workareas
            a. Characteristic Restrictions: Where drag in the relevant Prompts/Input Variables
            b. Default Vaules
    5.First, Drag the required promts/Input Variables in Characteristics Restrictions.
    6.Click on the varible which was dragged in Characteristic Restriction area and drop it into default values area.
    7.Now you'll have visibility of variable in two regions, Characteristics and Default Values.
    8. Save and Execute the Query
    Regards,
    Yaseen

  • Selection Options feature for variable input in BEx in 7.0 version

    Hi All,
    We are currently in EHP1 BI 701 software version. We have queries in both 3.x and 7.0 version. The variable screen that we get when we execute the report in 3.x and 7.0 is different.
    We have selection options in 3.x (We can copy and paste values (non sequential) from an excel sheet for example during variable input) but I'm not seeing the same in 7.0 queries.
    Please suggest if it's a configuration/software issue or i'm missing something here.
    Regards,
    Vivek

    Hi,
    I would like to inform you that you will not get the same button as in 3.x . But when you open the F4 screen and then you have
    to click on the More Button.
    Two ways you can copies:
    To past from clipboard follow these steps:
    1. Click on the u201CMore >>u201D button.
    2. Click on the right box to set the focus.
    3. Ctrl + V.
    To import from a txt file follow these steps:
    1. Click on the u201CMore >>u201D button.
    2. Right click on the right box and choose u201CUpload selectionsu201D option.
    3. Select the txt you want to import.
    All the values will be copied on the Right Pane.
    Thanks,
    Venkat

  • User defined methods as variable input

    Hello everyone.
    I'm reading through a teach yourself java programming guide and am a little confused about a couple things when it comes to variables and methods.
    I was wondering if it is "legal" to use a method as a variable input. Ex:
    variable = usermethod(num1, 23.43, 32.13); /* Assuming the variable and method parameters
    are of the same data type */
    I was also wondering if you can call a method as output to the stand output such as:
    System.out.println(usermethod(num1, 23.43, 32.13));
    I think that these are vaild uses but this book is not very clear on this point, it simply says that a user defined method is called from the method main and if it is a return type it will return a value. I assume that the returned value can be store in a variable using the syntax above, am I correct?

    Whenever the compiler sees a method name, it calls the method to get a return value from it. Both of those lines above are legal.
    You can use a method call pretty much anywhere you would put an expression; for example, if you had a function foo() which took an int, and you had another function bar() which returned an int, you could call foo() like this:
    foo(bar());Just make sure that methods you pass to other methods don't result in any unintended side-effects, such as printing to the screen.

  • Variable Input display in report

    Hi Experts,
    I've a requirement where I need to display the inputs given in the Variable input screen in the report.
    Please help me hoe can I achieve this.
    Thanks in advance.

    Hi,
    Issue dicussed already.
    Very nice how tos from Surendra Kumar Reddy Koduru
    Derive texts from input varaibles
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f119d9-922d-2c10-88af-8c016638bd90?QuickLink=index&overridelayout=true&43581033152850
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13221
    Hope this helps
    Joe

  • Variable in ''Name of Variable(Input Only Using F4).' for variant attribute

    Hi All,
    I Have a small problem with saving variant.
    I am trying to save the Variant.In the varaint Attributes we have a field 'Name of Variable(Input Only Using F4).
    I  have created the PID 'XUS' in SU3.But i am not able to to view the variable in ''Name of Variable(Input Only Using F4).'.
    Anybody please let me know how to make it.
    Thanks,

    Please follow the below steps to restrict the user to access 2 company codes,
    1)Mark the IO(Company code) Authorization relavent and activate it.In the IO Business Explorer tab check the Authorization relavent check box.
    2)Go to T-code RSECADMIN -Under Maintainance -Enter the name of Authorization Object an click on create Authorization.Insert the IO and also SAP recomended Objects 1.0TCAACTVT, 2.0TCAIPROV and 3.0TCAVALID.
    Maintain the values for these objects.Select the company code and click on details.
    3)T-code RSU01-Enter the name of the user to be assigned with the authorization object and click the change button.The select the relevant authorization object and save.
    4)Create Authorisation Variable in Query Designer Create an Authorization Variable - Variable with Processing by Authorisation in Query Designer as Below for Sales Organisation
    Note : Also include all Authorisation Relevant Objects which are used in that infoprovider in addition to the above additional 3 objects otherwise you may get "No Authorisation" error when you execute the query.
    Note : 0BI_ALL is the authorization object to access all the info objects which are   authorization relevant.
    Reagrds,
    Ramitha

  • Max number of entries in the variable input list (F4) of Bex Analyzer Query

    Dear BW experts,
    When I run the Bex Analyzer query, it pops up the variable input screen.
    If I don't know the specific value of the variable, then I can click on the input help (F4) to get a list of available values.  There is a max number of entries coming back to the list.  For my BW system, it is currently returning 500 values.  For other people and SAP Help document, it could be 1000.
    My question is: Do you know where we can configure/set this max value? Is it a global setting?
    Thanks in advance for your help in this matter.
    Kevin-

    Murali & Pra,
    Thanks for both of your answers.  I think the answers that you provided are for BW 7.X version.
    It is flexible and exactly the way it should be for each user to customize a specific variable.
    I am running BW 3.5 query, and don't see the "Settings" option/button after I got the list of single values back.
    Is there a way to set this up for BW 3.5 query Analyzer?  My max value is always 500 for all variables.  Is there a place for setting this value and save for the next time.
    Any help from any BW experts is appreciated.

  • Removing Key Date from variable input screen

    Hi Experts,
    I am trying to remove the "key date" entry from the variable input screen so users dont see this value when they are trying to run a query. Can you please advise me on how to do this?
    Thanks in advance.

    Hi Paul,
    You would need to open the query and remove this variable from the query definition, or if you need this variable and then remove the ready for input check mark from the variable definition.
    Hope this helps...

  • F4 help-only posted values-Bex variable input

    Hi
    I have one hierarchy node variable on an infoobject.This infoobject is authorisation-relevent.The infoobjects hierarchy is activated in query designer.We have many hierarchies for this infoobject,one for every year.Recently,we chose new hierarchy for this infoobject as we moved into year 2011.
    When I execute the query,in the variable input help F4 of the hierarchy node variable on this infoobject,I could see only some nodes(I couldnot see the required one).My user is unable to see anything.Please suggest how I can fix this problem.
    I have two problem:
    1.I want to see the present nodes it is showing together with some more nodes that came with new hierarchy
    2.As of now,my business USER is unable to see anything in F4 help for this variable...I want him to see the nodes which I would like to see also.
    How can I fix these problems?All suggestions are welcome.
    My investigation:
    I checked infoobject settings..'Query Execution Filter Val.Selectn'  is set to 'Only Posted values for navigation'....Does that mean infoobject will show only those values in F4 help that the query can find data for,in infocube in current navigation state..??
    And there are two other options which can be choosen at infoobject level for 'Query Execution Filter Val.Selectn':
    1.'Only Values in Infoprovider'--It will show only those values in F4 help for which there are values in dimension tables of cube/ods(does it mean in other way ,that master data for which we have transaction data in cube/ods???)
    2.Values in Master Data tables:all values from master data tables.
    Let me know if have wrong idea.........................
    Regards.

    Hi,
    at the infoobject level always you need to select "all master data values".
    please check the version of the hierarchy what ever you are using till 2010 you might be using one version in 2011.
    load the info-object with the new version at the infopackage level.
    hope this helps
    Thanks & Regards
    krishna.y

  • How get Query Monitor (RSRT1) to show variable input screen

    Hi,
    I'm trying to test a query that has variable input and I can't get the variable input screen to give me a chance to input variables.  Since this is key to debugging this query, I need it to recognize my input variables.
    Help!
    Thanks
    Suzanne

    Hi,
    In rsrt, enter the query name -> select query display as HTML -> In the big text box that appears below it type "variable_screen=x", without quotes and it should show you the variable screen.
    Thanks,
    Sri.

Maybe you are looking for

  • Pages 5.2.2 made a disaster of my Pages 09 documents

    I updated to Pages 5.2.2 like a good little Apple-head, and when I opened a large, heavily formatted document to work on it, I got the dreaded "the following changes have been made to your document" message. Worse, all the hours and hours of formatti

  • Copy and Paste Query

    Does anyone know how to copy a query from one infocube to another?  I tried trans code RSZC but it did not work as I anticipated. As always, thank you in advance for your help!

  • How do I set Firefox to automatically open documents after download is complete?

    Currently, the way it is is setup causes the attachment to download, then the downloads go to my download folder on my desktop. To open a downloaded document, I open that folder then click on the document. I seem to remember a time when clicking on t

  • Problem in classical report.

    Dear all, I am facing a problem with alignment in one classical report. Requirement is debit ,credit amount's sum will at end of every g/l as new line. Text will be closing balance - then amount. My amount & text is coming ,but not properly. All docu

  • What is the best way to maintain state in Java web apps?

    Hi, been looking at best way to maintain state between requests in JSP. Ive been trying to use URL rewriting but been getting problems. I understand I can also achieve this using cookies. Are there any other better ways of doing this. I don�t know if