ALV filter- In activate case Sensitive nature
Dear experts,
I have z report with standard ALV filter and when I try to filter text column and itu2019s did not work. I know this happens because of case sensitive nature of filter. Could u pls help me how to inactivate case sensitive nature of the ALV filter
Thank you & Best Regards
Sameera
Sameera,
You can use lowercase flag on fieldcat:
DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
FORM monta_layout_alv.
DATA: la_fieldcat LIKE LINE OF it_fieldcat.
CLEAR: la_fieldcat.
la_fieldcat-fieldname = 'DESC_MOD'.
la_fieldcat-tabname = 'IT_SAIDA'.
la_fieldcat-seltext_m = 'Modalidade'(804).
la_fieldcat-lowercase = 'X'.
APPEND la_fieldcat TO it_fieldcat.
Similar Messages
-
Case sensitive filed in DB table, Filter needed ignoring case sensitivity
Hi,
Therse is a DB table with one of the fields marked to recognize case sensitivity. I have to do a filter on this field with a wild card pattern such that irrespective of the case, the record should be extracted as and when the pattern is found.
One way of doing this is TRANSLATE field to UPPER CASE after extracting all the records to an internal table.
But I see that this can be an expensive call as there are tons of records to be processed. Is there any performance efficient way to handle this?
Example:
Filed Name: XML_LINE.
Field Content can be in any of the following formats:
Format 1: break.
Format 2: BREAK
Format 3: BreaK.
Format 4: breAK.
Format 5: breAK-point.
Format 6: breAK-POINT.
The wild card pattern I would like to use here is on the word "break" irrespective of the case and extract only the relevant records.
wild card pattern1: b*.
wild card pattern:B*.
Can count of the number of letters help here for the words "break." and "break-point." along with wild card patterns or is there any better way of doing this?
Thanks & Regards,
RanjiniHi,
a solution is to create a second field without case sensitive ans stored word in UPER CASE.
If you see in SAP (f.e. Customer or Creditor), SAP store NAME in a search field (in upper case). Make the same.
Rgds -
In ALV Report Filter selection should be case sensitive
Dear All,
since one field is case sensitive in database table , i have to fetch that in alv report , but when i am applying filter on that field its is simply fetching data with case description. if its in caps it should fetch caps data but in smaal case report showing no data
Regards,
Pankaj VashistaHi,
All text datas are case sensitive.
To make it work perfectly You have to Use the Keyword translate to Upper Case than display
Now filter can work.
Without Transalation to Upper Case filter will not work.
Regards
Arbind -
ALV grid case-sensitive edit field
Hello,
i've a editable field on a alv grid.
The field is case-sensitive in the domain.
But when i enter a field an click rturn, the letters get uppercase.
What's the problem?
Best regards,
TomSdHi,
Add the attribute lowercase = 'X' while preapring field catalog for this field.
Regards,
Gopi.
Reward points if helpfull. -
File System Case Sensitive - breaks Write-Once
I don't find a System property that denotes if the file system is case sensitive.
If I want a FileFilter to behave as the user is expecting - it must know if the file system that it is running on is case sensitive. For example: On a DOS system the file apple.txt should be returned with the file PEACH.TXT by a FileFilter that is accepting *.TXT files. But on a Unix system only the PEACH.TXT would be returned (case sensitive).
How would I make my FileFilter a true write-once-run-anywhere class?
What am I missing?
DavidFor a file filter,
you can get the file name and convert it to lowercase,
then compare to a lowercase extension. It's not like
that will rename the file, the file will still have
whatever name the file has. However for a FileFilter that is case sensitive - there is a difference in what a File.listFiles(new ExtensionFilter("txt")) returns. And one can not just decide that it doesn't matter.
Here's a specfic example. On a case insensitive system what is the next file in the sequence of:
File.001, File.002, File.003, file.004
Answer: fILE.005 - is valid
But on a case sensitive system if one uses a FileFilter to find all the files that match "File".* then the answer is "File.004" - ONLY ONE answer, and creating this file will not (should not) overwrite the file.004!
Seems to me one needs to match the FileFilter to the underling OS - because chances are the user is expecting OS file system naming conventions. If the user doesn't know what file system (and can't know - like on a web server app) then the system better be smart enough to not mess up and clober files.
So it appears to me that a programmer needs to be able to ask the System what it's file system convention is. And sure I could guess based on some other properties (System.os.name or as Sun did based on file.separator) - but I was hopeful that I didn't need to GUESS. -
Query Variable: F4 search by Text is case sensitive in Web Templates.
Hello Guru's,
I have a problem, when I am trying to search the variables in Web Templates the search by text is case sensitive.
For example If I have the customer name as "King", I have to search the text as King or Ki*, But If I search as king I will not get any results.
I need to have my text search as case insensitive.
When I checked in my BEx queries the search is case insensitive. I have the problem in my Web Templates only. Please let me know do I need to change any variable settings ing the web templates or let me know how do I fix this issue.
Many Thanks,
Vamshi KrishnaHi,
So the only workaround for this would be to goto RSD1 -> enter info
-object as xxxx, and press maintain, then goto master data/text
tab and select the check box, 'with text', now save and activate the
infoobject. After this regenerate the query using tcode rsrt.
To regenerate goto rsrt enter query name and press 'generate report'
button.
Now the F4 help screen should show the options search by key and search
by text. So that you can select serach by key to have a case insensitive
search.
Thanks,
Venkat -
Acquiring case sensitive URL info from browser
In a Java filter am trying to acquire the case sensitive URL (hostname) from the app I'm filtering.
Normally, to get the whole URL, one would do something like:
String myurl = request.getServerName() + request.getRequestURI();getServerName returns an all lowercase server name from what I'm seeing...
Is it possible to get the case sensitive server name from the requested url....
For example:
http://mysErVer.cOm/myApp/
request.getServerName returns "*myserver.com*" whereas I want "*mysErVer.cOm*"
Any ideas? Am I missing anything obvious?I may be wrong, but I'm pretty sure that when the request is sent by the browser, it's converted to lowercase, so if you want to know what the user typed into the address bar, you won't get it. Urls are defined as lowercase anyway, so what difference does it make how it's entered?
http://en.wikipedia.org/wiki/URL_normalization -
Table filtering is case sensitive
ADF Version: Oracle JDeveloper 11 g Update 2 (Build 5205) (11.1.1.0.2)
We are using an older version of ADF / jDeveloper for our application. We have run into the issue where all of the filter fields on our tables seem to be case sensitive. I am aware that in more recent versions of ADF you can simply use the FilterFeatures attribute of a column to control this behavior. Unfortunately our version of ADF does not support this feature.
Is there anyway in our version of ADF that I can make it so the filtering is not case sensitive? What do I have to do, or what classes do I have to override to get the desired behavior? Is it even possible in this older release? Thanks in advance.Hi,
you can create a custom query listener on the table, intercept the filter criteria and turn them as you need them. See example #30 at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html . All you need to do is to intercept the table filter setting and execute a query on the WS so that the filter criteria values are used case insensitive
Frank -
Question: Do Any Mac/Lightroom users use a case-sensitive filesystem?
I know most people use the default case-insensitive Mac filesystem. But plugins may have issues in a case-sensitive filesystem (if not explicitly programmed to handle case), which I just learned is an option for Mac users. Just wondering if any Lightroom users actually do it.
Thanks,
Robareohbee wrote:
I'm starting to think that having a case-sensitive filesystem on Mac would only be done by people with very special purposes in mind - e.g. developers who want to test unix command-line apps..., and would "always" be accompanied by case-insensitive volumes for normal Mac use - e.g. Lightroom-data/plugins/photos...
Ya think?
Almost certainly.
As I mentioned before, case-sensitivity is required for, among other things, POSIX compliance, which is of particular interest to a segment of the enterprise and interoperability spaces. Microsoft achieves this by a kernel change (and one of two POSIX-for-Windows licensed libraries) and offering a case-sensitive file system, NTFS. Apple achieves this by offering a way to make HFS+ case-sensitive, with kernel services and a BSD POSIX subsystem that is case-sensitive to the extent the file system is.
Note that apps that treat filespecs as unique when they differ only in case are not necessarily "poorly coded" as this would depend on context and application. There are some very, very good reasons to do so. In fact, one could make an argument that apps that cannot handle a case-sensitive environment are the poorly coded examples. Blindly assuming the case of a filespec makes it unique, or rewriting an existing filespec to a "corrected" one, are very dangerous assumptions.
For most of us, the defaults are more natural, and I would hazard a guess that Lr gets little or no QA under such environments. I know of at least one corner-case (exposed here) that would probably break. -
Paramenter Value Case Sensitive Setting
Is there a setting in the pref.txt file (or any place else) to change the actions of the case sensitive setting for entering parameter values? Turning it off/on. Changing the case sensitive setting in the condition that contains the parameter does not modify the parameter value entry window functionality.
Thanks,
JerreHi Jerre
I'm afraid there is no preference that can be set to control the casing of the values keyed in a parameter. You would have to do this yourself by embedding the value of the parameter into a calculation and use UPPER or LOWER accordingly.
The option you are referring to controls whether Discoverer should literally take the value keyed in the parameter as the filter for the condition or not. It does not change the casing of the parameter for other uses.
Best wishes
Michael -
Case sensitivity select statement without using native sql
please help me ,
i have a selection screen as select-options : s_vbeln, s_kunnr(mandt),s_matnr and
p_name as a parameter (type name1) which is case sensitive in sap abap database and i want to get
output from these fields in an alv.[vbeln,kunnr,name1,audat,auart,matnr,kwmeng,netwr]
How to do it? Can any one give me solution please.[i have to handle case sensitivity plz give me solution]this is my code : but its not working as i expected plz tell me where did i went wrong...
type-pools slis.
tables : vbak , vbap.
select-options : s_vbeln for vbak-vbeln,
s_kunnr for vbak-kunnr,
s_matnr for vbap-matnr.
parameters p_name1 type NAME1_GP.
ranges r_name for kna1-name1.
types : begin of ty_vbak,
vbeln type vbeln_va,
audat type audat,
auart type auart,
kunnr type kunnr,
end of ty_vbak,
begin of ty_vbap,
vbeln type vbeln_va,
matnr type matnr,
netwr type netwr_ap,
kwmeng type kwmeng,
end of ty_vbap,
begin of ty_kna1,
kunnr type kunnr,
name1 type name1,
end of ty_kna1,
begin of ty_final,
vbeln type vbeln_va,
audat type audat,
auart type auart,
matnr type matnr,
netwr type netwr_ap,
kwmeng type kwmeng,
kunnr type kunnr,
name1 type name1,
end of ty_final.
data : t_vbak type standard table of ty_vbak initial size 1,
t_vbap type standard table of ty_vbap initial size 1,
t_kna1 type standard table of ty_kna1 initial size 1.
data : t_final type standard table of ty_final initial size 1,
w_final type ty_final,
w_vbap type ty_vbap,
w_kna1 type ty_kna1,
w_vbak type ty_vbak.
data : t_fcat type slis_t_fieldcat_alv,
w_fcat type slis_fieldcat_alv.
DATA T_FINAL2 TYPE STANDARD TABLE OF TY_FINAL INITIAL SIZE 1.
data v_name1 type name1.
if p_name1 is not initial.
r_name-sign = 'I'.
r_name-option = 'EQ'.
if p_name1 ca '*'.
r_name-option = 'CP'.
endif.
r_name-low = p_name1.
append r_name.
endif.
start-of-selection.
select vbeln audat auart kunnr from vbak
into table t_vbak
where vbeln in s_vbeln and
kunnr in s_kunnr.
if sy-subrc <> 0.
message 'plz enter a valid entry' type 'I'.
leave list-processing.
endif.
if t_vbak[] is not initial.
select vbeln matnr netwr kwmeng from vbap
into table t_vbap
for all entries in t_vbak
where vbeln = t_vbak-vbeln and
matnr in s_matnr.
if sy-subrc <> 0.
message 'no rec found' type 'I'.
leave list-processing.
endif.
select kunnr name1 from kna1
into table t_kna1
for all entries in t_vbak
where kunnr = t_vbak-kunnr.
if sy-subrc = 0.
sort t_kna1 by kunnr.
endif.
endif.
end-of-selection.
loop at t_vbap into w_vbap.
read table t_vbak into w_vbak with key vbeln = w_vbap-vbeln binary search.
read table t_kna1 into w_kna1 with key kunnr = w_vbak-kunnr binary search.
w_final-vbeln = w_vbak-vbeln.
w_final-audat = w_vbak-audat.
w_final-auart = w_vbak-auart.
w_final-matnr = w_vbap-matnr.
w_final-netwr = w_vbap-netwr.
w_final-kwmeng = w_vbap-kwmeng.
w_final-kunnr = w_kna1-kunnr.
w_final-name1 = w_kna1-name1.
append w_final to t_final.
endloop.
delete t_final where name1 not in r_name.
perform sub_fill_fcat using 'VBELN' 'SALE ORDER NUM'.
perform sub_fill_fcat using 'KUNNR' 'CUSTOMER NUMBER'.
perform sub_fill_fcat using 'NAME1' 'NAME OF A CUST'.
perform sub_fill_fcat using 'AUDAT' 'SALE ORDER DATE'.
perform sub_fill_fcat using 'AUART' 'SALE DOC TYPE'.
perform sub_fill_fcat using 'MATNR' 'MATERIAL NUM'.
perform sub_fill_fcat using 'KWMENG' 'QUANTITY'.
perform sub_fill_fcat using 'NETWR' 'PRICE'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
IT_FIELDCAT = T_FCAT
TABLES
T_OUTTAB = T_FINAL
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.
*& Form SUB_FILL_FCAT
* text
* -->P_0389 text
* -->P_0390 text
FORM SUB_FILL_FCAT USING P_FNAM P_TEXT.
clear w_fcat.
w_fcat-fieldname = p_fnam.
w_fcat-seltext_m = p_text.
append w_fcat to t_fcat.
ENDFORM. -
Can Search help in Web Portal be made so that it is NOT case sensitive?
We have a number of reports that users access via the web portal. Most of these reports have a variable selection screen that appears so that users can pre-filter the report before executing it. When the user selects search help on any of the variables and attempts to search the text values, the search is case-sensitive. But we have some data stored all caps and some data stored mixed case, so this isn't very convenient for the user. I would like to be able to set up the search window so that the searches are not case sensitive. Is there a global setting that can accomplish this, or can the search page be customized? Any guidance would be appreciated.
Thanks.I have the same issue. There was a fix in 3.5 using function module RSA_CHA_BUILD_QUERY however this doesn't exist in 7.
Any thoughts would be much appreciated. -
Installing to a case-sensitive fs
When I did my original 10.4 install, I opted
for a case-sensitive boot disk. I come from a
UNX background, and am using UNIX utilities
from darwin ports and my own UNIX files in
a cvs tree. It seemed natural to use a case-
sensiticve fs, since I would be using a lot
of files ad applications that are case
sensitive.
Enter my girlfriend's graphics applications.
After fighting with Adobe CS2 for hours, I
cloned my data drive and re-partitioned it
to have a 50 GB case-insensitive partition,
just for applications. All was good with the
world again.
Enter the next of her applications, Macromedia
Flash Pro. One of the same two errors as
the Adobe suite was getting [ 1008:17, -4 in
thie case ]. Looks like Flash writes to /Users,
not just /Applications, so I think I am
getting case-sensitive issues again.
I attempted to symlink the dir onto my
case-sensitive drive, but the installer
did not recognized the symlink as a
directory and prompted me to delete it.
I've learned two things from this experience:
1. A case-sensitive boot drive is near-useless
for commercial applications.
2. The people who write Mac installers are
very, very poor progrsmmers. Cavalier
attitude towards case, refusal to handle
symlinks ... someone spent too much time in
the primitive world of OS 9.
OK, on to the question...
I've repaired permissions, googled the error code,
verified the hdd, even sampled the installed to find
out it errored out during a file read.
I am not going to clone my boot drive and reinstall
onto a case-insensitive partition.
Is there any sane way of fixing this? Maybe a
wrapper daemon for crippled programs that are
incapable of handling a case-sensitive fs?heya,
Yeah, I was afraid of that. Kinda hoping there would be
some crazy kext hack like you'd find in the linux/bsd
world. Hmm, could be an interesting project actually,
a case-insensitizer with an application white-list.
Well, I got most everything installed after some
trickery. Had to symlink /Users/Shared into a
case-insensitive partition, which fooled the
installer long enough for it to crash later
on the example files, then changed it back to
a dir.
Kept the error dialog open and copied what had
managed to install, hit ok on the error, and
let it clean up after itself. I now have
incomplete but functional installations of
flash pro and dreamweaver.
Now trying to find a way to pull the files
out of macromedia's installer. Looks like a
typical archive; has the unusual header SVCT,
which I cannot find documentation for [yet],
and file(1) identifies it only as 'data'. If I
can find some docs describing the file format I'm
golden.
Hard not to knock the developers though. In the
month I've been using OS X apps, I've seen many
things that would be a firing offense where I
work -
IPod on iPhone is case sensitive with bandnames, iTunes is not
Hi,
The iPod application on the iPhone (software version 3.1) is case sensitive with bandnames, iTunes (9.0.1) is not.
iPod on iPhone shows the bands
"Guns n' Roses"
and
"Guns N' Roses"
as separate bands.
iTunes manages them as one band.
Cheers,
PhilippBoth the root file-system and the /var file-system on the iPhone are case sensitive.
I have no idea why. Curious thing for Apple to do.
Must be a unix hacker there. They love case sensitive filesystems
This is likely a cause of the problem.
Best just to rename the offending artist and album fields.
You can sort & filter them in iTunes and change a whole whack of them at once. -
How do I install PSE8 on MAC with case sensitive drive?
I tried to install PSE8 for mac and i get an error saying it cannot be installed on a case sensitive drive.
Is there a fix for this?What is the purpose of this?
I have my drive formatted case sensitive on purpose for more security and stability.
Why on earth would y'all choose to do this?
Maybe you are looking for
-
I want to buy the program that will enable me to save a PDF file in word or excel
I want to buy a program that enables me to save a PDF file in word or excel
-
Final Cut Pro X. Delete automatic markers/keep manual markers.
Final Cut Pro X. I added markers to my project. I created a DVD by clicking... Share-DVD-Burn. When I play the DVD & use my remote to skip, I expected to skip to each spot that I had marked. However, when I skip using my remote, it skips every 30 se
-
Hi All, I need to create a database clone using RMAN but the name of the clone database has to be different from that of the Source database. Can I use the same controlfile as the one that was backedup by the RMAN during backup database plus archivel
-
Does Satellite A10 and S1410 have the same hinges?
I need to replace hinges on a S1410 and I found a seller carrying A10 hinges. Toshiba Satellite A10 and S1410 look similar in the photos so I wonder if they share the same kind of hinges. Can anyone help me?
-
Why are all of my file icons appearing to be PDF files?
Why are All my icon for folders programs are adobe icons.I click on any I get the adobe page (linternet explorer, chrome program files) Message was edited by: rapid7121