Restricted KeyDate and Text in Variable Screen

Hi Experts,
I have a query displaying a hierarchy. The KeyDate for the Query is used as Date in the hierarchy as well, so I can choose the according hierarchy to the date. Works fine sofar.
Now I want no keydate to be displayed, but a kind of fiscal year, and moreover, only the fiscal years to be selected.
I thought of an customer exit, but this does not work for the hierarchy selection in the variable screen. Modeling an Infoobject of type date does not work as well, as it is only a reference to 0date. Setting default values does not work either.
I now thought of an replace ment part, but I guess, I'll have the same problem, as with the customer exit.
Do you have any ideas how to customize the keydate, so a customer can choose it context wise?
Plan B would be taking the hierarchy into the webtemplate.
thanks in advance,
Dominik

Hi Dominik,
Try using Customer Exit variable with User Input enabled, so that you can populate default value if required and as the variable will be displayed on selection screen you can work on the input value given by user as well.
Regards,
Durgesh.

Similar Messages

  • Display Key & Text In Variable Screen

    Hi All,
    I am having one master data Location having Attribute and Text data loaded.
    I am using the same Location as a characteristics in my DSO and then in Query .
    Now, i have create one variable on Location. When i am executing the query , and click on Location Help. It will show only Text values. I want to have Location Key as along with Text in the variable selection screen.
    Please suggest.
    Regards,
    Macwan James.

    Hi James,
    for infoobject Location you can swith to both key and Text at variable screen.
    please do this setting.
    RSA1 -> select DSO  change mode -> go to the infoobject Location right click select  "Provider-specific properties"
    Display " 0 Key and text" select this and activate DSO.
    please check at the selection screen.
    Best Regards.

  • Display Key and Text in Variable Selection Box by Default in BEx

    Hi Experts,
    I have a requirement to display both key and text in the variable selection box by default.
    Currently, only the text is being displayed.
    The 'wrench' can be used to change the display, but the client would like to see both key and text by default.
    Is there  a way I can accomplish this?
    Thanks,
    Points will be assigned!

    hi experts,
    i have done the same settings in development and its working fine and we can see key/text bydefault in variable selection in Dev. and when i transport the cube into quality the settings are reflecting but in analyzer(QA) variable selection screen still its giving text(DEFAULT). could you please provide me the solutions to do it.
    thanks & Regards
    vadlamudi

  • Key and text for variable

    Dear ALL,
    I m having one variable for that i need key and text in bex analyzer.
    how to enable the key and text for a variable.
    pls asap
    regards,
    Jenish

    Hi jenish kumar ,
    if i under stan your requirement correctly,  need to have both text and key values for variables with F4 help.
    you need to chnage the properties of that infoobject at infoobjects level or at infoprovider level,
    this is at infoprovider level
    in RSA1-> go to change mode of infoprovider (Multiprovider/ cube) on which Query is build) then Expand  Charecteristc Dimension -> select infoobject -> right -> select provider-specific properties -> select Display '0 Key and Text' . Activate infoprovider and Run Query and check the Selection screen.
    hope this helps
    Regards
    Daya Sagar

  • Display key and text in variable selection screen.

    Hi:
    I have a variable in the Var.selection screen. and I cannot have the text displaying. Only the key is coming.
    - I have checked "Provider-Specific Properties" in RSA1 and is ok. and display attributes in Query Designer as well.
    Infio: The Characteristic is used in the same query as a Free Char. and there is displaying Key+Text correctly...
    any idea in what else to check.?
    Regards.

    Hi,
    Do you mean that the value help of that variable is not showing the Text values in the selection screen.It shows only the values in "Key"
    If this is the case,then invoke the value help of that variable->Click "Settings"->"General Display" tab->Select "Default(Text)" and click OK.The values will be listed in "Text" rather than "Key"
    Rgds,
    Murali

  • How to create a drop down box and text box in screen painter?

    Hi i am totally new to this concept of screen painter..please can any tell me
    how to create drop down box in screen painter?
    How to create or display default date and time values?
    How to create text box for giving comments?
    How to store the records that we are entering in a table?
    Please can any one send me the procedure for creating all these its very urgent useful information will be surely rewarded.

    Hi,
    Check all these.
    1.how to create drop down box in screen painter?
    To get Drop Drown Box on screen .
    Follow these steps.
    1.
    Go to T.Code SE51 and Select Laypout for the Screen.
    2.
    Double click on the field for which u want Dropdown box.
    3.
    Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.
    4.
    Save and Activate ur screen .
    5.
    Enter the following piece of code in the PBO of the screen.(Change for ur requirement).
    6.
    The following code should be written under PROCESS BEFORE EVENT in the MODULE.
    TYPE-POOLS :vrm.
    DATA:
      i_natio TYPE vrm_values, "-->Table that is passed through FM vrm_set_values
      w_natio LIKE LINE OF i_natio.
    DATA:
    BEGIN OF i_t005t OCCURS 0,
        land1 TYPE t005t-land1,
        natio TYPE t005t-natio,
    END OF i_t005t.
    IF i_t005t[] IS INITIAL.
      SELECT land1 natio
         FROM t005t
           INTO TABLE i_t005t
       WHERE spras = sy-langu.
      IF sy-subrc = 0.
      LOOP AT i_t005t .
          w_natio-key = i_t005t-land1.
          w_natio-text = i_t005t-natio.
          APPEND w_natio TO i_natio.
          CLEAR w_natio.
      ENDLOOP.
      ENDIF.
    ENDIF.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
                          id = 'I_IT0002-NATIO' "-->Field for which dropdown is needed.
                    values = i_natio
    EXCEPTIONS
       id_illegal_name = 1
                OTHERS = 2.
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    2.1.How to create or display default date and time values?
    1.
    create input field for DATE and TIME on screen.ex. DATE1 and TIME1 are screen field names .
    2.
    Just assign SY-DATUM to DATE1 and SY-UZEIT to TIME1 under PROCESS BEFORE EVENT.
    3.How to create text box for giving comments?
    1.
    Define one variable in the TOP include with type STRING means Global variable.
    2.
    Create one input field by giving screen field name which u have defined in the above step.
    4.How to store the records that we are entering in a table?
    For this case.. Create one table control. you can select one record and create record in the Z table by pressing button on Application toolbar..
    Check the following steps to handle Table control.
    1).
    U should take one variable in your internal table or in structure which
    is used for table control fields
    ex :
    data :
    begin of itab occurs 0 ,
        mark type c , "This is to select the record.
        matnr like mara-matnr ,
        matkl like mara-matkl,
        maktx like makt-maktx,
    end of itab .
    Controls: TABC types TABLEVIEW using screen 100.
    2).
    This mark variable should be given in Table control properties.
    follow the path
    double click on the table control-->attributes .->select
    w/SelColumn and in that itab-mark. Check in the figure.
    [Table control properties screen|http://bp2.blogger.com/_O5f8iAlgdNQ/R99gOUH8CXI/AAAAAAAAA9I/d3gOum1fJ6s/s1600-h/pic28145-796618.jpg]
    3).
    After that. Take this example.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    LOOP AT ITAB WITH CONTROL tabc
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    LOOP AT ITAB.
       Module read_table_control.
    ENDLOOP.
    module user_command_0100.
    In this Module read_table_control, You should write the following code
    MODULE read_table_control INPUT.
    MODIFY itab INDEX tabc-current_line."( This will update the
    "ITAB table MARK field with 'X ' whatever we have selected
    "on table control.)
    ENDMODULE.
    4)
    If you want to Delete some of the records from Table control
    follow this code …Create one pushbutton and give Fucnction code to that
    and write below code
    CASE OKCODE.
    WHEN 'CREATE'.
    LOOP AT itab WHERE mark = 'X'.
    "Use UPDATE statement to create new record.
    ENDLOOP.
    ENDCASE.
    I hope that you will get something.
    Regards,
    Venkat.O

  • Displaying Medium Text in Variable screen (WAD)

    Hello Experts,
    When I run one of my reports in BEx, the input help for an infoobject shows key, Short Description and Medium Description. But the same report when I run in WEB it does not show the Medium Description but only the key and Short Description is getting displayed. I have selected short and medium description for that infoobject at all the levels.
    Could you please tell me how to show also the Medium Description along with in WEB input help.
    Thanks a lot.
    Rajat

    Arun,
    I am using BW 3.0B. The default display is specified in BW BEx Tabstrip in IO Definition (in RSA1) is Medium Text.
    My problem is: When I run the report on Web and select the value for characteristic variable of this infoobject (by clicking on the browse link next to text box) , I see Key and Short Text in the list. Whereas my Client requirement is that he wants to see Key and Medium Length Text in the Variable option list.
    On BEx Analyzer, i can see Key, Short Text and Medium Text in the Variable slection screen. But it is not giving the same result on Web.
    I have checked all the properties in web template.. like data provider, web template, result table properies.. I also tried to change BEx description property to Medium text as well. But it is not working.

  • Display non changeable Variables / restricted values on variables Screen

    Dear SAP-Experts,
    is it possible to display non changeable / restricted char values on the variables screen?
    regards
    Jürgen

    Dear Jürgen,
    Now I understand what you mean.
    I'm afraid this is indeed not possible, unless you create customer exit for i_step=3 to invalidate any change made by user in variable screen for this variable, which is not really a practical way.
    Actually the user would be able to see the filter information after query execution. The detailed location depends on whether you use BEx Analyzer or portal.
    Regards,
    Patricia

  • Variable screen performance in report

    In my project we are having  somany master data objects,
    we have to find the performance of selection screen ,earlier we have only display as selection screen  as key now according to our client requirment we are providing both key and text in sleection screen with long text , how can i find these master data objects performance in variable screen.
    The SAP std out of the box setting for an Infoobject is usually the key.( Sometimes text )
    We are now making changes to almost all info objects to display as key and text, and depending on what business is asking we are changing to Long text, medium or short.
    Investigation required
    1)       how does it affect the performance when we do F4 help
    2)       how does it help in search by text
    3)       what difference does it make when searching by key vs text.
    My feel is if we show the key and text , definitely the key comes from Dimension table and the text will be fetched from the text table of the master data attribute
    And hence for business partner etc it might really affect the time taken to fetch the variable values.
    please help how to find the performance of variables.

    Yeah, It won't have much impact on the performance of the selection screen.......
    Even we are displaying both key and text for many reports but never faced a performance issue.......

  • Variable screen in WAD

    i have couple of questions on variable screen while working with Web Application Designer
    1) i am using variables with multiple single entries in my query and when the variable screen in WAD is displayed i have something called insert row icon for each of the variable i used. i do not want to display this icon. is it possible. when i have a single mandatory variable i don't see this icon
    2) when i select a value for one of my variable, say for plant. then i only want the key to be displayed. whereas when i choose a particular plant i can see the key in the variable box and the text which describes the plant adjacent to the variable box. is it possible to display only key.
    3) i have something like this
    Plant     Description
    NJ         New Jersey (description is seen adjacent to the key in the variable box)
    now when i want to empty the screen and run the query for all plants i can delete the key but my description is still seen.
    any idea
    thanks

    thanks for your responses.  i have another problem which is similar to the above ones
    i have variables with multiple single values as optional. now in the variable screen if i choose to enter more than one value, lets say 2 values for the plant then i have two values and its text adjacent to the selection box.
    since i am using optional variable and if the user wants to run the report for all the plants then he comes back to the variable screen and has to empty the selection box. the problem is we can empty the selection box but we are not able to remove the text description adjacent to the selection box which the user says its confusing.
    is there any way we can get rid of it. may be when we refresh the variable screen can we write a code which simply displays the empty variable screen.
    any ideas gurus
    thanks

  • Issue in F4 help in variable screen of the report

    Hi All,
    I am facing an issue with Bex query, there are two navigational attributes in query, those are NAV1 and NAV2 and we have created two variable for these attributes,
    When we run the query in analyzer and in the variable screen we are trying to select values for these attributes from F4 help, we are able to see both the values in each attribute.
    For example NAV 1 has 100 vlues and NAV2 has 100 values, when we click on F4 help on the NAV1 attribute in variable screen we are able to see 200 entries, means it's including NAV2 values, it is vise-versa for the NAV2 attribute also.
    I ran the same report in RSRT and click on F4 help for NAV1 and NAV2 attributes, here entris are fine,each attribute showing only 100 entries.
    What could be reason for this issue.
    Could you please adivce me how to solve this.
    Thanks in advance,
    Venkat Kalla

    Hi,
    Please check Note 1495735 - 'check of changed records between DB and BIA after changerun'.
    If BIA is in use then this can be the cause.
    Otherwise check Note 1517248 - 'F4 help uses M mode instead of D mode for line item characteristic'.
    Finally, verify the read modes for both InfoObjects:
    1565809 - Settings for BW query F4 help
    Regards,
    Michael

  • Report to Report jump web queries variable screen on BW

    Hello,
    We would like the variable screen to always popup when the user runs a main query. We would like the variable screen to never popup when jumping from one query to another query.
    We are using BW 3.5. We are using web queries, NOT Excel. Both queries are running on BW. We have set up jump query parameters in RSBBS. These jump successfully with all of the appropriate required variables passed from the from the first query to the second query. We are using the standard 0ADHOC template for all queries, including the sender and receiver queries.
    With the FORCE_VARIABLE flag set to TRUE, both the sender and receiver queries popup the variable entry screen. With FORCE_VARIABLE flag set to FALSE, both sender and receiver queries do NOT popup the variable screen. We would like the FORCE_VARIABLE flag set to TRUE for the sender query and set to FALSE for the receiver query. Is this possible? How do you set the FORCE_VARIABLE flag to FALSE dynamically based on the fact that the user has just jumped to a receiver query?
    Another alternative would be to build two query templates, one for sender queries and one for receiver queries. How do you switch to a different template when the user is ready to jump?
    I have also been fooling with the RESET_DATA_PROVIDER command available in BW 3.5, but have not had any luck. Can this be used to accomplish my objective? How do I use it? Please remember that I am not setting specific jump targets in the web template. I would like this work generically based on settings from RSBBS.
    Any other ideas to force the variable screen on the 1st query and bypass the variable screen when the user is ready to jump would be greatly appreciated.
    Thank you.
    Kelley

    Hi Kelley,
    Here is what is mentioned in SAP Help:
    Calling up the Web template with reset variables and active variable screen
    http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate<b>&VARIABLE_SCREEN=X</b>&VARIABLES_CLEAR=X
    Have you tried changing the URL for your sender query like this?
    More: http://help.sap.com/saphelp_nw04/helpdata/en/3d/0dfe3980f23728e10000000a11402f/content.htm

  • Change Heading of Variable Screen

    Hi All,
    I have a requirement to change the heading of variable screen.
    I have created a query and developed a WAD (Web Application Designer), for it. While executing the WAD, the variable screen appears with header "Variables for <name of report>".
    Is it possible to change the header to our custom description in WAD ?
    Is there any changes to be taken care at query designer level ?
    Thanks,
    Sri Arun Prian

    Hi All,
    Thanks for your responses.
    I myself also think that the varaible screen heading can't be changed.
    I checked with WAD, which shows objects related to query output, but not about the variable screen.
    Its by deafult taking the report heading and concatenating with "Variable Screen for <Name of Report>".
    But still, I am exploring on it, if found will post the same.
    Once again, thanks to all of you.
    Thanks,
    Sri Arun Prian

  • Bex variable screen

    Hello gurus:))
    I've the folloeing question:
    I have user exit variable which is ready for input.
    There after the input step I want to check the values and acording the check results proceed or pop up the error message and cause the variable screen  to appear.
    So:
    - How can I cause to pop up the error message from user exit code?
    - How can I cause the variable screen to appear from the user exit code ?(Should I RAISE some kind of exception - which one ?)?
    Thanks in advance, waiting for replay:))

    Check out this Howto document (Funny, I found out about this document yesterday); it is very well explained.
    https://websmp106.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
    If you don't have access to service.sap.com, give me your email address, I'll send you the document.
    Regards,
    John

  • Enabling Key and text for the Variable Selection screen

    I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?

    Hi,
    Did you try to log out and log in again into BEx?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

Maybe you are looking for