Drop down list button in the WDP Abap interactive form

Hi Gurus,
I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.

hi david,
all the UI elements in the adobe form are generally connected to your web-dynpro Context.
whatever you type in the online adobe form is reflected in the respective context attributes of the dynpro Context of the view where "ur Interactive form UI element is".
that means you can yourself fill the contents of ur interactive form by working on the get/set methods of the context attributes.
Likewise you can clear the form by setting all context attributes to blank eg ""
with regards,
-Amol Gupta

Similar Messages

  • Why won't my drop down list populate from the array?

    I am using the following array. 
    var actDesc = new Array(" ",
    "Desc1 ",
    "Desc2 ",
    "Desc3 ");
    // Array of HUD Activity Numbers.
    var actNum = new Array(null,
    "1 ",
    "2 ",
    "3 ");
    // This populates the Description Drop-down List and works just fine.
    function populateActDesc(dropdownField)
          var i;
          for (i=0; i < actDesc.length; i++)
             dropdownField.addItem(actDesc[i]);
    //This is supposed to populate the Description Number Drop-down List but doesn't work.
    function populateActNum(dropdownField)
          var i;
          for (i=0; i < actNum.length; i++)
             dropdownField.addItem(actNum[i]);
    // Populates another field based on the Description Field value chosen and works as intended.
    function getDesc(hudActivityDescription, hudActivityNumberField)
       var i;
       for (i = 0; i < actDesc.length; i++)                
          if (actDesc[i] == hudActivityDescription)        
            hudActivityNumberField.rawValue = actNum[i];        
       break;               
    I placed the following into the drop-down list object holding the actDesc array (Event: initialize; Language: javascript):
    actNoScript.populateActDesc(this);
    This works just fine.
    I placed the following into the drop-down list object holding the actNum array (Event: initialize; Language: javascript):
    actNoScript.populateActNum(this);
    This doesn't work.  Any ideas?
    Any help would be greatly appreciated.  I am using LCD 8.2 ES on Vista 32bit.
    Thanks,
    Jerald

    Hi Jerald,
    You can't assign null to the display value of a drop down control.  If you change the HUD activity number array to remove the null it should work. 
    That is;
    // Array of HUD Activity Numbers.
    var actNum = new Array("  ","1 ","2 ","3 ");
    Bruce

  • Drop-down list, over riding the entry?

    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?

    If I understand your issue properly, then I think what you need to do is
    check the "Allow Custom Text Entry" box on the FIELD page of the OBJECT
    palette. It can be found under the area where you define the list items in
    your drop down list.
    I hope this helps

  • How to change the drop down list "Category" in the Risk page (PWA 2013)

    Hello,
    How to change the drop down list "Category" in the Risk page of a Project Site. I need to change the list of elements.
    Thanks

    Hi Robert,
    You actually cannot edit the current template.
    The process is as follow: 
    create a brand new project site from the existing template,
    edit the site configuration (list, column, webparts, image, logo, theme...),
    save it as a template,
    associate it to an EPT.
    See reference below:
    http://blogs.msdn.com/b/brismith/archive/2010/03/15/customizing-the-project-site-in-project-server-2010.aspx
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Is there a way to filter a drop down list by using the result main data display from"GetUserProfileByName" when open the form.

    Hi 
    Is there a way to filter a drop down list by using the result main data display from"GetUserProfileByName" when open the form?
    The second source has a huge list of company names that can be narrrow by email work. 
    background:SP 2010 and Infopath 2010
    CRISTINA&amp MICROSOFT Forum

    I'm not sure if I understood your question clearly but here is a good resource on how to get attributes from "GetUserProfileByName" web services:
    http://blog.mangroveweb.com/pre-populating-an-infopath-from-with-mysql-data-using-a-net-web-service/using-sharepoints-getuserprofilebyname-web-service-to-retrieve-ad-account-information/
    Regarding filtering dropdown list then this could be done by applying form on-load rules. 
    Hope this helps

  • Differentiate between button events in WD ABAP Interactive form ?

    Hi ,
       I have a senario in which I have  2 buttons in a Webdynpro ABAP Interactive form.
    Button1 is to fectch some values from the back and set in the context so that it is populated in the form.
    Button2 is submit button which calls a BAPI in the backed..
    I need to differentiate between the events of these 2 buttons in my Webdynpro ABAP onSubmit event..
    Is there any way to differentitate which button I have clicked in the form.. ????
    Thanks
    Siva

    Hi Sivaraj,
    you can try defining an action on OnCheck action. I think it should work.
    If it doesnt work then, define an attribute in the context, and place it on the form, make this field invisible. Then on click on button set some values in this attribute. Read the attribute value in the ABAP. And perform the action according to that.
    Hope this helps,
    Amit

  • Drop down list button is narrow (how do I change it)?

    I have a drop down list on my Designer 8 form. When viewing the form in acrobat or adobe reader the grey button that you click to get the list is really narrow. Is there any way to change the width of that little button?
    Thanks for the help!
    Josh

    thayer wrote:
    Are you using pm-utils? If not, you should look into it--It's a super-easy way of managing suspend/hibernation:
    http://wiki.archlinux.org/index.php/Pm-utils
    Once configured, you can simply bind a key (or configure the acpi daemon) to execute the following command:
    /usr/sbin/pm-hibernate
    You'll need to execute that as root, or use sudo (which is outlined in the wiki article).
    Good luck!
    thanks, pm-utils looks nice, however, I'm having problems with the button itself, not hibernate, I can do that just fine with the hibernate script (I'm replacing it with pm-utils though), no mater how much I press it, or how much I've messed with acpid, I still cannot make it do anything... btw, is there something that catches the button as a program, so I can know if the module is getting info from it?

  • How do I use one drop down list to refresh the list in another drop down?

    I am using a drop down list full of years (i.e. 2008, 2009..etc). When I make my selection from this drop down list (say for instance I select 2009) I want it to update the available data in the second drop down list. I have the query statement set up within the JSP page but it needs to be a dynamic SQL statement based off the value I selected in the first drop down.
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    The variable "year" is the value I need to figure out how to assign. Now this variable is a Java variable (attribute) and Im unsure how to get the value from the previous drop down and assign it to that. Basically I need the JavaScript value from the first drop down assigned to the Java attribute "year".
    Anyone able to help me with this???
    Thanks,
    Jed

    Here are my two drop down lists. As you can see I build the second list dynamically based off the value of the year. I want to be able to assign my year to the value I select in this first drop down. How do I do that?? I only want to show games for the year I select. I currently have the year hardcoded to "2009" as you see below. How can i change that to be assigned to the JavaScript value i extract from the first select box?
    <select name="season">
    <option value='2009' selected>2009</option>
    <option value='2008'>2008</option>
    </select>
    <select name="gameselect">
    <%
    try
    String year = "2009";
    String connectionURL = "jdbc:mysql://localhost:3306/ElmwoodExpos";
    Class.forName("com.mysql.jdbc.Driver");
    Connection con = DriverManager.getConnection(connectionURL, "root", "thejedster");
    String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
    Statement s = con.createStatement();
    s.executeQuery(sql);
    ResultSet rs = s.getResultSet();
    while(rs.next())
    %>
    <option value="1"><% out.print(rs.getString("GameDescription"));%></option>
    <%
    catch(Exception e)
    %>
    </select>
    Thanks,
    Jed

  • How do you make the sentences you input in a drop down list wrap to the next line?

    How do you make the sentences that you input in a drop down list to wrap to the next line?

    You can't.
    see this thread for more info:  Can you set drop down list as multi-line???

  • How do I get the location bar drop-down list to show the most recently visited page at the top? I have no idea how it's deciding what to display.

    In IE when you show the drop-down list from the location bar, it show you all of your most recently visited pages in descending order with the most recent at the top. Firefox is showing me a list that I have no idea where it's getting the pages from or how it's ordering them. It doesn't update the pages or the order when I go to a new page. I have recently switched from IE to Firefox and cannot figure out how to get Firefox to do this; very annoying.

    That drop down list doesn't show recently visited pages, but shows list list of most visited sites sorted by what the Mozilla devs call frecency (frequency and recency) and is based on bonus points. It is not possible to have much influence on what shows on that list.
    If you want a list of recently visited sites then you can use a smart bookmark e.g. on the Bookmarks Toolbar with the location set to this smart folder.<br />
    Name: <b>Recently Visited</b><br />
    Location: <b>place:queryType=0&sort=4&maxResults=30</b><br />
    You need to close and restart Firefox to make that folder work as intended.
    * https://support.mozilla.org/kb/Smart+Bookmarks+folders
    See also:
    * http://developer.mozilla.org/en/The_Places_frecency_algorithm
    * http://kb.mozillazine.org/places.frecency.numVisits

  • Populating 2nd drop down list based on the selection of the first using Access DB...

    I have a form that I would like to have the user select the first drop-down list as populated from a data source, but them have the subsequent selection choice dependent on the first. For instance, if they select "administration" for their division, the department numbers shown in the second box would only contain those with "Administration" listed as their division. I have all of this information in my Access table.
    I've seen this possible by storing all of the information in a script. i.e.- listing each division and department. The only problem is that we have over 300 departments and making any changes would be very tedious in an in-form script. Is there any way to have this automatically reference a table in Access?
    Thank you,
    Mike

    In the current version of the portal, it is not possible as you cannot do code-behind on postbacks. If you want more flexibility, you need to write your own front-end that uses the FIM Service webservices...
    Regards, Soren Granfeldt
    blog is at http://blog.goverco.com | facebook https://www.facebook.com/TheIdentityManagementExplorer | twitter at https://twitter.com/#!/MrGranfeldt

  • Refresh the drop down list after update the table

    I have tab with three pages in each page one data block. I have table with primary key of combination of the other tables foreign key. I am populating the combination of foreign key in dorp down list. In the when-new-form-instance trigger I populate the two lists, work fine. But if I add a new record in the other tables and I need this one to display in the list. I am trying to execute the same procedure which is populate the list
    First time I get this error. FRM-41337. How can refresh the list to display the new record as well.
    Thanks in advance
    null

    Hellow Tamer
    What you wanna do is to display the element entered in the List after you have added it manualy.
    I think you must re-populate the Recordgroup
    again.
    The Procedure you used to populate the RecordGroup in the When-new-Form-Instance,
    must include the statement:
    DELETE_GROUP()
    like This:
    PROCEDURE Populate_The_List(list_id ITEM, sql_stat VARCHAR2) IS
    group_id RecordGroup;
    outcome NUMBER;
    BEGIN
    --Create temporary record group.
    group_id := CREATE_GROUP_FROM_QUERY('List_Elements', sql_stat);
    IF ID_NULL(group_id) THEN
    MESSAGE('Record Group could not be created in Populate_the_List.');
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    --Populate record group.
    outcome := POPULATE_GROUP(group_id);
    IF outcome <> 0 THEN
    MESSAGE('Record Group could not be populated in Populate_the_List.');
    RAISE FORM_TRIGGER_FAILURE;
    END IF;
    --Populate list item
    POPULATE_LIST(list_id, group_id);
    --Destroy the temporary record group to release resources
    DELETE_GROUP(group_id);
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('Internal error occurred in Populate_the_List.');
    RAISE FORM_TRIGGER_FAILURE;
    END Populate_the_List;
    SQL_STAT refers to the SQL statement used further to populate the List.
    Hope this Helps
    Regards
    Tariq

  • HT204365 when i am in the Top Charts "store", the categories drop down list, next to the library button at the top right corner disappeared..how do i get it back?

    on my ipad, in the ibooks app, the categories icon disappeared next to the library icon in the top left hand corner, when i go the the top charts in the store..how do i get it back?

    Try 1 of 2 things.
    Double tap the Home Button on the iPad > you should see the Dock tray with your apps in > hold on iBooks until you see the app jiggleing with a red circle and white line > tap that red circle > re-opoen iBooks.
    If that does not work repeat above but do not open iBooks after you close it, now power off your iPad and turn it back on. You can power it off by holding the power button on top of the device for about 5-10 seconds.

  • How to implement drop down list in WDP Abap....very urgent...please help me

    Hi Gurus,
    I wanted to implement the drop down list button in the WDP Abap interactive form. Once the users clicks on the drop down button, an RFC should be called and display the details under the drop down button. Please give me the logic with code. Its very urgent...please help me. Please note that it is in WDP Abap interactive forms. We are using NW2004S, ECC6.0.

    Hello,
    you have to use ZCI form to use DDLB in WD-ABA. The content of the DDLB has to be present at rendering time, there is no dinamic call when you click the "dropdown".
    The attribut you map to the DDLB has to be an element with a value-set, and the value set has to contain the text / value pairs.
    >> this will be displayed when you click the dropdown.
    Best regards,
    Dezso

  • BUG: Sorting drop-down lists from the field tab when using "specify item values"

    Hi all,
    I've finished creating my form now, but I came across this whilst writing up my documentation for maintenance tasks.
    This occurs when adding new values to a drop-down list that has the "Specify item values" checkbox in the binding tab checked.
    When I then try to sort my list using the built in sort buttons, it will sort the items, but the list of specified values in the binding tab does not sort reorder to stay with the original items in the list.  This is hapenning when I sort from the Object > Field tab.  If I sort in the Object > Binding tab then the sort will include the specified values.
    For example:
    A    5
    C    2
    D    9
    Add a new value to get:
    A    5
    C    2
    D    9
    B    10
    Sort the list using the button:
    A    5
    B    2
    C    9
    D    10
    But it should be:
    A     5
    B     10
    C     2
    D     9

    I was able to duplicate this problem and it looks like a possible bug.  I've submitted it to support.

