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

Similar Messages

  • File Adapter Reading Wild Card Problem

    I am using SynchRead so that the file can be read when a user clicks on a command button.
    Is it true that with SynchRead you cannot use wild cards to specify files for reading? (e.g *.txt)
    If so, is there a work around so that the file is only read on command?

    Hi,
    You have two options:
    - Use a file-based trigger
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#CACICCDD
    - Use File Listing combined with a loop of SyncRead's
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm#BABDHDDD
    Cheers,
    Vlad

  • 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

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

  • Regarding wild card search in oralce

    I am facing one problem,
    I am using wild card search based on LIKE condition, that search is got used for searching purpose through a user interface.
    the query is like below
    SELECT /*+driving_site(a)*/ A.ID,A.CO_ID,B.NAME,A.CITY,A.state FROM mv1 a,mv2 b WHERE a.id=b.id and nvl(b.name,'x') like '<variable>%' and nvl(a.city,'x') like'<variable>%'  and a.state like'%' ;
    where user can input any one or may two or three parameters for search.
    The problem is in response time because mv1 and mv2(materialized view) contains crores of records(around 3.5 crore )
    I am able to search it with city and state but when I am trying by name I am not not getting response for that query.
    Each where clause is indexed propely even functional index i put there and analyzed also , by explain plan i am able to reduce the cost but im not able to get proper response. I welcome all your suggestions as this is reallly a crucial for me to get that search faster....
    Thanks in Advance
    Edited by: user13104802 on Jul 31, 2010 6:31 AM
    Edited by: user13104802 on Jul 31, 2010 6:31 AM
    Edited by: user13104802 on Jul 31, 2010 6:33 AM

    I welcome all your suggestions as this is reallly a crucial for me to get that search faster....You might want to explore Oracle Text (Index).
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:415419367128
    http://www.oracle-base.com/articles/9i/FullTextIndexingUsingOracleText9i.php
    What is your database version? (the result of: select * from v$version; )
    That'll determine what other pointers we can give you.

  • Wild card in LSMW

    Hi,
    I am useing LSMW for creating material master data from external files.
    I am using in  "Specify files" a wild card.
    All steps are executing in backgraund with report
    /SAPDMC/SAP_LSMW_INTERFACE
    Steps: reading and convering are executed without any problems.
    But at the end, report  RMDATIND starts.
    I can not write wildcard in the file name for variant.
    What I have to write in file name instead wildcard?

    Hi Alexei,
    Welcome to SDN.
    You need to give the exact file name. System can not determine file name with wild card.
    Hope this will help.
    Regards,
    Ferry Lianto

  • How to pass wild card '%'  value from the parameter to the query

    Hello everyone,
    I have following 2 problems
    1) I was trying to do some thing like below
    select * from emp
    where ename like 'J%'
    for this i have used the following code
    select * from emp
    where ename like :P_ENAME
    and before running the query in the parameter box i entered J%. But my report returns an error which says INVALID PARAMETERS REQUESTED.
    2) I have a req of passing both comma separated and wild card for the same parameter. If we take the same example as above,
    user should be able to enter
    a) JASON, SMITH, JOHN OR b) J%
    I have used comma separated value option of the parameter for the csv values and its working fine, but i need to add the wild card feature also to the same parameter.
    Can anyone please help me with these things?????
    Thanks in advance!!
    Raghu

    Hi Raghu,
    I guess you are in older version, You have to get into latest version to use %, it should work well
    you should use where ( ename like :P_ENAME ) or ( ename in (:P_ENAME)) for both the condition to satisfy.

  • Wild card characters support for PreCompilation list of classes in RTSJ?

    Hi
    I am generating a precompilation list for methods and classes (ITC.preinit for class is generated and nhrt.precompile for methods are generated). I done this because i dont want the compilation jitter in between the execution..... So i generate these list and load these lists.
    Now class list contents are look like following
    java/lang/CharacterData02
    java/lang/CharacterDataUndefined
    java/lang/CharacterData0E
    java/lang/CharacterDataPrivateUse
    java/lang/ConditionalSpecialCasing
    sun/security/provider/X509Factory
    sun/security/util/Cache
    sun/security/util/MemoryCache
    sun/security/x509/X509CertInfo
    java/lang/Integer$IntegerCache
    file also includes class name for my application.
    I actually want to give wild card character ie " * " with the package name so that it will load all the classes under package mentioned....can anyone tell me whether i can do that or not ....ie RTSJ provides this support or not????
    or how i can do that???????????
    Actually problem with the existing format that file generated is too long and everytime i add new classes and methods i ve to regenerate the file ...due to this reason i need solution like following
    For Example ---> java/lang/*
    Compiler should load all classes under the package java.lang before execution....
    Thanks

    Sorry, but no, wildcards are not supported for preload/init or precompile lists.
    Wildcards can easily cause problems, and would have to be used with great care. For example, preloading all classes/types in a package could load and initialize them in an order that is impossible under normal runtime conditions and that could lead to initialization failures - which is why the generated lists maintain the order in which things actually occurred. Precompilation is safer but if you precompiled everything you're likely to run out of memory - there are potentially three different compiled versions of each method (for JLT, RTT and NHRT) and a normal run of a program would only compile a small fraction of the methods defined in an entire package.
    Regeneration of the lists is presently the only option.
    David Holmes

  • RFC as webservice and wild cards

    Hi experts,
    We have a custom RFC that fetches employee data based on import parameters like PERNR,FIRSTNAME,LASTNAME etc.This RFC is exposed as a WS by default(we are on ECC6.0) and is consumed by a non-SAP application.
    The problem is when the calling application tries to do a wild card search in any of the field (say,FIRSTNAME),there is an error with the message like give below:
    There is an error in XML document (1, 17584987).
    'ўј', hexadecimal value 0x06, is an invalid character. Line 1, position 17584987
    Please note that the RFC works fine in all scenarios from SE37.
    Even the WS works fine for searches like 'A'.But the problem occurs only when one/any of the parameters is ''.
    My questions is:Is there any restriction on using the wild card as a parameter to a WS interface?If yes,how to have a workaround on this?
    Thanks in advance,
    Prasanna

    Hi
    Can we wrap a rfc as web service ?
    Yes.
    <i>To use the SAP Web AS 6.40 you need to build a wrapper in the 6.40 system. This is a remote function call (RFC) enabled function module with the same interface or a similar interface that internally calls the required RFC-enabled function module in the old 4.6x system via RFC. The wrapper then can be exposed to the outside world as a Web service. Another option is to use the Integration Broker capabilities for calling Web services in an older system.</i>
    How XI will play a role here ?
    XI will pass the input to the external java application and get back the result to the webservice
    regards
    krishna

  • Wild card highlighting

    CTX_DOC.MARKUP is working fine for basic word search & stemming, but does not highlight for wild card search.
    For example, searches for "roam" and "$roam" highlight the word "roams", but searches for "roam%" do NOT highlight the word "roams".
    The Text Reference guide indicates that there shouldn't be any problems with wild card highlighting.
    Any suggestions?

    It works fine for me, as demonstrated below. Is your index synchronization current? Can you find the value with a contains query without markup? Is roams one of your stopwords?
    scott@ORA92> create table test_tab
      2    (id      number primary key,
      3       test_col varchar2(30))
      4  /
    Table created.
    scott@ORA92> insert into test_tab values (1, 'roams')
      2  /
    1 row created.
    scott@ORA92> create index test_idx on test_tab (test_col)
      2  indextype is ctxsys.context
      3  /
    Index created.
    scott@ORA92> select * from test_tab where contains (test_col, 'roam%') > 0
      2  /
            ID TEST_COL
             1 roams
    scott@ORA92> create table markuptab
      2    (query_id number,
      3       document clob)
      4  /
    Table created.
    scott@ORA92> exec ctx_doc.markup ('test_idx', 1, 'roam%', 'markuptab', '1')
    PL/SQL procedure successfully completed.
    scott@ORA92> select * from markuptab
      2  /
      QUERY_ID DOCUMENT
             1 <<<roams>>>
    scott@ORA92>

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

  • Persona Q Wild Card Premium Edition Preorder

    I placed an order for Persona Q Shadow of the Labyrinth Wild Cards Premium Edition 3DS on 7/05/2014. Nearing the release of the game I decided to check on its status to see when it would be shipping and noticed that it was linking to the wrong version in my order history ( regular version, not Wildcard that I ordered ) I emailed BestBuy 11/03 asking why it was linking to the wrong version in my order history and I received the following response:
    "Hi Michael, Thank you for choosing Best Buy. I understand you would like to check the status of your order. I'll be happy to assist you. I was able to locate your order BBYXX-XXXXXXXXXXXX Persona Q Shadow of the Labyrinth The Wild Cards Premium Edition Nintendo 3DS using the email address [email protected] you used, and it appears that your pre-order status is pending release and scheduled to be shipped on December 2 2014."
    The response confirmed that I would be receiving the Wild Card Edition and when it would ship but didn't address why it was linking to the wrong item. I sent the following email back 11/07:
    "I'm confused as to why it says "Atlus Persona Q Shadow of the Labyrinth The Wild Cards Premium Edition Nintendo 3DS" in my order history but when I click on it it goes to the wrong version of the game. Do you have any idea why its doing that?"
    I then received the following response on 11/07:
    "After researching the issue, it appears that we have a system error issue with our Online Website. It's a site-wide issue and our technicians have already been made aware of it. We assure you our technicians are working full-time to immediately resolve the issue. We want you to know we have the most competent and technically gifted engineers working hand-in-hand in fixing the problem. Therefore, I should not take more than 24 hours for the said issue to be rectified."
    I waited 24 hours and checked and nothing had changed. As I wasn't receiving any help from BestBuy email support after numerous attempts I had to look online to find out what the issue was. After doing some searching I found other customers online had the same issue and were told by BestBuy customer service that BestBuy made a mistake with the SKU and that they were issuing $30 gift cards so people could get the correct version that they ordered. I emailed BestBuy back with this information 11/17 and was told:
    "Our technicians are still working to resolve it and we don't have an approximate time on when will it be resolve."
    and that I would receive a $10 gift card. For some reason the email support people seemed to have no idea about the SKU mistake ( even after I looked it up online and explained it to them ) or that BestBuy was sending $30 gift cards to customers so they could receive the item they ordered. While I appreciate any gift card a business offers me it was a bit confusing why everyone else was issued a $30 gift card ( http://forums.bestbuy.com/t5/Gaming-Support/Persona-Q-Premium-Edition-Preorder/td-p/838319 / CAG ) and those customers didn't have BestBuy mistakenly confirm that the Wildcard Edition would be sent to them.
    This has been extremely frustrating as I was erroneously told that I would receive the Wild Card Premium Edition, my order was changed without me receiving any notification at all, I was given the wrong information over and over and over again until I ultimately had to search online to find out what the issue was. I apologize for the length of this post but I needed to explain what happened and I wasn't getting any help at all from email support. I just want to either receive the game I ordered or a code / gift card so I can replace my order. Please help.

    Hi mike1942,
    I can see why you'd be concerned! Details on this issue have been provided to our phone and e-mail support teams, so it's disheartening to hear of the difficulties and conflicting information you've encountered in trying to find a solution.
    When this title was initially made available for pre-order on BestBuy.com, the standard edition was incorrectly listed as the Wild Cards edition. The SKU number was correct though, and our merchant team has since made sure SKU #7377002 properly reflects the standard edition online.
    I've sent you some information, so please make sure to check your private messages when you can. To check your PMs, simply sign into the forum and then click on the letter icon in the upper right-hand corner of the page.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Need wild card command to export multiple csv files for software inventories list

    I have a powershell script that does software inventories and then export into a csv file. now the problem is if i were to do this on multiple machine and point the path to a network share it will replace the olde csv file since the csv file has a same name
    and i will end up having only one computer software inventories instead of multiple ones.
    here's the string 
    Get-WmiObject win32_Product | Select Name,Version,PackageName,Installdate,Vendor | Sort InstallDate -Descending| Export-Csv P:\test\inventorries.csv
    is there a way i can use a wild card to name these files in a sequential order? i have tried *.csv but no luck
     

    How about adjusting the filename to include the machine hostname.
    Get-WmiObject win32_product |Select Name,Version,PackageName,Installdate,Vendor | Sort InstallDate -Descending | Export-Csv -Path ('p:\test\inventory_' + (hostname) + '.csv')

  • 'Wild Card' access setting in iTunes U - private site

    Hi Folks,
    I mistakenly deleted one of my access settings in our private iTunes U site today, and have managed to block all of our users from seeing any of their course content.
    Does anyone know of an access setting that is some kind of Download wild card? I vaguely remember that it didn't look like any credentials were a part of the rule, so I assumed it was a kind of wild card.
    Cheers!

    The problem seems to be related to loading images from the apple site (deimos.apple.com). The iTunes launch page will randomly lock-up while loading these images ( there is a 30 second to 2 minute delay typically). If I try to load one of these images defined in the launch page HTML, directly in the browser I see the same issue. The issues varies, at times there is no issue and at others the images won't load properly 50% of the time.

  • MacBook Pro 15" video card problems (i think)

    Can anyone tell me if this is indeed a video card problem?
    MBP 15" info (Dec. 2011)
    Processor 2.4 GHz Intel Core i7
    Memory 4GB 1333 MHz DDR3
    Graphics Intel HD Graphics 3000 384 MB
    OS X Lion 10.7.5
    This is what happened:
    I use my mbp heavily because I edit a lot of videos with Premiere. I also use lightroom / photoshop alot + games. I also installed Parallels desktop late 2013. I don't know if that is relevant but anyway. Everything started late 2013 (a little after installing parallels actually) when there are moments when the audio wouldn't work and I couldn't adjust the volume. It would come back anyway so i didn't mind it. Then the fans were on high speed for little activity. After that the keyboard backlight couldn't be adjusted and wouldnt work. I ignored all of these cuz i wasn't troubling me at the time. In January i left for france to study - I use bike all the time and once stupidly placed my laptop on the basket going to school (rough roads). I had a class with html so I had to open Parallels, my teacher pointed out the fans and how loud they were. That day, parallels desktop said i must upgrade to windows 9 or it will restart every 2hours. I didn't of course. I didn't have time to.
    After that (a few days later i think) my laptop would randomly turn into a black screen but it's still on (the power LED is on) I tried turning it off by pressing down the power button and then turning it back on. It worked the first time. During the first week, the frequency of it happening grew. It would do it almost 3 times a day. during that same week I tried to do an SMC reset. It fixed the keyboard light, fans and audio but not the black screen thing. It just keeps on happening around 1-3 times a day. It only happens when I'm using it btw, never when I just leave it. ALSO, after a few days, it would take longer hours to open my mbp again. I mean, the screen would turn black. i would turn it off, then on again. I will ONLY hear the hard drive moving but no startup sound and no grey screen and apple logo. nothing.
    The following weeks after that, I asked a friend to help me out. He suggested that I install gfxCardStatus because he said it might be my video card. He instructed that I keep it on intergrated only. So I installed that and did what he said I thought it worked for a while because the black screens stopped happening (even when gfx keeps on going back to dynamic) BUT NOW, MY LAPTOP WOULD FREEZE (not turn black). I'd shut it down using the power button but it still takes me hours to open it again. Sometimes, I'd wait for the battery to drain because it would startup when i charge it (sometimes)
    I tried doing AHT as well to confirm the video card problem, but the results are no problems found. I really don't want to replace my logicboard here in france. everything is more expensive here. ;__;
    Today I uninstalled parallels to see if that might have had anything to do with my problem now but i think that's just wishful thinking.
    Can somebody tell me if this is really about the video card? Thank you

    Your appointment at the genius Bar in an Apple Store (anywhere in the world) for an evaluation is FREE, in warranty or out. Those guys put their hands on these Macs all day every day, and they are especially good at Physical and Power problems.
    Ask them.

Maybe you are looking for

  • How can I mount an external hard drive via command line

    I have an external hard drive that's been formatted as "Mac OS Extended (Journaled)" (the default option from Disk Utility). I'm in single-user mode and want to mount the drive. I noticed that when I plug in the drive to the USB port I get some new i

  • Photoshop Elements 13 download complete. What to do next?

    I went through all the steps to download the trial of Adobe Photoshop Elements 13. It says download completed, but nothing happened afterwards prompting to launch the program. I checked finder (MAC OS) and couldn't find it. Only have Adobe download a

  • Analog sound signal no digital sound

    I have a A660-BT2G25 laptop which includes DOLBY® Advanced Audio.  I connected it via an HDMI cable to the back of my Denon receiver and set the receiver to receive either digital sound input or analog sound input from the laptop that I am currentl

  • File Adapter Issue - Don't wont polling

    I am trying to create a bpel process that takes user input and then as I continue the flow thru the process I get to a point where I want to read a file using the adapter, but I want the flow to invoke the partner link and not the adapter polling for

  • IPod Updater 2005-09-23 HELP!

    Ok.I downloaded the new software because I needed it on my iPod.I restarted my computer and when I clicked on iTunes it says I need to update it but I already did.And I already have it installed.HELP!!!!!!