How to use wild card character in input field

Hi
I'm creating model in which the Purchase Order information need to be entered in Input Field.
My requirement is search using wild char char as '*'
Let say in input field  i gave PO order as 20* then it'll search for all the PO's which starts from 20.
Could you please share some documents/guidelines, for this issue
Thanks and Regards
Puneet

Hi,
You can use the wild card char in the input box.please try  below steps.
1.Check whether the input string has ' * '  char using "CONTAINS(text,pattern)" operation.
2.If yes, Replace the ' * ' with space by "REPLACE(text,pattern,repstr)" operation.->consider this result as input2
3.Now , Have a Filter from ur webservice(which gives your Purchase Order information )
and filter it by the condition " BEGINS(WSField,input2)"
the Final expression in the filter will be "_=IF(CONTAINS(input,""),BEGINS(HelpWSField,REPLACE(input,"\","")),true)_"
Hope it helps.
Regards,
Priya
Edited by: priya on May 20, 2009 12:49 PM

Similar Messages

  • 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

  • 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.

  • Open file using wild cards

    does anyone know how to open a file using wild cards in the name.
    For example, a certain folder will contain a number of files, with the name constructed as follows:
    CALDB_ then a 6 digit serial number, and then 14 characters which could be ANYTHING.  so it might look like this
    CALDB_123456_33KA1234567890.txt
    or
    CALDB_123457_33KA1234567890.txt
    The key part of the file name is the 6 digit serial number which is unique, and the CALDB_ which is always the same.
    I would like to use a file open command with the file name something like  CALDB_123456_*.txt, but it doesn't appear to work. 
    Can anyone help?
    Thanks
    Solved!
    Go to Solution.

    Hi Dylan,
    I have been searching along our forum, and found a similar question for using wildcards in selecting files. An active user (unclebump) replied on this request with a VI, with which you can select a folder on your computer which is scanned for certain files. I've adjusted this VI for selecting the CALDB_* files. Enclosed you will find this file (zipped) including my test folder.
    Maybe this will be helpfull for your application.
    Best regards,
    Peter Schutte
    Message Edited by Peter S on 10-14-2008 03:22 AM
    Attachments:
    File selecting.zip ‏12 KB

  • How to use the special character pallet in Maverics with Illustrator

    How to use the special character pallet in Mavericks with Illustrator - I follow the help instructions, but the pasted in object looks like a rectangle with an X, I have done this before, in earlier versions of AI, but cannot make it work in CS6.
    In fact, I can open an old AI file (CS4), copy the character (a graphic symbol, also taken from the special character set), paste it in, and it works, but can't do this with a new one, from the drop down, Show Character Viewer, in the Mavericks menu bar.

    The box with an X indicates the font you are using does not have the glyph you are trying to paste. Try a different font.

  • Need help how to use itunes card to download music

    Need help how to use itunes card to download music

    If you want to add the iTunes card to your account, then in the iTunes app on the iPad you should be able to scroll to the bottom of the Music tab and there should be a Redeem button - there is more info here : http://support.apple.com/kb/HT1574

  • How auto turn lowercase to uppercase in input-field?

    Hi All,
    How auto turn lowercase to uppercase in input-field?
    Thanks
    Smile

    The way I implemented it was using a javascript function to change the case by calling the javascript function from the textfield tag with onblur event. Here is the javascript code and how it was called:
    enter the following code within your with the head tag
    <script>
    function case_checker(){
    var st = document.getElementById("form1:[Enter the textfield ID here]").value;
    document.getElementById("form1:[Enter the textfield ID here]").").value = st.toUpperCase();
    </script>
    call the code from the textfield tag has follow:
    <ui:textField binding="text" id="[Textfielf ID]" onBlur="case_checker(')" style="border-style: inset; border-color: #000000; left: 216px; top: 144px; position: absolute; width: 144px"/>

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • How to set mask in web dynpro input fields

    i am looking for how to set mask in web dynpro input fields.
    Please suggest

    Argha,
    As Maksim suggested, read my weblog -- it is an exact answer for such "masking" (/people/valery.silaev/blog/2005/11/29/800format-your-way)
    Next, you may not add custom js files to WebDynpro and change the way WD processes client input, so there is no way to force user to type only digits and to insert hyphens automatically.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Alert Rule - not working. Wild Card character issue

    Hi All,
           I have a requirement where I need to trigger alerts for mapping failures
    of all the interfaces whose namespace is urn:abc.com:odna* or urn:abc.com.odna*.     (in the first instance, there is dot before odna and int he second instance, a colon before odna )
    So to suit both the cases, I gave urn:abc.comodna in the Alert Rule.
    It worked before. But now its not working.
    Then when i changed it to urn:abc.com:odna* it works again. i really dont understand how it worked before and why it fails now.
    What is the reason for the unpredicatable behaviour of WildCard Character based Alert Rules?
    Should Wild Card Characters be avoided completely?

    Hey
    Just create two separate alert rules for the same alert category
    one for urn:abc.com:odna* and another for urn:abc.com.odna*.
    but before that please make sure that "Suppress multiple alerts of this rule" box is unchecked.
    Also please check SAP Note 913858
    Thanx
    Aamir
    Edited by: Aamir Suhail on May 20, 2009 9:16 AM

  • How to use 9264 card with daq

    Hi friends,
    I m using labview 8.6 version. I hve interfaced labview with cdaq 9172.
    I have used 9201, 9203 ,9219 card.Now i want to use 9264 card i.e analog output card.I am not getting how to use it .wheather  I hve 2 use on function plate express--> input-->daq assistant or something else.please help me. i want to control valve through 9264.i am sending some screen shot how i m trying 2 use.
    Attachments:
    1.jpg ‏4373 KB
    2.JPG ‏103 KB
    4.JPG ‏168 KB

    Hi Ajju
    You can use the DAQ Assistant express VI, but since the 9264 is an output module you will need to choose "Generate Signal" instead of "Acquire Signal" in the dialog. Then you will specify what you want to output, from which channels, how fast etc. in the same maner as you do when acquiring a signal.
    Hope that clears up teh confusion
    Best Regards
    David
    NISW

  • How to use PAL-N for Video Input

    Is not a problem with the conection or the cables the problem is that source is PAL-N and I see the image in black and white.
    Thre isn't a problem with the input of the card because with the same cables and the same connector but with a source in NTSC (a playstation) worked great
    My question is if the problem with the sources in PAL-N is a limitation of the hardware or with with software and if it is workaround
    Thanks

    Quote
    Originally posted by kamaleonb
    Is not a problem with the conection or the cables the problem is that source is PAL-N and I see the image in black and white.
    Thre isn't a problem with the input of the card because with the same cables and the same connector but with a source in NTSC (a playstation) worked great
    My question is if the problem with the sources in PAL-N is a limitation of the hardware or with with software and if it is workaround
    Thanks
    yes men. there are 3 choices .a s-video,a  composite and the another one i can't remeber the clear.
    And excuse me. did you play "playstaion" on your pc? how can you do that. i have been try for this. but you know ps have 3 line for conect with TV. one for video, one for audio and another one i don't know how to use.
    my problem is when i put my ps on my pc. there are only one socket on video card(MX460-VT) for conect video line. no socket for audio in. some body told me it's on the sounds card. but i did. there are only 3 hell. one for speaker, one for microphone the last one is "line-in" so i put the audio line(from ps) in to he line-in . but i got nothing. how can you do this? tell me please!
    Thank you very much.

  • How to use ITunes card?

    I recently purchased an ITunes £15 gift card and I am confused on how to use the 'Credits'. It holds. How do I put the card and it's contents into my Apple / ITunes account?

    step1: tap on itunes
    step2: go into music and scroll to bottom
    step3: tap on reedem
    step4: enter code on back of itunes card
    step5: download anything.
    also you have to answer security questions
    but it is worth it and if you happen to have a mac or pc read instructions of itunes card!
    I hope i was able to help you al because i didnt understand at frist either.

Maybe you are looking for