Over ride the drop-down value?
Hello,
I am developing an VISITOR Adobe Interactive Form, i have Designer 8.1 and Reader 9.0 in my Windows 7 Laptop. When i checked the menu EDIT-->form properties --> Compatability, its Adobe XML form File (XDP)
When i opened this VISITOR interactive form in a browser, right clicking and checked form PROPERTIES, then i saw the "PDF Version: 1.6 (Acrobat 7.x)"
I have a bunch of drop-downs in my interactive form, done by dragging & dropiing the 'Drop-down list' object, at the end i binded it with some data source, working fine, say its COUNTRY list.
As soon as use opened the form, he saw the 'USA' prepopulated in the drop-down field, fine.
User dropped down the entries, he saw a couple, like USA, Canada, UK, Spain, fine.
But, now user want to enter / override this USA entry with his own value, like FRANCE, but, my form is not allowing, its behaving like a 'readOnly' field!
Pls. let me know how to over ride a entry of drop-down values, as per user wanting value?
Hello Srinivas,
You can overide the entry of drop-down list by:
selecting the "Allow Custom Text Entry" box of the field tab of the object palette
of that drop-down list.
Thanks,
Debadas.
Similar Messages
-
Retrieving the drop down value used in wdr_select_options for default
Hello Experts,
I populated drop down using the method add_parameter_field by using WDR_SELECT_OPTIONS component.
Now my requirement is I need to default the value in some other parameter field based on drop down selection value.But the problem is WDDOMODIFY method is not triggreing while selecting the value from this dropdown for defaulting the value and even there is no method or option in the interface if_wd_select_options for creating an action while selecting the drop down like on slect in our manually creation drop down.
Please let me know if there is any solution for this.
Thanks and Regards,
VenkatHi venkatesh,
The eventhandlet ONENTER of WDR_SELECT_OPTIONS wont work for the drop down and also
there is no ONSELECT event of drop down in select options.
So i think there must be some kind of button action.
As you told you need to default the value of selection screen field based on drop down selection
why dont you remove that field from selection screen as you can however use the value later
while executing depending on drop down value. -
Unable to set the drop down values in the formbean
Hi Dudes
We are using weblogic8.1 portal for our application
We are initializing the vairable as follows
<netui:select dataSource="{container.item.INCLUDE_IN_LISTING}" optionsDataSource="{pageFlow.m_yesNoDefaultOptions}" styleClass="field_value"></netui:select>
Here in this case after selecting the drop down, the value is not reflecting in the formbean
Please hep me in this regard,
Thanks in advanceThis is normal behavior most of nokias phone will go black after a period of time to save battery...
If i have helped at all a click on the white star below would be nice thanks.
Now using the Lumia 1520 -
Reading the drop down value in interactive adobe forms in WDJ
Hi,
I have a scenario like this:
Drop down menu with values being populated from model . when i select the value from drop down and update the backend with that value, it is not done. It always takes the same value ( first one in the drop down list) and fails to take the selected value.
could anybody throw some light as how to deal with the drop down in adobe forms in WebDynpro Java?
Are there any specific settings for these?
I have taken the drop down menu from WebDynpro Native library.
Kind Regards,
Charan.Hi Charan,
Did u try to populate the data into the dropdown with the help of Simple types.
I faced the same issue, that got resolved when i binded the dropdown with Simple types that were populated.
Hope this helps.
Thanks,
Amita -
Want to hide the drop down based on text field value
Hi,
I want to hide some of the values in drop down based on one text field value.
I have the field called name which has the value A, B, C, D and also one drop down list which has the values 1,2,3,4,5,6. I want to hide the some of the values in drop down based on A or B or C. Let say, If it is A, drop down value should be 1,3,5. If it is B, Drop down value should be 1,2,3,4. Like this for every record.
Can you please help me out.
Thanks
RamHi Robert,
I am trying it in two different way. Please suggest which is the right one and feasible.
1) I have the drop down list which has all the status. I am trying to hide the drop down values based on one text field value for all records.
2) I have collected all the drop down values into table in webdynpro method. Rightnow I have two tables.
one has line items details and another one have drop down values. both tables having common fields.
I have to show second table values for that particular key, move all of them to drop down.
Which is the best and feasible option.
Thanks
Ram -
Drop down values for table in a view not getting populated dynamically
Hi Experts,
The problem which i am facing is as follows
In an existing web dynpro component , i already have a view and it consists of table which has 3 columns.All the three columns are non editable
MATERIAL MAT_DESC MAT_DEL_FLAG
ABC
EFG
HIJ
Now i need to add 2 more columns after the MAT_DEL_FLAG.These two PLANt and STORAGE LOCATION columns must have drop down values
The context refers to a standard Database ZTABLE to which these two fields are added.
MATERIAL MAT_DESC MAT_DEL_FLAG PLANT STORAGE_LOCATION
ABC
EFG
HIJ
The Plant column must have the drop down values based on Material .
If we select some value for Plant , then based on the value of plant the storage location drop down values must be populated.
So as per this logic , the drop down values for plant for each row must be different.
Please let me know how to achieve this.
This is a normal table and not an ALV table.
Also please let me know whether the drop down field must be drop down by key or drop down by index.
This is very urgent.
Thanks in advance
SindhuRefreshing things again for you -
1. As I have already pointed, create 2 context attributes for VALUESETS for both plant and St.loc.
2. Create dropdown by indexes for both of them, assign valusets to respective attributes using node information.
3. Go to the plant dropdown and create the action for it ONSELECT event - when you chagne the dropdown of plant then populate the respective storage loc.
4.Now, As you are selecting a row (leadselect) you have populated the plant and loc details....write the code for lead selection event of the table
You will get the lead selection index right using node interface (IF_WD_CONTEXT_NODE)
LOOP AT ITAB INTO WA_ITAB.
if sy-tabix eq lv_lead_index.
clear wa_valuset.
wa_valueset-key = 'X'. "plant
wa_valueset-value = 'X'.
append wa_valueset to it_valueset1.
* popultae the storage location valuset based on the plant selected (bydefault it is 1 right in dropdown)
clear wa_valuset.
wa_valueset-key = 'XX'. "storage loc
wa_valueset-value = 'XY'.
append wa_valueset to it_valueset2.
else.
* Fill the valusets for all other rows as different or as per your requirement.
endif.
wa_itab-valuset1 = lt_valueset1.
wa_itab-valuset2 = lt_valueset2.
modify itab from wa_itab transporting valuset1 valuset2.
clear wa_itab.
ENDLOOP.
lo_node->bind_table ( it_tab).
Now for that Row, if a plant value is changed, respective storgae loc has to be filled right...then in that ONSELECT of plnat drodpwon again you need to write a piece of code...using the same code with a little modifications.
Hope this is clear.
Check this article on the same - but here ALV is used...the concept is same use it for your table -
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cbdde3-fe58-2c10-fcbc-8db18e693877?QuickLink=index&overridelayout=true
the above code you hvae pasted - i think it fills only for the 1st time....
Regards,
Lekha.
Edited by: Lekha on Dec 20, 2011 12:00 PM -
Facing the problem ValueChangeListener of the Drop Down List
Hi,
I am using the JDeveloper 10.1.3.5.0 and the JHeadStart 10.1.3.3.88. In my requirement, I am having three View Objects(V1,V2,V3). I need to create a page based on one VO(V1) displayed as table. In the screen, there are 6 columns. Three of them(C1,C2,C3) are having the static values( coming from the VO(V1) from which it has been built), and the others are, one column(C4) is displayed as the drop down list(for some of the rows, drop down list values are coming from the VO(V2), and for the others drop down list values are coming from the other VO(V3). The other column(C5) is a input text field, that is enabled or disabled based on the selected values from the drop down list column(C4). The column(C6) is a check box. Now, coming to the actual requirement, the rows are related to the papers. For each paper, there are 5 methods of studies. One of the method of study is SelfLearning (5th method of study), for this the drop down values are coming from the VO(V3), and for the other methods of studies(1 to 4), the drop down values are coming from the VO(V2). Now, for a user, based on the number of papers, the number of rows are displayed.(1 paper- 5 rows, 2 papers-10 rows like wise). Initially, drop down list is displaying the null values. When I change the value in the drop down list, I need the ValueChangeListener has to be called and it has to call the method in the bean. From the bean, the column(C5) has to be enabled or disabled. This is working fine for the inital 5 rows and 7,8,9,10 rows and 12,13,14,15 rows. But, the ValueChangeListener is not working for the rows 6 and 11. I used the debug concept,and I confirmed that the valueChangeListener is not getting called for the rows 6,11,16 rows.
C 1
C 2
C 3
C 4
C 5
C 6
P1
ABC
Study Method1
Drop Down list1
input text box
check box
P1
ABC
Study Method2
Drop Down list2
input text box
check box
P1
ABC
Study Method3
Drop Down list3
input text box
check box
P1
ABC
Study Method4
Drop Down list4
input text box
check box
P1
ABC
Study Method5
Drop Down list5
input text box
check box
P2
DEF
Study Method1
Drop Down list1
input text box
check box
P2
DEF
Study Method2
Drop Down list2
input text box
check box
P2
DEF
Study Method3
Drop Down list3
input text box
check box
P2
DEF
Study Method4
Drop Down list4
input text box
check box
P2
DEF
Study Method5
Drop Down list5
input text box
check boxThe problem gets solved. Actually, the problem is at the VO Query. The small modification in the query at the attribute p_id( C1 ) has solved the issue.
-
Drop down Values in Adobe form
Dear All,
Greetings.
I am using the Adobe interactive form for E Recruitement(copying the standard and changing it as per the requirement). When i am using the Drop down value for one of the field. Instead of the drop down its showing as a POP-UP with all the possible values.
I am not able to predict what the problem is. I need to have a drop down, instead of the pop up.
Please help me in solving the issue.
Thanks
Ram MHi Ram,
Please use a Enumerated Drop down list ffrom the library, seems currently you have Extended Value selctor in your form.
This will hopefully resolve the issue.
Regards,
Arafat -
Drop down values in Adobe Forms vanishes upon Check and Send in HRAS
Hello
The drop down values in Adobe Forms vanishes upon Check and Send while initiating the process.
I also get the error , u2018 The Entered Value is not on the List of Valid Valuesu2019 when I select the values again and try to SUBMIT.
We are in EHP4u2026 and I am seeing many Notes has been released to address these issues in EHP3 itself..
Request your help and supportu2026.
Thanks
Meena VenkatesanHello
Thanks for the swift response.
We applied the Note 1413209 and 1403266. The fix didnu2019t work.
I noticed the SAP Note 1403266 mentions a prerequisite Note 1346443 which is for SP4.
We are currently in SP5 and our system mentions Note 1346443 as u2018Cannot be Implemented. u2018
Please advise. -
Need to delete drop down values of activity in travel request portal
Hi,
We need to hide/delete few of the drop down values from activity in travel request creation in portal, i know that if we delete in R/3 it will effect here, as per the client requirement we need values in R/3 system but that few of the values should not appear drop down list .
Regards
GaneshHi Ganesh,
Try the below code in POSTexit of WDDOMODIFYVIEW( ) method of your view
DATA drp_info TYPE REF TO if_wd_context_node_info.
data lo_node type ref to if_wd_context_node.
DATA drp_value_set TYPE wdr_context_attr_value.
DATA drp_value_list TYPE wdr_context_attr_value_list.
DATA index TYPE n.
DO 5 TIMES.
index = sy-index .
CONCATENATE ' Value ' index INTO drp_value_set-value SEPARATED BY space.
CONCATENATE ' Value ' index INTO drp_value_set-text SEPARATED BY space.
INSERT drp_value_set INTO TABLE drp_value_list.
ENDDO.
SORT drp_value_list BY value.
DELETE ADJACENT DUPLICATES FROM drp_value_list COMPARING value.
lo_node = drp_info->get_child_node('GENERAL_DATA').
drp_info = lo_node->get_node_info( ).
drp_info->set_attribute_value_set(
name = 'T_ACTYPE' value_set = drp_value_list ).
Hope this helps you.
Regards,
Rama -
Web ICons in Drop down values.
Hi,
I would like to add Web icons as drop down values. like have the three LED's in the
dropdown along with textx say - Successs, failure etc (an eg:).
or can i have the back ground color or the text color differ for each of the drop down values..
Any suggestions/ innovative ideas are appreciated :).
Thanks in Advance,
Anto.Hi ,
U can use ToolbarButtonChoice Control instead of dropdown , in that u can add the menuaction items , for every menuaction item u can five the image source and text ,
first create a group than add toolbar in it than this control.
Hope this will solve ur problem.
Regards
Yashpal
Message was edited by:
Yashpal Gupta -
How to fill drop down value in BDC
HI Friends-
AM using PA30 tcode in my BDC recording , its filling rest value but , for drop down values its not showing value .
how i can pass the drop down values here ?
Regards
MeetaHi Meeta,
You need to use the function module 'VRM_SET_VALUES' to set values for drop down list.
Refer to the link below for more info...
Re: Populating values in dropdown based on values selected in second dropdown.
Thanks
Alis -
I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. Can I fix this?
I'm fairly new to this, but I think it has to do with the way you have the drop downs named. Did you copy one then keep pasting it in each field? If so, that is the problem. You should rename each one with a different number: Dropdown1, Dropdown2, etc. I think that might solve the issue.
-
HCM F&P - How to set the field as Required based on drop down values
Hi Experts,
I have a requirement to set the Date field as mandatory when a particular value is selected in drop down list. I have already tried with MessageBox though it displays the error message but process moves further i.e. on clicking Check & Send button it throws an error message but still it moves further and i can see only Send button. Ideally it should halt there itself.
Thanks & Regards,
Jitesh TalrejaThanks for your valuable inputs
Chintan
I have already tried this. It only highlight the field with the red border but still allow to move further.
Mukesh
Yes, we can definately control this from the backend but that would be the last option i should execute. Ideally, this is something to be controlled in front end itself
Poornima
By setting the field attrbiute Required will set the field mandatory as a whole irrespective of drop down values or any other UI element.
Regards,
Jitesh Talreja -
How to set a Default Value in the drop down on Account Creation ?
Hi,
i have to set a default value in the drop down as soon as a User in a particular business role clicks on New Account. I have written the following code in do_prepare_output method. But this code is executed in the 2nd server round trip after entering some value or pressing enter. so i am not getting as soon as user clicks on the New Account.
How to set that default value when user clicks on New Account ? and where should i code ?
IF lv_icwc_profile = 'ZCSALESPRO' or lv_icwc_profile = 'Z_SALESPRO' .
try.
lr_entity ?= me->typed_context->header->collection_wrapper->get_current( ).
lv_current = lr_entity->create_related_entity(
iv_relation_name = 'BuilRolesRel' ).
lv_current->set_property(
iv_attr_name = 'PARTNERROLE'
iv_value = 'BUP002' ).
CATCH cx_sy_ref_is_initial cx_sy_move_cast_error
cx_crm_genil_model_error.
return.
ENDTRY.
Thanks and Regards
Raman KhuranaHi,
I have some idea abt it, it is also used in account life cycle.
Please refer SAP note 1097651, Defaulting a life cycle stage.
Let me know if useful.
rgds,
Vinay
Maybe you are looking for
-
Itunes won't recognize my new ipad
Just got a new iPad mini...plugged it into my computer, and iTunes doesn't acknowledge it. What to do?
-
SDK support in Pro and Standard editions.
Hi, I want to convert PDF file into DOCX programatically. I have written the code using Acrobat SDK and tried with Acrobat X Pro trial version, and it works fine. I just want to confirm whether Acrobat X Standard edition supports exporting PDF to DOC
-
D/f, User is able to save the sales order without any line item. We want to stop it. So we maintained item (Field: MATNR) in the incompletion log @ item level, but still user is able to save the order w/out line item. So how to achieve this? Is there
-
Just how secure is your data from third-party keyboard developers?
I have all faith in how Apple handles my data, but I'm not so happy when I'm told a third party has access to anything I type, when this should all be local to the phones memory. Credit card information, passwords, etc. I would rather not type when u
-
[12.1.1] Can't get web interface to work.
Hello, This isn't a fresh install of EBS per se, but it isn't a production EBS system or anything like that. So it was originally installed in December or so, but we haven't really touched it since then. The only thing we use this server for is testi