SELECTION VARIABLE : DROPDOWN

Hello gurus,
Can I use dropdown WEBITEM for selection variable.
I mean instead of selection screen for variable, can I use dropdown in the web report..?
Thanks,
Raj..

here it is :
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to use a dropdown box to set variable values.pdf

Similar Messages

  • Pass user selected variable to Entity implementation class

    Guys,
    I need to pass the user selected variable to Entity class. and looking for the best way to do this ......
    If user selected process1 or process2 then I need to call stored procedure right before the commit. So i need to pass the user selected process to entity class file.
    I am thinking about having a transient attribute on entity and set the value on front end..... so that value will be pass to the entity class file and in beforeCommit method i can check the value of transient variable and then call stored procedure
    is this a good approach or any other suggestions are greatly appreciated....
    thank you
    -Raj

    Thank you Timo and Jobinesh....
    Good suggestion Jobinesh... will start the implementation
    Thank you
    -Raj

  • Script logic - how to use a selection variable within an allocation logic

    Hi,
    I want to implement a simple top-down distribution to distribute values from a yearly budget (Y20xx.TOTAL) to a quarter budget (Q20xx.Q1, ... Q20xx.Q4) using the actuals of the previous year as reference.
    If we hard code the members it works fine:
    *RUNALLOCATION
    *FACTOR=USING/TOTAL
    *DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN); USING=<<<; TOTAL=<<<
    *DIM TIME WHAT=Y2009.TOTAL; WHERE=BAS(Q2009.TOTAL); USING=BAS(Q2008.TOTAL); TOTAL=<<<
    *DIM CATEGORY WHAT=SBO; WHERE=<<<; USING=ACTUAL; TOTAL=<<<
    *ENDALLOCATION
    Of course, we want to make this dynamic, using the values inputted in the selection screen of the package: time, entity and category.
    So if we start with write the following logic, it does not work anymore:
    *RUNALLOCATION
    *FACTOR=USING/TOTAL
    *DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN); USING=<<<; TOTAL=<<<
    *DIM TIME WHAT=%TIME_DIM%; WHERE=BAS(Q2009.TOTAL); USING=BAS(Q2008.TOTAL); TOTAL=<<<
    *DIM CATEGORY WHAT=%CATEGORY_DIM%; WHERE=<<<; USING=ACTUAL; TOTAL=<<<
    *ENDALLOCATION
    So, how to use the selection variables in this allocation logic? %TIME%, %CATEGORY% also did not work ...
    regards
    Dries
    solved it ...
    Edited by: Dries Paesmans on Feb 22, 2009 8:31 PM

    Hi Dries,
    Looks like you solved this, but if I can just add a small point -- when you use syntax like this:
    *DIM ACCOUNT WHAT=ACC_NOT_ASSIGNED; WHERE=BAS(FIN);
    *DIM TIME WHAT=Y2009.TOTAL; WHERE=BAS(Q2009.TOTAL);
    each time the logic runs, it will scan through the dimension from the FIN and Q2009.TOTAL members, one level at a time, until it reaches the base members (where calc = 'n'). This may happen very quickly, if the dimension has very few levels, but could take a bit of extra time if it's a particularly deep dimension. (By which I mean many levels of hierarchy -- not some 1970's Pink Floyd musical reference.)
    You may speed things up by using a member property instead of the BAS(xyz). Flag all the base members using a specific property value, and that way the logic engine can pick up the complete list of members in the WHERE clause, in a single query.
    *DIM Account What=ACC_NOT_ASSIGNED; Where=[FloydProperty]="DarkSideOfTheMoon"; ...
    This adds some maitenance work in the dimension, which may be problematic if your admins are changing it regularly (and will cause problems if they forget to update this particular property).
    I can't predict how much time this will save you (maybe not much at all), but anyway I figure you'd want to know exactly what work you're asking the system to perform.
    Regards,
    Tim

  • Schedule Manager - Use of Selection Variable

    Hi all,
    My Question is "What is the use of Selection Variable settings in Schedule Manager screen?"
    I am not asking about defining selection variable in the variants to pick up values from TVARV table. My question is how I can make use of the Selection Variable(Extras->Settings->Selection Variable) in the Schedule Manager screen.
    The variable value column is ready for input in the Schedule Manager screen, is it possible to set the variant to pick up this value for the tasks in SCMA?
    Any help would be greatly appreciated.
    Thanks,
    Prabha

    Hi Prabha,
    After you have finished maintaining your variant, you would have to click on the "<b>Attributes</b>" button just below the title and maintain the description for your variant. Save this entry and press the back <b>green arrow</b>. Your save button would now be activated and you can save your settings now.
    I hope this helps.
    Do not forget to award the point please.
    Regards,
    Jacob

  • How to Create a Selection Variable for restricting the querry output

    Hi Gurus,
    I have created a query in query designer on a Multiprovider and the output of the query is a Formula in a structure which calculates a % value, the client is looking for entering a range of number during the query selection screen and the output should be restricted to the given selection values.
    Can any one tell me how i should create a selection variable that would take the input from the user during the query selection screen and then restrict the output to that value which user specified.
    Is there a need to write any customer exit or is there any alternative way to make the query work as the requirement is.
    I hope this explains my problem but if any questions please let me know so that i can give u specific information.
    Thanks,
    Nisha.

    Hi Nisha,
    Firstly, in order to restrict the query output by a key figure value, you will need to create a condition on that key figure. This is done in the query deisgner. Now when you are creating the condition you can also use user entry variables (formula variables with user entry) to let the users enter the value that they want to see.
    See here for more details:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/content.htm
    Hope this helps...

  • Selected variable value is different from the displayed value

    Hi all,
    I have an issue with variable selection in portal. I have a IO - customer which is compounded to source system. So I have soem customers with the same key with different sources. And I have a variable created on customer. For ex - i have 3 customers like below. 
    SA/1234567
    BP/1234567
    F5/1234567
    1 - And when I search for a customer 1234567 - I find only one customer that is SA/1234567. And IO properties are set to read all the masterdata values and not infoprovider or posted values.  - thats issue one - I would like to see all the three and let the user select what ever he wants.
    2 - Now when I select SA/1234567 and run the report. It shows me data for F5/1234567 - which is correct data for that customer. But in the template I have a info field web item to display the selected variables on the screen. That info field shows the Customer as BP/1234567 - which is wrong and confusing. I checked the properties of the web item and everything seems ok.  So in the variable screen I get a value, the result set if of another value and the variable value that shows in the Info tab is another customer. - Driving me nuts
    3 - When I recreate the same scenario in 3.x query - everything works the way they should - this only happens in 7.0 query. What am I missing here??
    Any pointer or insight is appreciated - sorry for the long post.
    Voodi
    Edited by: voodi on Jun 8, 2010 2:26 PM

    Sorry - its not how its displaying the values rather what its displaying - it misses on 2 other values from the three - though the Bex setting in IO are set to read all the values from materdata table. And in the query I'm using IO properties. And display settings are ok

  • Selection variable for dynamic selection in QE51n

    Hi All,
    I have a scenario were we have a repetitive Manufacturing and we create one insp. lot of origin 13 and keep creating insp. points for days, so my user wants the insp. points to be displayed only for the past 3 days based of the Date Insp. point identifier which is one of dynamic selection criteria under insp. points, I see with other transaction I can do selection variable on dates for dynamic selection fields but I cannot do that in QE51n, I can do the same in QE51 but not in QE51n, can some tell me if there is a OSS or other way to get this working.
    I appreciate your help.
    Thanks,

    Hi Srikant,
    I think you can meet the requirement in QE51N also.
    In the screen for QE51N :Result Recording Work list", Follow this Path,,,,,,,,,
    Edit--->Dynamic Selection.
    The system will pop-up new small window for "Dynamic selection for insp. lot and operation" here I there is one folder is available named "Inspection point " which is having the selection criteria "Inspection point",  double click on it and enter the desired values.
    Regards,
    Shyamal

  • Selection variable for next month in RFPERIOD_OPEN in closing cockpit

    Hi,
    we would like to use RFPERIOD_OPEN in the closing cockpit in order to open the next period on D-10 automatically. I would like to use the selection variables of the closing cockpit in the program variant in order to avoid unnecessary variant maintenance every month.
    Unfortunately I cannot find a variable for the next month. There is only SAP_FAST_CLOSE_PERIOD_P. Do you know if it is possible to base a calculation logic to derive the next period from SAP_FAST_CLOSE_PERIOD_P.
    Thanks!
    Kind regards,
    Mariya

    Thanks! I checked it, but the appearance of months and order is okay in T247.
    Any other ideas?
    I thought I read somewhere that this is a bug but can´t remember where I found that bug hint.

  • Need Selection variable name for "System Year - 1"

    Hi All,
    I have Fiscal Year field in the selection screen of a custom program. The value of this field comes from system variable.
    I need to create a variant where this fiscal year should have the value "Current year - 1".
    This has to be done using Selection Variable. Currently there is no such variable in the F4 help (TVARV table).
    Please tell me if there is a way to get such a selection variable...

    Hi Tolga,
    The selection screen parameter is defined as:
    parameters: p_gjahr        type gjahr obligatory memory id gjr,
    I cannot use the FM in the AT SELECTION SCREEN ON VALUE-REQUEST.
    When you create a variant for the program.. click button "Variant Attributes" - Here the checkbox for Selection variable is ticked for this field. Now click "Selection Variables". here we can provide the variable name which comes from TVARV table.
    I need this Selection variable. I am not allowed to do any program changes.

  • Selection Variables / Name of the Variable in a Variant

    Hi,
    I am trying to replicate / create the same variant from PRD back to DEV.
    But in PRD for the variant, there are values for attributes. (Selection Variable is having T and D)
    Number of variables are available for Name of the variable (f4 values)
    But these values are not available for the same variant in DEV.
    How can i bring the values for selection variables and name of the variables in DEV.
    Thanks in advance for your help.
    Regards,
    Ravi

    Ravi,
    you have to include the variant into a transport request than you can transport to the other system. In general, variants not transported automatically when you create a program, you have to include the variant into the request if you want to use in another system also.
    You can do this by:
    SE38 --> Variants --> Utilities --> Transport request
    Edited by: mrwhite on Apr 28, 2009 4:52 PM

  • Populating select-options in a variant through selection variable

    I have a select-options on the selection screen of a report. I have created a variant for this report. Now i want to populate this variant field through selection variable (entries of table TVARVC). How can i manage to populate multiple values in this. Suppose i want the variant to hold a range of values, how do i set the variable in the table so that the multiple values can be set dynamically?

    Hi Ravi,
    I know how to populate select-options but i want to know how to set up the selection variable in table TVARVC for using it in populating a select-option in a report variant. we populate these selection variables using the transaction STVARV where we specify a value against a particular variable. How can this variable multiple values (for example a range) so that a select-option can be populated dynamically through this?
    regards,
    Priyank

  • Query selection variable problem

    Hi ,
    We have a material "89-9712" . When running a query in the query designer (on portal) with material as selection variable we are having problems. When we enter "89-9712", we are getting an error "enter single values and not a range"...is the fact that there is a "-" in the material key causing the problem. What can we do?
    Thanks,
    Anita.

    Hi,
    Having a '-' while entering the material value shouldn't pose a problem in case the same fromat is adopted while storing the material , or does two no. i.e. 85-39876 , 85 refers to some " material grooup" or category , and the real material no is 39876 in that case it may pose a problem.
    While making an entry make sre you are not putting any sapce other than '-' sice space is not permitted.
    Hope this will be expedite.
    Thax &  Regards
    Vaibhave Sharma
    Edited by: Vaibhave Sharma on Sep 17, 2008 11:35 PM

  • Selection Variables display in report output using BEX ANALYSER 7.0

    HI All,
    I am using BEX Analyzer 7.0 , I want to display the Variables  selected in the selection screen, to be printed in the
    Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report  output.
    But in 7.0 analyzer  i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
    Thanks and Regards,
    Joseph

    Hi Joseph,
    I feel there might be personalization of variables.
    After executing the query click on "Change Variable Values" which is on Bex Tool Bar and there click on personaliztion icon and check if any personalizations are there.
    Regards
    Ravi

  • Web Report - Selecting variable value

    Hi,
    I have web report, where one selection variable for company code is there.
    If i am running the report like compnay code 2000 it is working.
    The web report is having a facility to select multiple company code like >1000. Means before the text box to enter the company code 1000, there is another selection box where we can select =,>,< etc like that.
    If i am selecting > and company code 1000. Then report is not displaying any thing.
    But we have company codes > 1000 like 1001-1007,2000,3000.
    Could you please advise me what might be the wrong with this case.
    Thanks & Regards
    Srini

    One possibility would be that you are having a security issue. If you do not have authorization to see ALL companies > 1000, then your report will show no data (even if you do have authorization to see company 2000).
    Hope this helps...
    Bob

  • Select (variable) into:parameter from xyz , dynamic sql

    hello everyone
    I have a table with the columns KZ01*01*, KZ01*02*, KZ01*03*.....
    I want to select the value from one column depending of a variable z.b. varable=3 I want the value select KZ01*03*
    I wrote the trigger post_querry:
    declare
         v_kfz string(20);
    begin
    v_kfz:='select KZ010'||:daten.lkw||'into :kennzeichen from r_bestellung@r where nummer=:daten.r_bestell_nummer';
    Forms_DDL(v_kfz);
    end;
    alternativ I tried:
    execute IMMEDIATE 'select KZ010'||:daten.lkw||'from r_bestellung@r where nummer=:daten.r_bestell_nummer'
    I am using Form builder 6.0.... and Oracel 8i
    what I am doing wrong, thanks for helping
    regards
    robert

    I think there was good example in form but here is the example for your crieteria.
    DECLARE
         vSqlStr VARCHAR2(1024);
         cursor_number EXEC_SQL.CursType;
         vRecCount NUMBER;
      vReturnedValue DATATYPE; -- Set this datatype upon table field
    BEGIN
         cursor_number := Exec_SQL.Open_cursor;
         -- Here variable your field name
         -- for numeric
         vSqlStr := 'select '||<VARIABLE>||' from r_bestellung@r where nummer='||:daten.r_bestell_nummer;
         -- for characters
         vSqlStr := 'select '||<VARIABLE>||' from r_bestellung@r where nummer='''||:daten.r_bestell_nummer||'''';
         -- From above use only one on your requirement
         EXEC_SQL.PARSE(cursor_number, vSqlStr);
         EXEC_SQL.DEFINE_COLUMN(cursor_number,1,vReturnedValue,30);
         vRecCount := EXEC_SQL.EXECUTE(cursor_number);
         IF EXEC_SQL.FETCH_ROWS(cursor_number)=1 THEN
           EXEC_SQL.COLUMN_VALUE(cursor_number,1,<:FORM_FIELD_NAME>);  -- Here form_field_name replace with you current form field.
         END IF;
         EXEC_SQL.CLOSE_CURSOR(cursor_number);
    EXCEPTION
      When EXEC_SQL.INVALID_CONNECTION Then
         message('Unexpected Invalid Connection error from EXEC_SQL');
      When EXEC_SQL.PACKAGE_ERROR Then
         message('Unexpected error from EXEC_SQL: '||to_char(EXEC_SQL.LAST_ERROR_CODE)|| EXEC_SQL.LAST_ERROR_MESG);
      If EXEC_SQL.IS_OPEN(cursor_number) Then
        EXEC_SQL.CLOSE_CURSOR(cursor_number);
        message('Exception - Cleaned up Cursor');
      End if;
    END;-Ammad

Maybe you are looking for

  • HP Pavilion dv9207us will not boot up

    This laptop is less than 2 years old.  One day, it locked up.  Upon hard reboot, nothing showed on LCD.  Connected an external monitor, showed bios coming up, etc.  However, the graphics were all messed up.  On the external monitor there are large gr

  • Podcasts no longer synching....

    Why has my iPod Touch stopped synching podcasts?  They are there on the device, but greyed out and unplayable...........  Have tried all the usual resets to no avail.

  • Expert help needed to connect iPhone / iPad using BlueTooth and Wi-Fi

    We need expert help to connect iPhone / iPad using BlueTooth and Wi-Fi. If you have worked with Apple MFi Program [http://developer.apple.com/programs/mfi], or have expertise/experience in this, please contact me. Thanks! Kevin.

  • File to Proxy Scenario Error

    Hi Experts, I am working on File To Proxy Scenario. I am getting the below Error: The Messages in SXMB_MONI are going to AUtomatically Restart Status. I see some Queues with RETRY Status in SMQ2. When i am testing from SPROXY, the Table is Updated wi

  • A table mapping between ISO country code and ISO currency code

    Hi experts, I want to know whether there is a table mapping between ISO country code and ISO currency code.I have searched T005(Countries) and TCURC(Currency Codes).why the filed of WAERS(Country currency) hasn't maintained in talbe T005?Whether ISO