Finding filename starts with 's' like pattern matching
HI,
I have a requirement like if i give 3* in input field.. what are the ticket numers starts with 3 it should display,,can any 1 suggest me how to do this ?for ex..tickect numbers like 3143,3153,3163 ,if i give 3* it should display all the numbers 3143 3153 3163
Hi Vasavi,
I think you are looking something like this...
http://help.sap.com/saphelp_nwes72/helpdata/en/8c/20efbd1b0a463ba5914356f01de03f/content.htm
this is new feature 7.02 onwards.
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/54/07ec96bd5a4764be4996fff231b4de/content.htm
Cheers,
Kris.
Similar Messages
-
OBIEE 11G : Remove label (is like pattern match) in the prompt
Hi Experts,
I have Gone through this thread Re: OBIEE 11G : Remove label (is like pattern match) in the prompt and applied JS as mentioed but
It works for the first display of the page but its back as soon as you hit the apply button
can be it be removed permanently? Thanks in AdvanceHi Nagen,
You can try the following:
Create a variable prompt with the column vales that you want to match
Create a filter in the analysis criteria tab on the column, set to pick up the variable, and define the IS LIKE here.
It is effectively doing the same task as the standard prompt approach does, but in a round-a-bout way which doesn't include adding any of Oracle's text in. -
Finding a table with a like %name% in a schema
What is the query I should use to find a table with a like %name% in a schema?
Thank you for any helpselect * from all_tables
where owner = 'YOUR_SCHEMA' and lower(table_name) like '%name%'
/Regards
Dmytro -
Invalid content was found starting with element 'url-pattern'
Hi,it looks there is something wrong with my web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>TestAA</display-name>
<welcome-file-list>
<welcome-file>index.jsf</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<url-pattern>/secure/*</url-pattern> ...................................................................error here
</web-resource-collection>
<auth-constraint>
<role-name>retuser</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FROM</auth-method>
<form-login-config>
<form-login-page>/login.xhtml</form-login-page>
<form-error-page>/loginError.xhtml</form-error-page>
</form-login-config>
</login-config>
</web-app>
error message:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'url-pattern'. One of '{"http://java.sun.com/xml/ns/javaee":web-resource-name}' is expected.Hi Linyin,
Please refer to: http://middlewaremagic.com/weblogic/?p=2034
The Problem is missing element *<web-resource-name>* in your *"web.xml"* file..... which must be a Unique name of your Resource set which u want to make secure.....
Example:
<security-constraint>
<web-resource-collection>
*<web-resource-name>MySecureResource</web-resource-name>* <----------This line should come Just above <url-pattern>
<url-pattern>/secure/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>retuser</role-name>
</auth-constraint>
</security-constraint>
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is Here) -
Regex to find word starting with $ symbol.
Hi,
I want to find all the words in a JTextPane starting with "$" symbol followed by alphabets or digits.
Below is the code, which I have written
public void matchAllWords(String textPaneData) {
String regexStr = "\\b(\\$?(\\w+))\\b";
Pattern p = Pattern.compile(regexStr);
Matcher m = p.matcher(textPaneData);
while (m.find()) {
System.out.println(m.group());
}Suppose the text pane data is
hello $world 2$ $test_string $50.0 $5*5
I want the method to match the following words
$world
$test_string
$50.0
But the program is printing:
hello
world
2
test_string
50.0
5*5
Please help me, where am I going wrong.
Thanks in advance.
Regards,
Vaishakh
Edited by: Vaishakh on Sep 16, 2009 4:24 AMThanks, as u said http://www.catb.org/~esr/faqs/smart-questions.html#writewell
How To Ask Questions The Smart Way
Eric Steven Raymond
Rick Moen
Write in clear, grammatical, correctly-spelled language
We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal - in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes. -
ABAP code to find records starting with Z or Y
Hi,
I am trying to find the records in a SAP table, where all the values for a particular field start with Z and Y. What is the coding statement for this?
I tried this but it does not seem to be correct.
SELECT field
FROM table
INTO TABLE t_itab
WHERE field LIKE 'z*'.
Can someone correct me or suggest me the best solution for this? Thanks.
Moderator message - Unfortunarely, this is not a training forum. You can get a lot of information using F1 - thread locked
Edited by: Rob Burbank on Nov 24, 2009 4:25 PMIf you have to do in urself
DATA: i_reptx TYPE STANDARD TABLE OF textpool WITH HEADER LINE.
READ TEXTPOOL 'ZJ_ALV' INTO i_reptx.
and describe the itab.. and get the lines.
In conjunction with TADIR table to get the program repository. -
Where can I find "Getting Started with AppleScript"?
I googled it. And it doesn't show any links from Apple. I'm trying to learn AppleScript and the Language guide says to go through the Overview first which in turn recommends going through Getting Started with AppleScript.
I even searched Mac Reference Library but it just doesn't show up!
Any help?
NeeravNo, certainly not. I mean, I don't know any AppleScript, but I can say with certainty that the answer to that question is no.
Objective-C is a programming language that is an extension of the C language. It is the language that is used to develop applications for Mac and iPhone. Other languages like C++ and Java can be used as well, but Objective-C is the language that Apple really intends for you to use for Mac and iPhone development, since it is heavily integrated with the Cocoa framework (for Mac developemt) and Cocoa Touch framework (for iPhone development). You need to know the C language to learn the Objective-C language, and you need to know the Objective-C language to work with the Cocoa or Cocoa Touch frameworks, but AppleScript is a totally separate and different animal from these things. AppleScript is a scripting language, and although it can technically be used to create applications from what I understand, it is mainly used as a mechanism for controlling applications. For example, you could use AppleScript to tell a certain application to perform a certain task everyday at a certain time. You can use it to create automated workflows and whatnot. I think that's what it's mainly meant for.
It's worth noting, however, taht there is a development environment called AppleScriptObjC. I don't really know anything about this, except that it allows for AppleScript to be used as the primary programming language.
I found a lot of this information at [Wikipedia's AppleScript page|http://en.wikipedia.org/wiki/AppleScript], so you might want to consider looking over it real quick -- it might be helpful. Here is the link to [Wikipedia's Objective-C page|http://en.wikipedia.org/wiki/Objective-c] and [Wikipedia's Cocoa page|http://en.wikipedia.org/wiki/Cocoa_%28API%29]. As someone said on these forums, Wikipedia is far from the last word on any subject, but those links might be helpful for you for just getting an idea of what these things are all about.
Hope that helps some. Please let us know if you have any other questions. -
In short, I observe when uninstalling my Windows Phone 8.1 development application, not all of its IsolatedStorageFile is being removed. Files and directories whose names start with '.' seem to be skipped.
Using ISETool.exe , I (accidentally) copied lots of files into the IsolatedStorageFile of an application on my phone that I'm developing. I didn't want most of those files and wanted to delete them, so I uninstalled my application. I even restarted
my phone (several tries later) to be safe.
Then, I re-installed my application, but didn't open the application and didn't put any files back onto my phone using ISETool. When I did `ISETool.exe ts...` to copy files back (expecting that there would be no files to copy from my phone, because
I'd just uninstalled my application), I found that there were a bunch of files that were copied from my phone. Each file that I noticed had a name starting with '.' , and each directory that I noticed either had a name starting with '.' or contained some other
directory that did.
Next I tried coding into my application the ability to delete these extra files and directories using IsolatedStorageFile.DeleteDirectory , IsolageStorageFile.DeleteFile, and IsolagedStorageFile.Remove , but each of these methods received an UnauthorizedAccessException
I finally was able to clean up my unwanted files by doing this:
1. Write code in my application to rename every file or directory whose name starts with a dot
2. Deploy and run the application from 1
3. Uninstall the application from 1
Thoughts? Is this the cleanest solution for now?
Is this the correct place to report what I think is a bug?
Thanks!When I ran `ISETool.exe rs...` , the current directory on my desktop accidentally contained a bunch of extra directories starting with a dot (in my case, ".git"), and it looks to me like ISETool copied all of the subdirectories from my desktop to
my phone like it was supposed to.
(Of course, I wasn't planning to make a bunch of directories with names starting with a dot, and I don't plan to intentionally do it in the future either; it was just a side-effect of the fact that the `cd` in my batch file failed, and so the working directory
wasn't what I expected it to be when ISETool ran) -
Want Finder to start with active windows
Under previous OSX, mac would start at login with two active Finder windows, on the second display alogside Mail. Mavericks won't do this. Is there a way to have Finder start with one or more active windows? Thanks.
In addition to the previous answer, uncheck the box in System Preferences > General: Close windows when quitting an application..
-
Crazy Text in my Finder Most start with the letter "N"
Here are some screen shots...
http://www.avicreative.com/macprob/CrazyText.jpg
http://www.avicreative.com/macprob/CrazyText2.jpg
I am getting some crazy text where my "Open With" and "Copy" "Paste" are usually located as well as in my "Get info" box. The Size should be in Gigs, not "IN_G" or something like that. Has anyone has this prob?
PowerBook G4 1.5 GHz Mac OS X (10.4.6)
PowerBook G4 1.5 GHz Mac OS X (10.4.6)I've seen this happen before, and generally turning off Documents and Data in Settings > iCloud will fix it.
If that doesn't work, try the following.
1. Restart the phone and check it out.
2. Reset the phone (hold the home button and the lock button until you see an Apple Logo and then let them go).
3. Go into Settings > General > Reset > Reset all Settings and test it out again
4. If none of the above work, try creating either an iTunes backup or an iCloud backup and restore the device as new using iTunes. Here's an article to help with that: http://support.apple.com/kb/ht4137 -
Hi experts,
I have a requirement for which I need to write a SQL. On our orders search screen there are 2 prompts.
1) Dealer name (Table.column - DLR_NAM)
2) State name (Table.column - STATE_NAM)
When user wants to find the orders placed by all dealers whose name starts with 'A' and state name with 'B', then our query is something like this
SELECT ORDER_ID, ORDER_ITEM, ORDER_QTY, ORDER_VALU
FROM ORDERS
WHERE DLR_NAM LIKE 'A%'
AND STATE_NAM LIKE 'B%'; -- A and B entered by user in the respective prompt text box
But there are countries like Greece for which states doesn't exists. In that case STATE_NAME is NULL and the above query becomes something like the below and doesn't return right results
SELECT ORDER_ID, ORDER_ITEM, ORDER_QTY, ORDER_VALU
FROM ORDERS
WHERE DLR_NAM LIKE 'A%'
AND STATE_NAM LIKE '%'; -- Pattern matching goes wrong due to this AND clause.
Please suggest how to fix this. It appears simple and my brain is not working after non-stop working for several days.You are saying that the user types something in both variables.
And then this query:
SELECT ORDER_ID, ORDER_ITEM, ORDER_QTY, ORDER_VALU
FROM ORDERS
WHERE DLR_NAM LIKE :bind_dealer || '%'
AND ( (:bind_state IS NULL) OR (:bind_state IS NOT NULL AND STATE_NAM LIKE :bind_state || '%') );returns rows with STATE_NAM null.
That does not make sense. If the users types in both variables, then the bindvariable :bind_state is not null, and then STATE_NAM has to begin with the value of :bind_state.
The only thing I can think of is if you are binding wrong? What is your application coded in? C#? Java? ASP? .NET? How do you prepare your SQL query from your user inputs?
You will have to post a test case. Create table, insert some test data, run the sql and show it returns the wrong result. I cannot think of any problem without knowing more details :-) -
Best way to export clips with effects, like project manager
First of all I would like to say hello to everybody, cause this is my first post, thanks in advance for your help.
The problem:
I'm running adobe premiere pro cs06 on a mac and what I want to do seems simple but is very difficult. I import material from an Alexa camera, putting all the clips to the timeline and add some effects to the clips, too.
Now I want to export all changed clips with the same codec, filename and timecode, just like I can do, when I use the project manager to consolidate my files.
So the goal is an easy way to add effects and export same as source?!
Again thank you very much
Cheers
BirdThank you for your answers so far,
First I dont want to export to the arriraw format, what I want to export to is prores444. The reason why is simply because there are some effekts that might speed up my workflow, let me explain:
Most jobs I do the following, I work as a DIT and colorcorrect footage from lots of cameras on set and export them to any kind of codec using davinci resolve.
The most time consuming progess is the neutralizing of all the different camera models..
With plugins like re:match from re:vision it could save me some time, due to its good auto correction, which would give me a good starting point for my further colorcorrection.
But in order to be faster than my normal way, I need to have some auto or same as source export funktion. Although when the clips match the original metadata I will have no problems in the later stages of my workflow. -
Multiple sequential pattern match in a HSDIO acquisition app
I am quite a newbie about HSDIO apps and I would like to implement a
start-triggered app via Pattern Match. I wonder if I could recognize a
sequence of pattern matches (various samples) in order to start a
generation.
I use a NI-6541 device.
Thanks a lot.Hello Matt,
Well, I'm sorry for the fact of being confusing. I'll try to clarify:
> ... Are you saying that you want to acquire on one port and then
> generate data on another port based on matching a pattern on the
> acquisition? ...
Yes, this is what I want to do. Also, sample clock is a external
signal (20MHz) connected to 'STROBE' pin. Generation and acquisition
sessions both use the same sample clock. Acquisition port has 2 lines/
inputs (dio28, dio29) and generation one has 28 outputs
(dio0..dio27).
Well, I have to do the following process (let's cross fingers):
1. When one '0' is detected in dio28 line, then device must wait until
dio28 is '1' and dio29 is '1'. There's no generation between these
events.
2. After that, a generation of a certain waveform is performed at
once, up to a certain number of samples in lines <dio0..dio27>. then,
dio29 is '0'.
3. Finally, pseudocoded: 'wait until dio28=1 and dio29=1. Then, go to
step 2 with another waveform parttern.' Device ends when 288 diferent
waveforms are written.
> ... I also wanted to know what version of the NI-6541 you are using? PCI or
> PXI? ...
PXI.
I hope to be more accurate.
Many Thanks In Advance -
Use of edge detection in pattern matching algorithm?
Hello all,
I work for a group at Texas A&M University researching two-phase flow in reactors. We have been using IMAQ Vision and had a question regarding the use of edge detection in the pattern matching algorithm. I had seen the webcast entitled “Algorithms that Learn: The Sum and Substance of Pattern Matching and OCR” (http://zone.ni.com/wv/app/doc/p/id/wv-705) and in the webcast it was mentioned that the pattern matching algorithm uses edge detection to, (as best I can tell), reduce the candidate list further and to perform subpixel location calculations. However, I was wondering if this edge detection process is still performed if we do not use the subpixel location calculation (i.e. if we uncheck the “Subpixel Accuracy” check box)? Also, if edge detection is performed in the pattern matching algorithm is it consistent with the method described in Chapter 13 of the Vison Concepts Manual (“Geometric Matching”)? Finally, if edge detection is performed in a manner consistent with Chapter 13 of the manual, how does the geometric matching correlation number affect the correlation calculation that was performed in the previous steps? Are they simply multiplied together?
Many thanks!
-AaronJeff,
We are using Imaq Vision Builder 4, with the included pattern matching that can be accessed via the menus (i.e. we haven't created a custom VI or anything.) We are using the software to locate bubbles during boiling experiments and want a deeper understanding of what is going on "behind the scenes" of the algorithm, as we may have to explain how it works later. We have been able to determine most of what we need from the webcast I had previously mentioned, except for the use of edge detection in the pattern matching algorithm.
At the scales involved in our experiments, subpixel accuracy is really not needed and therefore we do not use it. If edge detection is used in the pattern matching algorithm only to determine location with subpixel accuracy, then we do not really need to know how it works because we do not use that calculation. Inversely, of course, if edge detection is used during pattern matching even without enabling subpixel accuracy, then we would like to have a fairly good understanding of the process.
I've read most of the section on geometric matching in the Vision Concepts Manual and wondered if the process described there for edge detection (or feature matching) was also used in the basic pattern matching algorithm?
To summarize, if edge detection is not used in the basic pattern matching algorithm without subpixel accuracy, then that is all I need to know. If edge detection is used for pattern matching even without using the subpixel accuracy calculation, then we would like to learn more about how exactly it is used in the pattern matching algorithm.
We would really appreciate any help you could give us... we've been digging around on the NI website for a couple of weeks now trying to fit together all the pieces of the pattern matching puzzle.
Many thanks!
Aaron -
PowerShell add Printer Permissions where the printer name starts with...
I have a printer server that has printers for multiple buildings. All the buildings have abbreviations like "BLD" for example, so my printers start with the same building abbreviations
like “BLD-Printer1”. Is there a quick an easy way to set permissions on printers where the name starts with something like BLD?
I'm a total noob with PS .<o:p></o:p>Just wanted to point out that in addition to using .NET/WMI to enumerate the printers, Windows 8 has a native PowerShell implementation you could use. It supports remote management, so you can even use it from a Windows 8 client to target your Windows Server
2008 R2 instance.
$printers = Get-Printer -ComputerName $printServerName -Name bld*
foreach ($printer in $printers) {
Set-Printer -ComputerName $printServerName -Name $printer.Name -PermissionSDDL #fill in your permissions here
Full description of these cmdlets: http://technet.microsoft.com/en-us/library/hh918357.aspx
Excellent - Just fill in the SDDL.
Does this work on WS2008R2 PrintManager Queues? I find no -SDDL except on WS2012. WS8 is missing this parameter. Is it only available on WS8 Enterprise?
WS2008R2 also does not seem to support this.
Get-Printer and its cousins are wrappers around The Q functions posted above. The API has no security bits before WS2012. Look at the MSDN and Technet articles for this CmdLet and the other "Printer" CmdLets.
¯\_(ツ)_/¯
Maybe you are looking for
-
Dear Friends, I am reading the serial port data data , byte by byte..I used serial port vi and math-script in it .... And these serial data are sent in a format like below........ format: HEADER , MSB , DATA , CHECKSUM.. I need to collect these
-
I'm trying out the firstcup tutorial before attacking the BluePrints. In DukesBday.java, Step 4 on page 33 of the tutorial, the reference to com.sun.firstcup.webservice.DukesAgeService cannot be resolved, yet the reference to com.sun.firstcup.webserv
-
Make CAD agents to go ready state upon login
hi all, hope someone can help. running uccx 8.0. when agents log into CAD, it always put them in not ready state. is there a way to make them go ready right away upon login. thanks vijay
-
Is it possible to evaluate vendor on criteria timely delivery in # of days
Hi, has anyone been succesful in evaluating vendor's timely delivery in terms of days. I have gone through the help documentation and other insights from various members but do not quiet understand if I can evaluate vendor's delivery perfomance in te
-
please contact itunes support to complete this transaction what is the problem?????????, please contact itunes support to complete this transaction what is the problem?????????