Wd abap - Input field showing up as yellow on screen
I've got a problem that is driving me crazy. On one of my views I have an input field (name, linked to context element type string) that, when you run the application, shows up yellow. It is one of 6 input fields on the screen, and I can't see any difference between this and the other 5.
Could someone tell me why this might be happening and what I can do to either stop or control it? Any assistance would be appreciated.
Bob,
One inputfield is active / has focus.
This is probably the yellow one
How to set focus actively see:
IF_WD_VIEW->REQUEST_FOCUS_ON_VIEW_ELEM
Regards,
Joris
Similar Messages
-
Why do all input fields show multiple blinking cursors?
The awesome bar, the search engine search field, and any form element on a website will show multiple cursor blinkers while I'm typing in them. The blinkers also momentarily appear upon focus. It's confusing because I don't know which is cursor is the real one and which are the decoys. [http://img828.imageshack.us/g/firefoxpv.png/ Screenshots] Screenshots.
* Windows Vista Business 64 -bit
* nVidia GeForce 8800GT
* Latest nVidia driver: 8.17.12.6658
* Firefox 4.0
* DirectWrite, WebGL, Direct2D are all on.Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]]
In Firefox 4 [http://kb.mozillazine.org/Safe_mode Safe mode] disables extensions and disables hardware acceleration.
* Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available" -
Highlighting input field and table cell column in red colour
Hi,
I have 4 input fields and a table in my screen. All the input fields are read only.
I have a functionality where I have to highlight a input field with the red colour. In the sense, I have to put a thin Red border over the input field without thowing any errors or messages.
Also, i have to highlight a particular cell in the table. i.e, i have to put Red colour border over the cell of the table for some rows only. Right now i have changed the background colour of the cell for required rows, but i need Red thin border rather than changing the entire background colour.
Please guide me on achieving these functionalities..
Thanks and Regards,
-Shabir Rahim.Hi,
The red thin lines border you are talking about comes from the framework during the exceptions. If this is the case then refer the following links, hope this will help you.
[Re: Automatic message for inputfields with state=required]
[Re: Validation of InputField]
Well without exceptions, i dont think it will come.
thanks & regards,
Manoj
Edited by: Manoj Kumar on Feb 7, 2008 12:09 PM -
ESS: Changing input field to dropdown box
Hi,
We are configuring ESS, portal's record working time iview has a column "wage type(CATSD-LGART)" which is input field with search help in portal screen.We are looking for an option to change this field to drop down box. Client wants simple navigation. Please let me know if I can change this with customization.
Again, changing input field to drop downbox in working time iview.
Your help will be appriciated.
Thanks,
Edited by: Satyanarayanan Gadadas on May 12, 2010 7:48 PMWhat is the reason that the customer is wanting only dropdown and not the search help.
Can you please ask for business reason for such requirement. (Please ask only if you are in a position to)
The reason is that its too much an effort so I am keen to understand the reason.
Puja has advised the right solution. -
Can we do input field readonly and it will takes data only from F4
Hi experts,
I want user only fill data in inputfield by F4, not manualy , can we do somwthing for that.
Thanks & Regards
Prashant GuptaHi Prashanth,
We can handle your requirement. I will give one example and it is working.
Address - Node
Firtst_Name- Node attribute and this attribute will have DDIC search help.
Create Input field 'FIRSTNAME' for this attribute in screen with transparent container 'TC' and bind the above context to the UI element. Now this UI element is Context is 'ADDRESS.FIRSTNAME'.
Now add the below code in MODIFYVIEW hook method.The below code will add search help with read only input field but for display mode again you have to disable the search help for this field. i have not written code for that.
DATA: lo_first_name TYPE REF TO cl_wd_input_field,
lo_first_name_new TYPE REF TO cl_wd_input_field, " New input field
lo_transp_cont TYPE REF TO cl_wd_transparent_container. " TC container
lo_new_container TYPE REF TO cl_wd_transparent_container.
DATA: lv_bound_value TYPE string,
lv_read_only TYPE wdy_boolean.
IF iv_first_time EQ abap_true.
lo_first_name_input ?= io_view->get_element( id = 'FIRST_NAME' ).
lo_first_name_input->set_width( '0' ).
lv_bound_value = lo_first_name_input->bound_value( ). "ADDRESS.FIRST_NAME"
Create new dynamic Input Field
CALL METHOD cl_wd_input_field=>new_input_field
EXPORTING
bind_value = lv_bound_value
id = 'FIRST_NAME_NEW'
read_only = abap_true
view = io_view
RECEIVING
control = lo_first_name_new.
Create new dynamic Transparent Container
CALL METHOD cl_wd_transparent_container=>new_transparent_container
EXPORTING
id = 'TC_NEW' " New container
view = io_view
RECEIVING
control = lo_new_container.
" I used flow layout thats why i am using the flow layout
cl_wd_flow_layout=>new_flow_layout( container = lo_new_container ).
cl_wd_matrix_data=>new_matrix_data( element = lo_new_container ).
" Get old field container
lo_transp_cont ?= io_view->get_element( id = 'TC' ).
IF NOT lo_transp_cont IS INITIAL.
"Using a new Transparent Container both Fields for FIRST_NAME are shown as only one Field
cl_wd_flow_data=>new_flow_data( element = lo_first_name_new ).
lo_new_container->add_child( the_child = lo_first_name_new ).
" remove the child means old FIRT_NAME
lo_first_name ?= lo_transp_cont->remove_child( id = 'FIRST_NAME' ).
cl_wd_flow_data=>new_flow_data( element = lo_first_name ).
lo_new_container->add_child( the_child = lo_first_name ).
lo_transp_cont->add_child( index = 2
the_child = lo_new_container ).
ENDIF.
endif.
Regards,
Devi -
How to show clock on f4 in input field
Hi All,
I did bind one of the context attributes which has CLOCK input help(BALTIME,UZEIT) to a input field but still I am not able to get the clock on f4 of the input field
How can I show clock in input field
Thanks
Bala Duvvurihttp://code.google.com/p/abap-sdn-examples-tpj/downloads/detail?name=NUGG_WD_TIMESTAMP_VALUE_HELP.nugg&can=2&q=
http://code.google.com/p/abap-sdn-examples-tpj/downloads/detail?name=ChapterX%20-%20User%20Programmed%20Value%20Help.pdf&can=2&q= -
How i can show the selection screen input field in the top of page in alv
hi ,
how i can show the selection screen input field in the top of page in alv grid output.
tell me the processHi,
excample from my program:
FORM topof_page.
DATA: l_it_header TYPE TABLE OF slis_listheader WITH HEADER LINE,
l_info LIKE l_it_header-info.
DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
DATA: l_key LIKE l_it_textpool-key.
READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
DEFINE m_selinfo.
if not &1 is initial.
clear l_it_header.
l_it_header-typ = 'S'.
l_key = '&1'.
translate l_key to upper case.
read table l_it_textpool with key key = l_key.
if sy-subrc = 0.
shift l_it_textpool-entry left deleting leading space.
l_it_header-key = l_it_textpool-entry .
endif.
loop at &1.
case &1-option.
when 'EQ'
or 'BT'
or 'CP'.
write &1-low to l_it_header-info.
when others.
write &1-low to l_it_header-info.
concatenate &1-option
l_it_header-info
into l_it_header-info
separated by space.
endcase.
if not &1-high is initial.
write &1-high to l_info left-justified.
concatenate l_it_header-info
l_info
into l_it_header-info
separated by space.
endif.
if &1-sign = 'E'.
concatenate ']'
l_it_header-info
into l_it_header-info.
endif.
append l_it_header.
clear: l_it_header-key,
l_it_header-info.
endloop.
endif.
END-OF-DEFINITION.
m_selinfo: s_trmdat,
s_trmext,
s_trmint,
s_fkdat,
s_delno,
s_vbeln,
s_deact,
s_kdmat.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = l_it_header[].
ENDFORM.
I hope, this will help you.
Regards
Nicole -
Can we Change the backround color of an Input field in Webdynpro for ABAP.
Hi Experts ?
Can we change the background color of an Input field in WebDynpro for ABAP based on results we receive from any function module or BAPI?? .
Thanks in advance .
Regards ,
LASYes. We can change the background of an input field. The way you do this is by editing the theme that webdynpro application uses. To edit the theme, you will need to install NWDS PLUS the theme edit plugin (Available for download from SAP).
Once you have edited the theme, you will need to upload your theme back to application server. You can use the program : BSP_UPDATE_MIMEREPOS to do this.
Bydefault, the theme used by webdynpro applications is :
/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow
You can apply another theme by calling the webdynpro application with a theme parameter. For example, if my webdynpro application name is "zgopaltest", then
<i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow</b></i>
will apply the sap_tradeshow theme.
Likewise, you can apply diffrent theme. There is another theme that SAP provides. Its called : sap_hcb. Hence, you can apply the theme to the above application by:
<i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_hcb</b></i> -
How to enable/disable the input fields based on the data entered in the web dynpro application abap? If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.
Hi,
Try this code.
First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
Next go to Init method.
Set the readonly value as 'X'.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = 'X').
After that Go to the Action ENTER.
First read the input field ( first input field, which is value entered field) , next give a condition
if input value is not initial then set the readonly value is ' '.
DATA lo_nd_input TYPE REF TO if_wd_context_node.
DATA lo_el_input TYPE REF TO if_wd_context_element.
DATA ls_input TYPE wd_this->element_input.
DATA lv_vbeln TYPE wd_this->element_input-vbeln.
* navigate from <CONTEXT> to <INPUT> via lead selection
lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
* @TODO handle non existant child
* IF lo_nd_input IS INITIAL.
* ENDIF.
* get element via lead selection
lo_el_input = lo_nd_input->get_element( ).
* @TODO handle not set lead selection
IF lo_el_input IS INITIAL.
ENDIF.
* get single attribute
lo_el_input->get_attribute(
EXPORTING
name = `VBELN`
IMPORTING
value = lv_vbeln ).
if lv_vbeln IS not INITIAL.
DATA lo_el_context TYPE REF TO if_wd_context_element.
DATA ls_context TYPE wd_this->element_context.
DATA lv_visible TYPE wd_this->element_context-visible.
* get element via lead selection
lo_el_context = wd_context->get_element( ).
* @TODO handle not set lead selection
IF lo_el_context IS INITIAL.
ENDIF.
* @TODO fill attribute
* lv_visible = 1.
* set single attribute
lo_el_context->set_attribute(
name = `READONLY`
value = ' ' ). -
How to read the input field value into ABAP variable?
Hi All,
i need a read the value of an input field into an ABAP variable,and i am doing this in the following way
lstring = request->get_form_field('myFlag').
here 'myFlag' is the input field name,but this is not returning me any value into lstring.
I have gone through the SDN and tried to do this.
could you please help me out to resolve this issue.
Thanks in Advance,
PraveenaDear Praveena
In which event are you putting this code. Place it in oninputprocessing event(Page with flow logic Model of coding). Then it will surely work.
Regards
Vijay.M -
Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP
Dear Friends,
Am new to Interactive Adobe forms with Webdynpro Abap,
My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
and raise the message when i click on Save Button.
I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
Thanks,
Pradeep.Hi Pradeep,
You can validate the fields by using javascript/formcalc logic in onclick event of button.
Please refer the below links
Adobe Form -How to make an Input Field Mandatory
Validate Intercive Adobe Form
Hope it helps you.
Regards,
Rama -
OM IT 1005 not showing input fields in PPOME & PPOCE
Hello friends,
The business requirement is:
add IT 1005 Planned Compensation as a tab page in T.code PPOME/PPOCE
I configured the following in system:
- IMG>Personnel Mgt>Org Mgt>Hierarchy Framework>Integrate New Infotype> >Add Infotype as Tab Page in Detail Area>Define your onw tab page>Tab Page Definition (this is option one)>
I added Tab page as z1005, ticked infotype specific and infotype 1005
Scenario Definition (Hierarchy Framework) > select OME0 >
Tab Page in Scenario for each Object Type >
I entered object type S (as we need it for Position), tab page: z1005, and respecitve sequence, I did not enter any report name, screen no, FM for Icons and Donot display is unchecked.
Once I did this configuration and run PPOME tcode I got the tab page there but in the input fields it is blank and showing text like ##################### just a row like this.
However when I do the same configuration for IT 1050 Job evaluation, it is working fine there. But 1005 is throwing the above error.
Can anybody faced the same problem and resolve the above issue or incase some SAP Notes are available for the same.
thanks
SunnyHi,
Please check the table - T77OMTABUS.
Regards
Priya -
Not show the right button in input field which data type is date
My web dynpro has a input field. This input field is mapped with a context attribute which type is datum.
This field is read only. I want that this field doesn't show the right button to choose the date.
How do I solve this?
ThanksHi,
go to the context of your view,
to the attribute of your date,
and set the attribute input help mode to disabled
grtz,
Koen -
How can we change the input field on a view stop showing zeros
Hello,
To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
Edited by: sap_learner on Mar 25, 2010 5:44 PM
Edited by: sap_learner on Mar 25, 2010 5:49 PM
Edited by: sap_learner on Mar 25, 2010 5:55 PMhello Manas Dua,
Thanks for your help. I am able to resolve my problem.
My code will help the future comers to resolve this kind of issues.
*The code is applied to method WDDOINIT of the default view.
DATA lo_nd_terms_input TYPE REF TO if_wd_context_node.
DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
DATA lv_zeros TYPE wdy_attribute_format_prop.
lv_zeros-null_as_blank = 'X'.
lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
lo_nd_terms_input_i->set_attribute_format_props(
EXPORTING
name = `ENTER THE ATTRIBUTE NAME`
format_properties = lv_zeros ).
Edited by: sap_learner on Mar 26, 2010 5:02 PM -
BPEL Console not showing input fields for process
I'm having a problem with our BPEL processes. When testing them in the BPEL Console the form for entering the input fields does not appear, even when switched to XML entry instead of HTML.
The problem seems to occur in processes which take their input schemas from a different directory from the BPEL process. This was working fine in Oracle 10.1.2. We can successfully load the schema by entering its URL, and if the process is started without entering any data, the input message is correctly generated, just with all fields empty. So it seems like the schema is being found.
When both the input and output schemas are specified inline in the project WSDL file, it works correctly. The problem occurs when referencing the schema in a different location. We have numerous projects which share common schemas, so specifying them all in-line is not a workable solution.
Has anyone else encountered this problem, or found a solution to it?
Thanks for your help.
HowardI have similar process where I am able to see the instance incomplete process C, the issue is with the present process.
actually process B and C are from production I have designed the new process A, which is calling B and B is calling C.
I have also designed other process A1(new) which is calling B1(existing) and B1 is calling C1(existing), there I am able to see the instance of C1
dont know why it is happening like this for process C
please advice
thanks
yatan
Maybe you are looking for
-
I keep getting this message: AN ERROR OCURRED WHILE LOADING THIS CONTENT ATV was working fine until i did a version update last week. Since then i have rented two movies and keep getting the same message I restarted the ATV - no success I reset my wi
-
Triggering SRM PO output to windows spool
Hi, I have a customer requirement to output the SRM PO to the user windows default printer. Customer do not want to configure printers through SPAD transaction... Customer do not want to display PO in PDF and then to print it to windows printer. Cust
-
I'm using Lightroom cc, I'm trying to create a develop preset. I'm making changes to one photo that I want to apply to many other photos, one of the changes is to blur the background using the adjustment brush. When I am blurring I am going over the
-
QuantumToolkit taking up 100% of CPU when no CSS is loaded
All Our application has a simple TableView that takes an incoming server object and displays it for the user. When it receives a similar object the model will attempt to find the previous object and update one or two cells with new status values. Not
-
I have always updated firefox until version 6 which I uninstalled and now I have version 4. Version 6 was not compatible with several extensions such as adobe flashplayer, some java.... too many. Version 7 will have the same problems? I will not upda