How can i add a drop down list to a fields using BHTML( displaying on its)

Please help me to add a drop down list to a field while displaying on ITS using BHTML or javscript. List should show all the values from value table or search help.

Hi Sandeep,
in ABAP, read the table (keys and values) and write it to the ITS context, e.g. with field names KEY and VALUE.
On the ITS template, write code like this:
`if (KEY.dim > 1);
   repeat with i from 1 to KEY.dim;
    keys1[ i ] = KEY[ i ];
    contents1[ i ] = VALUE[ i ];
    if (KEY[ i ] == SELECTED_KEY);
     selIndex = i;
    end;
   end,
   SAP_TemplatePulldownField("field1", fieldLabel=#label, name="KEY", key="keys1", content="contents1", selIndex=selIndex);
end`
(I had to add blanks between the brackets to get the code displayed correctly here.)
HTH & best regards,
Carlo

Similar Messages

  • How can I get a drop-down list selection also be selected in another field with the same list but a different name?

    I have a street address and a billing address. A question is posed with a checkbox — "Is the billing address the same as the street address?" If Yes is checked, the street address automatically fills the billing fields. If No is checked, the user must fill in new information. In both the street address and billing addres, the State field is a drop-down list. How can I get the drop-down list selection in the street address State also be selected in drop-down list for the billing address State?

    Has anyone done this?

  • How can I print a drop down list of favorites I have on the favorites bar?

    How can I print a drop down list of favorites i have on the favorites bar?

    Make a screen shot and print that.

  • How can I select from drop-down list and jumping to selected subform?

    I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?
    drop-down list...A (jump to subform1)
                             B (jump to subform2)
                             C (jump to subform3)
    subform1
    subform2
    subform3
    ....end of form

    Hi,
    you cannot set focus on a subform but on a field, as only interactive objects can be focussed.
    From a dropdowns exit event the script will look this way:
    switch (this.rawValue) {
              case "A" : xfa.host.setFocus("form1.page2.field1"); break;
              case "B" : xfa.host.setFocus("form1.page2.field1"); break;

  • How do I add a drop down list of options to a column in a Numbers spreadsheet?

    I need to be able to select from a drop down list in a column in a Numbers Spreadsheet . . ..  how do I create this?

    b,
    Pop-up menu, as it's called i Numbers is a Cell Format option.
    Select the cells that you want to format as Pop-up
    In the Cells Inspector, Choose "Pop-up menu"
    In the Cells Inspector, the default menu is 1, 2, 3 - Edit these entries to your liking. It will apply to all the selected cells.
    Regards,
    Jerry

  • How can one make the drop down list of bookmarks disappear when selecting an item?

    I want the list to close automatically when selecting a bookmark to open the page (as it does with favourites in Internet Explorer 8). Is it possible to set this up or does the list always have to be closed manually?

    I am closing this prompt as now I am seeing that it is getting refreshed.

  • How can you create a drop down list of specific numbers that are in scientific notation?

    Is the best way to do this by constructing an enum and setting the
    individual values to a case structure which has constants that are the
    desired values... or is there a more straightforward way of doing this?

    Just use a menu ring and set the desired "Strings and values" using a property node (or, if they are static, by editing the items directly via the property dialog).
    Most likely, you also want to set the representation to DBL. 
    LabVIEW Champion . Do more with less code and in less time .

  • How do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?

    Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
    To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
    If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
    The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users.

  • How do I create a drop down list to e-mail a form for signature.

    The desired workflow is for
    1)      Firefighter 1 to complete the top portion of the Agreement
    section, sign in the Firefighter 1 signature field (which locks the top
    portion of the Agreement Section), then select Firefighter 2 from the
    e-mail drop down list and e-mail the PDF form to Firefighter 2;
    2)      Firefighter 2 opens the e-mail and the PDF attachment,
    completes the second portion of the Agreement Section, sign in the
    Firefighter 2 signature field (which locks the bottom portion of the
    Agreement Section), select Lieutenant 1 from the e-mail drop down list
    and e-mail the PDF form to Lieutenant 1;
    3)      Lieutenant 1 opens the e-mail and the PDF attachment, checks
    the approved box, signs the Lieutenant 1 signature field, select
    Lieutenant 2 from the e-mail drop down list and e-mail the PDF form to
    Lieutenant 2;
    4)      Step three continues through Lieutenant 2, Battalion Chief 1
    and Battalion Chief 2
    5)      Battalion Chief 2 sends the fully completed form back to
    Firefighter 1 who copies the completed form to Firefighter 2
    Note: if any of the officers disapprove the agreement the disapproved
    form is immediately sent back to Firefighter 1

    katiesandell wrote:
    how can i create a drop down menu so that when i click on the arrow in the cell i can select from the menu that appears
    Hi Katie,
    Welcome to Apple Discussions and the Numbers '09 forum.
    Numbers vocabulary for this feature is a "Pop-up Menu". It's available as a Cell Format, and is set and edited in the Cell Format Inspector.
    See "Using a Checkbox, Slider, Stepper, or Pop-Up Menu in Table Cells" starting on page 96 of the Numbers '09 User Guide.
    This guide, and the equally useful iWork Formulas and Functions User Guide are available for download through the Help menu in Numbers.
    Regards,
    Barry

  • Can I copy and paste a drop down list into another field?

    Can I copy and paste a drop down list into another field?

    You don't have to create a PDF, but it would be helpful to know what, exactly, you want to do with the ppt.
    You can export as a PDF which will keep vectors and text as PostScript (crisp) elements.
    You can also Save As from ppt in a variety of formats such as PNG or TIFF.
    These rasterize all the vectors and text, but are very useful if you're laying out a miniature gallery of the powerpoint presentation.
    However, if you want to make the InDesign file a replica of the ppt slides for print, PDF is probably the best way to go.

  • How can I get the drop down menu on the internet to work, which shows most visited websites? It was working on Firefox, and now doesn't.

    On the internet when using Firefox, the drop down menu on recently visited sites (where you type in web addresses), does not work. How can I get it drop down and show websites that I recently visited, so I can click on them there instead of retyping them every time?

    Make sure that the Location Bar is not set to "Nothing":
    * Firefox (Tools) > Options > Privacy > Location Bar: When using the location bar, suggest: History, Bookmarks, History and Bookmarks
    Another possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • Can you make dependant drop down lists?

    can you make dependant drop down lists?

    Yes, you can create main menu and sub menu items , with default menu the sub pages will auto create sub menu items (you should select all pages from menu type option).
    These videos will help you :
    https://www.youtube.com/watch?v=hncVlzYuuvQ
    https://www.youtube.com/watch?v=kziCEqQpF9s
    Thanks,
    Sanjit

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • How can i edit my contacts?and i dont really used my phone and its automatically add a contacts and email adds.. I dont know why that happen..i just turn my phone off and this is happen..

      How can i edit my contacts?and i dont really used my phone and its automatically add a contacts and email adds.. I dont know why that happen..i just turn my phone off and this is happen..

    Contacts are synced with a compatible programme in the computer; in the iCloud or with Yahoo and Google Mail. You can directly "edit" a contact on the phone and/or within the programme that you are syncing your contacts with.
    Have you configured/setup mails on your iPhone? If yes, check the contents of the mail account(s) individually. (including iCloud)  from SETTINGS - MAILS, CONTACTS, CALENDARS
    "Contacts" if chosen from the mail account (s) would add email addresses to your contacts.
    http://support.apple.com/kb/HT1296

  • How can I get bookmark drop down to extend folder list to the left instead of the right?

    Recently cleaned up my bookmarks. Previously when I clicked on the bookmark file bar icon (between history and tools buttons at the top of the screen) the bookmark drop down would appear with my folders and links (as expected) and when I moused over a folder it would open a drop down list on the left of the main bookmark drop down but now it is opening on the right. How can I get it back to opening on the right?
    This is not about having a bookmark pane always open on the left side of the window. Rather it is about how to control how the drop down menus act. (OSX 10.9.3 and Firefox 30.0)
    Thanks!

    So I think I understand what your suggesting but I have a folder inside a folder that has long names and it opens back to the left (after the initially opening to the right) and appears to overlay the screen space needed to display the titles.
    If your right (no pun intended) then the programming that supports the drop down menu display would need to scan through all the enclosed folders looking for the potentially longest title to determine which way to open the list?
    I know that this is a minor issue but it does seem that something may have changed here. It would be nice if there was away to control this part of the drop down operation. Thanks!

