Drop down box in interactive form UI element in webdynpro
Hello All,
I want to get a drop down list in adobe interactive form. I did the following.
1. created a simple dictionary data type and populated it with values
2. created a context and bound it to the simple dictionary type.
3. when I drag the element to the pdf page, it shows it as a drop down list.
4. when I run the application also, the drop down list comes but the values are not populated. I am not able to use the dropdown also.
What should I be doing now to get a dropdownlist that works?
Regards,
Chander
Hello Chander,
what you want to create is a drop down list populated by the Web Dynpro context values. When you use drag-and-drop it just creates a regular drop down list (where you need to specify the values in the Designer).
However if you select in your tools palette the Web Dynpro tab you will find special drop down lists. So here is what you do:
1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
Cheers
Matthias
Similar Messages
-
Put a editable drop down box on Adobe forms
Hi All,
I have created an Adobe form in that I have to create an editable drop down box for each line item in the table data.
If anybody knows pls send those to me ASAP, it's an urgent requirement.
Waiting for reply.
Thanks.Hi
Go through the link given below:
Re: How to handle Drop Down Box on Interactive Adobe Form
Do the following in your form Designer:
1. Open the form.
2. Select the Drop down list.
3. Select Object Palette>Field.
4. Their will be option list item.
5. Click on the icon.
6. Give the text below in the text area.
7. Add as many items as you want.
With Regards
Nikunj Shah -
Populating Drop-down List in Interactive Forms for Java
Hi,all
I need to populate a drop-down list in Interactive Form.
I tried to do it by using Dynamic Properties of the drop-down
list,but didn't give nothing.At the same time I have successfully
populated a simple drop-down list(on webdynpro view),which I
replaced near my InteractiveForm.
What may be the problem?
Regards,
MichaelUse the DDL from the Web Dynpro pallette. Bind the same/ similar attribute of the DDL you used in the web Dynpro view in the interactive form also... this should work..
Thanks and Regards,
Anto. -
How to handle Drop Down Box on Interactive Adobe Form
Hi,
On my adobe form there are some drop down boxes like company code, cost centre etc, actually i need F4 help on those fields, but what i found is it's not possible to have F4 help on adobe form so i have choosen alternative as webdynpro acitvex drop down box in library. I have written a web dynpro application to fetch the data and display it on adobe interactive form, i could able to display the data for all the fields on adobe form except these drop down boxes, can any body suggest me how to handle these drop down boxes in webdynpro application. Your help will be greatly appreciated.
Thansk & Regards,
VenkatHi Venkat,
As you are using the WDP ActiveX dropdown in your form, it is fine but to populate values in the DD, you need to bind the context attribute with a simpletype and then populate the values. Use the below code to obtain a ModifiableSimple Type:
IWDAttributeInfo abcInfo = wdContext.nodeABC().getNodeInfo().getAttribute("AttributeName");
ISimpleTypeModifiable def = abcInfo.getModifiableSimpleType();
IModifiableSimpleValueSet abcValueSet = def.getSVServices().getModifiableSimpleValueSet();
and after this put te values in the obtained modifieable simple type like below:
abcValueSet.put(key,value);
where key may be the ID and value may be the name to be displayed in DD.
Reward points if found helpful.
Regards,
Arafat -
Filling dynamic drop down in adobe interactive form( webdynpro ABAP)
HI all,
Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.
I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did like this.
IN WDDOINIT ,
DATA lo_nd_root TYPE REF TO if_wd_context_node.
DATA lo_nd_datanode TYPE REF TO if_wd_context_node.
DATA lo_el_datanode TYPE REF TO if_wd_context_element.
DATA ls_datanode TYPE wd_this->elements_datanode.
navigate from <CONTEXT> to <ROOT> via lead selection
lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).
navigate from <ROOT> to <DATANODE> via lead selection
lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).
get element via lead selection
lo_el_datanode = lo_nd_datanode->get_element( ).
ls_datanode[] = lt_dna_value[].
CALL METHOD lo_nd_datanode->bind_table
EXPORTING
new_items = ls_datanode
set_initial_elements = ABAP_TRUE.
index =
while executing i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.
I created sample table in same form and i binded same value to table, that time its executing fine.
can u please tell me solution for this Scenario.
Thanks
Hemachandran.
Edited by: hemachandran R on Sep 12, 2008 2:27 PMhi,
My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.
i populated the value in drop down.
Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row
im getting different values, like first row
CAR
, that CAR want to fill as a default value in drop down and second row as
BIKE
that BIKE want to fill as default value in drop down ( example drop down contain car , bike , cycle).
In adobe form i binded like this
$record.DATANODE.DATA[*].DNA_RATING
i dont know whether this one is correct or wrong .
im getting default value as empty.
please give me some solution how to do this.its very urgent
thanks
hemachandran. -
Manipulating drop-down boxes for fillable forms in Adobe XI Pro
I'm creating a form with multiple drop-down boxes. Is there anyway to create a selection with multiple lines? For instance, for addresses? Can I center the text inside of the drop-down, or bold it? Can a drop down be split into multiple lines to flow along with paragraphs?
Also, can a fillable text form expand without disrupting the rest of the document?
Is there any program that will do any of this?Is there anyway to create a selection with multiple lines? For instance, for addresses?
- Yes, but only with a script and it's not a documented feature so sometimes it doesn't work well.
Can I center the text inside of the drop-down, or bold it?
- No.
Can a drop down be split into multiple lines to flow along with paragraphs?
- Not sure what you mean there... How is this different from the first question?
Also, can a fillable text form expand without disrupting the rest of the document?
- No.
Is there any program that will do any of this?
- The last one (expanding text fields) can be done if you create your form in LiveCycle Designer. The rest I'm not sure about. -
Limitation of the entries in the drop down box of Interactive Report
Hi all,
Our team are currently using interactive report as an easy way to inquire the data stored in the database.
Our entire table had close to 2000 entries, and we notice some of the entries are not displayed in the drop down box when we cllck on the column heading. Probably the first 1000 entries showed up in the drop down box. The rest don't show up.
The drop down box is the one with the button sort ascending, sort descending, hide column, control break, and a textbox for user to type the data.
We are just wondering is this a number being set in Oracle Apex, and whether we can modify it.
FYI. we are using Apex 4.0, and Oracle 10.
Thanks,
Thomas.Hi Thomas,
please have a look at http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/limits.htm#BGGEIHBG
The workaround is to define a custom LOV for the filter.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Drop-down list in interactive form go up and sounds weird
Hello everybody,
I've a problem with a drop down list in an interactive form in my webdynpro java application.
I've an interactive form in my view, display type is "native".
I've put a drop down list in the pdf and filled it with some elements taken from a bapi.
It looks like this
IWDAttributeInfo countryInfo = wdContext.nodeListePoste().getNodeInfo().getAttribute("ListeTypePoste");
ISimpleTypeModifiable countryType =
countryInfo.getModifiableSimpleType();
IModifiableSimpleValueSet countryValueSet =
countryType.getSVServices().getModifiableSimpleValueSet();
for(int i=0;i<wdContext.nodeListe_Poste_view().size();i++){
IPrivateFDIView.IListe_Poste_viewElement element = (IPrivateFDIView.IListe_Poste_viewElement)wdContext.nodeListe_Poste_view().getElementAt(i);
countryValueSet.put(element.getPoste_Code(),element.getPoste_Libelle());
then I've binded my drop down list with the element of the context "ListeTypePoste"
When I run the application I can see the list in my drop down but it goes "up"
Like this:
http://img198.imageshack.us/img198/7263/20111207170807.png
Instead of having my list going down it goes up.
And when I click the arrow to open the list I've a weird BEEEEEP like an error.
At the end the list works well and if I choose an element it's well selected, but I would like to take of the BEEEP and to have the regular list going down.
Any ideas?Hi
I think you problem can be traced to the place where you put your drop down.
As far as I understand your drop down funcions well.
Try to move it into another container or best put it under RoorContainer. Test it.
regards
yuval peery -
Drop-downs on the interactive form?
Hello
I put a drop-down field (its lables is COUNTRY OF VISITOR ) on the interactive form (my_form_of_visitor_info) and bound it to a data source, which data source is passing USA, UK, fine, working well. It should always ALLOW only 3 characters max. length
I also gave a ability to modify/input end-user own value in this drop-down field by checking "Allow Custom Text Entry" box of the field tab of the object palette, fine.
To accommidate all the label(COUNTRY OF VISITOR) of the field, i gave the WIDTH as 5 inches.
But, now user is entering CANADA, but It should always ALLOW only 3 characters max. length. I did not see any MAX.CHARACTERS ALLOWED feature for the drop-downs as like TEXT FIELDS!
Pls. let me know, How can i get it done this rquirement that systsem should allow ONLY 3 characters in this field? I saw some VALIDATION PATTERN for Zipcode, Tele #..but, i am not sure can i use it for my drop-down field? if so, How?
Thank yousee the answer in your other post
-
Fill Drop down list in Interactive form
Hello.
I am trying to display multiple values form the context of an form, so not web dynpro! I am using a valuelist object for that.
When I test the form I am only getting to see the first value of my internal table and the drop down list cannot be expanded.
If I analyse the XML I see that the items are there which I want to display.
What is the cause of this, or is this only possible with Interactive form in an Web dynpro scenario (I hope not)
Regards,
Harrie PrinsenHi Harrie,
As per this post, I understand that you are going to use a simple ADOBE PRINT FORM which fetches data from ECC and displays it in the form...Am I right?
See, if it is going to be a Simple PRINT FORM which is NON-INTERACTIVE in nature, I dont see the need of DROP DOWN LIST in this scenario. I think that could be the reason why always the first item of the INTERNAL TABLE is displayed all the time.
If you have an INTERACTIVE SCENARIO where the user can select an option from the drop-down, then you can go with ABAP WD/JAVA WD/ISR Adobe Interactive Forms.
Regards,
<i><b>Raja Sekhar</b></i> -
Filtering Drop-down Values Adobe Interactive Form
Hi,
I am working on adobe interactive form, in which I have a normal drop-down. Now the requirement is, depending on the value of another field (country) , I need to display only the states pertaining to the country being displayed. In my drop-down I get a list of all states irrespective of the country.
I have created an Interactive Adobe form using WebDynpro ABAP. I have populated the view context in my business logic and I am using this context to populate my drop-down. I have a root node named as NODE_ROOT which is of cardinality 1:1 and a child node named as NODE_STATE of cardinality 0:n with State, State_Desc and CountryID as its attributes.
In my drop-down list I have mapped the Item to $record.NODE_STATE.DATA[*], Item_text to the attribute State and Item_Value to the Attribute State_Desc. I have also enabled the "Show Dynamic Binding" option from Tools->Options->Data Binding.
The Drop-down is working fine. I would like to filter these values based on country by making use of CountryID in my form. Is it possible through scripting? If so, how do I do it?
Sample code would be of great help.
Thanks,
AnushaTo The viewers of the forum, By mistake I posted the same question twice. Please discard this one.
-
Drop-down list in Interactive forms ACF
Hello friend,
I am creating an interactive form in webdynpro abap.
in my Context have:
Z_template_surce cardinality 1-1
z_node cardinality 1-1 this structure not table.
Country my fiield.
This my code. :
DATA ddlb_value_set TYPE TABLE OF wdr_context_attr_value.
DATA lw_t706o TYPE t706o.
DATA: s_element TYPE wdr_context_attr_value.
SELECT * FROM t706o INTO lw_t706o
WHERE spras EQ sy-langu AND
morei = '15'.
s_element-value = lw_t706o-land1.
s_element-text = lw_t706o-text25.
APPEND s_element TO ddlb_value_set.
CLEAR s_element.
ENDSELECT.
IF sy-subrc EQ 0.
node_z_node->set_attribute_value_set(
name = 'COUNTRY'
value_set = ddlb_value_set ).
ENDIF.
this is correct ?
i can create the my drop down list ??
thaks.?????????????
-
Drop-down list in Interactive forms
Hi All,
I am creating an interactive form in webdynpro abap. I would like to include a drop-down list in the interactive form. Data in the drop-down list should come from a database table.
Can anyone give a sample program to do it? It would be of great use.
Thanks & Regards,
Vinodhi Vinod,
You may get many threads with similar query as yours if you use the search functionality.
But you may refer these two threads which are close to your query.
Drop Down List population - Abap dynpro adobe form - type ZCI
Re: Dynamic Drop Down in Interactive Form not populating values
Regards,
Runal -
Drop down lists in Interactive forms:HCM Forms&Processes
Hi Experts,
I am working in HCM Forms and Process.
I have 2 dropdown lists in my interactive form such as COUNTRY, STATE. The STATE dropdown should be populated based on the COUNTRY field dynamically.
I have written the logic for STATE dropdown in the method GET_STATES of Custom Generic Service Implementation Class and that method is used in the OPERATION of FIELDGROUP in Form Scenario.
The Java Script in the EXIT event for COUNTRY is as follows.
xfa.record.CONTROL_PARAM.ISR_EVENT.VALUE = u201CGET_STATES";
app.eval(u201Cevent.target.SAPSubmit();u201D);
Still the the STATE lists is not populating in the form in Portal.
Please provide some valuable inputs on this.
Thanks in advanceHi Mukesh,
Thanks for your response.
It seems the script is not triggering .I didnt get the alert message.
I am working in Citrix and SAP GUI 710 has been installed now. Still, I can't insert Webdynpro Script. It is showing one error "Error while inserting Webdynpro script".
Earlier, in SAP GUI 640, I was able to see with the Data view with the interface import parameters. Now the Data view(Left side of Layout) has no elements , although the form is linked with an Abap dictionary based interface.
Do you have any idea why these kind of errors are coming? Is this the problem with Citrix ? -
Creating cascading drop down boxes in SharePoint 2010 using one list
We have a support request form tied to a list that end users input data into which when submitted sends out an email.
Is it possible to create a drop down box on the form that limits the choices in the "subcategory" column, based on what is chosen in the "category" column.
For instance in the category column we have SharePoint, Oracle, and Web Tools as choices.
In the subcategory column we have items related to each category. We only want items that are related to the selected choice to appear in the subcategory drop down box.
I see examples in InfoPath using "Multiple Lists" (one list for city, one for state, etc), but nothing using the same list. I would rather not use multiple lists if possible.
Anyone have any ideas? Thanks.Hi,
According to your post, you want to create a cascading drop-down list box using one list.
To achieve what you want, we can:
Create two fields(category and subcategory) in drop-down list box type in the form in InfoPath.
Add the list which contains the values of the category and subcategory columns to the form as an external data.
Right click the category field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
Choose the list added in step2 in Data source, click XPath behind Entries, click the category column in the list, select Show only entries with unique display names.
Right click the subcategory field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
Choose the list added in step2 in Data source, click XPath behind Entries, click the subcategory column in the list, then click Filter Data.
Click Add, select the category column in the list in the first box, select is equal to in the second box, choose select a field or group in the third box, then choose Main in the Fields and select the category field in the form.
Click OK.
Best regards.
Thanks
Maybe you are looking for
-
Stored procedure could not be found.
I'm upgrading my forms 6i to 11g on Windows. There is a procedure called center_window('WIN_MAIN',TRUE); in the pre-form trigger. There is no compiling error, but when the web page opens, it says "PRE-FORM trigger raised unhandled exception ORA-06508
-
Hi Fellas, I am new to query tuning. I have a big query with a TKPROF details. It is just fetching 34 records and taking approx 30 mins. The TKPROF detail will follow after the query. SELECT /*+ NO_INDEX(A, RA_CUSTOMER_TRX_N11 ) USE_NL(TYPES,A) */ a.
-
how to send an email to a mobile. we have to give only number of a mobile in to column. please give suggestions and what apis are used for this purpose and how to write a source code in java.
-
Initially discovered as I tried to rearrange songs within iTunes DJ, but with further attempts it seems I can't drag songs at all; within playlists, into playlists, nothing. No dragging.
-
Help!