Report variable on screen?

I have a report with a begindate and an enddate as bind variables. When a user runs the report with the given values for the binds, i would like to show the report with a title on it, including the two given dates.
Is that possible?

Hi,
In the additional plsql code section you can access the values of the bind variables. Say you have a bind variable deptno which should be printed in the section "Before displaying the page"
for i in 1..p_arg_names.count
loop
if (p_arg_names(i) = 'deptno') then
htp.p(p_arg_values(i));
end if;
end loop;
Thanks,
Sharmila

Similar Messages

  • How to include text lable in Variable selection screen (Web Reporting)

    Hi Experts,
    I have created one query and in Web Report-->variable selection screen I have one Date field for that field I have to display a label stating that user to input date in the format YYYY.MM(like a text label).Actually I have created 10 to 12 report . I need u r suggestion such that a single change will reflect my requirement in all the reports and I have created all the reports for same multiprovider.
    Thanks in Advance
    Yours,
    Bala

    Bala,
    Prompts can originate from one of two places:  either via Designer and using the @prompt functionality or while creating the report building a prompt in the Query Filters panel.  If the prompt was built using the @prompt method, and all 10-12 reports are using that particular @prompt, then one change via Designer will cause all reports to reflect the new verbiage.  If you built the 10-12 reports using the prompt in the second scenario, then each individual report needs to be opened, modified and then saved.  If you must use the latter method, then you can open the first report, modify the prompt verbiage, then highlight the new verbiage with your mouse and hit Control-C (which copies that text to the Clipboard of your Windows system).  Then go to the second report, locate the verbiage that needs to be changed, delete it, then Control-V (which pastes), and voila, some keyboarding strokes are saved....
    Thanks,
    John

  • Adding messages to the Variable entry screen in web report

    I need to add a message or note to the variable selection screen on a web report. I need this message or note to be displayed somewhere on the same screen with the variable list. I found something similar in BW Expert regarding pop-up messages, but this does not work with web templates. Does anyone know of a way to add a static (or dynamic) message to this initial screen of a web report?

    In my clients place, they are ready to do the SAP Mod based on "CL_RSR_WWW_VARIABLE_SCREEN" to have a Alert Message which sort of based on different idea.
    Does anyboay have an idea on where to make the change?
    Thanx
    Arun

  • BI report not displaying Variable selection screen on UI

    Hi,
    We have recently upgraded our CRM to 7.0, but the strange thing is the BI reports are executing without giving the user the variable screen.
    Now the alternative to this is making the variables in BI section Mandatory and they show up in the report, but this is not the correct way.
    Are we missing some piece of configuration somewhere.
    Regards
    Lalan

    Hi Vinayak,
    Do you know how can I get the variable selection screen to display in BI analyzer when I execute the report from backend BW system and it launches BI analyzer. I know we can go into Add-Ins and from toolbar we can go into Change Variables Values icon, but I would like selection screen to display as default when user runs the report from backend.
    Thanks
    Divya

  • Filter value for variable selection screen

    Hi & help !,
    This could be a tricky or an easy question, but it seems too hard for me !
    I'm storing version in my cube, and have a report which shows informations for the version you select (with a variable = ZVERSION01).
    ex :  Version :
    V01
    V02
    V03
    V04
    When report is executed i have my variable selection screen (for variable ZVERSION01) which give all version [V01 -> V04]. But i want users have no access to version V01 & V02.
    Variable ZVERSION01 is "single selection", i tried to filter with Default Values screen or Characteristic Restriction screen but it doesn't work.
    ex : caracterisitic restriction screen : VERSION = !V01 / !V02
          default value screen : variable VERSION = ZVERSION01
    Any idea?
    Thx

    Hi,
    In BI 7.0 there is Anaylysis authorisation RSECADMIN transaction. That you can use here or normal role concept will also do.
    What you need to do is grant authorisation to the users for V03 and 04 version only and create 'Authorisation' type variable on version in the query. (type of variable - it asks while creating the variable). This way users will only be able to see authorised versions only.
    Note you have to make version infoobject as Authorisation relevent infoobject. ( in infoobject properties).
    Let me knw if you have any doubt.
    Regards,
    Viren

  • Need to skip the variable selection screen when using dropdown

    Hello Friends,
    I have created a web template having a dropdown, a table and a text element. Basically I am trying to follow the guide "How to Use a Dropdown Box to Set Variable Values". It shows how to select values for a variable using dropdown.
    NOTE: The guide can be found here:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2642ab90-0201-0010-9193-d59de66cbab4
    What is happening is when I select a value for the variable in the dropdown, the correct url is getting formed but instead of displaying the report using the selected value, the variable selection screen appears. Given below is the url that gets formed:
    http://abcdev.wdf.sap-ag.de:8000/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&REQUEST_NO=3&CMD=PROCESS_VARIABLES&SUBCMD=VAR_SUBMIT&VAR_NAME_1=TSTPEROD&VAR_VALUE_EXT_1=04.2007
    Please assist me to get rid of the variable selection screen. Thanks!
    Regards,
    Prem.

    Hello Ray,
    Thanks for your reply. This has partially resovled the issue. I have awarded you points for that. Now I am able to skip the variable screen.
    However, the query results are not getting refreshed. I wanted to restirct the values based on the value given in the variable selection (In my case the dropdown box). Somehow I am not able to link the dropdown with the variable or the "SAPBWOpenURL(url);" function is having some issues.
    Please assist. Thanks!
    Regards,
    Prem.

  • Caption in the Variable Selection Screen

    Hi,
    I have my queries in web templates on WAD. I want to attach a description for each report which shows on the top of the selection screen, how can I do it. For example i have a P&L monthly report with the selection screen include a selection for Fiscal Period and GL Account, I want to have the caption :
    "P&L Monthly". How can I achieve this
    Thanks
    Rashmi.

    Hi,
    I have tried it but it is showing the caption once i enter the variables and get into the web template. I want it to show on the variable selection screen as well. How can i do it
    Thanks
    Rashmi.

  • 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

  • Urgent: Custom Text in Variable Selection Screen

    Hi Experts,
    I know that it is not recommended by SAP to customise the variable screen, I am sorry but that is ridiculous coz there are no alternatives provided for even simple editing. I''ve searched every where in SDN to find a way to simply add a custom text element in this bizarre screen.
    I need to do that because I have to group variables that look similar in a container and add some instructions to users on how to base their selections.
    I am also not sure what exactly the web item whcih is behind this selection screen or perhaps if it is another web template that is being invoked by the standard template ""0analysis_pattern"" and if any what is that web item invoking it.
    If you have any clues of how i can achieve this please adivce as soon as you possibly can.
    Points will be assigned.
    Cheers,
    Jad
    Edited by: Jad on Apr 30, 2008 8:27 AM

    Hello,
    To customize your variable screen you should neeed developer access key..you can see whether you have got or not in table Devaccess..
    Personalisation of variables is for saving all inputs for future use. ( In your case save without any pre determined values )
    Below PDF link will surely answer your doubts.
    http://www.ies.state.pa.us/imaginepa/lib/imaginepa/mso2.pdf
    The personalization option can be activated in the system (using the program RS_PERS_ACTIVATE or the IMG guide (BW Customizing Implementation Guide -> Business Information Warehouse -> Reporting-Relevant Settings -> General Reporting Settings -> Activate personalization in the BEx).
    You can manage your personalization variable through BEX Analyzer "Change Variable Values" menu option "Business Explorer --> change query --> change variable values.
    [variables|http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/frameset.htm]
    Go through this link for making cange in Variable selection screen..
    Re: No Text displayed in the Input help in WEB
    For creating the Web Template..
    Go the web application designer, create a new web template in the template
    in the left hand side you will find web items , from there drag and drop table , navigation block for your navigation attributes and in the table you have to assign the data provider
    for that first you have to do
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="your query name"/>
    <param name="INFOCUBE" value="your cube or multiprovider name "/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    now you can asssign the data provider 1 to the table.
    you can all the neccessary things you want , like check box, radio button group, charts etc.
    while saving this save it in a role.
    If you want to do this for a workbook, which has been created in the BEx Analyzer, do the following:
    After embedding the query in the workbook, right click -> choose 'properties' in the context menu -> click the 'interaction' tab -> check the 'save and reuse variable values' option.
    After doing this, once the workbook or query is refreshed, the already entered variable values are taken.
    Also see
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5529e09411d2acb90000e829fbfe/frameset.htm
    Hope it helps you,Revert me back if you have any queries
    Assign points if helpful
    Regards
    Bala
    http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm

  • Display Longtext in variable selection screen (web)

    Hi Guys,
    I wanted to know if there is a way of having the long text displayed in variable selection screen instead of text in a web report?
    Thanks,
    Doniv

    Hi Doniv,
    This might help:
    Re: No Text displayed in the Input help in WEB

  • History of user Input values in variable entry screen

    Hi Experts,
    I have a small issue. I have a variable entry screen where I select values from the list. I can always see the history of variable values I input earlier when I click on the dropdown box. For example the country code displays all my previous inputs.
    Similar to the web browsers history.
    Not the same case with Fiscal Year/Period. I do the same type of selection  from the combo box for example 12.2006. I give different values again like 1.2007, 2.2007 etc and run the report several times. But it doesn't show up the history of my previous entries unlike the country code.
    Kindly help, points assured.
    Thanks,
    Raj.

    What we've done isn't pretty, and I'm hoping for a better solution.
    We've developed 3 ODSs that we've exported a full list of all attributes and their values to.  Each ODS is identical.
    We've then created an InfoSet to link the Product Cube to each of the 3 ODSs.  We can then add 3 variables to the query representing each ODSs.  Since the ODS holds over half a million attributes, we limited it to 3 since it takes 30 minutes to run.
    It's not elegant, it's not pretty, and I'm sure it's not optimal.  I'm hoping someone can describe a better solution.

  • # value in Variable Selection screen

    Hello,
              Can you please help with the below:
    How do we remove # (Not Assigned) value from Variable selection screen. When I select PLANT in one of the  report, I see # value. But there are no empty values in the cube. So, I am not sure as why I am getting this # value in Selection Screen.  The seeting in Web designer for READ MODE is "Posted Values" and  not  "Master data or Dimension Table".
    Thanks.

    have you checked what Bex properties are set in the Info Object for "Query Def. Filter Value S"
    Select Values from Info provider.
    that might solve your problem. But ensure you're not disturbing anything else by changing this property.
    Regards, Siva
    Message was edited by:
            Siva Bonam

  • Prob in Submit Report via Selection screen.

    Hi,
    I have to submit a report via selection screen.
    The report name is detemined at run time.
    This i am able to handle easily as we can use SUBMIT (V_PROG)...
                                   WHERE V_PROG contains the name of the report that i get at runtime...
    Now the issue :::::::
    I have to also populate a select-options on the called report on submit.
    usually this is done by :
                                                SUBMIT (V_PROG)
                                                name of select-option in itab...
    However in my case the name of the <name of select-option> is also detemined at runtime say PNPPERNR.
    Now if i use any variable / field symbol for the name of the select - option (like for the called program), it does not work (the called report does not have the values i populate in ITAB for the particular select-option)
    I have also tried Macro but cant find solution...
    ANY IDEAS ??

    Hi Anuj,
    When you are getting the report name in runtime, you can also get the report selection screen information during runtime.
    Now how are you going to decide which values you will move to which selection screen variables of which report? If you have a way to determine this, then here is a program that works on that assumption.
    REPORT ztest1 .
    DATA: i_seltab          TYPE TABLE OF rsparams WITH HEADER LINE,
          i_selections_info TYPE TABLE OF selinfo WITH HEADER LINE.
    DATA: v_report LIKE sy-repid,
          v_matnr  LIKE mara-matnr.
    PARAMETERS: p_rep1 RADIOBUTTON GROUP rad DEFAULT 'X',
                p_rep2 RADIOBUTTON GROUP rad.
    SELECT-OPTIONS: s_matnr FOR v_matnr.
    START-OF-SELECTION.
      IF p_rep1 = 'X'.
    *-- some criteria to determine the name of the report
        v_report = 'ZTEST2'.
      ELSE.
        v_report = 'ZTEST4'.
      ENDIF.
    *-- get the parameters for the report
      CALL FUNCTION 'RS_SELECTIONS_DESCRIPTION'
           EXPORTING
                report              = v_report
           TABLES
                selections_info     = i_selections_info
           EXCEPTIONS
                no_selections       = 1
                report_not_existent = 2
                subroutine_pool     = 3
                OTHERS              = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT i_selections_info WHERE name = 'S_MATNR'.
    *-- some criteria based on which, move the values from this program
    *   to the called program
        CLEAR i_seltab.
        i_seltab-selname = i_selections_info-name.
        i_seltab-kind    = i_selections_info-kind.
        i_seltab-sign    = 'I'.
        i_seltab-option  = 'EQ'.
        i_seltab-low     = s_matnr-low.
        i_seltab-high    = s_matnr-high.
        APPEND i_seltab.
      ENDLOOP.
      IF NOT i_seltab[] IS INITIAL.
        SUBMIT (v_report) VIA SELECTION-SCREEN
                WITH SELECTION-TABLE i_seltab .
      ENDIF.
    If this works for you, please reward and close the post.
    Regards,
    Srinivas

  • Edit variable selection screen

    Hi,
    I want to edit the variable selection screen in WAD 7.0 (change width of colums).
    Can anyone give me the template-name?
    Michel

    As quoted from http://sapfans.com/forums/viewtopic.php?f=16&t=221261
    saw this thread on SDN: SAP Business Explorer (SAP BEx)
    Question:
    Hi,
    Most of our BW reports use one Web Template. When the variable screen pops up, the header shows "Variables for Ad Hoc Report" instead of the name of the report that were are executing from the role folder.
    Does anybody know how can I get the title of the report to show instead of "Variables for Ad Hoc Report"?
    Thanks for your help!
    Helena
    Answer from SAP Employee Heike Guder:
    Hi Helena,
    sorry, but this is only possible with modification in class cl_rsr_www_variable_screen method FILL_OPEN_FORM(no customizing for this)
    Heike
    If you are really into it you might want to start diggin in that class and if do - please let us know the result of it.
    Cheers,
    Skibum

  • Question on WAD's "Variable Entry" screen values

    Hi,
    I've one Web Template Report contains "Variable Entry" screen.
    It has one entry for Plant.
    Also inside a report I'm having one DropDownList that is for  Plant only.
    My Requirement is:
    If I enter some "1000" as a input in Plant at Variable screen, that same "1000" should be passed inside the report. And that corresponding DropDownList should show the "1000" as the selected value.
    Now I'm getting "Show all values" as the default selected item.
    Kindly suggest to achive this requirement.
    Full points will be given.
    Thanks
    -Jay Jay

    Hi,
    1)If i didn't give any value in Variable Entry screen, in the result DropDownList shows "No data" in disabled mode.
    Ans. Since you have not checked "Display All Values", i think if you dont give any selection in the Variable Screen, the DropDown box will not be highlighted.
    2)The Selected plant Not only having Name and id, But also having all characteristics like, 1402,Pen,Business Partner: xxxxx, Distribution channel:xxx, etc.,
    Ans. Since we are reading from the Master Data, i think all these values will also be displayed.
    I still dont know if you are using WAD 3.5 or 7 ? Maybe we have better options in 7. You can try with different properties.
    Hope it helps.

Maybe you are looking for