How to create drop down menu in my report
hi all
i have a list of options which i have to display as a drop down menu
pls guide me to do
thanks in advance
hi,
u want like this?
parameters: p_mode as listbox visible length 10.
parameters: p_mode1 as listbox visible length 10.
AT SELECTION-SCREEN OUTPUT.
PERFORM fill_dropdown_list USING 'p_mode'(001).
PERFORM fill_dropdown_list1 USING 'p_mode1'(007).
FORM fill_dropdown_list USING value(f_parameter).
TYPE-POOLS: vrm. " For parameter drop down lists
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
name = f_parameter.
value-key = 'C'.
value-text = 'Fist'.
APPEND value TO list.
value-key = 'F'.
value-text = 'Second'.
APPEND value TO list.
value-key = 'H'.
value-text = 'Third'.
APPEND value TO list.
value-key = 'D'.
value-text = 'Forth'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
ENDFORM. " fill_dropdown_list
FORM fill_dropdown_list1 USING value(f_parameter).
TYPE-POOLS: vrm. " For parameter drop down lists
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
name = f_parameter.
value-key = 'C'.
value-text = 'Fist'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
ENDFORM. " fill_dropdown_list
Similar Messages
-
How to create Drop down menu in the selection screen
Hi all,
How to create Drop down menu in the selection screen.
Fast answer will be highly rewarded
Regards
Bikashi ,
TYPE-POOLS : vrm.
TABLES:vbak,vbap.
DATA : v(80) TYPE c.
DATA: wa_vbak TYPE vbak,
it_vbak TYPE vbak OCCURS 0 WITH HEADER LINE,
wa_vbap TYPE vbap,
it_vbap TYPE vbap OCCURS 0 WITH HEADER LINE.
DATA: l_name TYPE vrm_id,
li_list TYPE vrm_values ,
v_count TYPE i,
l_value LIKE LINE OF li_list.
PARAMETERS: p_test(20) AS LISTBOX VISIBLE LENGTH 60 MODIF ID DAT.
INITIALIZATION.
AT SELECTION-SCREEN OUTPUT.
PERFORM get_data.
LOOP AT it_vbak.
l_value-key = it_vbak-vbeln .
l_value-text = it_vbak-vbeln .
APPEND l_value TO li_list.
ENDLOOP.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'P_TEST'
values = li_list
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
AT SELECTION-SCREEN ON P_TEST.
clear : li_list , li_list[].
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
START-OF-SELECTION.
SELECT vbeln
matnr
meins
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE it_vbap
WHERE vbeln = p_test.
LOOP AT it_vbap.
WRITE :/ it_vbap-vbeln, it_vbap-matnr,it_vbap-meins.
ENDLOOP.
*& Form get_Data
text
--> p1 text
<-- p2 text
FORM get_data .
SELECT vbeln
FROM vbak
INTO CORRESPONDING FIELDS OF TABLE it_vbak.
ENDFORM. " get_Data
regards,
venkat. -
How To Create Drop Down Menu With Tab
hi
How To create Drop Down Menu with tab in Header of application like website Horizontal Dropdown Menu In html.
Thanks
Manoj
Edited by: Manoj Kaushik on Dec 30, 2009 4:16 AMTry the Apex forum {forum:id=137} someone there may have an answer.
Which version, that could be important, XE out-of-the-box has apex 2.1 if it hasn't been upgraded to 3.x -
How to create drop-down menu with transparency
Hello,
Is it relatively easy to create drop-down menu's with
transparent drop downs? Any step by step help would be greatly
appreciated.
I thank you in advance,
Jazjasperjaz schrieb:
> Looks like some cool stuff. However, nothing on drop
downs
>
Take a look at "Creating Animated Buttons". The Tweening of
the text to
the right and changing the color perhaps could be replaced or
appended
by your drop-down-needs? The Drop-Down is another Animated
Button!?
Bye
Klaus -
Hi
Can we create drop down menus in HTML DB as we do in
Visual Basic.
Thanks.In HTML DB v2.0 you can create drop down menus. I cannot say if they are the same as Visual Basic because I am not familiar with VB..
Here is an example pull-down menu:
A B C <--- Top level
A1 B1 <--- Second level
A2 <--- Third levelInitially the user sees a horizontal menu with "A", "B', and "C". When the user clicks on "A" a menu containing "A1" and "A2" is displayed under "A".
Here is what you do to create this:
1.) Edit a page.
2.) Click the "Create" (plus sign) button in the "Lists" region under "Shared Components".
3.) Enter a List name.
4.) Make the "List Template" be "DHTML Menu with Sublist".
5.) Click the "Create List Entry >" button on the right. You are now creating your Top Level menu.
6.) Enter "A" into the "List Entry Label".
7.) Set "Target Type" to "- No Target -". This could be an URL or another page in the application.
8.) Click the "Create and Create Another" button. You are now create the lower level menus.
9.) Select "A" for the "Parent List Entry".
10.) Enter "A1" into the "List Entry Label".
11.) Set "Target Type" to "- No Target -".
12.) Repeat steps 8, through 11 for "A2".
13.) Click the "Create and Create Another" button.
14.) Repeat steps 6 through 12 for "B" and "B1".
15.) Click the "Create and Create Another" button.
16.) Repeat steps 6 and 7 for "C".
17.) Click the "Create" button.
18.) Click the "Add this list to the current page" link.
19.) Specify the region information for the menu and click "Next" button.
20.) Click the "Create List Region" button.
Mike -
How to configure drop down menu in custom list
Hi,
I want to create custom list with 3 options. Active, Proposal and Completed. How can I create drop down menu like this (look at picture).Hi,
According to your post, my understanding is that you wanted to configure drop down menu in custom list.
I suggest to modify the view to group by Preposition Status.
You can follow the steps as below:
Create list, add choice column named Preposition Status.
Add items.
Modify the view as below:
Then the result is as below:
Thank you for your understanding.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to put drop down menu over iframe?
I created drop down menu in A-Master with height 100 pixels.
On a page which uses A-Master template I've put youtube video, example:
<iframe width="1000" height="500" src="//www.youtube.com/embed/8eDuupJ9Uus" frameborder="0" allowfullscreen></iframe>
and when I export HTML, Iframe video is over dropdown menu so I can't see this menu, iframe is on top of it, how can I place dropdown menu on top of this iframe?
Tried to search whole internet with no good results, I have only found other people has same problem.
...and I have tried this "wmode="transparent" too:
<iframe width="560" height="349"src="http://www.youtube.com/embed/rLVCjnEGrqQ?wmode=transparent"frameborder="0" allowfullscreen wmode="transparent"></iframe>
was no goodYour menu layer should be on top of everything!
Regards,
Frank -
Elements 12 editor 'create drop down menu
In my 'create' drop down menu in the editor a very long blank drop down menu appears, is this normal and if not is there a quick fix... and if this involves re-install can that be done without re-doing all my plugins.
Elderly semi computer literate user.
Ian YoungHi,
Unfortunately, this functionality is not possible with Adobe FormsCentral.
Regards,
Nakul -
How to create drop down option in service manager 2012 incident portal
Hii,,
Please assist how to create drop down option in service manager 2012 SP1 default incident portal. We would like to provide the drop down option in "Please enter the title for the Issue" to our users.
Regards, Syed Fahad AliAs was already referenced, you could use a Simple List for the prompt, however if you are referring to the default General Incident that is available out-of-the-box, you might be limited in what you can modify.
I did some work for a client, that wanted to have a list and other options for the General Incident through the Portal. So, I ended up having to create a custom General Incident instead of using the default one, which will then allow you to add any type
of prompts, and configure them as you want (i.e. with a simple list). -
How to export drop down menu to DW??
Hi all,
I am have just created a drop down menu in Fireworks and
wanted to export it to my website to update the menu.
Now, I have saved the button files in my rootfolder. When I
go there from DW/ Insert Image objects/ rollover button (its a
rollover), I see the following files that I created from Fireworks:
registration-nor.gif
then I have a whole lot of
registration-over_f6.gif
(corresponding to the amount of frames I have in my roll over
button)
I also got
mm_css_menu.js
and
registration-over.htm
and
registration-over.css
Now, the above is a whole bunch of different files, and I
cant seem to figure out how to put them in the right place or
swhich file to choose for where, in order to get my drop down menu
to work>
Please help me, and tips would be highly appreciated!
Cheers!
Text
Text
TextYou really want help? Don't use these menus. They are pretty
poorly
implemented and will be a bear to maintain. There are much
better ways -
some free and some commercial:
Check the uberlink and MacFly tutorials at PVII
http://www.projectseven.com/)
and the Navbar tutorial/articles at Thierry's place
http://tjkdesign.com/articles/dropdown/)
Or this one (more recent article):
http://tjkdesign.com/articles/Pure_CSS_Dropdown_Menus.asp)
Or to get it done fast, go here -
http://www.projectseven.com/tutorials/navigation/auto_hide/index.htm
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Horst1881" <[email protected]> wrote in
message
news:ek1242$s6p$[email protected]..
> Hi all,
> I am have just created a drop down menu in Fireworks and
wanted to export
> it
> to my website to update the menu.
>
> Now, I have saved the button files in my rootfolder.
When I go there from
> DW/
> Insert Image objects/ rollover button (its a rollover),
I see the
> following
> files that I created from Fireworks:
>
> registration-nor.gif
> then I have a whole lot of
> registration-over_f6.gif
> (corresponding to the amount of frames I have in my roll
over button)
>
> I also got
> mm_css_menu.js
>
> and
> registration-over.htm
>
> and
> registration-over.css
>
> Now, the above is a whole bunch of different files, and
I cant seem to
> figure
> out how to put them in the right place or swhich file to
choose for where,
> in
> order to get my drop down menu to work>
>
> Please help me, and tips would be highly appreciated!
>
> Cheers!
>
>
>
Text
Text
Text
> -
Hi,
Iam just wondering if somebody can tell me how to make drop down menus....or direct me to a URL so that i can get some sample code for how to make drop down menus like this:
+ drop down
abc
+ first
+ second
- third
third-des
third-des2
i would really appreciate it.
thanks all.
-sangitaHi,
something is working .....thanks.
I have created a java class file as shown below and i did able to run it.........:)
here is my code:
package AppMirror;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MenuLookDemo {
public JMenuBar createMenuBar() {
JMenuBar menuBar;
JMenu menu;
JMenuItem menuItem;
//Create the menu bar.
menuBar = new JMenuBar();
//Build the first menu.
menu = new JMenu("Menu Label");
menuBar.add(menu);
//a group of JMenuItems
menuItem = new JMenuItem("Item Label");
//menuItem.addActionListener(actionListener);
menu.add(menuItem);
return menuBar;
public static void main(String[] args) {
//Create and set up the window.
JFrame frame = new JFrame("MenuLookDemo");
//Create/set menu bar and content pane.
MenuLookDemo demo = new MenuLookDemo();
frame.setJMenuBar(demo.createMenuBar());
//Display the window.
frame.setSize(450, 260);
frame.setVisible(true);
but when i see the applet, it doesn't look the one i wanted to see......
this shows the top menu bar ....but not the + drop-down.
any ideas ???
sorry, i don't know anything about swings, applets..... -
How to use drop down menu in JTables
Hi, i'm trying to add an drop down menu to my jtable so that people can select a set number of texts from an enum type. How can this be accomplished?
My current Code: /**
* Bill Huang
* Started: Nov 07, 2007
* Dossier
package packageSolo;
import javax.swing.*;
import java.awt.*;
public class SpreadSheetGUI extends JPanel{
private void debug(int x){
//System.out.println(x);
protected static Object[][] data;
protected static int classroomAmount = 0;
protected static JTable jtable;
protected static String[] columnNames = { "Class Room Number", "Period One", "Period Two", "Period Three", "Period Four" };
public SpreadSheetGUI(){
super(new GridLayout(1,0));
String input;
int flag2 = 0;
int flag4 = 0;
int flag5 = 0;
int flag8 = 0;
input = JOptionPane
.showInputDialog("How many classrooms are there?");
* see if the user wantes to quit at this point
if (input == null) {
debug(4);
int exitint = 0;
exitint = JOptionPane.showConfirmDialog(null,
"Do you want to exit?", "Exit?",
JOptionPane.OK_CANCEL_OPTION);
if (exitint == 0) {
try {
System.exit(1);
} catch (SecurityException eb) {
System.out.println("exit");
while (flag4 == 0) {
* this while loop with flag2 is for checking if the thing is of int
* class
while (flag2 == 0) {
* try to get a integer, check for a bad input class
try {
* parse, and if success set flag2 to 1 and break out this
* while loop
classroomAmount = Integer.parseInt(input);
flag2 = 1;
debug(2);
} catch (NumberFormatException ec) {
debug(3);
* ops user input was not a integer class
JOptionPane
.showMessageDialog(null,
"Enter a positive integer only",
"Number Format is Wrong",
JOptionPane.ERROR_MESSAGE);
input = JOptionPane
.showInputDialog("How many months are there?");
* see if the user wantes to quit at this point
if (input == null) {
debug(4);
int exitint = 0;
exitint = JOptionPane.showConfirmDialog(null,
"Do you want to exit?", "Exit?",
JOptionPane.OK_CANCEL_OPTION);
if (exitint == 0) {
try {
System.exit(1);
} catch (SecurityException eb) {
System.out.println("exit");
* this while loop sees if the integer is smaller than 0 so the
* array cannot be a real one
while (flag5 == 0) {
// numamountint = Integer.parseInt(numamount);
if (classroomAmount < 0 || classroomAmount > 12) {
debug(5);
JOptionPane
.showMessageDialog(null,
"Enter a positive integer that is smaller than 12",
"Number Format/Size is Wrong",
JOptionPane.ERROR_MESSAGE);
input = JOptionPane
.showInputDialog("How many months are there?");
if (input == null) {
int exitint = 0;
exitint = JOptionPane.showConfirmDialog(null,
"Do you want to exit?", "Exit?",
JOptionPane.OK_CANCEL_OPTION);
if (exitint == 0) {
try {
System.exit(1);
} catch (SecurityException eb) {
System.out.println("exit");
* this while loop check for number format again
while (flag8 == 0) {
try {
debug(6);
classroomAmount = Integer.parseInt(input);
flag8 = 1;
} catch (NumberFormatException ec) {
debug(7);
JOptionPane.showMessageDialog(null,
"Enter a positive integer only",
"Number Format is Wrong",
JOptionPane.ERROR_MESSAGE);
input = JOptionPane
.showInputDialog("How many months are there?");
if (input == null) {
int exitint = 0;
exitint = JOptionPane.showConfirmDialog(null,
"Do you want to exit?", "Exit?",
JOptionPane.OK_CANCEL_OPTION);
if (exitint == 0) {
try {
System.exit(1);
} catch (SecurityException eb) {
System.out.println("exit");
} else {
* here the input is greater than 0 so it sets flag5 and 4
* then break out of the while loops
debug(8);
flag5 = 1;
flag4 = 1;
data = new String[classroomAmount][5];
jtable = new JTable(data, columnNames);
jtable.setPreferredScrollableViewportSize(new Dimension(800, 600));
JScrollPane scrollPane = new JScrollPane(jtable);
this.add(scrollPane);
this.show();
}Object[] possibilities = {"1", "2", "3"};
input = (String) JOptionPane.showInputDialog(null,
"Please choose the number of classrooms:",
"How many classrooms are there?",
JOptionPane.PLAIN_MESSAGE,
null, possibilities, "1");Edited by: Andre_Uhres on Nov 8, 2007 8:22 AM
I thought you need a combo for JTable row set. Seems I misunderstood.
See next posting. -
How to create Drop Down box in screen painter..??
Can anybody give me sample code or detailed description about creating Drop-Down Box in a screen...??
I have created the drop down box in screen..
But how to make data to be visible in Dropdown box, when i click the drop icon in that box...???
Regards
Pavan SanganalHere are couple of DEMO programs for the same functionality
DEMO_DROPDOWN_LIST_BOX
DEMO_DYNPRO_DROPDOWN_LISTBOX
You execution sequence will be PBO - Process before output, then the screen is displayed and the PAI Process after input.
Regards,
Ravi
Note : Please mark all the helpful answers -
How to automate Drop Down menu in OpenScript
Hello Team,
Can someone help me in automating a drop down menu? The following is what I'm trying to achieve
For iteration 1 the first value from the drop down menu should be selected, continue rest of the task as per the initial record
for iteration 2 the second value from the drop down menu should be selected.. and so on till all the values in the drop down are selected.
I guess we should use for loop? I tried most of the option as per the user guide but unfortunately I wasn't able to crack it :( can some one tell me what to do from the Tree view of the openscript? Alex (guru) can you please throw some light on this :)
N.B: I was able to make a field data driven!
ThanksHello,
Thanks for your reply, please find the drop down box record script. From the below you can see first I selected Accounting from the drop down & then later i selected Administration..similarly if i want to select all the values from the drop down what do i need to do? Do i add a for loop? if yes where do i add them from the Tree view & how. I somehow can't understand the user guide. Or maybe Im not thinking right! Kindly help. I have figured out how to run data driven test from an input file, however in this case I can't possibly add all the values from the drop down in an input file also that approach isn't healthy!
web
.selectBox(
5,
"/web:window[@index='0' or @title='SEEK - Australia's no. 1 jobs, employment, career and recruitment site - Microsoft Internet Explorer']/web:document[@index='0']/web:form[@id='layout' or @name='layout' or @index='0']/web:select[(@id='catindustry' or @name='catindustry' or @index='0') and multiple mod 'False']")
.selectOptionByText("Accounting");
.selectBox(
16,
"/web:window[@index='0' or @title='SEEK - Australia's no. 1 jobs, employment, career and recruitment site - Microsoft Internet Explorer']/web:document[@index='0']/web:form[@id='layout' or @name='layout' or @index='0']/web:select[(@id='catindustry' or @name='catindustry' or @index='0') and multiple mod 'False']")
.selectOptionByText("Administration"); -
How to have drop down menu in which we cant continue until selection is made
Hi All,
I have a case in which I have 4 drop down menu, and a continue button, I want to make sure that a user cant continue until selection is been made on all the four or atleast from some of the drop down menu. how can I do that.
Solved!
Go to Solution.
Attachments:
selection.vi 20 KBI believe what Norbert was suggesting is something like this:
With this code the "Continue button will be disabled and greyed untill a value change event has been registered on each of the four I32 controls. Note also that its always OK to Cancel (and the windows X is active so you won't anger your users) The caller should decide what to do if Canceled? is TRUE.
Modify as desired! the Attachment is saved back to 2012
You can safely delete the case structure....
Its a hold over from my VIT
Jeff
Attachments:
Simple UI (Events) 1.vi.vi 31 KB
Maybe you are looking for
-
Can not connect to Cerberus FTP Server with PASV
I setup a FTP Server and i can connect from the inside fine but from the outside i can not connect in passive mode. I can in regular ftp or ssh. Here is the log from filezilla Status: Resolving address of domain.com Status: Connecti
-
I think I deleted my entire library...help!
I had an entire library from burning CDs and downloading songs from itunes. Then one day I wanted to download but had to upgrade to 6.0. For some unknown reason, my computer wouldn't let me upgrade so I just re-installed it all together. Now I can't
-
hi can u say in which failed user login attempts will be stored.
-
Saprouter could not start "Error:1053"
Hi! I have installed the SAP-Router service and cannot start it from "SERVICES". I get the error "Could not start the saprouter on the Local machine". I also implemented the recommendation from microsoft ot apply the new package from http://support.m
-
[SOLVED] Device Notifier doesn't work in KDE 4.8.4
Hi. I searched for this problem but can't find any solution that works for me. Have been using Arch since years, but never had this problem. I did a fresh install few days ago. I installed KDE, but only minimal packages to work. Everything seems work