Wildcard in query filter not working

We are in a 3.0B BW environment.  In all my queries, I cannot use the wildcards.  If I place 06* for instance, it marks it as = and not contains pattern.  Is there a setting to activate "contains pattern" or a way to setup variables that I am missing to allow for this?
Thanks,
Cherie

Hi
I am not sure whether there is anything on patterns ( dynamically) though while filtering characteristics one can choose values based on that pattern.
may be one need to write ABAP code for this ... which picks up values in advance & pass it on to variable.
regards
Vikash

Similar Messages

  • Query Filter not working - Lookup Community ID based on Community name

    I want to lookup Community ID based on the Community name. I tried the following code to filter the results and got a PTException. I'd appreciate any insight on to what I am doing wrong or a any other pointers to better implement this.
    // Build a filter for querying the community id by name
    Object[][] arrFilter = newObject[3][1];
    arrFilter[0][0] = newInteger(PT_PROPIDS.PT_PROPID_NAME); //Operand
    arrFilter[1][0] = newInteger(PT_FILTEROPS.PT_FILTEROP_EQ_NOCASE); //Operator
    arrFilter[2][0] = newXPStringBuilder(_strCommName); //Value
    IPTQueryResult qrCommunities = _ptSession.GetCommunities().Query(
    PT_PROPIDS.PT_PROPID_OBJECTID | PT_PROPIDS.PT_PROPID_NAME, //Props
    -1, //Folder to look in, -1 for "all"
    PT_PROPIDS.PT_PROPID_NAME, //Property to order by
    0, //Number of rows to skip, used for pagination
    -1, //Max rows to return, used for pagination. -1 means no limit
    arrFilter); //Filter to apply to results
    Thanks.
    Vanita
    Staples

    Also if you dont want to use the server API you can use the code below with the SOAP interface
    privatestringGetCommunityName(intiCommunityID)
    stringsCommunityName = "";
    //try to establish the remote session
    try
    if(log.IsDebugEnabled)
    log.Debug("Start remote session attempt");
    PortletRemoteSession = PortletContext.GetRemotePortalSession();
    catch(Exception ex)
    ErrorLabel.Visible = true;
    ErrorLabel.Text = "Error esablishing remote session";
    log.Error("Error esablishing remote session" + ex.Message);
    if(log.IsDebugEnabled)
    log.Debug(ex.Source);
    log.Debug(ex.StackTrace);
    //init the ObjectManager api to get the community name
    IObjectManager oObjectManager = null;
    try
    if(log.IsDebugEnabled)
    log.Debug("Start OBJ Man build");
    //create the search request
    oObjectManager = PortletRemoteSession.GetObjectManager(ObjectClass.Community);
    //deine the admin folders to search
    intfolderID = -1;
    intstartRow = 0;
    intmaxRows = -1;
    //define the return result sort order a bit invalid in this case
    ObjectProperty sortProperty = CommunityProperty.Name; ;//sort on the unique name
    boolascending = true;
    //what do we want back from this search
    ObjectProperty[] propsToReturn = newObjectProperty[1];//choose to return specific properties
    propsToReturn[0] = CommunityProperty.Name;
    //build the query filter we only want the community name from the passed id
    QueryFilter[] filters = newQueryFilter[1];//filter the results
    filters[0] = newIntQueryFilter(CommunityProperty.ObjectID, Operator.Equals, iCommunityID);//filter results on community id
    if(log.IsDebugEnabled)
    log.Debug("Start OBJ Man query");
    //do the search
    IObjectQuery queryResults = oObjectManager.QueryObjects(folderID, startRow, maxRows, sortProperty, ascending, propsToReturn, filters);
    if(log.IsDebugEnabled)
    log.Debug("results returned = " + queryResults.GetRowCount());
    //we should only ever get one result here
    if(queryResults.GetRowCount() != 1)
    log.Fatal("We have more than one community name result - warning Will Robinson warning");
    thrownewException("We have more than one community name result");
    //assign the name to the return var
    IObjectQueryRow queryObject = queryResults.GetRow(0);
    sCommunityName = queryObject.GetStringValue(CommunityProperty.Name);
    catch(Exception ex)
    if(log.IsDebugEnabled)
    log.Debug("Search error - " + ex.Message);
    ErrorLabel.Visible = true;
    ErrorLabel.Text = ex.Message.ToString();
    finally
    //clean up
    if(oObjectManager != null)
    oObjectManager = null;
    //and return the community name
    returnsCommunityName;

  • BW query filter not work

    Hi all,
    I did not undestand the BW behavior.
    This simple report: Company, Provaider and Contract Value
    Company and Provaider are dimensions, Contract Value is a measure.
    This extract a result data set of 300 rows.
    In the query if add filter to Contract Value >= 15000... I obtain no data set in the report
    (obviously there are many records that have Contract Value >= 15000 !!!)
    Why this strange behavior ???

    Hi, I've found a solution!!! :))
    In the My Task Web Part Settings, into Miscellaneous section, if I check "Server Render" it works!!!
    Happy new year to all!
    P.S. I have installed the December CU.

  • Date query filter not working in job schedule

    'm trying to add a schedule to an existing BQY job. Here's the process that i follow
    1. Right click the Interactive Reporting Job > Add Schedule
    2. Assign name to schedule
    3. Define job parameters starting with - 'New Values' selected
    4. Default cycle - Modify
    5. In the 'Set Values', there are no values by default.
    6. Below that, in the 'Modify Filter' section, I selected 'Custom Values' from the drop down
    7. A list of custom values are displayed in the segment to the right
    8. I selected two of those values, and clicked ' Update Filter'
    The two values must now appear in the 'Set values' section, however they don't. That is the main issue here.
    How then, do i add these custom values to the cycle of a scheduled job?
    I'm using:
    Internet Explorer 9 32-bit on Windows 7 32-bit
    Any help would be much appreciated.

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • Bex Query is not working in portal

    Dear Experts,
    i have uploaded BI master role into portal, By default Bex Queries are assgined to Master Role. when I clcik on preview for particular Bex Query, it's working fine. but after assigning the master role to end user, that same Bex Query is not working. it's showing Below error..
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 05:22_18/08/10_0002_7116150
    Refer to the log file for details about this exception.
    please give me suggetions...
    Regards,
    VENU

    Hi Venu ,
    Can you please check the logs for details -  http(s):<host>:<port>/nwa . This may be a permissions issue . Check if the iview has read permission for everyone group and then test . Also post the error details here .
    Regards
    Mayank

  • Temporary Table In SAP Query - Does not Work?

    DECLARE @date DATE
    DECLARE @delrows INT
    DECLARE @delquan INT
    DECLARE @a INT
    DECLARE @recrows INT
    DECLARE @recquan INT
    SET @a=0
    IF OBJECT_ID('tempdb..##tab) IS NOT NULL DROP TABLE ##tab
    CREATE TABLE ##tab
    [Date] date,
    [Delivery Rows] varchar(40),
    [Delivery Total Units] varchar(40),
    [Receipts Rows] varchar(40),
    [Receipts Total Units] varchar(40),
    WHILE @a!=7
         BEGIN
         SET @date=DATEADD(day,-@a, getdate())
         SELECT @delrows=ISNULL(COUNT(DLN1.[LineNum]),0), @delquan=ISNULL(SUM(DLN1.[Quantity]),0)
         FROM ODLN
         INNER JOIN DLN1 ON ODLN.[DocEntry]=DLN1.[DocEntry]
         WHERE ODLN.[CreateDate] = @date
         SELECT @recrows=ISNULL(COUNT(PCH1.[LineNum]),0) , @recquan=ISNULL(SUM(PCH1.[Quantity]),0)
         FROM OPCH
         INNER JOIN PCH1 ON OPCH.[DocEntry]=PCH1.[DocEntry]
         WHERE OPCH.[DocDate]=@date
         SET @a=@a+1
              INSERT INTO ##tab VALUES(@date,@delrows,@delquan,@recrows,@recquan)
    END
    SELECT * FROM ##tab
    {/code}
    Can anyone explain why this query does not work in SAP? It works fine on SQL but gives me this message in SAP:
    1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near ')'.
    2). [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement 'Service Contracts' (OCTR) (s) could not be prepared.
    Edited by: Chris Candido on Feb 2, 2011 8:38 PM

    Chris,
    There are several areas in your code which needed changes. 
    1. On the field name for your temp table you had spaces.
    2. The SAP table name ODLN, OPCH, PCH1 had to be fully referenced like
    [dbo].[ODLN]
    3. You really need not have ## in front of your temp table, it could just be #
    The select at the end is actually what causes the most problem as for some reason from within SAP it does not produce the result.  I would suggest you put the whole code into a Stored Procedure and call the SP from SAP.  Corrected SQL below.  If you remove the Select line at the end the query would work with in SAP, but keep it give give you an error. SP is the best option for this.
    DECLARE @date DATE
    DECLARE @delrows INT
    DECLARE @delquan INT
    DECLARE @a INT
    DECLARE @recrows INT
    DECLARE @recquan INT
    SET @a=0
    IF object_id('tempdb..#tab') IS NOT NULL
    BEGIN
       DROP TABLE #tab
    END
    CREATE TABLE #tab
    [Date] date,
    DeliveryRows varchar(40),
    DeliveryTotalUnits varchar(40),
    ReceiptsRows varchar(40),
    ReceiptsTotalUnits varchar(40),
    WHILE @a!=7
    BEGIN
    SET @date=DATEADD(day,-@a, getdate())
    SELECT @delrows=ISNULL(COUNT(DLN1.LineNum),0), @delquan=ISNULL(SUM(DLN1.Quantity),0)
    FROM [dbo].[ODLN]
    INNER JOIN DLN1 ON [dbo].[ODLN].DocEntry=DLN1.DocEntry
    WHERE [dbo].[ODLN].CreateDate = @date
    SELECT @recrows=ISNULL(COUNT([dbo].[PCH1].LineNum),0) , @recquan=ISNULL(SUM([dbo].[PCH1].Quantity),0)
    FROM [dbo].[OPCH]
    INNER JOIN [dbo].[PCH1] ON [dbo].[OPCH].DocEntry=[dbo].[PCH1].DocEntry
    WHERE [dbo].[OPCH].DocDate=@date
    SET @a=@a+1
    INSERT INTO #tab VALUES(@date,@delrows,@delquan,@recrows,@recquan)
    END
    SELECT * FROM #tab
    Suda Sampath

  • Query is not working correctly

    Hi all,
    Below query is not working correctly. Please let me know, if you find the mistake
    select
    a.name,
    b.VOD_NAME,
    count(xm.ATTRIB_03)
    from
    siebel.s_vod b
    left outer join ISS_OBJ_DEF c on b.OBJECT_NUM=c.PAR_VOD_ID
    left outer join vod d on c.VOD_ID=d.row_id
    left outer join PROD_INT a on d.OBJECT_NUM=a.CFG_MODEL_ID
    left outer join PROD_INT_XM xm on a.row_id=xm.PAR_ROW_ID
    where
    b.VOD_TYPE_CD='CLASS_DEF'
    and
    c.LAST_VERS = 0
    and
    b.vod_name='Componentes'
    group by a.name,b.vod_name having count(xm.ATTRIB_03) >=5

    user9522927 wrote:
    Hi all,
    Below query is not working correctly. Please let me know, if you find the mistake
    select
    a.name,
    b.VOD_NAME,
    count(xm.ATTRIB_03)
    from
    siebel.s_vod b
    left outer join ISS_OBJ_DEF c on b.OBJECT_NUM=c.PAR_VOD_ID
    left outer join vod d on c.VOD_ID=d.row_id
    left outer join PROD_INT a on d.OBJECT_NUM=a.CFG_MODEL_ID
    left outer join PROD_INT_XM xm on a.row_id=xm.PAR_ROW_ID
    where
    b.VOD_TYPE_CD='CLASS_DEF'
    and
    c.LAST_VERS = 0
    and
    b.vod_name='Componentes'
    group by a.name,b.vod_name having count(xm.ATTRIB_03) >=5I couldn't see through the internet what happend when you ran said query. How about helping us out by showing us the evidence that it "is not working correctly".
    "Here's a picture of my car sitting in the driveway. Why won't it start?"

  • Select query is not working in BDC Program

    Hi,
    I am working in BDC for update valuation class for T-code mm01.Actually In this BDC i am using two recoding based on material type.
    i am using two internal table : I_DATA and ITAB
    Use I_DATA to hold excle data in which material No, plant , valuation type , valuation No. and ITAB for material No, material type Only.
    So, i am fetching material Type ( MARA-MTART ) through select query. But Select query is not working. and also i did check MARA table according that  Material Number then  material no. exit in Mara Table.
    Note : at run time  I_DATA have 1 row but ITAB have 0 row ....
    DATA: BEGIN OF I_DATA OCCURS 0,
    MATNR TYPE MARA-MATNR,
    WERKS TYPE MARC-WERKS,
    BWTAR TYPE RMMG1-BWTAR,
    VERPR TYPE BMMH1-VERPR,
    BKLAS TYPE MBEW-BKLAS,
    STATUS TYPE C,
    END OF I_DATA.
    DATA : BEGIN OF ITAB OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    END OF ITAB.
    Loop at I_DATA.
    select matnr mtart from mara into table itab where matnr = I_DATA-matnr.
    endloop.
    Guide me..........

    If you use your
    Loop at I_DATA.
      select matnr mtart from mara into table itab
        where matnr = I_DATA-matnr.
    endloop.
    At end of loop, itab will only contain the result of the last select, so use a
    Loop at I_DATA.
      select matnr mtart from mara APPENDING table itab
        where matnr = I_DATA-matnr.
    endloop.
    better
    if I_DATA[] is not initial.
      select matnr mtart from mara into table itab
        FOR ALL ENTRIES IN i_data where matnr = i_data-matnr.
    endif.
    Some Remarks
    - If actually required (where does I_DATA come from, is it an external format, you need the internal value to use in SELECT statement), check via SE11 the correct [conversion exit|http://help.sap.com/saphelp_nw04/helpdata/en/35/26b217afab52b9e10000009b38f974/content.htm] associated with domain MATNR (Is it truly ALPHA, and not something like MATN1, so [CONVERSION_EXIT_MATN1_INPUT|http://www.sdn.sap.com/irj/scn/advancedsearch?query=conversion_exit_matn1_input])
    - You could try to use BAPI like [BAPI_MATERIAL_SAVEDATA|http://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_material_savedata] and not BDC
    Regards,
    Raymond

  • Why select query is not working?

    CREATE OR REPLACE TYPE prod_type AS OBJECT (
    pid INT,
    pprice NUMBER,
    MEMBER PROCEDURE display(pid IN NUMBER));
    create table prod of prod_type (pid primary key);
    CREATE OR REPLACE TYPE deal_type UNDER prod_type (
    ctr NUMBER,
    OVERRIDING MEMBER PROCEDURE display (pid IN NUMBER),
    insert into prod values(deal_type(101, 4, 1));
    insert into prod values(deal_type(102, 5, 0));
    ------below given select query is NOT WORKING ---------
    select ctr from prod p where p.pid=101;
    Thanks,
    -Nid

    ------below given select query is NOT WORKINGWondering how you inserted data ...
    SQL> CREATE OR REPLACE TYPE prod_type AS OBJECT (
      2  pid INT,
      3  pprice NUMBER,
      4  MEMBER PROCEDURE display(pid IN NUMBER));
      5  /
    Type created.
    SQL>
    SQL> create table prod of prod_type (pid primary key);
    Table created.
    SQL>
    SQL> CREATE OR REPLACE TYPE deal_type UNDER prod_type (
      2  ctr NUMBER,
      3  OVERRIDING MEMBER PROCEDURE display (pid IN NUMBER),
      4  );
      5  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE DEAL_TYPE:
    LINE/COL ERROR
    4/1      PLS-00103: Encountered the symbol ")" when expecting one of the
             following:
             , not pragma <an identifier>
             <a double-quoted delimited-identifier> final instantiable
             current order overriding static member constructor map
    SQL> CREATE OR REPLACE TYPE deal_type UNDER prod_type (
      2  ctr NUMBER,
      3  OVERRIDING MEMBER PROCEDURE display (pid IN NUMBER));
      4  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE DEAL_TYPE:
    LINE/COL ERROR
    1/1      PLS-00590: attempting to create a subtype UNDER a FINAL type
    SQL>You made an attempt to create a subtype UNDER a FINAL type - that the reason why can not work ...
    Avoid deriving a subtype from this FINAL type.
    HTH

  • Excel 2010 MS Query is not working

    Hi, I am in the process of upgrading all my Excel 2003 spreadsheets to Excel 2010.  I am running into problem with the MS Query.  Spreadsheets have MS Query linking to MS database.  However, when I open some of the spreadsheets, the MS Query
    is not working ie. the blue circle keeps turning and then not responding.  It is very weird that this MS Query is working fine with some spreadsheets but not couple and they are all linking to the same database except a small different in criteria.  I
    tried to re-create the Query in the spreadsheet in Excel 2010 by going to Data>From Other Sources>From Microsoft Query and select the database.  Once I set up the criteria and click Return data, the Query gets stuck.
    Please help! Any comments/suggestions will be appreciated.
    Thanks

    Hi,
    There are many possible causes that can crash MSQuery in Excel 2010.
    First, please make sure we have installed the latest Office 2010 and Windows patches.
    Second, Please read the Blog, it explains one typical crash scenario.
    =====
    AppName: msqry32.exe AppVer: 14.0.4750.1000 ModName: msvcr90.dll
    There are several possible resolution you can try to resolve the above crash:
    1. When you launch MS Query, just disable the option "Validate queries before saving or returning data", this is the fifth box in the options menu.
    The only problem is that if you have made any mistake in your query, you'll only be noticed when receiving the data in excel.
    2. Repair all the keys into registry at the following place:
    [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC]
    For example:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\ODBC\ODBC.INI\ODBC]
    "TraceFile"="C:\\DOCUME~1\\...USERNAME...\\IMPOST~1\\Temp\\SQL.LOG"
    "TraceDll"="C:\\WINDOWS\\system32\\odbctrac.dll"
    http://blogs.technet.com/b/asiasupp/archive/2011/11/07/msquery-randomly-crashed.aspx
    =====
    Third, start the Excel 2010 with
    safe mode, it helps us confirm if some add-ins cause this issue.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in
    Office programs.

  • Lens Correction filter not working?

    I upgraded to CS5 specifically to use the auto lens correction feature (primarily for barrel and pincushion distortion on my Canon zoom lenses). Now I find that:
    Even though the camera back (5D Mark II) and lens information is included with an image, the lens correction filter requires me to manually select the back and lens.
    Several of my lenses are not even included in the data base, even though they're very popular lenses (e.g., EF16-35mm 2.8 L USM II and EF 70-300mm DO IS USM). I realize the data base is to be enlarged, but these seem like inexplicable omissions. (And I have no desire or time to create my own profiles.)
    The PDF instruction manual for CS5 offers no help, and I don't see this issue addressed in the forums. I'm hoping someone will be able to advise me on how to make this function work.

    Jeff,
       Thanks for the quick answer, but I still think the menu is misleading.
       If the body choices were in the format of "full frame, 1.3 crop, 1.6
    crop, etc.", it would be clear that the specific model didn't matter.
    However, this would create its own problems since many people wouldn't
    understand the concept of the crop factor for their camera.
       The fact that the 5D Mark II exists in the pull-down menu as a discrete
    choice in addition to the 1Ds Mark III implies that there is a difference
    between the two. Even if there is no functional difference in this context,
    it would avoid confusion if the actual body from the EXIF information could
    always be the default selection.
       Thanks.
    From: Jeff Schewe <[email protected]>
    Reply-To: <[email protected]>
    Date: Sun, 16 May 2010 23:57:46 -0600
    To: Mike Curl <[email protected]>
    Subject: Lens Correction filter not working?

  • N5K : ethanalyzer capture-filter not working

    N5K, NX-OS 7.0.5
    ethanalyzer capture-filter not working whatever the filters used;
    I understand the capture-filter values are different from display-filter;
    for example :
    ethanalyzer local interface inbound-hi capture-filter 'ip proto 89' limit-captured-frames 0
    I tried "proto 89", "proto 0x59", and te same with ' ' instead of " ";
    none is rejected but no frame is captured
    If I use "ospf" as the capture-filter, I get the following normal since "ospf" is a display-filter :
    tshark: Invalid capture filter: "ospf"!
    That string looks like a valid display filter; however, it isn't a valid
    capture filter (parse error).
    Note that display filters and capture filters don't have the same syntax,
    so you can't use most display filter expressions as capture filters.
    See the User's Guide for a description of the capture filter syntax.
    no problem with the following display-filter :
    ethanalyzer local interface inbound-hi display-filter "ospf" limit-captured-frames 0
    Any idea ?
    thanks

    i think i solve the problem: to make vlan filtering to work on 6500, i've added:
    # conf t
    (config)# int vlan 4000
    (config-if)# no shut
    (config-if)# mac packet-classify
    Now, how to mark this question answered?

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

  • Characteristic "Master Data" setting in Query definition not working?

    Hi,
    I am having a problem with a query definition. (BI 7.0)
    The query comprises the following definition which relate to displaying Milestone dates for respective projects in a time series so the dates are populated in the correct column in a time series:
    Filter
    Project Definition = Fixed Single Project Definition
    Fiscal Year Variant = K4
    Project Profit Centre = Hierarchy Node
    Project Plant = Fixed Single Value
    Free Chars
    Network
    Network Activity
    Activity Element
    Rows
    Project Plant
    Project Profit Centre (With hierarchy)
    Project Definition
    Milestone Type  (Setting in characteristic to pick up Master Data)
    CSR Relevant    (Setting in characteristic to pick up Master Data)
          Structure
               Actual
               Scheduled
        (Actual:  Value type = Actual,  Origin = Manual ,Event = Start)
        (Scheduled:  Value type = Actual,  Origin = Scheduled ,Event = Start)
    Columns
    Key Figure structure of 12 key figures in a time series
    Selection
    Key Figure = Date
    Fiscal Year/Period = Current Fiscal Year / Period (SAP EXIT) (With Offset 1 to 12)
    FYI
    When I run the above it comes back correctly. However when I add "MILESTONE" (Characteristic setting (Posted Values) to the Query Definition immediately after the "Milestone Type" and before CSR it does not work it just is hanging for a considerable time.
    I am not using "Master Data" for the "Access Type for Result Vales" for the additional characteristic "MILESTONE" just "Posted Values".
    I was expecting that it would just show all Milestone types as per Master Data but just the Milestones that are posted for this result.
    I would appreciate a solution to this issue and an explanation to why it hangs when I add the "MILESTONE" characteristic to the definition as explained above.
    Thanks in advance..
    Stevo

    Hello there,
    Putting Milestone in the rows in the query definition is not being hang there (i.e., while creating and saving the query) right?
    It is stucked while executing the query isn't it so?
    That's because you have too many records to be desaggregated by milestone characteristic, and this is indepently of posted values in the characteristic settings.
    Putting milestone characteristic in the free characteristics will allow you to run the query, but desaggregate it (add it to the rows) will be to much information to read from your dataprovider (this is just a guess).
    If it is being stucked in query execution whike milestone is in the rows. Try this for example:
    Add milestone to the free chars. Execute the query. Filter milestone characteristic while still in the free rows and choose a value that you are pretty sure has the smallest records in the Dataprovider (could be for example value #). Than drill down milestone to the rows. You'll see that it can be executed without any problem.
    Diogo.

  • Filter not working in CL_SALV_TABLE

    Hello gurus,
    My output display of report is using CL_sALV_TABLE and now when i try to use filter option in output display i cannot see anything . Is there any thing to add  code in my program to get the filters activated.. I searched and got this code..but it does not working..
    My requirement is like there are so many B values.. user will select his own B values in Filter then reference to that B value output need to display.
    How to refresh the output , so that when user clicks on refresh button the report should run again with same criteria what is given in selection screen.
    I am new to CL_SALV_TABLE please gurus help me out. Thanks
    METHOD set_filters.
          DATA : go_filters TYPE REF TO cl_Salv_filters.
          go_filters = co_alv->get_filters( ).
          TRY.
            CALL METHOD GO_FILTERS->ADD_FILTER
                EXPORTING
                   COLUMNNAME = 'B'
                   SIGN       = 'I'
                   OPTION     = 'EQ'
            CATCH CX_SALV_NOT_FOUND.
              CATCH CX_sALV_DATA_ERROR.
                CATCH CX_SALV_EXISTING.
          ENDTRY.
        ENDMETHOD.

    Hi,
    You miss the value you want for example:
      ob_salv_filters = ob_salv_table->get_filters( ) .
      ob_salv_filters->add_filter(
          EXPORTING
            columnname = 'CURRENCY_SFLIGHT'
    *       sign       = 'I'
    *       option     = 'EQ'
            low        = 'USD'
    *       high       =
    See doc for CL_SALV_FILTER
    method ADD_SELOPT
    Functionality
    You use the ADD_SELOPT method to add a filter condition to a filter
    object.
    Result
    VALUE
    Returning; Type CL_SALV_SELOPT
    Parameters
    SIGN
    optional
    Sets whether those rows that fill the condition should
    be displayed (inclusion), or those that do not fill the condition
    (exclusion).
    Type SALV_DE_SELOPT_SIGN (see also the SET_SIGN
    method)
    OPTION
    optional
    Logical operators that you use to compare the contents
    of the checked row with the condition.
    Type SALV_DE_SELOPT_OPTION  (see also
    the SET_OPTION
    method)
    LOW
    optional
    The comparison value, against which the table rows are
    checked
    If you also set the HIGH parameter, LOW forms the lower level of a
    comparison area.
    If you use at least one of the wildcard characters '+' or
    '*' (see above), you have to set the OPTION parameter to either
    'CP' or 'NP'.
    Type SALV_DE_SELOPT_LOW (see also the
    SET_LOW
    method)
    HIGH
    optional
    Upper limit of comparison area
    If you set this parameter, you also have to set the LOW parameter, which
    forms the lower limit of a comparison area.
    If you set this parameter, you can only use the values 'BT' or
    'NB' for the OPTION parameter.
    Type SALV_DE_SELOPT_HIGH (see also the
    SET_HIGH
    method)

Maybe you are looking for