How to hide list box
Hi am having a listbox in my jsp page (<html:select>)
How can i hide the listbox from my form
thanks.
Hi,
You can use style attribute in select tag.
Example:
<html:select style="visibility: hidden">
</html:select>
Regards,
ulzavan
Similar Messages
-
How to populate list box in module pool program
How to populate list box in module pool program.
Please give me reply as soon as posible
regards,
Venu.hi,
go thrugh the folling code .
TABLES sdyn_conn.
DATA ok_code TYPE sy-ucomm.
Global data
TYPES: BEGIN OF type_carrid,
carrid type spfli-carrid,
carrname type scarr-carrname,
END OF type_carrid.
DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
*& Processing Blocks called by the Runtime Environment *
Event Block START-OF-SELECTION
START-OF-SELECTION.
CALL SCREEN 100.
Dialog Module PBO
MODULE status_0100 OUTPUT.
SET PF-STATUS 'SCREEN_100'.
ENDMODULE.
Dialog Modules PAI
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE.
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'SELECTED'.
MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
ENDCASE.
ENDMODULE.
Dialog Module POV
MODULE create_dropdown_box INPUT.
SELECT carrid carrname
FROM scarr
INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CARRID'
value_org = 'S'
TABLES
value_tab = itab_carrid
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
the following code should be included in flow logic of screen
process on value-request.
field scarr-carrname module create_dropdown_box.
in module pool select list box.
hope it is useful.
regards,
sreelakshmi. -
How to apply List box for multiple selection of rows in ALV report ?
Hi Exprots,
1: How to apply List box for multiple selection of rows in ALV report ?
Thanking you.
Subashhi,
check the below program.
REPORT zalv_dropdowns.
*Type pools declarations for ALV
TYPE-POOLS : slis.
*data declarations for ALV container,ALV grid, Fieldcatalogues & layout
DATA: g_grid TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
gt_fieldcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
wa_outtab TYPE t517a.
START-OF-SELECTION.*Call to ALV
CALL SCREEN 600.*On this statement double click it takes you to the screen painter SE51.
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen , Here we can give a title and customized menus
Here we also call the subroutine for ALV output.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
PERFORM alv_output.
ENDMODULE. "pbo OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
ENDMODULE. "pai INPUT
*& Form BUILD_FIELDCAT
FORM build_fieldcat.
DATA ls_fcat TYPE lvc_s_fcat.
*Build the field catalogue
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T517A'
CHANGING
ct_fieldcat = gt_fieldcat.
To assign dropdown in the fieldcataogue
LOOP AT gt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'SLART'.
*is the first list box
ls_fcat-drdn_hndl = '1'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
is the second list box
WHEN 'ABART'.
ls_fcat-drdn_hndl = '2'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
ENDFORM. "build_fieldcat
*& Form ALV_OUTPUT
FORM alv_output .*Create object for container
CREATE OBJECT g_custom_container
EXPORTING container_name = 'CCONT'.
*create object for grid
CREATE OBJECT g_grid
EXPORTING i_parent = g_custom_container.
Build fieldcat and set column
*Assign a handle for the dropdown listbox.
PERFORM build_fieldcat.
*Build layout
PERFORM build_layout.
Define a drop down table.
PERFORM dropdown_table.
*fetch values from the T517A table
SELECT * FROM t517a INTO TABLE gt_outtab.
*Display ALV output
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_fieldcatalog = gt_fieldcat
it_outtab = gt_outtab.ENDFORM. "ALV_OUTPUT
*& Form dropdown_table
text
--> p1 text
<-- p2 text
FORM dropdown_table.*Declarations for drop down lists in ALV.
DATA: lt_dropdown TYPE lvc_t_drop,
ls_dropdown TYPE lvc_s_drop.
First SLART listbox (handle '1').
ls_dropdown-handle = '1'.
ls_dropdown-value = '01 Primary school'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '02 Lower Secondary'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '03 Upper Secondary'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '04 Professional School'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '05 College'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '06 University'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '09 Other Establishment'.
APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2'). ls_dropdown-handle = '2'.
ls_dropdown-value = '10 Primary School certificate'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '20 Lower secondary/Junior high'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '30 High school diploma(B-levels)'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '31 Vocational'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '32 Matriculation'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '40 Specialist vocational certificate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '50 College degree Level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '51 College degree Level2'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '52 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '60 Univ Degree level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '61 Bachelors degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '62 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '63 Licenciate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '64 Doctors Degree Ph.D'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '89 None'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '90 Unknown'.
APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
CALL METHOD g_grid->set_drop_down_table
EXPORTING
it_drop_down = lt_dropdown.ENDFORM. " dropdown_table
*& Form build_layout
text
*layout for ALV output
FORM build_layout . gs_layout-cwidth_opt = 'X'.
gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
gs_layout-no_toolbar = 'X'.ENDFORM. " build_layout
endform.
Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM -
How to use list box parameter in crystal Reports
Hi Experts,
How to acheive list box parameter in sap B1 crystal reports.
Regards
VinothHi,
check this thread
Crystal Report Drop Down Selection List
Drop down list parameter
https://scn.sap.com/thread/1782598 -
How to hide search box in subgrid in crm 2013
Hi,
I want to hide search box in subgrid. When I click (+) in subgrid then show search box. I dont want to show search box. When I click (+) for new record then new form will open. Please tell me how to remove search box from subgrid in crm 2013Hello,
If you don't want to show search box over subgrid, make the relationship of your field required (what ever relationship you are using to show subgrid over your entity form).
Refer this for more details: http://inogic.com/blog/2014/05/sub-grid-add-action-behavior-in-dynamics-crm/
Microsoft Dynamics CRM Training|Our Blog |
Follow US |
Our Facebook Page |
Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question. -
How to hide list for particular users in SharePoint 2010
Hello Experts,
How to hide/Show Custom list to a particular user or group in SharePoint 2010
Thanks in advance.
Thanks & Regards, Abasaheb Dubal.All the lists in SharePoint inherits permission from its site. To hide a list from a user or a group what you can do is break permission inheritance at the particular list level.
1) Go to List and then click List Settings from the Ribbon.
2) Under permissions and management click Permissions for this list
3) Click Stop Inheriting Permission from the Ribbon
4) Remove User or Group that you do not want to share that list with.
Amit -
Hi gurus
I have set list box value through vrm_set_value and in the screen level it's working fine
In the custom program I need to fetch data from table using that selected list box value , but its always coming blank .
please help me how to catch that list box value in the program .
ThanksThis is the code
*************SELECTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS : P_bukrs TYPE bukrs OBLIGATORY , " Company Code
p_psc TYPE psc_name OBLIGATORY ,
p_monat TYPE MONAT AS LISTBOX VISIBLE LENGTH 5 OBLIGATORY , " Quarter
p_gjahr TYPE gjahr DEFAULT sy-datum+0(4) OBLIGATORY . " Year
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS : P_KIND AS CHECKBOX USER-COMMAND abc , " Check Box
P_prcent(6) TYPE P DECIMALS c_val_three , " Take in kind percentage
p_prod TYPE PSA_PRODUCT AS LISTBOX VISIBLE LENGTH 10 . " Take in kind product
SELECTION-SCREEN END OF BLOCK b2.
A T S E L E C T I O N S C R E E N *
AT SELECTION-SCREEN on BLOCK b1 .
Validate Company Codes.
PERFORM sub_validate_com_code.
Validate PSC
AT SELECTION-SCREEN on VALUE-REQUEST FOR p_psc .
PERFORM sub_validate_psc.
Validate Quarter
PERFORM sub_validate_quarter .
AT SELECTION-SCREEN on BLOCK b2 .
Validate Take in kind percentage
PERFORM sub_validate_percnt .
Validate Take in kind Percentage
PERFORM sub_prod_disp .
form sub_prod_disp .
populated internal table lt_prod_val .
LOOP AT SCREEN.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'p_prod'
values = lt_prod_val
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
in start of selection the p_prod is always coming initial . -
How to find list box field from recording
Dear All,
My requirement is to close all POs whose delivery date is overdue by 6 months. this can be accomplished by setting the delivery indicator in ME22N. I want to do this by BDC.
I have the list of all purchase doc numbers and item numbers whose delivery date satisfies the condition given.
Through Recording I want to find the fields getting effected. The delivery inidcator has to be set automatically by choosing the appropriate item from the dropdown list box. Choosing th eitem from dropdon list box was not found by me. Can anybody help me in this regard? Its very urgent. Thanks in advanceHi,
Here is the sample code.
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
name = 'PS_PARM'.
value-key = 'Line 1'.
value-text = 'Line 1'.
APPEND value TO list.
value-key = 'Line 2'.
value-text = 'Line 2'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = name
values = list.
START-OF-SELECTION.
WRITE: / 'Parameter selected in List box:', ps_parm.
Kindly reward points if it helps. -
How to create list box in selection screen
Hi Experts,
I want to create 2 list boxes, each one is having 5 fields. suggest me the logic.
Thanks.
TonyHi,
Below is the link to help you.
[List Box in Selection Screen;
Or here is the sample code.
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
name = 'PS_PARM'.
value-key = 'scooby1'. APPEND value TO list.
value-key = 'tweety2'. APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = name
values = list.
Hope it will help you. Please revert back in case of any query.
Regards
Natasha Garg
Edited by: Natasha Garg on Jan 8, 2009 6:28 AM -
HOw to add list box using enhacement of standard infotype
Hi,
Using enahancement infotype, I wanted to add a list box field in inftyp 01.
The module pool ZP000100 & screen no 200 already existed .In the layout editor the field didnot get displayed hence I took it from dictionary.
I have adde the code in pbo & pai for adding values in list box.
problem is that data is not getting saved when i enter data in pa30 inftyp 01.
Kindly guide me.
Regards,
Rachel*
-
How to hide bounding box over selected parts in 3d annotation?
Please let me know if it is possible to hide bounding box over selected parts in 3d annotation?
Have you unchecked the Display Bounding Box in the Options menu on the left side of the Model Tree toolbar? Select the down arrow next to the menu icon under Model Tree to see the Options menu.
-
How to reduce List Box prompt height
Hello,
I have a list box prompt which contains 20 values, but there is space for close to 30 values. I want to reduce that space for the list box to fit only the said number of values. I have tried reducing the height of the box (going to edit properties of the prompt and changed the value against Height), but there is no change in the prompt height.
Can anyone please help me in changing the height of this list box, so that it has no space available below the last value displayed in my prompt..?
Thanks and Regards,
P.RHi,
This is found working-
SELECT "Diversity Gender"."Diversity Gender Key" FROM "GECIS Consolidated Model" where "Diversity Gender"."Diversity Gender Key" IS NOT NULL
Regards
MuRam
NOTE: Please mention if this resolved your problem/still facing and close the thread. -
How to access list box variable in jsp
hi.......I'm new to jsp ...pls help me with the following.....i've created a form with some list boxes ,text boxes and radio buttons.....now i need to access the variables of these elements in order to validate and display them.....what is the syntax in jsp for accessing the list box variable(or txt box or radio button)
tnx in advance.....You normally use a Servlet class for this. You can get request parameters by HttpServletRequest#getParameter() or #getParameterValues() then.
This is fairly trivial though. Please go through a decent JSP/Servlet book/tutorial first. -
How to add List Box in Dialog Screen
Hi All,
I need to add list box in Dialog screen.
In Dialog screen I have 2 radio buttons "Yes" and 'NO'.
If user selects radio button YES, then under Yes I need to display values in list box and these values should be retrieved from one table.
If user selects Radio button NO then under NO I need to display values in list box.
Please give the solution for above requirement.
Thanks
VijayVijay Reddy ,
To get Drop Drown Box on screen .
Follow these steps.
1.Go to T.Code SE51 and Select Laypout for the Screen.
2.Double click on the field for which u want Dropdown box.
3.Then U will see Name ,Text ,DROPDOWN.Click on that and select List Box or ListBox with key . Better to to select first one.
4.Save and Activate ur screen .
5.Enter the following piece of code in the PBO of the screen.(Change for ur
requirement).
The following logic needs to be written under PBO of the screen logic.
TYPE-POOLS :vrm.
DATA:
i_natio TYPE vrm_values, "-->Table that is passed through FM vrm_set_values
w_natio LIKE LINE OF i_natio.
DATA:
BEGIN OF i_t005t OCCURS 0,
land1 TYPE t005t-land1,
natio TYPE t005t-natio,
END OF i_t005t.
IF i_t005t[] IS INITIAL.
SELECT land1 natio
FROM t005t
INTO TABLE i_t005t
WHERE spras = sy-langu.
IF sy-subrc = 0.
LOOP AT i_t005t .
w_natio-key = i_t005t-land1.
w_natio-text = i_t005t-natio.
APPEND w_natio TO i_natio.
CLEAR w_natio.
ENDLOOP.
ENDIF.
ENDIF.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'I_IT0002-NATIO' "-->Field for which dropdown is needed.
values = i_natio
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
6.Observe the above code and change as for ur requirement.
I hope that it helps you .
Regards,
Venkat.O -
How i use list box in runtime or fill runtime asper user given data
hi master
my user want he writ any word such as a writ in text box then show the list box that have the name who's start with a character and select any one name and transfer name and code in other text box.
please give me sample or setp or code
i am new in oracle
Thanking you
AamirAamir, appears that you are asking Forms questions in the wrong area, please note you are in the Collaboration Suite area, which does not use Forms.
Try posting your question to Forms
Maybe you are looking for
-
Can we do data slicing in apex.
Hello, I've got very interesting requirement, but m unable to figure out the solution. I have a table in which data is stored in such a way as shown in figure(1) below. In Apex report I have to show it like as in Figure(2). Please help if anybody has
-
How to install Windows 95 on Snow Leopard
Is it possible to install Windows 95 on my computer? BootCamp says I need to install XP (which I have) but I have a large collection of children's games for Win95 that I would like to install for my son to use. Hope you can help! Thanks, Lizzy
-
Hey guys, i have a strange issue, we loaded assets for 2008 using a program that was calling as01 then abze and it ran fine for 4 company codes. For one of the company codes we saw that for 5 of the asset classes the transactions didnt hit the gl. Wh
-
With looking at the photos of Mail 3 I don't see a status bar (at the bottom or elsewhere), has it been mentioned if the status bar will be added back?
-
Experiencing frequent kernel panic
I have a G4 AGP with 1.4 Ghz Sonnet processor upgrade (original 400 MHZ) and a flashed ATI Radeon 9200 card. I am also using a 4 port USB2 PCI card and a couple USB Hubs. Over the last couple of the weeks I am getting a daily kernel panic (usually wh