Wild card pattern selection '+' compatibilty with BWA

Hello BWA experts,
We have a situation in our production system where, when we enter a wild card string character in the variable selection like for example 1++6* the report does not return any result. The same when run with 16 output is obtained.
The reason behind using '+' string as a wild card character is because we want to restrict the wild card entries only for fixed length.
For example if in the cube we have data for a character like 12568, 12469, 12369, 1269, 1368. The report should fetch only data for 12568, 12469 & 12369 and not for 1269 & 1368.
We use BW Accelarator for this report. I made a check while running the report without BWA and this kind of pattern selection (1++6*) works fine.
Is it that the pattern selection with string '+' is not possible with BWA or is there any setting that needs to be maintained so that BWA returns data when pattern selection like the above is used?
Thanks in advance for your valuable inputs.
Regards,
Sandeep

Hello Sandeed,
please check SAP Note <a href="http://service.sap.com/sap/support/notes/1340060">1340060</a>.
Regards,
Marc
SAP Techology RIG

Similar Messages

  • How to prevent the use of wild cards in select-option

    Hello experts,
    Is it possible to prevent the use of wild cards in a select-option? If yes, how is it done please?
    I have a
    SELECT-OPTIONS: o_comp  FOR dbtab-field OBLIGATORY DEFAULT 'FI'.
    and, I want to prevent the users for giving in some thing like FI* with the wildcard bc it would lead to dump.
    I want an error message to display and prevent the users for making such entry.
    Please I need your help and I would be very grateful.
    Thanks
    Nadin

    You have to use SELECT_OPTIONS_RESTRICT to restrict input allowed. Call this FM in INITIALIZATION or SELECTION-SCREEN OUPUT sections.
    Sample :
    TYPE-POOLS: sscr.
    INITIALIZATION.
    * Restrict SELECT-OPTIONS
      PERFORM restrict_select.
    FORM restrict_select.
      DATA: restrict TYPE sscr_restrict,
            opt_list TYPE sscr_opt_list,
            *** TYPE sscr_***.
    * Défine select-options modes (aka option list)
    * - ALL standard - all options allowed
      CLEAR opt_list.
      MOVE 'ALL' TO opt_list-name.
      MOVE 'X' TO: opt_list-options-bt,
                   opt_list-options-cp,
                   opt_list-options-eq,
                   opt_list-options-ge,
                   opt_list-options-gt,
                   opt_list-options-le,
                   opt_list-options-lt,
                   opt_list-options-nb,
                   opt_list-options-ne,
                   opt_list-options-np.
      APPEND opt_list TO restrict-opt_list_tab.
    * - EQU only equality allowed (list of values)
      CLEAR opt_list.
      MOVE 'EQU' TO opt_list-name.
      MOVE 'X' TO opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
    * Affect modes to parameters or block of parameters
    * ALL by default
      CLEAR ***.
      MOVE: 'A'          TO ***-kind,
            '*'          TO ***-sg_main,
            'ALL'        TO ***-op_main.
      APPEND *** TO restrict-***_tab.
    * EQU to internal material number
      CLEAR ***.
      MOVE: 'S'          TO ***-kind,
            'S-MATNR'    TO ***-name,
            'I'          TO ***-sg_main, " no exclusion
            'EQU'        TO ***-op_main. " only value list
      APPEND *** TO restrict-***_tab.
    * Call  FM
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
           EXPORTING
                restriction = restrict
           EXCEPTIONS
                OTHERS      = 1.
    ENDFORM.                    " restrict_select
    In the sample, only select-options for matnr is restricted to single value list.
    For your request build a mode with all options except "pattern" ones : CP and NP.
    Regards

  • Case-sensitive wild-cards in Select Query

    Hi,
    I have to make a search help for Portal like it is in standard SAP's Who's Who search help in HR-ESS.
    I have to fetch data (wildcards) from Portal & on the basis of that I need to give them the actual no. of matching data.
    In short, I'll take only one data, say 'Short Text of Organizational Unit' - T527X-ORGTX .... ( 'Organizational unit' - PA0002-ORGEH ).
    Here, in this case, I'm converting all '*' with '%' with this statement :
      ORGTX1 = ORGTX.
      REPLACE ALL OCCURRENCES OF '*' IN
      ORGTX1 WITH '%' .
      SELECT ORGEH FROM T527X
               INTO CORRESPONDING FIELDS OF TABLE itab
               WHERE ORGTX like ORGTX1
               and        SPRSL = 'EN'.
    My problem comes, when the user enters data like HR dep and the actual data in the table is HR Department, then the select query doesn't work.
    I'm providing some other cases:
    Provided data by User           Actual Data in Syatem
    emp                                    Employee
    EMP1*                                Employee1
    hr                                        HR
    Hr                                       HR
    so many, other permutations & combinations like this.
    I've checked so many threads, but didn't get the actual answer. Some persons are saying to use translate, but I can only use translate after fetching the data. here the problem is with fetching itself & I can't judge at runtime that which letter the user will put in upper case & which in lowercase.
    Can someone please guide me, how to tackle this problem ???

    Hello Mohit,
    First of all, welcome to SDN!
    What you have done as far as the implementation of the solution is concerned is quite correct. Please understand that wildcard search in SAP is case sensitive - so if the user enters data like HR dep * and the actual data in the table is HR Department then the user will not get any results back which is fully justified i.e. that's the way it should be. If you refer back to the table T527X and try a wildcard search on field ORGTX, the result is the same if you enter what the user is entering on the Portal i.e. HR dep*.
    I think the users should be aware that this is how wildcard searches are designed to behave in SAP - this could be part of their training or you can even produce a message in your program when the select query fails.
    The other option is of course to use TRANSLATE but there could be so many scenarios / permutation combinations - I don't suggest anyone goes that way to "guess" (or read) user's mind then deliver the solution because there will come a scenario when the program will be unable to "read" the user's mind as a result the select query will inevitably fail.
    Hope this helps.
    Cheers,
    Sougata.

  • Using a column twice in a dashboard prompt -- multi-select and wild-carding

    My client is using OBIEE 10.1.3.2; they cannot upgrade at this time. However, they want to be able to enter both a list of values and a wild-card search for additional values at the same time for a single column in a dashboard prompt.
    Since they cannot upgrade, they do not have the wild-card search feature of the enhanced multi-select prompt feature of 10.1.3.3 and later releases.
    Has anyone found another method to do this, perhaps by using a column twice in a dashboard prompt or in separate dashboard prompts on the same dashboard apge, in order to OR the results of a multi-select and an edit box (with wild-card pattern-match entry)? I suspect that will not work -- that the results sets of one prompt for a column will override any other prompt result sets for the same column.
    Has anyone found another way to do this, prior to release 10.1.3.3?

    Yes, it is possible.
    This is how to do it:
    In your report you need to add two filters on the same column and combine them with OR.
    First filter: is prompted.
    Second filter: is like presentation_variable
    Then protect this filter!* This will make that your prompt will be filtered on the pres. variable and that it won't be overwritten by another prompt.
    Now create your dashboard prompt:
    First add your column with an edit box and attach the presentation variable to it.
    Then edit the formula of the column, so it will not reference to the column anymore. (Which isn't needed, since the value will be set to the pres. variable.)
    Then add the same column with a multi-select.
    Then test it and check your results.
    Regards,
    Stijn

  • Wild Card Selection in BEX

    Hi Gurus,
    I am trying to use the wild cards in Query in  the selection screen . I have created a variable of type " Selection Option ".
    Now when I execute the report it is giving a box before the input box, and when I select * from that box and executing the query, I am not getting the required results.
    From ex: when i give : G19  in input box  with * in the box before the input box  , it is displaying as "No Applicable Data Found. " , even though data is present for G197.
    Can some one explain me how to use wild cards in query.
    Thanks in advance,
    Ananya

    Check this:
    Wild cards in Select-options and Parameters
    how to enable wild search(*) on a query variable
    Note: That feature is not available in BI 7.0.
    It works only with BW 3.x queries.
    Re: Using wild card * in the selection screen
    /message/2983877#2983877 [original link is broken]
    Re: Wild Card Selection in BEX
    Hope it helps..
    Edited by: ashok saha on Mar 18, 2008 8:54 PM

  • Wild card problems

    Hi ,
    My requirement is:
    first in the selction screen i need to enter--
    from and to values of cost centre
    imagine--  from:9999912
                   to:    9999920
    now, i need to concatenate from and to vaues like this
    from :KL + WWWW + 9999912 + *
    = KLWWWW9999912*
    to  : KL + WWWW + 9999920 + *
    =  KLWWWW9999920*
    now i need to get the records from COEP table
    by passing these values to the OBJNR field of COEP
    table.
    SELECT * from COEP into I_COEP
                    where OBJNR in between KLWWWW9999912*
                    and KLWWWW9999920*
    can any body please let me know how to code where condition
    for this wild card in select-options [where  objnr ?????????? ]
    because i need to enter multiple cost centers in the selcetion screen...........
    Thanks and Regards,
    Vasu

    Hi Kiran,
    Do it in this way.
    First create a Range
    RANGES: R_OBJNR FOR JEST-OBJNR.
    Now concatenate the text like this.
    R_OBJNR-SIGN = 'I'.
    R_OBJNR-OPTION = 'CP'.
    R_OBJNR-LOW = 'KLWWWW9999912*'.
    R_OBJNR-HIGH = 'KLWWWW9999920*'.
    APPEND R_OBJNR.
    Now execute your Select query like this.
    SELECT * from COEP into I_COEP
    where OBJNR in R_OBJNR.
    Thanks,
    Chidanand

  • Case Sensitive problem in Select Option for wild card search

    Hi,
         Can anyone please let me know how to make the wild card search in any select-option non case-sensitive. What I mean by this is for eg. we want to find out all the POs with short text containing the word  'process', what we do we populate a range with OPTION = 'CP' and LOW = 'process' and select EKPO with short text in this range. This select is however case-sensitive and POs with short text containing 'Process' is not retrieved. But my requirement is that this should be non case-sensitive and both the POs should be in the result set.

    Hi,
    Hope this helps you
    CS:
    You can select characters in operand2 for a direct comparison by adding the escape symbol "#" before the required characters. For these characters, upper/lower case is taken into account, wildcard characters and the escape symbol itself do not receive special treatment, and trailing blanks in operands of type c are not cut off.
    Covers Pattern: True, if the content of operand1 fits the pattern in operand2. Wildcard characters can be used for forming the operand pattern, where "" represents any character string, and "+" represents any character. Upper/lower case is not taken into account. If the comparison is true, sy-fdpos contains the offset of operand2 in operand1, whereby leading wildcard characters "" in operand2 are ignored if operand2 also contains other characters. If the comparison is false, sy-fdpos contains the length of operand1.
    Regards
    Krishna

  • BW -  Can Wild Carding be done  with Variables or what ?

    Hello All,
    Topic is "Can Wild Carding be done in BW" ?
    Need direction and solutions to this question. My definition is the abiliy to select key data within a  characteristic to generate a report. The data can be any part of the characteristic. An example of this is 0Fund, 10 characters; the cleint wants\needs to pull 'xyzz' from the field.
    IN the old system, the client would type in '*xyzz' to capture the requested data. Does BW possess this capability?
    Thank you all in advance for your suggestions
    Jim

    Hi Jeff,
    I tried your suggestion and got the same results, no data and there is data in the cube.
    When the query was excuted, '*' was selected from the dropdown box, then the middle 4 digits of the fund was entry in the filter field. Have any idea's why it might not be working.
    The variable was created with the wizard, with the following options; Processing By = User Enty/Default Value, Selection Option, Default = none.
    Do see anything wrong?
    Thanks In advance.......Jim

  • How to add * wild card to a specific field on the selection-screen.

    Hello,
    How to add a * WIld card to a field in selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_STCTS FOR G_STCTS OBLIGATORY,      "NUMBER SCHEME
                     S_AT20A FOR G_ATTR20A,    "SUBSTANCE ID
    SELECTION-SCREEN END OF BLOCK B1.
    I need to add Wild card functionality to Number scheme field S_STCTS on selection-screen.
    Any suggestions would be apprecaited..
    Regards,
    Kittu

    Hi Kittu,
    Here is one sample code:-
    select-option : s_name like kna1-name1.
    start-of-selection.
    if s_name-low = '*'.
    select * from kna1 into table it_kna1.
    elseif s_name-low = 'pat*' or s_name-low = 'pat'.
    select * from kna1 into table it_kna1 where name1 like 'Pat%'.
    endif.
    In case of wild card Select should be :-
    select * from <dbtab> where <field> like 'P%'.
    You can also use RANGES in your Code.
    E.g. RANGES: R_OBJNR FOR JEST-OBJNR
    R_OBJNR-SIGN = 'I'.
    R_OBJNR-OPTION = 'CP'.
    R_OBJNR-LOW = 'K1*'.
    R_OBJNR-HIGH = 'K2*'.
    Hope this helps.
    Thanks & Regards
    Jitendra Gujarathi

  • Using wild card with Captivate 5 ( fill in the blank)

    I am training software package that requires many fill in the blanks besides the login screeen.  If I were to recording the actions using Captivate 5 record, I think,  I can only use a demonstration recording as oppsed to having my students interact with the product by filling in the blank. For example, my product asks for a login. When I login to demonstrate how it should be done, the product reponds correctly.  By my student is limited to watching as opposed to interacting.  While login is not such a big deal, there are several other areas where the same concept applies.  Ideally, I wish to use wild cards in fill in the blank so that any name or information can be used to interact with Captivate and move the slide along.    Is this possible, and if so, how?

    I think Lilybiri may be misinterpreting your use of the term "wildcards" to mean using them in the programming sense.
    Perhaps you are referring to the characters that appear in a typical Password field to hide what the user is actually typing?
    If so, the text field object in Captivate has an option to use these password characters so that the user's typing characters are hidden.  The characters used are asterisks, which are what some people refer to as wildcard characters.

  • When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card

    When using rabbitmq-jms for vFabric RabbitMQ javax.jms.Message.getJMSDestination does not return the actual destination when it is received from a consumer listening on a Topic with a wild card. I have tested with both 1.0.3 and 1.0.5 clients with RabbitMQ 3.1.5.
    I was wondering if the community was aware of this problem and if there are any workarounds? If not what is the proper channel to file a bug report. An example code snippet is below. The test fails because the TextMessageMatcher expects the destination passed in on construction (second parameter) to equal the desination on the message received (aquired from getJMSDestination).
            Mockery context = new Mockery();
            final MessageListener messageListener = context.mock(MessageListener.class);
            final Latch latch = new LatchImpl();
            final String prefix = "test" + System.currentTimeMillis();
            context.checking(new Expectations() {
                    oneOf(messageListener).onMessage(with(new TextMessageMatcher("MSG1", prefix + ".1234")));
                    will(new CustomAction("release latch") {
                        @Override
                        public Object invoke(Invocation invocation) throws Throwable {
                            latch.unlatch();
                            return null;
            final Connection connection = createConnection(null, null);
            Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
            connection.start();
            Topic wildcardTopic = (Topic) getInitialContext().lookup(prefix + "." + "#");
            Topic destination = (Topic) getInitialContext().lookup(prefix + ".1234");
            final MessageConsumer consumer = session.createConsumer(wildcardTopic);
            consumer.setMessageListener(messageListener);
            MessageProducer producer = session.createProducer(null);
            producer.send(destination, session.createTextMessage("MSG1"));
            latch.await(5000);
            connection.close();
            Thread.sleep(5);
            context.assertIsSatisfied();

    Check where your MDB sends the [response] messages to.

  • How to use wild card with variable in powershell

    HI
    i am trying to use wild card with variable but getting an error message, "You cannot call a method on a null-valued expression."
    $src = 'C:\Temp'
    $TabletzipPath = $src + "tab*.zip"
    i would like to copy the tablet zip file which is placed in in $src to be copied in $TabletzipPath.
    i am using tab* because this file name changes continuously. so if i give a fix name for example tablet1.zip than it works fine.

    Not sure if the wildcard will work without seeing how you're using the variable.
    That said, I can say that it looks like you're missing the backslash between the $src path and the wildcard filename. As-is the above code assigns a value to $TabletzipPath of "C:\temptab*.zip" instead of what you are likely expecting ("C:\temp\tab*.zip")
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • EIC: Employee search - wild card search with personnel number

    Hi,
    The employee search functionality in EIC employee-search screen allows to search an employee through wild card search. We had set up this and everything was working fine, but suddenly the functionality to search an employee by giving part of personnel number as wild card search is not working, surprisingly other search criteria are listing employee list. For example, if i need to search an employee with personnel no 30000111, then i can give 30* in search criteria and employees starting with 30XXXXXX would be listed. This is the functionality not working at the moment.
    Can anybody please help - what could be the probable cause or where should i look to fix this? Any documentation in this regard would really be helpful.
    Thanks in advance.
    Sujit

    hi,
    Probably u can set a debug point in the bsp application and ask your abaper to debug the same.
    check if any patch application has been done after you saw the functionality working fine.
    Regards
    Sameer

  • Terminal command to rename files in bulk with wild cards?

    I had a group of files that had double extensions in the name and I wanted to strip the second extension:
    myfile.r01.1
    myfile.r02.1
    so that the new names were
    myfile.r01
    myfile.r02
    In DOS this would be accomplished easily by using the command line:
    rename myfile.r??.1 myfile.r??
    In OS X Terminal/Bash shell, though I couldn't find a command that has similar function that allows the use of wild cards in the file names.
    I tried both the 'mv' abd 'cp' commands along the lines of:
    mv myfile.r??.1 myfile.r??
    but nothing worked, even using the * for the wildcard.
    I did manage to use the Automator to accomplish the task by using some of its Finder options, but really, a simple command line would have been simpler and easier than building an Automator workflow for this.
    Can anyone point me to a unix command that would have done what I am looking for, and the proper syntax for it?
    Thanks.

    From this page: http://www.faqs.org/faqs/unix-faq/faq/part2/section-6.html
    How do I rename "*.foo" to "*.bar", or change file names to lowercase?
    Why doesn't "mv *.foo *.bar" work? Think about how the shell
    expands wildcards. "*.foo" and "*.bar" are expanded before the
    mv command ever sees the arguments. Depending on your shell,
    this can fail in a couple of ways. CSH prints "No match."
    because it can't match "*.bar". SH executes "mv a.foo b.foo
    c.foo *.bar", which will only succeed if you happen to have a
    single directory named "*.bar", which is very unlikely and almost
    certainly not what you had in mind.
    Depending on your shell, you can do it with a loop to "mv" each
    file individually. If your system has "basename", you can use:
    C Shell:
    foreach f ( *.foo )
    set base=`basename $f .foo`
    mv $f $base.bar
    end
    Bourne Shell:
    for f in *.foo; do
    base=`basename $f .foo`
    mv $f $base.bar
    done
    Some shells have their own variable substitution features, so
    instead of using "basename", you can use simpler loops like:
    C Shell:
    foreach f ( *.foo )
    mv $f $f:r.bar
    end
    Korn Shell:
    for f in *.foo; do
    mv $f ${f%foo}bar
    done
    If you don't have "basename" or want to do something like
    renaming foo.* to bar.*, you can use something like "sed" to
    strip apart the original file name in other ways, but the general
    looping idea is the same. You can also convert file names into
    "mv" commands with 'sed', and hand the commands off to "sh" for
    execution. Try
    ls -d *.foo | sed -e 's/.*/mv & &/' -e 's/foo$/bar/' | sh
    A program by Vladimir Lanin called "mmv" that does this job
    nicely was posted to comp.sources.unix (Volume 21, issues 87 and
    88) in April 1990. It lets you use
    mmv '*.foo' '=1.bar'
    Shell loops like the above can also be used to translate file
    names from upper to lower case or vice versa. You could use
    something like this to rename uppercase files to lowercase:
    C Shell:
    foreach f ( * )
    mv $f `echo $f | tr '[A-Z]' '[a-z]'`
    end
    Bourne Shell:
    for f in *; do
    mv $f `echo $f | tr '[A-Z]' '[a-z]'`
    done
    Korn Shell:
    typeset -l l
    for f in *; do
    l="$f"
    mv $f $l
    done
    If you wanted to be really thorough and handle files with `funny'
    names (embedded blanks or whatever) you'd need to use
    Bourne Shell:
    for f in *; do
    g=`expr "xxx$f" : 'xxx(.*)' | tr '[A-Z]' '[a-z]'`
    mv "$f" "$g"
    done
    The `expr' command will always print the filename, even if it
    equals `-n' or if it contains a System V escape sequence like `c'.
    Some versions of "tr" require the [ and ], some don't. It
    happens to be harmless to include them in this particular
    example; versions of tr that don't want the [] will conveniently
    think they are supposed to translate '[' to '[' and ']' to ']'.
    If you have the "perl" language installed, you may find this
    rename script by Larry Wall very useful. It can be used to
    accomplish a wide variety of filename changes.
    #!/usr/bin/perl
    # rename script examples from lwall:
    # rename 's/.orig$//' *.orig
    # rename 'y/A-Z/a-z/ unless /^Make/' *
    # rename '$_ .= ".bad"' *.f
    # rename 'print "$_: "; s/foo/bar/ if <stdin> =~ /^y/i' *
    $op = shift;
    for (@ARGV) {
    $was = $_;
    eval $op;
    die $@ if $@;
    rename($was,$_) unless $was eq $_;

  • Remote ssh commands with wild cards

    I am trying to send a remote command via ssh - need to get a file listing in a directory using a wild card. However, the ssh command will not return results using a wild card:
    ssh [email protected] sudo ls -l /var/audit-files/201110* (directory requires root permission)
    /var/audit-files/201110*: No such file or directory
    I've tried quoting the command, the directory, the file names, etc - same results. It will only work with a specific name that exists, but not with a wild card. Is there a way to make this work?

    This is a rather complex situation. The problem is that you need to quote the '*' character; however, quoting it once may not be enough. Every time the command goes through a shell you'll strip out a set of quotes. It isn't clear to me how many times this will go through the shell but I'm guessing you'll have to at least double quote it.
    ssh [email protected] sudo ls -l "/var/audit-files/201110\*"
    I won't guarantee that this will work but it might. I don't know what the permissions are on /var/audit_files. If you need root to read that you may need to triple quote it. I've never had much luck getting the quotes right in complicated situations like this.

Maybe you are looking for