Bex query. Select single values in variable time out.

I have created a variable on characteristic 0profit_ctr which works fine for all queries on all Infoproviders except for one.  With this particular Infoprovider, which is a DSO when the option to show u201CSingle Valuesu201D is selected in the variable screen the query just hangs and eventually time-outs. I have tried including the DSO in a mult-provider but still have the same issue. The variable works on other DSOu2019s with exactly the same settings. This DSO has less data than the other DSOu2019s which work fine.
I know that 0profit_ctr is compounded with 0co_area which I have tried restricting with no change in the result.
I would be grateful of any ideas.
Thanks
Jenny

Hi Durgesh.
I checked the settings and although they were the same as other infoproviders I changed the query filter value to use the values in the master data table and this has solved my problem.
Thanks for your tip.
Regards
Jenny

Similar Messages

  • How to get option select single Values in select options

    Hello All,
    I have a requirement where, in select-options i should avoid the range selection and should have only select single values option. User wanted to give the list of 10000 materials by using copy and paste as we have in normal abap with pase clip board option.
    Please let me know if you need any further clarification. your quick response would be highly appreciated.
    Thanks
    Raj.

    Thanks for the reply, I have already done this but when you add values to it at a time 1000 material information we can not add.
    so you go to selection screen and you have only one input box with arrowe button. click on the arrow and then you will get the screen where it will ask you to add five records and that to ranges.
    but if you click the same arrow in normal selection screen of SAP you get 4 tabs in which first tab will be select single values.
    and there by using copy from notepad option we can add how many entries we want.
    Let me know if you need any further clarification to understant the requirement.
    Thanks,
    RaJ.

  • BEx query selection screen takes long time to popup

    Hi,
    I have a query which is taking long time to popup the selection screen. I have tried in RSRT the generate report option, the generating report takes 45 to 60 mins. After the report is generated the query selection screen comes up in couple of seconds. The first time I run the query everything its fine but then for the second time the problem comes back again.
    The selection screen takes +/- 40 mins to comes up in RSRT and in the portal it times out.
    I have run the statistics of the query and according to the statistics report the query takes a  lot of time for the following component :
    OLAP: Query Gen.     2681,312682
    I have removed the query from the cache monitor and after that regenerate the report. But these steps didnu2019t solve my problem.
    I made two test queries, in one query I have made the CKFu2019s and RKFu2019s directly at the infoprovider, and dragged and dropped in the KF structure. In the other query I made the CKFu2019s and RKFu2019s in the query KF structure itself. The query where I have the CKFu2019s and RKFu2019s at the infoprovider that query times out, the other query where I put the CKFu2019s and RKFu2019s in the query KF structure doesn't has this performance problem.
    What I donu2019t know is why the query is failing when I use RKFu2019s and CKFu2019s from the infoprovider, the other query donu2019t have this problem.
    Please advise how to proceed.
    Thanks in advance,
    Arash

    Hi,
    Please check the following notes which should be useful.
    1387593 - Performance optimization for query change/generation
    1416737 - Performance optimization for query change/generation(2)
    1396485 - Performance optimization for query check/save
    Then please execute the SE38 report ANALYZE_RSZ_TABLES (see notes
    1472915, 1506560) and repair/correct the different tables to optmize
    the query definition tables.
    Regards,
    Amit

  • F4 help on Bex query selection screen

    Hi,
    On the selection screen of a particular field of  Bex query , if the user selects F4 help (input value help), typically it picks up all values in the infoprovider for that field.
    Is there any way to retrict those values.
    Eg : Cube has values A, B , C for field A .
    When the user selects value help on field A of the Bex query written on the cube, the requirement is to show only A and B.
    thanks.

    Hi,
    We do this in our project:
    you can use BW Reporting Variable type Auth Exit.
    In the Step 0, you define what are allowed for that user. It will then automatically show only auth.zed values.
    Best Regards,
    Suan Liono.

  • Select more value of variable in planning folder

    hi gurus,
    I'm using planning folder.
    In planning folder there is a variable that contain many value, for example 0COSTCENTER that contain 10 singles values. (from 1 to 10)
    User wants to select some values contained in variable.
    For example 2 and 5, even if it is authorized on all the cost center contained in variable.
    In this moment it selects one to the time.
    how I can make to resolve this problem?
    Thanks
    Davide

    Davide,
    sorry to say that, that'z the way BPS works.
    it's one of the BPSlimitation & many people are asking for an answer from SAP.
    as a workaround, you can do following things.
    1. user can select variable range, for example 2 to 5.
    2. create a variable with properties "user specific values" & fill in required cost centers for each user & don't check the flag "input allowed by user".
    in the 2nd option, you can assingn multiple single values to USER1.
    if u assign, cost center 2 & 5 to USER1, USER1 gets ability to plan on both 2 & 5 without even selectiing cost centers.
    3. you can even look into authorization variables & user-exit variables if they meet your requirements.
    hope it helps.

  • ABAP Query - Selection Screen Values Usage

    Hi,
       I have created an ABAP Query. For one of the selection-screen fields (CAUFV-FTRMI)
    which is select-options, I want to use the values during coding (in the where clause of a select query)
    in Extras section under the event "record processing". Please suggest how to make the the selection-screen values
    available during record processing event. Thanks in advance.
    Regards,
    Tejas Savla

    Hi Kartik,
                  I need to fetch data from some table KEKO depending on the values entered on the selection-screen for the field CAUFV-FTRMI. So, I need to find a way by which the selection-screen input values are available in the record processing event. The values are available in some variable SP$00002 of the automatically generated report program. But, this variable cannot be used in the Coding section of the ABAP QUERY. Please advise.
    Thanks & Regards,
    Tejas Savla

  • CSV in a Column, Want to select one value at a time.

    Hello ,
    Oracle Database 11g.
    I have a procedure in which i have to compare some value from a table. The problem is that the value in the table is in CSV ( Coma Separated Value).... see below
    select parameter_name,description from t_mes_configurable_parameter
    where parameter_name='DC_LOG_LEVEL'
            Parameter_Name                          Description
         DC_LOG_LEVEL                               DC log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3
    Now as you can see the description column has a CSV's. Now i want to get the values individually.
    In some different procedure i have to compare this value one - by - one.
    If DESCRIPTION = 'DC log level' or 'ERROR=0' ...... then
    -- some query --
    end if;
    Can i right any select query in which it will return me this column value as single value separating  from ' , ' (coma). ???
    Thanks in advance .

    Something like this ?
    SQL> set line 1500
    SQL> WITH test as 
      2     (SELECT 'DC_LOG_LEVEL' col1,'DC log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual UNION ALL
      3      SELECT 'EF_LOG_LEVEL' col1,'EF log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual UNION ALL
      4      SELECT 'GH_LOG_LEVEL' col1,'GH log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual
      5     ) 
      6  ----End of Test data Creation -----
      7  ---- Actual Query -----------------  
      8     SELECT DISTINCT col1,regexp_substr (col2, '[^,]+', 1, level) col2 
      9     FROM test 
    10     CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (col2, '[^,]+'))  + 1
    11     ORDER BY 1;
    COL1         COL2
    DC_LOG_LEVEL DC log level
    DC_LOG_LEVEL DEBUG=3
    DC_LOG_LEVEL ERROR=0
    DC_LOG_LEVEL INFO=2
    DC_LOG_LEVEL SYSTEM=1
    EF_LOG_LEVEL DEBUG=3
    EF_LOG_LEVEL EF log level
    EF_LOG_LEVEL ERROR=0
    EF_LOG_LEVEL INFO=2
    EF_LOG_LEVEL SYSTEM=1
    GH_LOG_LEVEL DEBUG=3
    COL1         COL2
    GH_LOG_LEVEL ERROR=0
    GH_LOG_LEVEL GH log level
    GH_LOG_LEVEL INFO=2
    GH_LOG_LEVEL SYSTEM=1
    15 rows selected.
    SQL> OR
    SQL> WITH test as 
      2     (SELECT 'DC_LOG_LEVEL' col1,'DC log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual UNION ALL
      3      SELECT 'EF_LOG_LEVEL' col1,'EF log level ,ERROR=4,SYSTEM=5,INFO=6,DEBUG=7' col2 FROM dual UNION ALL
      4      SELECT 'GH_LOG_LEVEL' col1,'GH log level ,ERROR=0,SYSTEM=1,INFO=2,DEBUG=3' col2 FROM dual
      5     ) 
      6  ----End of Test data Creation -----
      7  ---- Actual Query -----------------  
      8  SELECT col1,REGEXP_SUBSTR(col2,'[^=]+',1,1)col2,REGEXP_SUBSTR(col2,'[^=]$+',1,1) col3
      9    FROM (
    10           SELECT DISTINCT col1,regexp_substr (col2, '[^,]+', 1, level) col2 
    11           FROM test 
    12           CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (col2, '[^,]+'))  + 1
    13         )
    14     ORDER BY 1,3;
    COL1         COL2
    COL3
    DC_LOG_LEVEL DC log level
    DC_LOG_LEVEL ERROR
    0
    DC_LOG_LEVEL SYSTEM
    1
    COL1         COL2
    COL3
    DC_LOG_LEVEL INFO
    2
    DC_LOG_LEVEL DEBUG
    3
    EF_LOG_LEVEL EF log level
    COL1         COL2
    COL3
    EF_LOG_LEVEL ERROR
    4
    EF_LOG_LEVEL SYSTEM
    5
    EF_LOG_LEVEL INFO
    6
    COL1         COL2
    COL3
    EF_LOG_LEVEL DEBUG
    7
    GH_LOG_LEVEL GH log level
    GH_LOG_LEVEL ERROR
    0
    COL1         COL2
    COL3
    GH_LOG_LEVEL SYSTEM
    1
    GH_LOG_LEVEL INFO
    2
    GH_LOG_LEVEL DEBUG
    3
    15 rows selected.
    SQL> Edited by: Saubhik on Dec 20, 2010 6:17 PM

  • Bex Query timestamp InfoObjects does not display time in Webi

    A BW InfoObject, defined as NUMC14 (TIMES), will display data like "09/13/2011 13:40:26" in a Bex Analyzer query. 
    How do you get this type of display in Webi?  Currently, my webi report (based on the Bex query connection) displays the field like "09/13/2011 13"

    Hello,
    any ideas? Any additional information needed?
    Best Regards,
    Hannes

  • List of Values (dynamic parameter) times out once and then works.

    Hello.  First time posting here.  I'm having a strange (yet very predictable) issue with Crystals Reports List of Values.  The List of Values is used on a dynamic cascading prompt and is published to the BO XI R2 repository.  The prompt/list works fine when using Crystal Reports thick client, but when using the Crystal Reports viewer from InfoView the following happens everytime:
    1.  Any Report that uses the Parameter/LOV is launched.
    2.  After about 1-2 minutes, the viewer returns a "Timeout" error message.
    3.  The report is launched a 2nd time.
    4.  The parameters/LOVs display (takes about 8 seconds) and the report runs fine.
    Then anytime a report is run within a certain period of time it works ok.  But if no one runs a report for an extended period of time (i'm not sure how long, but it's on the order of maybe 30 mins.. to an hour), then it starts all over again.  In addition, if I restart the services/server this same thing will immediately occur.  (time out once, but work after that for a period of time).
    I initially did not schedule the LOV to get generated on the server and left it so that it's done in real-time when the report ran.  But then when I ran into this error, I tried scheduling it every 10 minutes or so, but the error continues to happen.
    I also restarted the server/etc to no avail. 
    I saw another post on here that was kind of similar and that suggested that starting the LOV services as a domain user (that had admin rights on the BO server) helped him.  I tried this as well and restarted everything but that didn't fix my issue.
    Any help would be greatly appreciated!
    Scott

    Just wanted to update this.
    Because I use Business Objects OEM, I didn't have direct support with SAP/Business Objects.  However, because of this issue (and other issues) we purchased Business Objects Edge 3.0.
    After getting BOE 3 installed/configured, I migrated those reports and underlying Business Views over.
    And guess what?   The problem still occurred on the new platform.
    I then created a support incident and the person that initially tried to help me couldn't figure out what was going on.
    However, during that time, I did try re-creating the report using a newer version of Crystal (Crystal 2008) and the problem went away.  (note, I didn't recreate the business views.. just the reports).
    So bottom line:
    I created all reports from scratch instead of using the reports that I migrated from BO XI R2/CR XI and no longer had the problem.
    The techs never figured out the exact cause of the issue.
    So far, my experience with their support has been the same on all incidents.  They don't seem to be trained (at least at the 1st level) for actually using the debug/logs/etc to help quickly pinpoint/analyze issues.  They do basically like I do (the end user) and smartly poke around and do trail/error.  I have yet to get a support tech that knew the exact nature of my issue and could solve it without this kind of trial/error approach.

  • Passing value change from time out

    hi,
    need help....
    i have a radio button wic change arrouding to the text in the timeout.
    if the text is 0= the radio button value will b = 1
    if the text is 5= the radio button value will b = 2
    and so on...
    in this condition ..let say for my each time out i need to check the text..and if the value is 0/5
    i need to call the " Radio Button :Value Change" event..
    how to do tis pls help. thk u
    Solved!
    Go to Solution.

    Hi Jeyanthi,
    Assuming that the string data is pulled out from a user interface, and is labeled as STRING.
     Add value change event to the STRING. 
    Check your 0/5 condition in new event case
    Now, Instead of calling the value (signalling) property, create a sub VI of the code which executes in value change event of Radio control
    call the same sub VI in STRING value change event.
    its just to delete the code from timeout event.
     Also if the problem is solved, just mark the answer as solved. 
    Message Edited by Vsh on 11-09-2009 01:28 AM

  • Missing parameters on Bex query selection screen

    Hi,
    we are using BW3.5 (support pack 18) and one of our users has created a number of variants for a particular query which he executes via the Bex Analyser. The problem is, when ever he runs this query now, all the fields that he populated in his variants no longer appear on his selection screen - even if we delete all the variants.
    He did not choose to hide any fields (in the variant) and he has not set any personal values in personalisation.
    Can anyone please help?
    Thanks,
    John.

    Hi Ozan.
    Thanks for your reply however my problem was that the fields were no longer displayed on the selection screen thus there was no buttons to select for the personalisation settings therefore no way to turn off the personalisation.
    However I discovered that if I executed the query using transaction RSRT the full selection screen was displayed and I could access the personalisation buttons for the parameters that had personalisation.
    Thanks anyway.

  • Change query select option values via enhancement RSR00001

    I have got a query that calls the The enhancement RSR00001. Does anyone know if there is any way of changing the values of the selection screen variable once the user has press execute?
    I can get the values they have entered in step 3 with the table I_T_VAR_RANGE but dont seem to be able to change them and get the values back to the program.
    Any help would be much appreciated!
    Regards
    Martin

    Hi Mart,
    here's an example coding. Use step 2 (after user-input) for the coding.
    Let's say your old variable is named ZFVAROLD the new one is ZFVARNEW.
    DATA: xh_var TYPE  rrrangeexit,
          l_s_range type rsr_s_rangesid.
    CASE i_step.
      WHEN '2'.
        CASE i_vnam.
          WHEN 'ZFVARNEW'.
            READ TABLE i_t_var_range INTO xh_var WITH KEY 
                       vnam = 'ZFVAROLD'.
            IF sy-subrc EQ 0.
    calculate the new value dependend on the old value (xh_var-low).
                l_s_range-low = new value.
                l_s_range-sign   = 'I'.
                l_s_range-opt    = 'EQ'.
                CLEAR e_t_range.
                APPEND l_s_range TO e_t_range.
             endif.
    That's it! Just let me know if you need more information.
    Regards
    Nicola

  • Selecting single value using for all entries.

    Hi Experts,
    I want to know that is it possible to fetch only the first record for a particular condition while using for all entries.
    For ex:
    Suppose i got 10 different vbeln from vbak table into my internal table it_vbak. For a particular vbeln there can be multiple records in vbap table.
    Now i need to fetch only the first record which is getting from vbap table for different vbeln while using 'for all entries in it_vbak where vbeln = it_vbak-vbeln'. Is it possible?
    Thanks in Advance
    Be$t!N
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Nov 17, 2009 9:38 AM

    Hi Rob Burbank,
    Thanks..
    You are correct.. If that is the scenario in their company... Again it depends on the configuration and business process.. But it's possible that they may need to delete first on any line item after creation of sale order..
    In that case below solution will work..
    IF IT_VBAK[] IS NOT INITIAL.
    SELECT * FROM VBAP
    INTO TABLE IT_VBAP
    for all entries in it_vbak
    where vbeln = it_vbak-vbeln.
    ENDIF.
    SORT IT_VBAP BY VBELN POSNR.
    LOOP AT IT_VBAK INTO WA_VBAK.
    READ TABLE IT_VBAP INTO WA_VBAP WITH KEY VBELN = WA_VBAK-VBELN.
    IF SY-SUBRC = 0.
    APPEND WA_VBAP TO IT_VBAP2. " Another Internal table which stores only first record
    ENDIF.
    CLEAR : WA_VBAP.
    ENDLOOP.
    OR
    IT_VBAP3[] = IT_VBAP[].
    SORT IT_VBAP3 BY VBELN POSNR.
    DELETE ADJACENT DUPLICATES FROM IT_VBAP3 COMPARING VBELN.
    Now Table IT_VBAP2 and IT_VBAP3 will be having only first line items for all sales orders..
    Do some little changes in the code as per your requirement.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Select column value with variable

    I want to select some data from tables . For that , i write this procedure :
        create or replace procedure find_and_insert
          colname varchar2(4000);
          var varchar2(4000);
          colval varchar2(4000);
        begin
          colname := 'COUNTRY_ID';
          var := 'select distinct(colname) into colval from HR.countries where colname = '||'AR'||';';
          execute immediate var; 
        end;
    But it can not work . It return 'COUNTRY_ID' into colval , not data of COUNTRY_ID ; Can anyone help me ?

    It is not clear what you are trying to do, but it looks like:
    declare
        v_colname1 varchar2(30);
        v_colname2 varchar2(30);
        v_var varchar2(4000);
        v_colval varchar2(4000);
    begin
        v_colname1 := 'COUNTRY_ID';
        v_colname2 := 'COUNTRY_NAME';
        v_var := 'select ' || v_colname2 || ' colval from HR.countries where ' || v_colname1 || ' = :1';
        execute immediate v_var
          into v_colval
          using 'AR';
        dbms_output.put_line(v_colval);
    end;
    Argentina
    PL/SQL procedure successfully completed.
    SQL>
    SY.

  • How to Execute  sql query in PL/SQL ( a variable) with out using Cursor or REF cursor

    Hi
    I am building a dynamic query based on some conditions
    as an example
    v_query varchar2(2000);
    x1 varchar2(20);
    y1 varchar2(20);
    z1 varchar2(20);
    v_query := ' Select x,y,z into x1,y1,z1 From ... ';
    Is there any way to execute the query with out using cursor or ref cursor..
    Thanks
    Arun

    Both Tod and Eric provided valid responses given the format of the queory you supplied. Howver, if you want to use dynamic sql in either way, you need to be absolutely certain that your query will always only return a single row (e.g. SELECT COUNT(*) FROM mytable), because if it retuns more than one, your procedure will break unless you have an exception handler to handle either TOO_MANY_ROWS or OTHERS.
    If you want to pull in a lot of data without walking a cursor, you should look at the BULK COLLECT options.

Maybe you are looking for

  • Update Routine ABAP question

    Hi, I am updating data between two ODS objects using some update routines. I would like to write the following routine (in pseudo code): ++++++++++++++++++++++++++++++++++++++++++++++++++++ Check if the characteristic i am updating is not null IF COM

  • AUC and settlement rule mismatch.

    Hi, We have created many AUCs while uploading initial data at the time of go-live by posting JVs on WBSE and then performing the settlement. Now due to some currency issues we have reversed all settlements, and then Asset accounting person has resett

  • Touchsmart series and lack of hdmi in/out

    I signed up to this forum after searching around for info on hdmi in/out. I have not purchased an HP in about 5 years, I saw a touchsmart at costco and thought very nice. HOWEVER, as I google around there seems to be a general lack of HDMI support :

  • Currency Conversion---- Based on Posting period

    Hi All, I am creating a report based on FIAA . Query selection screen will contain COMPANY CODE , and the POSTING PERIOD suppose  we enter company code as 2100 and posting period from 001.2007 to 012.2007. I need to translate all the balance sheet it

  • Effect of super() in JDialog constructor on focusability/modality

    Hello again, this is a JFrame which calls a JDialog which calls a JDialog. Using super(...) in the constructor of SecondDialog makes this dialog unfocusable as long as FirstDialog is shown. Without super(...) one can freely move between the dialogs.