Maybe you are looking for

  • Speed of animation fluctuates based on java cache..

    Hi everyone, It seems I am experiencing a rather weird problem. In my app I am having a small animation on a BufferedImage using the swingx.Timer class. The problem is that sometimes the animation runs very slow (I get a feeling of the computer strug

  • Do i install os x mountain lion on my pc? Do i buy cd drive of os xmountain lion to install pc running windows 7?

    I have a personal computer of following configaration :, I have a personal computer of following configaration : intel core i3 processor,4 gb ram, foxconn ddr3 motherboard,1 tb hard drive,dell monitor.i want to install os x mountain lion.do i install

  • Cropping from 16:9

    I am using iDVD 6.0.3. I have albums in iPhoto that were cropped 1280 X1024(display) for iWeb. Now I want to make a DVD of those albums in 16:9 format. Is opening iDVD in 16:9 format enough, or do I have to go back and re-crop all of my files in the

  • Routing of emails with valid Service Ticket Tracking Text

    Hi Experts, System: SAP CRM 2007 (ERMS) If an email is send to the ERMS system with a valid Service Ticket Tracking Text, based on the rule: If Service Ticket Responsible Is Not Equal To "" Then Route to Service Ticket Responsible ( Route To (On Exce

  • Ovi Chat on N8?

    I used to have it on my N86, can i get it as an app on the N8? And if not directly, is there a "social" app that i can use? The likes of whatsapp, etc? Cheers