Search help multiple selection of search results
Hi,
I have a search help (SE11) and it is correctly integrated in my WDP4A application using 'automatic' search help integration. Unfortunately multiple selection of search results does not seem to be supported (the ok button greys out when >1 result is selected). Is there a standard way to link a search help to an attribute in a 0..n value node, so that at runtime a new context element is created for each selected search result? Or do I have to recreate the search help from scratch to get this behaviour (OVS)?
If the latter is true, then why is it even possible to select multiple search results?
Kind regards,
Jeroen
Hallo Jeroen,
OVS standard configuration does not allow you to select more than one configuration, You need to specify that explicitely on Phase-0 of OVS using the set_configuration method.
see
[Multiple Selection in F4 help|Multiple Selection in F4 help]
[http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP]
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true]
Similar Messages
-
WDA Search Help Multiple Selection
Hello everyone,
I've managed to integrate a standard search help into my WD ABAP application.
The thing is that from the search help pop-up I can select multiple rows but when I select more than 1 row in the help value list the OK button is greyed out.
I would like to select more than 1 entry and transfer it back to the associated input field, like a list of values separated by a comma.
How can I implement this?
Thanks!To be honest I didn't mean that.
I've integrated a standard search help in my WDA, just defining a context attribute bound to a dictionary field having a search help. Now I'd like to have a multiple selection enabled for it.
What I am getting is a General Value List from which I cannot transfer multiple values back to the caller.
Is there a way to do it? -
Select-Option F4 Help Multiple Selection
Hi
I have wriiten the code to provide custom F4 help for a field using F4IF_INT_TABLE_VALUE_REQUEST' and then updating the values back to screen using Function Module DYNP_VALUES_UPDATE.
It is working fine when the F4 is used on the main screen, But when i click on the multiple selection button and press F4, i do get the F4 values list, but selected value is not getting passed back to the field.
I guess the issue is the field name changes in the multiple section option, Please suggest how can i fix it.
*& Form update_date_bATCH
Updating the sel_screen with the retrieved values
FORM update_date_batch USING pt_filename pt_fieldvalue.
Rundate
st_dyn_fields-fieldname = pt_filename.
st_dyn_fields-fieldvalue = pt_fieldvalue.
APPEND st_dyn_fields TO it_dyn_fields.
Function Module to update the screen with the values retrieved
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = it_dyn_fields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE i006(zffi).
ENDIF.
ENDFORM. " update_new_date_timeYou have added the F4 to a select-option for areport and would like to get the F4 values back into the select-option, when the user selects multiple values?
If this is the case you have to fill the internal table behind the select-option and this will have to based on waht the user selected.
The first value will go on to the screen the way you have done it.
If this is what you want to do?
Rene -
Custom F4 help multiple selection
Hi folks,
I have created a custom F4 help for select-options. it is working fine for low and high value selections. the moment i click onthe arrow multiple selections and enter multiple values and click on copy button it is giving short dump. how to handle this scenario.i tried to google but couldnt get for multiple selections. any thoughts on this?Hi,
Please paste your code, for review.
regards, -
[Help] Multiple Selection at Select Options.
People, I've coded following Select Options:
DATA: g_created TYPE zapomatxref-erdat,
g_modif TYPE zapomatxref-aedat,
g_matnr TYPE zapomatxref-pr1_material.
SELECT-OPTIONS: s_creat FOR g_created,
s_modif FOR g_modif,
s_matnr FOR g_matnr OBLIGATORY.
Thing is, when I execute the program and hit the Multiple Selection, an error pops up saying "Fill in all required fields".
I know it goes through PBO validating that OBLIGATORY so I can't enter the multiple selection screen.. But is there a way to enter the multiple selection screen without changing the OBLIGATORY adition ?
Thanks in advance.
PS: This is an executable program, not module pool. Also I want to enter Mutliple Selection screen without filling s_matnr.Guys, solved the problem. You have to remove the OBLIGATORY addition and set the following code.
("Percentage symbol" below is the traditional percentage centessimal symbol we know, the mozilla wont let me insert it...)
TOP Include:
CONSTANTS: c_per002 TYPE c VALUE '(percentage symbol)002'.
MAIN PROGRAM:
AT SELECTION-SCREEN ON s_matnr.
IF sy-ucomm NE c_per002.
IF s_matnr[] IS INITIAL.
MESSAGE e025(ycapo).
ENDIF.
ENDIF.
START-OF-SELECTION.
PS: c_per002 comes to be the sy-ucomm value when hitting Multiple Selection Button at Selection Screen.. As any action validates the whole screen, you just set a clause when you don't want to validate if sy-ucomm not equals (different from) c_per002. -
Applescript list with multiple selections
Hello guys, i have h big problem...
i was trying the multiple selections part by the command list, but if i select 2- and more it does nothing (i'm using if x is y then *linebreake* else if ...)
so i tried another way script:
tell application "Finder"
--get folders of me--
set a to get name of folders of folder "Contents:Resources:Versionen" of (path to me) --in this folder i got folders named {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}--
set b to choose from list a with prompt "Choose your Minecraft Version!" with multiple selections allowed
--next step--
count b
set c to result
repeat c times --with this part i wanted to handle every selected folder as an individual to duplicate it somewere else
set ab to b * -1
duplicate folder ab to folder (choose folder)
end repeat
end tell
thanks for helping meThe following script (tested under OS X 10.8.2) should do what you are asking for:
tell application "Finder"
set theSourceFolder to folder "Contents:Resources:Versionen" of (path to me)
set theFolderNames to get name of folders of theSourceFolder
set theChosenNames to choose from list theFolderNames with prompt "Choose your Minecraft Version!" with multiple selections allowed
if result is false then return
set theDestinationFolder to choose folder
repeat with thisName in theChosenNames
duplicate folder thisName of theSourceFolder to theDestinationFolder with replacing
end repeat
end tell
Message was edited by: Pierre L. -
Multiple Selection in Search Result List in PCUI
Hi,
Our requirement is to allow creation of new records in list view of the PCUI application CRMM_ACCOUNT. I'm using old floor plan CRM 4.0 to meet this requirement. But this is causing a problem. It's not allowing multi select in the search result list (Event INIT, Screen Element SRMS). If I change the screen element to SRME, it allows multiple selection (thru selection checkboxes) but does not allow creation of new records in list view.
Also, how to activate the multi-valued search on certain fields. I've already checked the "Multi-Value" check box for the relevant field.
Any help on this will be much appreciated.
Regards,
Vishala®s wrote:
Hi,
You can find lot of thread in this for forum for your query.
example
a®s
Thanks ! it's helpful! But my requirement is a little bit different. (Sorry I didn't make it clear)
I created a table maintenance (SM30) for a table. The F4 Search help should be applied to a field of the table when a user creates a new entry. I hope it makes clear.
btw: I have awarded some points! Because it's also good to know some other ways:) -
One search help for multiple select-options in webdynpro abap
Hi,
I need a way to use one search help for multiple select-options fields. My scenario is :
I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
I think I won't be able to use this way. What do you say?
As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
MY TABLE (ZBYYT080) CONTENTS:
SID VARBL VALUE LANGU VTEXT
ADS $WERKS 1 T Werk 0001
ADS $WERKS 11 T OZYAS GIDA URETIM YERI
ADS $WERKS 5501 T BOYA GEBZE FABRİKASI
ADS $WERKS 5502 T BOYA CIGLI FABRİKASI
AGT $WERKS 2301 T KAMLI DAMIZLIK
AGT $WERKS 9601 T PANAR DENIZ URETIM YERI
ADS $VKORG 22 T AA KİMYASALLAR
ADS $VKORG 8001 T İINSAAT BOYALARI
AGT $VKORG 6500 T DAMk St.Org
AGT $VKORG 5400 T PANAR St.Org.
I wish I'm clear enough..
I will be gald if someone answers me as soon as possible...
Thanks İn advance..
MERALHi,
Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
Am I right ?
If Yes, then in the interface IF_WD_SELECT_OPTIONS
method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
have importing param like I_VALUE_HELP_TYPE and I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
etc which may help you to link your create DDIC Search help to selection screen params.
this is just a clue from my side. I haven't tried it myself.
You can go to the where used list of this method and find some sample implementations which use these params.
Hope this helps.
Regards
Manas Dua -
Multiple Selection of Search Help
Hi Guys,
I've read SAP's note that:
Multiple selections in the search options is not supported when you use the search help control. If you need these selections, you can also use the list mode SAP GUI for HTML:
Select the 'Help->Settings ->F4 Help' menu option to access the dialog box where you must then choose 'In modal R/3 dialog box' as the display option.
However, this setting is only user-specific. Is it possible to make it system-specific? i.e. enable it for all users?
THanks,
ZhenminHello ZhenMin,
Yes, you can make it the system default or change it for all users by doing the following:
1. to make "Dialog (modal)" the system default go to SU52, Parameters and then add parameter name "F4METHOD" with a value of "NoActiveX"
2. to change the value for the current users go to table USR05 and change the value of the field "F4METHOD" to "NoActiveX".
Edgar -
Search Help F4 Multiple selection
Hi,
In any field, after pressing search button (F4), the multiple selection buttons are not appearing in the sub screen "Restricted value range".
And the local data status is ON in "customize local layout" - "options", but still the past entered data is not showing in fields of "Restricted value range" screen.
Please suggest.
Regards
Bhanu prakash.Hi Bhanu prakash,
What is your B1 version and PL?
Thanks,
Gordon -
TIA.
Brandon, this forum member is known since a long time ago an arrogant (he thinks he knows more than every other) and stupid(*) (full of misconceptions). His first post is a very good example of what I just wrote. How does he dare to suggest to use File
Explorer, if W8.1 already has a system built for doing just this search? Do I have to open File Explorer in the folder (or somewhere near) the item I'm looking for? What about the other items in folders above it? This suggestion is stupid(*). He even
asserts that I'm using Modern UI! I'm not! I'm using the desktop, but his misconceptions make him write such idiocies(*) with such arrogance: asserting what he doesn't know (arrogancy and stupidity). And more, this guy is no one to say he/he/he to me, because
I know he is what you deleted from my posts, and more, he is often crying, moaning and snivelling like a spoiled child in this forum and messing up any thread posting stupid(*) images of programs imagined/designed/developed by others. All posts from him in
this thread must be trashed (you should do it). He has nothing to contribute POSITIVELY in this thread, but just to MESS IT UP.
(*) stupid, I can write, after all, you didn't delete this word from this ... poster.
Now, look at the first reply: this forum member has no idea how much stupid is his 'work around'. And this 'work around' does not answer my question and even does address the environment I mentioned: W8.1 U1 search results window page, and not File Explorer!
His second post just reassures me he has no idea what is the searching mechanism I'm talking about. He even mentions Win-w(!) which proves he totally ignore what is the searching mechanism I'm talking about. A user like this one, must have many monitors to
keep him busy looking at them, and having excuses for not read and learn technical documentation. It's ignorance about technical aspects of computer issues that makes him post bad bug report and a bad idea in Connect site:
Using Get-Date -Format "CyM" to work around some bugs
https://connect.microsoft.com/PowerShell/feedback/details/884502/using-get-date-format-cym-to-work-around-some-bugs
Only total ignorance about PowerShell makes someone post such bad 'bug' report. He got critics about his bad post, but I'm sure he doesn't understand.
Column headers for alias should include DisplayName instead of just Name
https://connect.microsoft.com/PowerShell/feedback/details/908152/column-headers-for-alias-should-include-displayname-instead-of-just-name
In fact, the information displayed is already DisplayName, but this guy has no technical knowledge to understand what is happening.
These 2 forum members just messed up a thread that should be free of negative contributions, besides off topic. -
How to get row number of selected entry from OVS search result
Hi,
Anyone having any idea on how to get row number of the selected entry/ how to differentiate rows in OVS search result in ON_OVS method?
Regards,
JatinHi,
You can get the selected record to <ls_selection> structure in co phase 3.
From that structure you can get what ever field you want.,
check the below code for reference,
<< Moderator message - Cut and paste response from F4 help for ALV table field removed. Plagiarism is not allowed in SCN >>
hope this helps u.,
Thanks & Regards,
Kiran
Edited by: Rob Burbank on Jan 5, 2012 5:24 PM -
Search not working with multiple select in dropdown field
Hello,
Please first visit below site for searching form on left side.
http://diventarepartner.unicaimmobili.com/home-page_copy_dynamic
There is a field called Tipologia which is dropdown menu with checkbox (multiple select). Choose more than one checkbox and its automatic append with comma in text field which is customized using javascript. Now then if you submit button then its not working as our products.
Now for this there is a custom field in admin in web apps items. This field is same for all items and values are different for all items like that which you can see above dropdown checkboxes value.
Now my question Is it possible that for that one field in admin which has different value for different items and when i search from website and checked that cehck boxes and it search for all different items ??
For example in admin suppose 2 items which has different value for that one field. Suppose one has value called Appartamento and other is Villa. Now from search form which is on website, that dropdown checkboxes, if i select these two values (Appartamento and Villa) from these and then search, it will display that both items from web apps ???
Is it possible ??? Can you help me for this ???
Waiting for reply. Thanks in advance.Your link doesn't work. Do you mind reporting it?
-
CS5 Photoshop Offline Help No Search Result Malfunction
In summary the Adobe Community Help application or the "Launch Help in Browser" functions wont return any search results for the Adobe Photoshop CS5 OFFLINE reference.
I use my main design machine off the net. It's not often I reach for the help text, but I got a wierd problem when I did. I'm bang up to date with all CS5 updates and all the help content for CS5 has been downloaded and is flagged correctly as local and is up to date. (I've even tried unticking all the local CS5 help refferences in the options and re-downloading them).
If I search for say "brush" in the PS help, with the option "Local" selected, I get NO results! (and yet the help text / manual is clearly visible in the right hand pane of the "Adobe Community Help" application). If I try to use the "Online" option, that has no problem returning results.
Q: Why doesn't Adobe Community Help return ANY search results for ANY query searched on the PS5 local help?
The local search works (or appears to) for the other local refferences like Fireworks or Encore. Just not Photoshop.Hi Zeno, thanks for you reply, but I don't think you fully read my issue.
I'll post you some images and then you can see what I'm talking about:
As you can see the correct options are selected.
As you can also see the help has downloaded and is "Current".
As you can see when I search for something as simple as "brush" the "Adobe Community Help Application" returns nothing, lol.
Cheers. -
Search help on select optionbased on other select ooption entered
hi,
I need to know search help for selection screen based on value entered in another select options
SELECT-OPTIONS : s_bukrs FOR bkpf-bukrs OBLIGATORY,
s_belnr FOR bkpf-belnr,
s_gjahr FOR bkpf-gjahr OBLIGATORY,
s_budat FOR bkpf-budat OBLIGATORY,
s_akont FOR lfb1-akont,
s_saknr FOR bseg-saknr. """"""""""
*PARAMETERS : p_akont type lfb1-akont.
here i need to get the vaues of s_akont based on values entered in s_bukrs,
In event at selection screeen for s_akont i am writing
SELECT a~bukrs
a~saknr
a~mitkz
b~txt50
FROM skb1 AS a
INNER JOIN skat AS b
ON asaknr = bsaknr
INTO CORRESPONDING FIELDS OF TABLE lt_skb1
WHERE bukrs IN s_bukrs
AND mitkz = 'K'
AND b~spras = 'EN'.
but not getting value of s_bukrs at this point of execution. I requir the fiels in select statement in F4 of s_akont.
what are the function modules to call and what is the way to do??
thanks..Check the below solution for your issue - The FM "'RS_SELECTIONSCREEN_READ" is used to get the S_BUKRS values. Even though the FM returns single values of the Select options ( Low & High ) it fits the requirement.As the trick part is...If user enters multiple values or even enters sign for select options, S_BUKRS itself will have the value. That's why we have If else S_BUKRS[] is initial and R_BUKRS. Let me know if you have any issues with the solution provided.
TABLES: bkpf, lfb1.
DATA lt_fieldvalues TYPE STANDARD TABLE OF rsselread.
DATA ls_fieldvalue TYPE rsselread.
DATA r_bukrs TYPE RANGE OF bkpf-bukrs.
DATA ls_bukrs LIKE LINE OF r_bukrs.
SELECT-OPTIONS: s_bukrs FOR bkpf-bukrs,
s_akont FOR lfb1-akont.
INITIALIZATION.
ls_fieldvalue-name = 'S_BUKRS'.
ls_fieldvalue-kind = 'S'.
ls_fieldvalue-position = 'LOW'.
APPEND ls_fieldvalue TO lt_fieldvalues.
ls_fieldvalue-name = 'S_BUKRS'.
ls_fieldvalue-kind = 'S'.
ls_fieldvalue-position = 'HIGH'.
APPEND ls_fieldvalue TO lt_fieldvalues.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_akont-low.
refresh r_bukrs.
clear ls_bukrs.
IF s_bukrs[] IS INITIAL.
CALL FUNCTION 'RS_SELECTIONSCREEN_READ'
EXPORTING
program = sy-repid
dynnr = '1000'
TABLES
fieldvalues = lt_fieldvalues.
IF NOT lt_fieldvalues[] IS INITIAL.
ls_bukrs-sign = 'I'.
READ TABLE lt_fieldvalues INTO ls_fieldvalue WITH KEY position = 'LOW'.
IF sy-subrc EQ 0.
ls_bukrs-low = ls_fieldvalue-fieldvalue.
ENDIF.
READ TABLE lt_fieldvalues INTO ls_fieldvalue WITH KEY position = 'HIGH'.
IF sy-subrc EQ 0.
ls_bukrs-high = ls_fieldvalue-fieldvalue.
ENDIF.
IF ls_bukrs-high IS NOT INITIAL.
ls_bukrs-option = 'BT'.
ELSE.
ls_bukrs-option = 'EQ'.
ENDIF.
if ls_bukrs-low is not initial or ls_bukrs-high is not initial.
APPEND ls_bukrs TO r_bukrs.
endif.
ENDIF.
ELSE.
r_bukrs[] = s_bukrs[].
ENDIF.
SELECT a~bukrs a~saknr a~mitkz b~txt50 FROM skb1 AS a
INNER JOIN skat AS b
ON a~saknr = b~saknr
INTO CORRESPONDING FIELDS OF TABLE lt_skb1
WHERE bukrs IN r_bukrs " Changed to r_burks
AND mitkz = 'K'
AND b~spras = 'EN'.
Maybe you are looking for
-
Cant hear anything in my macbook pro
i cant hear anything just when i move something to the trash
-
Please help how do i delete so
Hello, I just recently bought a zen micro and have a few questions. First it comes with a battery. So when i put in the battery there is another thing there like a chips is that a battery too was i suppose to hold onto the other battery? I might not
-
I only post this here because I could not find the appropriate forum under the MAC OS to post. I downloaded the beta version of Facetime for the Mac. I signed on with my apple ID account. I could not find a way to sign off, nor do I think there is on
-
Problems to run an aplication over a PDA
Hi there, I have made a program to catch some information, this page has three text input boxes and one button, my problems is that the program run good over my desktop browser version, but it not working good when is running over a PDA it does not w
-
EJB compatible on JDK1.3 and JDK1.4
One EJB running on WLS8.1(JDK1.4), is it OK to be invoked from WLS6.1(JDK1.3) ?