Search fields starting with given characters
Hi,
i have a tableview in which there is a column for account. Now for this column i should get an expand icon wherein if i click the expand icon i should get new view
in which there is one dropdownbox for account with label find and one inputfield with label"starting with" like:
find---(ddb) startingwith -
if i give suppose accounts in "find" and give a few letters in "startingwith" and press enter it should display all the accounts starting with the given letters.
this is my requirement.
can anyone suggest me how to proceed?
Thanks and Regards,
Sneha Puppala.
Here you go..
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page title="" >
<htmlb:form action="POST" >
<htmlb:textView id = "account_filter"
layout = "NATIVE"
text = "Enter accout No. to Filter"
width = "100" />
<htmlb:inputField id = "accounts"
showHelp = "true"
submitOnEnter = "true"
value = "<%= accounts %>" />
<br>
<%
data TV_ITERATOR Type Ref To zcl_itr." - Iterator Function
data iterator type ref to IF_HTMLB_TABLEVIEW_ITERATOR.
create object tv_iterator exporting appl_cons = application.
iterator = tv_iterator.
IF it_account is not initial."If you want to show tableview always, then REmove this IF/ENDIF
%>
<htmlb:tableView id = "pop"
width = "200"
headerVisible = "true"
design = "alternating"
visibleRowCount = "10"
fillUpEmptyRows = "true"
selectionMode = "SINGLESELECT"
selectedRowIndex = "<%= row_index %>"
onRowSelection = "MyEventRowSelection"
showNoMatchText = "true"
filter = "server"
sort = "server"
onHeaderClick = "MyEventHeaderClick"
table = "<%= it_account %>"
iterator = "<%= iterator %>" >
</htmlb:tableView>
<% endif. %>
</htmlb:form>
</htmlb:page>
</htmlb:content>
<b>Oninputprocessing:</b>
DATA: event TYPE REF TO if_htmlb_data.
event = cl_htmlb_manager=>get_event_ex( request ).
* get the first Inputfield event
IF event IS NOT INITIAL AND
event->event_type = 'submitOnEnter'
* Write your code to fill the it_account based on the data entered in Inputfield & Display in tableview
endif.
Let me know if you have any question on this.
<i>* Reward each useful answer</i>
Raja T
Message was edited by:
Raja Thangamani
Similar Messages
-
URL of BCS search results start with bdc3://
Hello,
I am using sharepoint BDC in Sharepoint 2013. I have created profile page and given permissions. I configured search. I have full crawled 2-3 times and incremental crawl. I found total records crawled are more than total record in sql database.
When I checked I found 2 records start with "bdc3://".
Please let me know how to prevent crawling the url starting with bdc3://.
Thanks,
Lovkesh PatelHi Lovkesh,
According to your description, my understanding is that you do not want to crawl the contents start with bdc3:// in SharePoint 2013.
I recommend to create Crawl Rules with bdc3://* as the path to exclude the content start with bdc3:// from crawling in Search Service Application to see if the issue still occurs.
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Select fom table for all entries where field starts with value
Hello
I want to write a select like this
select * from bsis
into lt_bsis
for all entries in lt_itab
where xblnr like lt_itab-belnr%
I want to select all the entries from bsis where the field xblnr starts with the values found in lt_itab-belnr.
for example
ls_itab-belnr = 5100000028
bsis-xblnr = 510000002810001
510000002810002
510000002810003
520000002810001
and i want to select only the entries that start with 5100000028 in this case
Can anybody help?
ThanksHi,
I hope below example code will help you to fix your issue,
REPORT ytest.
TYPES : BEGIN OF ty_typ1,
val TYPE i,
END OF ty_typ1.
TYPES : BEGIN OF ty_typ2,
val1 TYPE hrobjid,
val2 TYPE hrobjid,
END OF ty_typ2.
DATA : int_typ1 TYPE TABLE OF ty_typ1,
int_typ2 TYPE TABLE OF ty_typ2,
wa_typ1 TYPE ty_typ1,
wa_typ2 TYPE ty_typ2,
int_1001 TYPE TABLE OF hrp1001,
wa_1001 TYPE hrp1001.
REFRESH : int_typ1, int_typ2, int_1001.
CLEAR : wa_typ1, wa_typ2, wa_1001.
wa_typ1-val = 500001.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500002.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500003.
APPEND wa_typ1 TO int_typ1.
wa_typ1-val = 500001.
APPEND wa_typ1 TO int_typ1.
SORT int_typ1 ASCENDING BY val.
DELETE ADJACENT DUPLICATES FROM int_typ1 COMPARING val.
LOOP AT int_typ1 INTO wa_typ1.
wa_typ2-val1 = ( wa_typ1-val * 100 ) + 1.
wa_typ2-val2 = wa_typ2-val1 + 98.
APPEND wa_typ2 TO int_typ2.
CLEAR : wa_typ1, wa_typ2.
ENDLOOP.
SELECT * FROM hrp1001 INTO TABLE int_1001
FOR ALL ENTRIES IN int_typ2 WHERE
plvar EQ '01' AND
otype EQ 'S' AND
sclas EQ 'O' AND
begda LE sy-datum AND
endda GE sy-datum AND
objid GE int_typ2-val1 AND
objid LE int_typ2-val2.
LOOP AT int_1001 INTO wa_1001.
WRITE : / wa_1001-objid.
ENDLOOP.
Thanks & Regards,
Harish Kumar N -
Traversing BOM Model in configurator to search nodes starting with MULT_
Hi,
I have arequirement in the project where in I have to traverse through the entire BOM Model and search for the nodes starting with "MULT_".
Can anyone please let me know the logic for this iteration
Thanks
RamyaI just received a similar error on a refresh - were you able to resolve this?
2. ORA-06512: at "APPS.CZ_UIOA_PVT", line 17185 ORA-06512: at "APPS.CZ_UIOA_PVT", line 17204 ORA-06512: at "APPS.CZ_UIOA_PVT", line 17295 ORA-06512: at "APPS.CZ_UIOA_PVT", line 17459 in Package CZ_UIOA_PVT Procedure refresh_UI
Thanks--
Kate -
How to select number field starting with 99
Hi Freinds-
I have to pick values for a number field but i want only those values which starting with 99
how i can put code in select query for this ?
Regards
Meeta & RubyHi,
Use the query as:-
select
<field1>
<field2>
from <database_table>
into table <internal_table>
where
<field_name> like '99%'.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
Not allowing to create field starting with underscore and numbers
Hi All
I'm trying to create a datatype in PI 7.1 with element starting with underscore and numbers like _Name , 1.0.Name. when I'm trying to activate the dataype. I'm getting the error Activation of the change list canceled.please help me out
Thanks in advance.What exactly are you viewing in production - a data type? You could be viewing an external message. Reconfirm.
rgds
gab -
Keywords Starting with Special Characters - Any Dangers ?
In order to force some special keywords at the top of their hierarchy branch, I plan to use a leading special character. For instance, to ensure that the first sub-keyword under "mountain" is "mountain name" rather than "cirque", I plan to add a leading period so ".mountain name" (note the leading period) gets added at the top of the keyword hierarchy under "mountain".
I'd like to know if any problems are known to crop up when one does this. For instance, a leading "!" wrecks havoc in the keyword hierarchy as in searches the "!" means "NOT". Any such problems with the period "." or the colon ":" ?
Last, but not least, do Adobe plan to use leading special characters other than the "!" for special purposes in search strings ?
Cheers.Thanks, Jeff and John, for your input and, more importantly, your warnings.
I should start by saying that the (pseudo) keywords I wanted to prefix with
a period "." or two ".." are keywords which are for my own use only and
which I did not plan to export. They would only be holding i,e, containing
exportable keywords. For instance, in my "building" hierarchy I planned on
having a container keyword ".state" which would have contained keywords such
as "occupied", "empty", "derelict", "ruin". At export time, only these
so-called leaf keywords would be exported, not ".state". My reason to want
the container keyword ".state" at the top of the "building" hierarchy was to
make it clear that "state" wasn't a building type (like "government" or
"commercial" or "industrial") and to make it easy to remember to specify the
state of the photographed building. I think this would not break the keyword
language. But, maybe I'm wrong here.
In any case, your warnings got me re-thinking about using special characters
to prefix some container keywords so they would appear clearly as being
different from normal contained keywords. I have thus reduced to a strict
minimum the number of such cases (e.g. I have abandonned the leading period
"." prefixing "number of persons" under "persons" even though a number of
persons is not a person type or kind - like family or friend).
Last question to you, Jeff and John: How would you isolate or distinguish in
a tree hierarchy the container keyword "state" whose sub-keywords would be
"tree (bare)", "tree (spring colors)", "tree (autumn colors)" and "tree
(dead)" ? Indeed, "state" is not a tree species like "oak" or "aspen" and
I'd think that it'd be nice to have it in a special place in the list of
tree species. Wouldn't you isolate or distinguish "state" from, say "oak" or
"aspen" ? Or would you do this in a totaly different way ?
Thanks again for the very valuable input ! -
Application Basics
Name
Firefox
Version
20.0.1
User Agent
Mozilla/5.0 (Windows NT 6.0; rv:20.0) Gecko/20100101 Firefox/20.0
Build Configuration
about:buildconfig
Extensions
Name
Version
Enabled
ID
Ask Toolbar
3.14.0.100013
true
[email protected]
avast! WebRep
8.0.1483
true
[email protected]
Babylon
1.1.9
true
[email protected]
DivX Plus Web Player HTML5 <video>
2.1.2.145
true
{23fcfd51-4958-4f00-80a3-ae97e717ed8b}
FireFTP
2.0.13
true
{a7c6cf7f-112c-4500-a7ea-39801a327e5f}
I Want This
0.91.137
true
[email protected]
Java Console
6.0.35
true
{CAFEEFAC-0016-0000-0035-ABCDEFFEDCBA}
Internet Video Downloader
2.0.0.8
false
{B728AB94-9BC7-49b7-B76A-422BB31B2FD0}
Microsoft .NET Framework Assistant
1.2.1
false
{20a82645-c095-46ed-80e3-08825760534b}
Important Modified Preferences
Name
Value
accessibility.typeaheadfind.flashBar
0
browser.cache.disk.capacity
358400
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size.use_old_max
false
browser.cache.disk.smart_size_cached_value
358400
browser.display.background_color
#C0C0C0
browser.display.use_system_colors
true
browser.history_expire_days.mirror
180
browser.places.importBookmarksHTML
false
browser.places.importDefaults
false
browser.places.leftPaneFolderId
-1
browser.places.migratePostDataAnnotations
false
browser.places.smartBookmarksVersion
4
browser.places.updateRecentTagsUri
false
browser.search.useDBForOrder
true
browser.startup.homepage
http://search.babylon.com/?affID=109935&tt=060612_7_&babsrc=HP_ss&mntrId=74662df50000000000000016446981f7
browser.startup.homepage_override.buildID
20130409194949
browser.startup.homepage_override.mstone
20.0.1
browser.tabs.warnOnClose
false
dom.w3c_touch_events.expose
false
extensions.lastAppVersion
20.0.1
general.useragent.extra.microsoftdotnet
( .NET CLR 3.5.30729; .NET4.0C)
gfx.blacklist.suggested-driver-version
10.6
keyword.URL
http://websearch.ask.com/redirect?client=ff&src=kw&tb=WBR&o=13993&locale=en_US&apn_uid=C12BDB56-7F51-458B-92C3-D4C6999AF
network.cookie.prefsMigrated
true
places.database.lastMaintenance
1365598414
places.history.expiration.transient_current_max_pages
77105
places.last_vacuum
1296624145
plugin.disable_full_page_plugin_for_types
application/pdf
print.print_printer
Lexmark Z2300 Series
print.printer_Lexmark_Z2300_Series.print_bgcolor
false
print.printer_Lexmark_Z2300_Series.print_bgimages
false
print.printer_Lexmark_Z2300_Series.print_command
print.printer_Lexmark_Z2300_Series.print_downloadfonts
false
print.printer_Lexmark_Z2300_Series.print_edge_bottom
0
print.printer_Lexmark_Z2300_Series.print_edge_left
0
print.printer_Lexmark_Z2300_Series.print_edge_right
0
print.printer_Lexmark_Z2300_Series.print_edge_top
0
print.printer_Lexmark_Z2300_Series.print_evenpages
true
print.printer_Lexmark_Z2300_Series.print_footercenter
print.printer_Lexmark_Z2300_Series.print_footerleft
&PT
print.printer_Lexmark_Z2300_Series.print_footerright
&D
print.printer_Lexmark_Z2300_Series.print_headercenter
print.printer_Lexmark_Z2300_Series.print_headerleft
&T
print.printer_Lexmark_Z2300_Series.print_headerright
&U
print.printer_Lexmark_Z2300_Series.print_in_color
true
print.printer_Lexmark_Z2300_Series.print_margin_bottom
0.5
print.printer_Lexmark_Z2300_Series.print_margin_left
0.5
print.printer_Lexmark_Z2300_Series.print_margin_right
0.5
print.printer_Lexmark_Z2300_Series.print_margin_top
0.5
print.printer_Lexmark_Z2300_Series.print_oddpages
true
print.printer_Lexmark_Z2300_Series.print_orientation
0
print.printer_Lexmark_Z2300_Series.print_page_delay
50
print.printer_Lexmark_Z2300_Series.print_pagedelay
500
print.printer_Lexmark_Z2300_Series.print_paper_data
1
print.printer_Lexmark_Z2300_Series.print_paper_height
11.00
print.printer_Lexmark_Z2300_Series.print_paper_size_type
0
print.printer_Lexmark_Z2300_Series.print_paper_size_unit
0
print.printer_Lexmark_Z2300_Series.print_paper_width
8.50
print.printer_Lexmark_Z2300_Series.print_reversed
false
print.printer_Lexmark_Z2300_Series.print_scaling
1.00
print.printer_Lexmark_Z2300_Series.print_shrink_to_fit
true
print.printer_Lexmark_Z2300_Series.print_to_file
false
print.printer_Lexmark_Z2300_Series.print_unwriteable_margin_bottom
0
print.printer_Lexmark_Z2300_Series.print_unwriteable_margin_left
0
print.printer_Lexmark_Z2300_Series.print_unwriteable_margin_right
0
print.printer_Lexmark_Z2300_Series.print_unwriteable_margin_top
0
privacy.sanitize.migrateFx3Prefs
true
security.warn_viewing_mixed
false
user.js Preferences
Your profile folder contains a
user.js file, which includes preferences that were not created by Firefox.
Graphics
Adapter Description
ATI Radeon X1200 Series
Adapter Drivers
atiumdag atiumdva atitmmxx
Adapter RAM
Unknown
Device ID
0x791f
Direct2D Enabled
Blocked for your graphics driver version. Try updating your graphics driver to version 10.6 or newer.
DirectWrite Enabled
false (7.0.6002.18592)
Driver Date
2-10-2010
Driver Version
8.593.100.0
GPU #2 Active
false
GPU Accelerated Windows
0/1 Basic Blocked for your graphics driver version. Try updating your graphics driver to version 10.6 or newer.
Vendor ID
0x1002
WebGL Renderer
Blocked for your graphics driver version. Try updating your graphics driver to version 10.6 or newer.
AzureCanvasBackend
cairo
AzureContentBackend
none
AzureFallbackCanvasBackend
none
JavaScript
Incremental GC
true
Accessibility
Activated
true
Prevent Accessibility
0
Library Versions
Expected minimum version
Version in use
NSPR
4.9.5
4.9.5
NSS
3.14.3.0 Basic ECC
3.14.3.0 Basic ECC
NSSSMIME
3.14.3.0 Basic ECC
3.14.3.0 Basic ECC
NSSSSL
3.14.3.0 Basic ECC
3.14.3.0 Basic ECC
NSSUTIL
3.14.3.0
3.14.3.0Hello,
'''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
''(If you're not using it, switch to the Default theme.)''
* You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Once you get the pop-up, just select "'Start in Safe Mode"''
'''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
Thank you. -
Can't import csv fields starting with double quotes but lack ending ones
Hi all,
When I'm trying to used external table to import a csv file, specified as using comma as delimiter optionally enclosed by double quotes, some records are rejected because a field in the record has starting double quotes, but without ending ones.
Assume the customer really want these starting double quotes, how do I change my external table specification such that these starting double quotes are treated as part of the field data and can be successfully inserted into db?
Many thanks.I have no access to Oracle during weekends, so nothing can be tested. So here it goes:
Suggestion: DELIMITED BY '","' and of course omitt ENCLOSED BY '"'
You will have to update each row of the rows just loaded setting the first_field to substr(first_field,2) and the last_field to substr(last_field,-2)
If all the fields are not enclosed in double quotes (TRUE for strings and FALSE for numbers and dates) the situation (syntax diagrams allow two delimiters only) is somehow more complicated, anyway you can specify DELIMITED BY ',' and update all varchar2 fields in each row of the rows just loaded setting the varchar2_field to substr(varchar2_field,2,length(varchar2_field) - 2).
Regards
Etbin
After posting I noticed it's difficult to distinguish between single and double quotes:
the first DELIMITED BY should read {single quote){double quote}{comma}{double quote}{single quote)
the ENCLOSED BY should read {single quote){double quote}{single quote)
Message was edited by: Etbin
user596003 -
How can I get web searches to start with uk sites.
When I do a web search for a product it shows USA sites which is frustrating. How can I get UK sites to be the first sites displayed?
Cheers
PatHello lindyh, for specific Search results you can install specific Search Engine Plugins, example for google : http://mycroftproject.com/google-search-plugins.html
Google UK (SSL) en-GB (google.co.uk) by Mycroft Project
Google UK - the UK (SSL) en-GB (google.co.uk) by Mycroft Project
in general : http://mycroftproject.com/search-engines.html
for master password see the next links for details :
* [https://support.mozilla.org/en-US/kb/use-master-password-protect-stored-logins Use a Master Password to protect stored logins and passwords]
* http://kb.mozillazine.org/Master_password
thank you -
I was really happy about how the desktop manager lets me choose the songs from my itunes library by playlists! this is smart! I'm also happy to see the playbook render asian characters properly (unlike my experience on the bold!)
However, I have a lot of songs which have titles that begin with non-alphabetical characters, ie asian characters. For all playlists which contains such songs, those songs do not get transferred onto the playbook AT ALL. For example, I have one playlist which contains only songs with titles beginning with asian characters - this playlist was transferred but it is shown as containing zero songs! When I browse my song library by artist/album, I can find all those songs that should be in that/those playlists.
Can this be fixed?
thanks.
Solved!
Go to Solution.as it turns out, it kind of got fixed by itself. what i did (i think, since i have not definitively verified) was i went to browse "all songs" wherein i noticed all thoses songs starting with asian characters seemed to show correctly. then i went back to the playlists in question, and viola!
clearly there is a bug or two in the music player somewhere regarding these title characters. but rim has more urgent things to resolve i guess - like my auto screen lock is still not working! -
Finder search bug? No results if 'Search' field is blank.
I can't determine if this is a bug or is simply a change in Finder search behavior (for the worse, IMO) in 10.8.
In the Finder, when I select 'File>>Find' (or hit ⌘-F) and then select the current folder from the top of the search parameters, no files appear in the search results if the 'Search' (for filename) field at the top of the window is blank even though the only other search parameter is 'Kind is Any'.
If I enter text in the 'Search' field, matching results start to appear.
In 10.7, I saw different behavior. In the absence of text in the Search field, the Finder would simply return results matching the other parameters and ignore the Search field.
With the new behavior, there doesn't seem to be any way to construct a saved search based solely on other parameters (kind, date, file label, etc) without specifying some filename parameter as well. Of course, I can work around the problem by using something like 'NOT xxx!@#$%' in the Search field, but this approach is klugy at best.
Anyone else see this? Bug? Deliberate change in Finder behavior?Yes the report ESH_TEST_SEARCH returns no material.
So should I suspend the indexing and reschedule with with real time indexing ? I am not sure whether we choose real time indexing in the first time.
What about the authorizations, I see USER_AUTHORITY object is activealready.
Thanks -
SPC Chart and Tag Name starting with a Number
On a 11.5.3 (latest build) install, we've found that SPC Charts don't like tag names that start with numeric characters. The data points just don't plot. I can right click and get the data, but there are no points on the chart. All other applets work fine with the same tags. Has anyone else seen this?
Hey Rick,
We did try that and it worked. Also when creating the tags in the UDS Admin, I don't believe the UDS Admin will allow for this scenario (along with funky characters like pipes "|"). However, we are using an alias file (export from Historian into Excel, into SQL, and tweaked via Xacute) where the UDS Admin rules aren't enforced, which might be the inherent problem here.
I just thought that if the applets allowed it, the iSPCChart should also.
Thanks.
Edited by: Ryan Miller on Feb 19, 2008 10:04 AM
I'll leave this thread unanswered for a bit to see if anyone else cares to comment. -
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. -
A name should not start with any special characters
I need to put a condition in iF statement such that a name that is given by the user should not start with any special charecters.A dialog box should display indicating this conditon.Can u plz give sample code for this.My code is as below.
//text box for giving the name
JTextFeild ReportNameText;
//the name is stored in String
String name=ReportNameText.getText();
//Here tell me how the if condition should be written
//condition to be mentionedAlready asked, and answered, here: http://forum.java.sun.com/thread.jspa?threadID=727919
See reply 4 in that thread, and scsi-boy's suggestion of writing another
method to check for "special" characters. And the links to the String
and Character API documentation given.
Maybe you are looking for
-
Hi i need to change a profit center attachd to my freight account. i can see this when i do an invoice( miro for a purchse order) in fb03 on the acc document. however i am not able find the config which is driving this. tried lot of tcodes and in spr
-
Ipad just updated. Now App store is in Korean. How do I change?
My Ipad just auto updated. I live in Korea but do not speak Korean. Now my App Store and other things are in Korean. How do I chage it to English?
-
Come riinstallo Photoshop?
Avevo un netbook che aveva già Photoshop installato, poichè il mio poverò netbook si è bruciato ma sono riuscito a salvare ram e a metterla in una box. Ora che ho un nuovo pc vorrei installarci qui il mio photoshop ma quando scelgo la lingua e premo
-
Can I sync my apps from two accounts on to my iPhone4S?
I have two iTunes accounts that I cannot merge. Can I at least share all apps on my iPhone?
-
Hi, I have a bea cluster configured among two physical servers First machine has the admin server configured. It also has a managed server configured in the cluster named "cluster" . The application ear file is copied on to this server only (No share