Maybe you are looking for

  • Pricing update

    Hi! I have a problem with pricing update. For example I change information in pricing procedure adding new condition type but this new condition type appears in orders only in several hours. CRM version 5.0. Tell me please what can I do to speed up t

  • N8 deletes all emails on it's own!!

    Hi. I have the weirdest problem i've seen yet on this phone. After the problem with email notifications from this forum, I got 33 emails delivered to my Hotmail.com account. I then synchronised them and started reading, one by one on my phone. Sudden

  • Solved yet? iDVD ejects DL disc with 1 min. remaining

    Hi. Searched the forum and found several other uses with the same problem I have been having: iDVD'08 ejects my +R DL dvd with 1 minute remaining on the burn cycle. No error message. Was wondering if anyone has solved this issue. Here is what I have

  • FileNotFound Exception

    Hello I am trying to parse an xml file chosen by the user. The file chosen is under: wkdis3/home/bwe but everytime i got this exception: ption caught: class java.io.FileNotFoundException Datei AABC.XML ist nicht g�ltig.java.io.FileNotFoundException:

  • (file.read() (3 - i)*8);

    Hi, Ive been working on an assignment and this little line has been causing me problems because I cannot figure out exactly whats going on here. (file.read() << (3 - i)*8); Ive tried searching for more information about it but so far my understanding