Issue with BEx selection screen

Hi Gurus,
We recently upgraded from BW 3.5 to 7.0. After the upgrade, while running the BEx queries the selection screen is not popping up and the query runs without the selections in it. Then the report errors out.... " Error Specify a value for variable XXXX".
Apparently, the query runs fine with selection when executed on WEB.
Did anyone of you come across with this issue..
Thanks
James.

Hi Guys
Run your query without the variable ,Try by removing the restrcition , if it is working fine without the variable then
I would suggest to check your  variable once again like
      Check if 'Ready for input' check is checked for the respective variable,
       Remove the restriction ( drag out the variable )
      check your variable once again with all the setting and variable type
OR create a new varilable, if it is a customer exit type then check ABAP code written for populating values.
let me know if this helps,
cheers
sukhi

Similar Messages

  • Issue with AT SELECTION-SCREEN ON event

    Hi Experts!!
    In the below code, p_jan, p_feb are showing as blank though they are filled in. Is this how this event works?
    PARAMETERS: p_categ TYPE zpycateg,
                             p_jan TYPE sy-datum,
                             p_feb TYPE sy-datum.
    AT SELECTION-SCREEN ON p_categ.
    IF NOT p_jan IS INITIAL.
    ENDIF.
    Please help me out.

    Hi
    That event works for P_CATEG, here other parameters of the screen can't been seen.
    If you want to do a validation has to check several parameters of a selection-screen you should use the event AT SELECTION-SCREEN.
    Anyway if you think it's better the event AT SELECTION-SCREEN ON <screen field>, the values of other fields can be picked up bu fm DYNP_VALUES_READ
    AT SELECTION-SCREEN ON P_CATEG.
      DATA: T_FIELDS TYPE STANDARD TABLE OF DYNPREAD WITH HEADER LINE.
      T_FIELDS-FIELDNAME = 'P_JAN'. APPEND T_FIELDS.
      T_FIELDS-FIELDNAME = 'P_FEB'. APPEND T_FIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME     = SY-REPID
          DYNUMB     = SY-DYNNR
        TABLES
          DYNPFIELDS = T_FIELDS.
      READ TABLE T_FIELDS WITH KEY FIELDNAME = 'P_JAN'.
      IF NOT T_FIELDS-FIELDVALUE IS INITIAL.
      ENDIF.
    Max

  • Issue with At selection-screen output

    Hi,
      I tried in SDn to find suitable thread atlast i am creating query here.
    My requirement is: i have two radiobuttons.
    when i click first radiobutton it hasto show one selection screen it contains pernr and bukrs
    when i click second radiobutton it has to show second selection screen . This screen includes personnel area and Wage type
    Thanks,
    Maheedhar

    Use "AT SELECTION-SCREEN OUTPUT" and distinguish them with "MODIF ID"
    Code flows like this:
    PARAMETERS r_online RADIOBUTTON GROUP g1
                         USER-COMMAND ex DEFAULT 'X'.
    PARAMETERS r_batch RADIOBUTTON GROUP g1.
    PARAMETERS r_down RADIOBUTTON GROUP g1.
    PARAMETER: p_bukrs LIKE t024e-bukrs OBLIGATORY
                       DEFAULT 'US60'.
    SELECT-OPTIONS: s_werks FOR marc-werks.
    PARAMETER: p_vari TYPE slis_vari MODIF ID md5.
    PARAMETERS: p_a_file LIKE rlgrap-filename
                         DEFAULT '/transfer/us6/ZUS6MM04_MatPlt'
                         MODIF ID md2.
    PARAMETERS: p_h_file LIKE rlgrap-filename
                         DEFAULT '/transfer/us6/ZUS6MM04_MatPlt_HDR'
                         MODIF ID md2.
    PARAMETERS: p_hfile1 LIKE rlgrap-filename
                         DEFAULT '/transfer/us6/ZUS6MM04_MatPlt_HDR'
                         MODIF ID md3.
    PARAMETERS: p_hfile2 LIKE rlgrap-filename
                         default 'C:\Transfer\US6\ZUS6MM04_MatPlt_HDR.txt'
                         MODIF ID md4.
    * AT SELECTION-SCREEN EVENTS
    AT SELECTION-SCREEN OUTPUT.
      PERFORM modify_screen.
    *&      Form  MODIFY_SCREEN
    FORM modify_screen .
      LOOP AT SCREEN.
        IF r_online  = 'X'.
          IF screen-group1 = 'MD3' OR
             screen-group1 = 'MD4' OR
             screen-group1 = 'MD2'.
            screen-active = '0'.
          ENDIF.
        ELSEIF r_batch = 'X'.
          IF screen-group1 = 'MD3' OR
             screen-group1 = 'MD4' OR
            screen-group1 = 'MD5'.
            screen-active = '0'.
          ENDIF.
        ELSEIF r_down = 'X'.
          IF screen-group1 = 'MD2' OR
            screen-group1 = 'MD5'.
            screen-active = '0'.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " MODIFY_SCREEN

  • Issue with CALL SELECTION-SCREEN

    Hi experts,
    I am working on a report.
    Here on the selection screen , based on the selection of some radiobuttons ,i want to call a secondary selection screen.
    So i am using the following program code ,
    AT SELECTION-SCREEN on BLOCk blk.
    IF p_abc  =  c_x.
        CALL SELECTION-SCREEN 100 STARTING AT 20 5.
        IF sy-subrc <> 0.
          MESSAGE text-011 TYPE c_e .
        ENDIF.
      ENDIF.
    so currently , once i complete my slection on the screen 100 , the popup screen stays there and rest of the programing logic is executed correctly.
    My issue is that , once i complete my slection on the screen 100, i want that the pop up should be closed
    And then the the rest of the program logic should continue.    
    please guide me how ,this can be done.
    Regards,
    Rajesh Kumar.

    Hi
    The event AT SELECTION-SCREEN and AT SELECTION-SCREEN ON BLOCK  are very similar, only the second event see the part of selection-screen defined in the block.
    This events are triggered as soon as the user does something: so press ENTER, F8,........
    If u want the second-selction screen is shown once and the main selection-screen has to be displayed under the second one, u can try to run the second one only if the report has to run, so if the user has pressed F8, code ONLI.
    AT SELECTION-SCREEN on BLOCk blk.
    CHECK SY-UCOMM = 'ONLI'.
    IF p_abc = c_x.
      CALL SELECTION-SCREEN 100 STARTING AT 20 5.
      IF sy-subrc 0.
         MESSAGE text-011 TYPE c_e .
      ENDIF.
    ENDIF.
    In tihs way the rest of the program will be executed, else u need to move all code of the event START-OF-SELECTION and END-OF-SELECTION in the event AT SELECTION-SCREEN, or, just as I said before, to move the calling of POPUP to event START-OF-SELECTION.
    Max

  • BEX Selection screen in an endless loop when pressing the Check button

    Hello SDN
    Has anyone faced this issue before where the BEX selection screen seems to get its knickers in a twist and goes into an endless loopp when the Check button is clicked? It goes through fine if I directly hit execute.
    Anyone ? Any ideas ?

    Never seen it before but here is something to check..
    Does the query have a variable with processing type of customer exit. If yes, look at the user exit code in step 3  which is used for input value validation.
    Vineet

  • Change of variable text in BEx selection screen

    Hi all,
    in our BW system the key users are allowed to create queries and also create variables. In some cases, especially for often used info objects like 0DATE the number of variables is increasing very quickly. The reason for this is, that 0DATE is used for a big variety of meanings e.g. delivery date, order date, invoice date etc.
    So the users always create new variables only to have a meaningful description in the BEx selection screen, because they do not want only "date" to be displayed here. As result we have many different varianbles with exactly the same technical settings with only different names.
    So my question is: Is it possible to change the diplayed text in the selection screen for each query without having to create a new variable?
    Thanek you and best regards

    Hi Stephan,
    Changing the diplayed text in the selection screen for each query is not possible.You have to create a new variable for each query.
    Rgds,
    Murali

  • 'Text' of a variable in Bex selection screen

    Hello,
    We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
    In Bex selection screen i am not getting text of default/entered months.
    for example: if default value is 2 to 4,then text would be FEB to APR.
    what could be the reason?how to get teaxts of entered values?
    (we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
    In web it is working fine.
    Rakesh

    Hi,
    Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it  helps.
    Regs,
    Vachan

  • Issues with Bex query structures and Crystal Reports/Webi

    Hi experts,
    I'm having an issue with Bex Query structures and nulls. I've built a Crystal Report against a Bex query that uses a Bex Query structure. The structure looks like the following
    Budget $
    Budget %
    Actual $
    Actual %
    Budget YTD
    etc
    if I drag the structure into the Crystal Report detail section with a key figure it displays like this
    Budget $     <null>
    Budget %     <null>
    Actual $     300
    Actual %     85
    Budget YTD     250
    the null values are displayed (and this is what is required). However if I filter using a Record selection or group on a profit centre then the nulls along with the associated structure component are not displayed.
    Actual $     300
    Actual %     85
    Budget YTD     250
    Webi is also behaving similarly. Can anyone explain why the above is happening and suggest a solution either on the Bex side of things or on the Crystal Reports side of things? I'm confused as to why nulls are displayed in the first example and not the second.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Crystal Reports 2008 V1
    Thanks
    Keith

    Hi,
    Crystal Reports and Web Intelligence will only show data which is in the cube. You could have an actual 0 or Null entry whithout grouping but by changing the selection / grouping in the report the data does not include such entry anymore.
    ingo

  • Issue with Hierarchy selection in Filter area

    Hi experts,
    We have an issue with BEx query selection.
    Structure of Quey
    1. Filter Area
    => Characteristic Relations : Restriction condition with hierarchy
    2. Rows
    => Display characteristic with hierarchy active
    3.Columns
    => Formula with keyfigure using sign reverse of hierarchy (formula variance).
    <symptom >
    When I use context menu, "Keep filter value", with the displayed hierarchy node,
    and drilldown with other characteristics, the result became wrong. Filter value I kept became inactive.
    Workaround I found was like belows.
    1. Remove sign reverse calculation in Formula.
    2. Keep sign reverse calculation and move restriction condition with hierarchy in filter area TO default values.
    I wonder this symptom was right technically or bug ocurred after version upgrade or something.
    Thanks in advance.
    BEx BI Addon 7.X(based on 710)/SP11 Revision 634

    Hi
    This depends on the logical database that the report is based on. Secondly I have experienced that the report variant overwrites the date selections and therefore it looks like that the dates are not parsed (which I think is your problem).
    For e.g. logical PHP and PHPCE both the period and data dates are filled with the data selection from the portal. (check on the report attributes in SE38 which logical DB used) For e.g. PTRVP (travel) no date are passed at all in the call of the report!!
    To make sure that the report variant isnu2019t overwriting I normally set the variant for the report to u201CSave field without valuesu201D for the date selection periods and then it isnu2019t filled by the variant.
    Data selection period
    Data selection period: Start
    Data selection period: End
    Employee selection period
    Employee selection period: Start
    Employee selection period: End
    Regards,
    Lars

  • BEx Selection screen Hierarchy display (text - key)

    Hi,
    We have a new query deployed that uses several hierarchies in the selection screen.
    When running the reports, the drop down for the hierarchies on the variable selection screen displays the full text. 
    However, the users are more familiar with the key value and would prefer to see that.  In the actual report, the keys are displayed.
    I am trying to find where the default display can be set for the hierarchies on the BEx selection screen so I can show the key values?
    Thanks!
    Darryl
    Edited by: Darryl Goveas on Nov 16, 2011 12:14 PM

    Create a FM like below and a wrapper for it so you can call it as part of process chain; we load all of our hierarchies then call this:
    FUNCTION ZBW_CHANGE_HIER_DISPLAYNAME.
    ""Local Interface:
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
      data: hieid(25) type c,
            hienm(30) type c,
            lgtxt(60) type c.
      RETURN-TYPE = 'I'.
      RETURN-ID = '01'.
    Select each hierarchy from list table
      select nhieid nhienm t~txtmd
      into (hieid, hienm, lgtxt)
      from rshiedir as n
      join rshiedirt as t
      on nhieid = thieid
      where n~objvers = 'A'
      and   t~objvers = 'A'.
        if sy-subrc = 0.
        concatenate Key and Text
          concatenate hienm '-' lgtxt into lgtxt SEPARATED BY space.
        update table with new description
          update rshiedirt
          set TXTLG = lgtxt
          where langu = 'E'
          and hieid   = hieid
          and objvers = 'A'.
          if sy-subrc = 0.
            RETURN-NUMBER = '001'.
            RETURN-MESSAGE = 'Successfully updated Hierarchy Descriptions.'.
          else.
            RETURN-NUMBER = '002'.
            RETURN-MESSAGE = 'Error when updating Hierarchy Descriptions.'.
          endif.
        else.
          RETURN-NUMBER = '003'.
          RETURN-MESSAGE = 'Error when selecting Hierarchy Descriptions.'.
        endif.
      endselect.

  • BEX Selection Screen Authorisations

    Hi all,
    I have developed a new authorisation role for a demand planner in APO. Part of its function is to allow the user to run a BEX report on a remote cube. This is working, apart from the selection screen when running the BEX query does not appear. This is NOT due to personalisation of variables.
    When I grant the same user the SAP_ALL profile, the selection screen appears when repeating this test. I have ran traces and gone through the SAP_ALL profile and ensured that every BW object I could see existed in my new role.
    Sadly I have not reached an answer as to what is missing in my role. Any ideas?
    I appreciate any help you can give on this matter.
    Kind regards,
    Nick

    Hi Ravi,
    There is one characteristic in the query that I've made authorisation relevant, 'Sales Org'. I have added the associated authorisation object to the role and as a test I've also given full access to this object in PFCG. This is why I would still expect it to prompt me with a selection screen.
    Sadly this is not the case. Do you have any other ideas? I do believe it is to do with at least 1 other SAP standard authorisation object, I just can't find which one it is.
    Thanks, Nick

  • How to replace the existing selection screen with new selection screen

    Hi,
    I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
    Can anybody guide me, How to do replace one slection screen with different selection screen.
    and one imp thing is this selction screen is populating with dynamic fields on it.
    Regards,
    Mrunal

    As I can understand you want to make some of the screen field to disable or visible on screen  depending upon the interaction of user with screen 1.
    You may use this example code in PBO of screen 2.
    LOOP AT SCREEN.
        " action has been taken to modify the area office screen as per the option chosen at screen 99.
        CASE ACTION.
            " if the user has taken up the option of UPLOAD
          WHEN 'UP'.     " screen processing while we upload the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'DN'.      " screen processing while we upload the approved plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'VW'.      " screen processing while we view the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
            " and hide the file input field
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.

  • Issues with BEx Reports in SAP Enterprise Portal

    Hello Experts,
    I am facing issues with BEx reports integrated in portal. Below are more details:
    Scenario 1:
    Execute a BEx report in the portal, save it in 'My Portfolio' using 'Save As' button. Now open the saved report from 'My Portfolio'. Below is the issue for this scenario:
    When I open the saved report, I get 2 error messages and 1 info message at the top of the report. They are as follows:
    The metadata of 'ITE' 'TEMPLATE_PARAMETERS' are incorrect for parameter 'COMMAND_PROCESSING'
    The metadata of 'ITE' 'FILTER_PANE_ITEM' are incorrect for parameter 'TEXT_WRAPPING'
    Variables for characteristic Fiscal year/period[0FISCPER] cannot be processed
    Scenario 2:
    Execute a BEx report in the portal, save it in 'BEx Portfolio' or 'Favourites' using 'Save As' button. Now open the saved report and click on 'Send' button. As expected, the BEx broadcaster wizard should appear but, it shows '400 BAD HTTP REQUEST'. While if I open the report (not the saved one) and click on 'Send' button, it works.
    Helpful pointers appreciated.
    Thanks
    Vikash

    HI Suman,
    I am not adding the report to favourite using browser favourite. Below is the flow:
    Run the report in portal.
    There is a 'Save As' button at the top of the report. When I click that button, I get a pop-up with 3 tabs  for saving the report.:
    Favourite
    BEx Portfolio
    My Portfolio
    save the report in the favorites or BEx portfolio tab and then open it and press 'Send' button
    BEx Broadcaster Wizard should appear but instead of that, it shows '400 BAD HTTP REQUEST'.
    If I press send for unsaved report, then BEx broadcaster Wizard is shown.
    Thanks,
    Vikash

  • Issue with Exclude Selection in Bex

    Hi all,
       I have created a query to display the Top 10 Customers.
    Here I have excluded all the customers apart from the Top 10 since they differ
    based on different regions. There are 4 different regions and the customers differ
    for all of them. Here the issue being I dont get the exact percentage of Orders and
    Sales because of these excluded values. Here I cant use include selection since i
    need different top 10 customers for the 4 regions.
        How to compute percentage with Exclude Selection? Could anybody help?
    Points would be surely assigned.
    Regards,
    Sunitha.R

    Dear Anil,
         I have my Orders, Sales, percentage calculations in columns and the excluded
    Top 10 customers in rows. I get the individual percentage values for each customer.
      My scenario being :
      Orders 06  : Values computed with Calculate Result as Summation - Properties.
      Orders 07 : Values computed with Calculate Result as Summation - Properties.
      Orders % : Here I have given Calculated Result as Nothing - properties.
           I get the individual percentages say :
         <b>                  Orders 06              Orders 07        Percentage</b>
    <b>Customer 1 : </b>       12.1                       91.2                    75.5
    <b>Customer 2 :</b>          7.6                          7.9                   104.3
    <b>
    Overall Result:</b>         19.7                         99.1                 Wrong Value
        Considering the above example, total percantage is computed wrongly. The excluded value's total is not considered at all. Can you now give me your suggestion?
    Regards,
    Sunitha.R

  • Display compounded InfoObject value in BEX selection screen

    Hi people,
    Problem in 7.0
    I have Costcenter compounded with Plant and I am using Costcenter for Selections in the BEx varaible screen.
    After running the report, in the selection screen value help, only the value of Costcenter is displayed, not the compounded value (So it becomes very difficult to identify from which plant  the costcenter is from)
    What should I do so that the User sees as Plant/Costcenter in the Value help?
    Problem in 3.5
    The above issue is not there in 3.5, but.......
    I select COSTCENTER X from PLANT A and execute the report. In the report output, I do not see the records only for COSTCENTER X from PLANT A, but for COSTCENTER X from all Plants
    why is this? Is it how this works or is it a bug?
    Please help. I appreciate your assistance very much.
    Thanks,
    Shameem

    Hey there,
    Please understand the behaviour of compounded keys from the below notes:
    1111632   Problem with text display in BEx Query Designer
    1080863   FAQ: Input helps in Netweaver BI
    541253    Restricting characteristics with compound characteristics
    575563    Selecting filter values for compound characteristics
    Hope this can help,
    Diego Seben

Maybe you are looking for