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 Prinsen

Hi 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>

Similar Messages

  • 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,
    Michael

    Use 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.

  • 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-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,
    Vinod

    hi 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 advance

    Hi 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 ?

  • 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 PM

    hi,
    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.

  • Drop down list on Interactive Adobe in ABAP Web dynpro application

    Hi Experts,
    How to provide data from R/3 to drop down list on Interactive Adobe in ABAP Webdynpro application.
    Please send any documents on this.
    Your help will be greatly appreciated.
    Regards
    Sridhar V

    http://help.sap.com/saphelp_erp2005/helpdata/en/dd/b0884118aa1709e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/bb/69b441b0133531e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/nw-development?rid=/webcontent/uuid/512040e1-0901-0010-769c-c238c6ca35d9
    http://www.apentia-online.com/UP/Apentia/files/Article/Web_Dynpro.pdf
    http://dpermana.files.wordpress.com/2008/02/how-to-use-webdynpro.doc
    These all links will resolve your problem.
    Regards,
    Yogesh...

  • How to get prefilled drop down list in Adobe form from WebDynpro context

    Hi All,
    We all know that we can have dropdown list in webdynpro which can be automatically populated by the context node collection.
    How can we have the same functionality in Adobe form drop down list. I tried to bind the node attribute to drop down list in Adobe form but it shows me only first element. I am not able to see all the elements in the dropdown but if I am doing same thing for WebDynpro DropDown list I can see the complete List.
    Anybody with Solution?

    Hi Ricky
    I have started a thread for this problem and got an answer for it already. Unfortunately I did not have the time to check it out yet; have a look over there:
    https://mail.cirrus.ch/exchweb/bin/redir.asp?URL=https:///community [original link is broken]
    I appreciate if you tell me whether it worked for you.
    Andreas

  • Drop down list in ADOBE Forms - WDP for ABAP...urgent

    Hi Gurus,
    Can you please explain me how to display values in the dropdown list of Adobe interactive form in WDP for ABAP. Also expalin me how to accept them in the program once the user selects the value from the list. The requirement is I have to call the RFC, get the data and display in the dropdown list at the time of initialization.

    hi,
    to populate the dropdown list you can do it...
    1). manually or 
    2). by code(i work in java... there must be some ABAP equivalent...)
    1). <b>manually</b> go to interactive form->edit
         go to Object tab->field tab ->
         you must see something like
         List Items :
         Text     + x
         click on the green + sign...
         it promps you to type. type in the value press enter... and so  on...
    2) <b>by Code...</b>
        //set up contents of a drop down list dynamically...
        IWDAttributeInfo countryInfo = wdContext.nodeTravelData().getNodeInfo().
                getAttributeInfo().getAttribute("DestinationCountry");
        ISimpleTypeModifiable countryType =
                countryInfo.getModifiableSimpleType();
        IModifiableSimpleValueSet countryValueSet  =
                countryType.getSVServices().getModifiableSimpleValueSet();
        countryValueSet.put("1","Germany");
        countryValueSet.put("2","UK");
    This will work....
    regards,
    -amol gupta

  • 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

  • Dynamic drop down list in Adobe forms

    I have created a drop down list using enumerated drop down list from webdynpro native tab and binded in the object palette by giving $record.sap-vhlist.DESCR\.DATA\.FIELD.item[]* in the list items dynamically.DESCR is the field in the internal table into which i fetched data from the database table .I have written this code in a BADI.I dont know whether my form's display type is activex or native? I am not getting any values in the drop down list.can anybody please tell me what might be missing and how should i know whether my form is ActiveX or Native?
    My form is called from portal so i have used BADI to connect portal to form

    Hi sarang,
    I have done a dynamic drop down list in which DESCR field comes from database table and pops into the drop down dynamically. I was working for a PCR scenario so the adobe form was called from portal.I will tell u all the required steps.It might work for u as it is working for me:
    1.In the form:
    I used two elements from library first is a "ENUMERATED DROP DOWN LIST NO SELECT" from web-dynpro native tab and second is "ISR_TEXT DISPLAY INVISIBLE ON EDIT MODE" from ISR controls tab.Place them one on other inthe form.
    For drop down list the setting are:
         In object, field tab click on list items there in ITEMS put :$record.sap-vhlist.DESCR\.DATA\.FIELD.item[*].in ITEMS TEXT write text in ITEMS KEY write key.
         In binding,in default binding put $record.DESCR.DATA[*].FIELD.
    For text element the settings are:
         In binding,default binding put Normal.
         when we select ISR_TEXT DISPLAY INVISIBLE ON EDIT MODE it automatically comes with calculated read only int he value tab.so open script editor and place the below code:
    $record.DESCR.DATA.FIELD (in calculate).
    2.Now the code in BADI is as follows:
    In BADI we have to write the code for drop down list in the METHOD "SCENARIO_SET_ADDITIONAL_VALUES"
    As i didnt change the standard BADI i added an enhancement spot in which i wrote a function module which fills ADDITIONAL_DATA. and the below code fills the ADDITIONAL_DATA .
    DATA: t_t572b TYPE STANDARD TABLE OF t572b WITH HEADER LINE,
            t_t554t TYPE STANDARD TABLE OF t554t WITH HEADER LINE.
      SELECT * FROM t572b INTO TABLE t_t572b WHERE sprsl EQ 'E'.
      CLEAR ls_additional_data-fieldindex.
      LOOP AT t_t572b.
        ADD 1 TO ls_additional_data-fieldindex.
        ls_additional_data-fieldname ='DESCR_KEY'.
        ls_additional_data-fieldvalue = t_t572b-descd.
        APPEND ls_additional_data TO additional_data.
        ls_additional_data-fieldname ='DESCR_LABEL'.
        ls_additional_data-fieldvalue = t_t572b-descr.
        APPEND ls_additional_data TO additional_data.
        CLEAR t_t572b.
      ENDLOOP.
    For DESCR field the we have to declare  DESCR_KEY and DESCR_LABEL in the place holders for key values and palce holders for default values in characteristics tab(where all the fields for the form are defined) of ur respective scenario.(where ur pcr scenario is defined)
    Hope ur problem got resolved.
    Please let me know if any doubts.
    If ur form is not called from portal and u want a dynamic drop down list the difference is put a data drop down list and in object, field tab click on list items there in ITEMS select the field into which u populated the data from the database table (this code shud be written in code Initialization in the respective interface) and in ITEMS TEXT put $ in ITEMS KEY put $.and in binding as we normally do bind it to the respective field in which the data is populated from database table.
    It should work.

  • 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,
    Anusha

    To The viewers of the forum, By mistake I posted the same question twice. Please discard this one.

  • How to add values to drop down list in adobe forms

    how to add values to drop down list in adobe forms

    Hi,
    If you are using WD Java following are steps of filling values in DD Box:
    1 Create a simple type in the Dictionary.
    2 Create an attribute "CountryNew" in the Context of type created by you.
    3 Write following code in the init method of the form:
    IWDAttributeInfo countryinfo =
                   wdContext.nodeEmployee().getNodeInfo().getAttribute("CountryNew");
    ISimpleTypeModifiable Country = countryinfo.getModifiableSimpleType();
    IModifiableSimpleValueSet countryValueSet =
                   Country.getSVServices().getModifiableSimpleValueSet();
    countryValueSet.put("IN", "INDIA");
    countryValueSet.put("US "USA");
    4 Add a Enumrated DD box in the form and bind it to the attribute "CountryNew"
    Hope this helps
    Amit

  • Populating values to drop down list in Adobe Forms

    Hi,
    We have added a drop down list in our adobe form. Our requirement is Payment Terms should be displayed in this drop down list. We tried by adding values to drop down list in object palette window by using '+' sign. But now we want to display values dynamically from table T052U. We need to bring two fields ZTERM and TEXT1. We don't want to use database connection, just from a table as an importing parameter it should be appended to this list.
    Atpresent, we don't want to use webdynpro or java for getting values.
    Please provide suitable answers.

    hi,
    cretae simple type in data dictionary i don't have any idea to create simple type in adobe forms.
    For creating Simple Type------in Dictionary->Local Dictionary->Data Type->Simple Type(here right click u get  create simple type).and after that choose Enumaration Here u can add values
    and create a node WITH one attribute and this attribute is off Type of that simple type u created in local dictionary and bind that node with interactive form data source property ,now in interactive form drag and drop that attribte from your dataView Run your application  these values will populate in your Interactive form.
    Regards
    Trilochan

Maybe you are looking for

  • How can we change the existing package details of a report

    I am having one repor. For that program I was saved in $tmp package. Now I need to change my packge from $tmp to $atb. How can I do this. Same problem I am facing for one database table also. I need change my package details for one of my customized

  • Cl_gui_alv_grid - I get a blank screen

    I seem to be having a problem with my screen.  The issue is that I am using cl_gui_alv_grid to display an ALV.  However, I call set_table_for_first_display, I get a blank screen.  I have verified that I have data in the field cat, outtab, and sort ta

  • Double-click not working on trackpad after Mavericks installation

    After doing a fresh installation of OS X Mavericks and zapping PRAM, I noticed that I'm unable to double-click using my trackpad (this is true throughout all applications, not just the Finder).  Can anyone advise me on how to remedy this? My system i

  • Is it safe to download OS Maverick if I am wanting to use Pro Tools 10?

    I have heard about issues with using the OS Maverick and not being able to run Pro Tools, but have not gotten a concrete answer. Is Pro Tools 10 able to run properly on OS Maverick or should I stick with Mountain Lion until a patch comes out to fix t

  • Lightroom 2.2 and Nikon D700

    I am using LR 2.2 for D700 NEF files, using camera standard profile however there are still strange color tints and the white balance is very difficult to nail, I need to adjust HSL separately for different colors, especially under artificial light.