Event should trigger when press enter on select option in web dynpro.
I want to trigger a event for validation when enter is pressed in select option in web dynpro.
as the select option is created by the coding and there is no method to trigger the event.
please advice.
Pls post it ABAP Forum
Rgds
Sumanth.Gururaj
Consultant/Systems Analyst- SAP SD/MM
Similar Messages
-
Event should trigger when enter is pressed on select option for validation
Hi,
I want to trigger a event when enter is pressed on a select option field for validation.
I have created a select option through coding. I am not able to find out any method or class for that.
please advice.Hi Sachin ,
If you want ot use the methods in the class CL_WDR_SELECT_OPTIONS.
You can find here:-
[WDR_SELECT_IPTIONS|https://cw.sdn.sap.com/cw/docs/DOC-20864.pdf]
Check these if can find ur required one.
If you are using any ui element then you can use ON_ENTER event as a action as stated by Baskaran.
Check also if these threads can help you:-
[WebDynpro ABAP select options method SET_VALUE_OF_PARAMETER_FIELD;
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
Thanks & Regards,
Monishankar Chatterjee -
Select options in web dynpro ABAP (Event on_check)
Hi,
how can I raise a message in the event-handler method on check for a specifc field out of the Select-Option.
Best regards,
MarcusHello,
Create a new method and call it when you want to show the message.
METHOD message_handling .
DATA:
lr_current_controller TYPE REF TO if_wd_controller,
lr_message_manager TYPE REF TO if_wd_message_manager.
lr_current_controller ?= wd_this->wd_get_api( ).
lr_message_manager = lr_current_controller->get_message_manager( ).
lr_message_manager->report_t100_message(
msgid = iv_msgid
msgno = iv_msgno
msgty = iv_msgty
p1 = iv_p1
p2 = iv_p2
p3 = iv_p3
p4 = iv_p4 ).
ENDMETHOD.
In this method, the program show a message that is declared in a mesasge class. If you look at IF_WD_MESSAGE_MANAGER there are other methods to show a message.
And you can find more information at this blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8402. [original link is broken] [original link is broken] [original link is broken]
Regards, -
Hi,
I have a report, this has select options for users to enter the selection criteria. On the screen users can see 'Cancel', 'Check', 'Reset' and 'Copy' buttons but NO 'SAVE'!!!
Is there a way to save the selection made by the user as a variant? by doing this users can just select their Variant and execute the report.
Thank you,
Renu>
Renu P wrote:
> So, You mean to say that, If I'm a user and when every I run a WDA report " Do I have to enter the selections each and everytime? "
>
> - Renu
Short answer - yes. You can of course build something application specific to save the select-option values, but there is nothing like the variant supplied by the framework.
Using personalization you can save single input values as favorites (right mouse click on a field and choose User Settings->Use Current Value as Default. However this isn't really like the old style variant, no does it capture complex values like those that can be represented within a select-option. -
SELECT OPTIONS IN WEB DYNPRO ABAP
Hello experts, im working with select options in a WEB Dynpro.
There are four buttons (cancel,check,reset,copy) that apears above my select option.
My question is: There is a way to hide that buttons?
THANKS!Sure, you can disable them using the SET_GLOBAL_OPTIONS methdo of the IF_WD_SELECT_OPTIONS class. Something like this:
wd_this->m_handler->set_global_options(
i_display_btn_cancel = abap_false
i_display_btn_check = abap_false
i_display_btn_reset = abap_false
i_display_btn_execute = abap_false ). -
Select options in web dynpro ABAP (search help f4 problem)
hi...
from the Tutorial of select options i have created select option for two parameters S_CARR_ID and S_CONN_ID but i get f4 help for only S_CARR_ID, but the parameters passed to both for m_handler->add_selection_field are the same.
i also tried to attach my search help by passing one more parameter (I_VALUE_HELP_ID) but it dose not help.
could any one suggest me how to get f4 help.
thank you.
Regards
kailash.
code snap ->
init the select screen
wd_this->m_handler =
wd_this->m_wd_select_options->init_selection_screen( ).
create a range table that consists of this new data element
lt_range_table =
wd_this->m_handler->create_range_table(
i_typename = 'S_CARR_ID' ).
add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'S_CARR_ID'
it_result = lt_range_table
i_read_only = read_only
create a range table that consists of this new data element
lt_range_table =
wd_this->m_handler->create_range_table(
i_typename = 'S_CONN_ID' ).
add a new field to the selection
wd_this->m_handler->add_selection_field(
i_id = 'S_CONN_ID'
it_result = lt_range_table
i_read_only = read_only ).hi kailash,
check wheteher the field u r refering is having search help.
if it has then set the additional parameters in method add_selection_field
I_VALUE_HELP_STRUCTURE = 'VBC07'(name of the table) I_VALUE_HELP_STRUCTURE_FIELD = 'FKART'( field name)
ex:
wd_this->go_select_options1->add_selection_field( i_id = 'FKART'
I_WITHIN_BLOCK = 'BLOCK1'
I_VALUE_HELP_STRUCTURE = 'VBCO7'
I_VALUE_HELP_STRUCTURE_FIELD = 'FKART'
it_result = lo_range_table
i_read_only = lv_read_only
regards,
janakiram.
Edited by: janakiram raju on Mar 11, 2008 11:40 AM -
Validation of select-options in WEb DynPro ABAP
Can anyone please help me on validating select-options. I want to have a functionality like what we use in normal text field while validating the field. We generally use the REPORT_ATTRIBUTE_ERROR_MESSAGE funciton.
How can we achieve the same thing with select-options, cuz the select-options are not bound with any attribute.
Edited by: Tirth Pandya on May 7, 2009 2:02 AMHi,
Refer to this link..Re: validate select option fields -
When pressing Enter/Return to commit a marquee selection the Feather box turns white for input (and I'm not trying to chage the feather values)!?
Pressing Enter/Return should commit the selection but it doesn't why? I have not changed any short-cut preferences in PS CS6.
When I use the Marquee or Lasso tool and make a selection and I'm happy with the selection, I press the Enter (PC)/Return(Mac) and the the "marching ants" should disappear...
this has always worked until today!?
Now, when I press the Enter key, the Feather box (next to the Anti-alias) on the upper left corner goes from grey to white and wants me to change the value?I was not able to reproduce the behavior you mentioned, though I don't normally make a practice of using the Enter key for that function (I tend to double-click to close the selection).
Nor could I reproduce the behavior by holding down a modifier key.
Have you tried restarting Photoshop?
Rebooting?
Resetting Photoshop's preferences to defaults?
-Noel -
OneNote 2013: Font changes when pressing Enter / Return key
I have the same problem as this guy (who didn't get a relevant answer): http://social.technet.microsoft.com/Forums/office/en-US/233833f7-dde8-414d-bdca-604ed8d57667/onenote-2013-font-changes-when-pressing-enter-return-key?forum=officeitpro
I set my default to Calibri 14, but every time I press enter (I make a lot of bullet lists) the font changes to Calibri 11.Hi,
Did you change the default font after you typed a few words in a note container?
Setting the default font in Microsoft Office OneNote affects text that you type in new note containers only. It does not affect existing text or text that you add to existing note containers.
If you want to change the font in an existing note container, you need to change it manually under
Home tab > Basic Text.
Thanks,
Steve Fan
TechNet Community Support -
When pressing enter the values are converted to upper case in module pool
hi
tehre are three fields for maintanece in module pool
wheni press enter the fields are converted to upper case i want to avoid this as i dont want to have the upper case
i need to save in table as waht user has inputed not in upper case
so i dont want the fields to be automatically converted to upper case whne pressing enter on screen
regards
Nishanthi Nishant ,
<b>The solution to ur problem is breifly explained with a sample module pool program .</b>check it below :
IN the TOP INCLUDE**********************
DATA :
wempid TYPE z7684dp-empid , " same name as in the screen declaration
wname TYPE z7684dp-name,
wacc TYPE z7684dp-account,
wdesg TYPE z7684dp-designation,
ok_code TYPE sy-ucomm ,
wa_z7684dp TYPE z7684dp,
t_z7684dp TYPE STANDARD TABLE OF z7684dp,
*****IN THE PAI OF THE SCREEN 100(for example)***********
MODULE user_command_0100 INPUT.
CASE ok_code .
WHEN 'CRE' . " function code for the pushbotton to insert the values
TRANSLATE wdesg TO LOWER CASE.
TRANSLATE wempid TO LOWER CASE.
TRANSLATE wname TO LOWER CASE.
TRANSLATE wacc TO LOWER CASE.
wa_z7684dp-empid = wempid .
wa_z7684dp-name = wname .
wa_z7684dp-account = wacc .
wa_z7684dp-designation = wdesg .
INSERT INTO z7684dp VALUES wa_z7684dp .
IF sy-subrc EQ 0 .
MESSAGE 'SUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
ELSE .
MESSAGE 'UNSUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
ENDIF.
CLEAR: wa_z7684dp , wempid , wname , wacc , wdesg.
REVERT BACK WITH ANY FURTHUR QUERIES
<b>DO REWARD WITRH POINTS IF USEFUL :)</b> -
Problem when pressing ENTER for InputText object text
Hi,
I encountered a very strane anomly when pressing ENTER for
InputText object text.
1) I set the InputText object for having maxium 2 characters.
2) I set the InputText object for getting only numbers using
.restrict= "0-9";
Now, say the InputText is now empty.
1) Say I press the number "7" - the text line is now
containing - "7".
2) Now, I press ENTER - the "7" is cleared from the text
line.
Now, while the text box is clear, we think that we can insert
2 numbers.. but not!
3) I press a number, say "9" - the line contains "9"
4) I try to insert another number... but I can't!!
In order to be able to insert two numbers, I have to press
twice the Backspace in order to clear the "9" , and another ghost
note (the ENTER?).
How can I solve this anomaly?
Thanks
YossiThank you very much! it works.
(Those tiny anomalies are so annoying, that it is so great
feeling to have them solved, thanks) -
Very slow start when initially entering the service ticket in Web UI (2007)
We seem to encounter a very slow start when initially entering the service ticket in Web UI (2007). Once in all seems speedy enough. I don't have my access arrange for the Service marketplace (OSS notes) yet so can't check if there is a known solution, which I suspect there is. Has anyone encountered this problem and possibly resolved it?.
Jason.Previous posts have highlighted the following notes:
1048388 General Performance improvements of BSP transactions
1162605 Network performance for CRM 2007 Webclient
1162685 SAP CRM 2007 Webclient Performance
821045 Poor performance of MIME objects in BSP pages
581316 BSP Delta-Handling for CRM (BASIS 620 SP17)
However, I was wondering whether anyone has come across any other small changes that may have a major effect. A quick-win I guess you call it. From bitter experience I know there are rarely quick wins when it comes to optimisation due to the amount of re-testing etc.
But any further advice would be welcome.
Jas. -
When I print a selected area of web page, it doesn't fit to the paper. The end of each page are cut off.
I'm very sure my printer is set cirrectly.
Can't Firefox shrink to fit when I want to print a selected area of web pages?
This has never occurred in IE.File >Page Setup -- check your margins, I have set size to 85% which is probably left over from some problem. Also check your printer that it is correctly set to the size of the paper.
-
Hi all expert,
May you know within GUi, we can define select option.With the select option, we can do choose EQ BT NE and not between.
Is there any possibility make the same select option in web UI ?
Thanks in advance
best regardsHello Edward,
this will help you to select which select options you want to have per attribute:
1) Launch transaction 'sm34'
2) Enter view cluster name as 'CRMVC_DQ' and click on 'Maintain'
3) Find DQuery Object Name for example 'BTQOpp' under Comp Name 'BT' and click on'exceptions per attribute.'
4) Find the Attribute Name for example 'PROSPECT_NAME'
5) Check the boxes you need for example CP for "contain pattern"
Good luck.
Kind regards
Manfred -
Select-Options in web ui component
Hi All,
I am new to crm7.I need to create the select-options in web ui component(BSP_WD_CMPWB).Please let me know the how to do this.
Thanks,
SanthoshHi Santosh
do one thing access the BP_HEAD_SEARCH component, from there access the Main search view there go to EH_ONSEARCH method . Here in this method it is clearly given how to instantiate and how to use this method, for your reference I'm giving here again
data: lr_advanced_query TYPE REF TO cl_crm_bol_dquery_service,
lr_bp_head_coll type ref to if_bol_bo_coll.
1) lr_advanced_query = cl_crm_bol_dquery_service=>get_instance( 'BuilHeaderAdvancedSearch' ).
Get the instance of cl_crm_bol_dquery_service instance .
2) lr_advanced_query->add_selection_param( iv_attr_name = 'PARTNER'
iv_sign = 'I'
iv_option = 'EQ'
iv_low = lv_partner
iv_high = '' ).
On the returned instance (lr_advanced_query) call the method add_selection_param ( ) method
3) lr_bp_head_coll = lr_advanced_query->get_query_result( ).
call the query result
after doing the above steps , the view coding will support you to build the screen , it will looks like below.
<thtmlb:advancedSearch id = "advs0"
fieldMetadata = "<%= controller->GET_DQUERY_DEFINITIONS( ) %>"
header = "<%= SEARCH->get_param_struct_name( ) %>"
fieldNames = "<%= controller->GET_POSSIBLE_FIELDS( ) %>"
values = "//SEARCH/PARAMETERS"
maxHits = "//SEARCH/MAX_HITS"
ajaxDeltaHandling = "false"
onEnter = "search" />
remember your controller class must inherit from CL_BSP_WD_ADVSEARCH_CONTROLLER , other wise advanced search controller functionality will not work, for this pls check the inheritace of main search view controller class.\
Thanks & Regards
Raj
after doing this
Maybe you are looking for
-
Need to turn off iMessage, but my iPhone is broken
Need to turn off iMessage, but my iPhone is broken. No way at all to turn the phone on at all, it fell in a pool, i switched to a droid but when people with an iphone text me, it uses imessage. I cant recieve imessage on a droid. so how do i turn it
-
Manual photo placement contact sheet
Using iPhoto, I am trying to print a contact sheet with the photos in a specific order. I have them in an album and I arranged them as I want them printed. Upon printing to PDF, the images scramble. I have tried, but without success, the following:
-
Suddenly now, when I use the clone stamp in CS5, as I click the option key, the whole image moves around and there is a whole duplicate image as well. How do I rectify this? I am not new to Photoshop, but I have never encountered this and cannot fi
-
Help with Ipod and Itunes...
I have an ipod nano and have been using it successfully until tonight...I plugged it in to the USB port of my computer to upload some new songs and the ipod shows up as E:\ instead of "my ipod". It also says that I've used more space than I actually
-
Tiger vs. data security
I should make a few security settings on a Quad with 10.4.3 and I dont know how to make them... 1) A user is locked out for 30 minutes after 3 failed login attempts. 2) Users MUST change password every 180 days. 3) EVERY FW and USB devices must be mo