Dropdown list in tab strip

Hi,
  I want a dropdown list for block reason ,in the two tabs that i have created.The dropdown list is not a part of the table contol.
The dropdown list should have the contents of Delivery and Billing block as observed in the 'SALES' tab of VA03.
The functionality of the list is to filter the blocks displayed in the table control according to the reason selected in the list.
Thanks.

Hi
Welcome to SDN Community
LIST BOX                    
Drop down list box can be created in a dialog screen(SE51) as well as selection screen.
  The sap list box allows to select a value from the list but we cannot enter our own value in the list box .The value list that will be displayed consists of two
fields TEXT field of TYPE 80(C) and internal KEY field of TYPE 40(C).
In screen painter to create a input/output field into list box we use
'L" as a value for dropdown attribute for the i/o field.
In screen painter to determine the type of method that will be used to fill the value
list we use the attribute value list.
If it is blank  the value list will be filled by the first column of the input help assigned to the screen field.This input help can be defined in the ABAP Dictionary, on screen using SELECT,VALUES screen statements or in event POV (PROCESS ON VALUE-REQUEST ) and the input help that will be passed to the field should consists of 2 columns ,the key column is filled automatically by the system.SAP recommends value list field should be blank.
or
The value  can be 'A' meaning that the value list will be filled in the event PBO(PROCESS BEFORE OUTPUT) or before the screen is displayed.In this method we use function module VRM_SET_VALUES to fill the values and pass it to the i/o field.
If a function code is attached to the list box the selection of a value triggers a PAI
otherwise PAI will not trigger.
LIST BOX in SELECTION SCREEN
  List Box is created in selection screen using PARAMETERS staement
with AS LISTBOX addition other attributes like VISIBLE LENGTH (width of listbox)
can be specified with the declaration.
PARAMETERS name(n) AS LISTBOX VISIBLE LENGTH n.
Here n is an integer and name is the name of parameter.
To populate the value list we use the FM VRM_SET_VALUES  and the
selection screen event AT SELECTION-SCREEN OUTPUT is used to write the code to fill it.
VRM_SET_VALUES   
The function module VRM_SET_VALUES is used to fill the value list associated with a List Box .This FM uses types which are declared in type group VRM. So
we should declare TYPE-POOLS VRM before using this FM.
Some important types declared in the VRM type group are
VRM_ID
   It refers to the name of the input/output field associated with list box
VRM_VALUES
  It refers to the internal table consisting of two fields TEXT(80C) and KEY(40)C
that will be used to create the list values.
CALL FUNCTION 'VRM_SET_VALUES'
  EXPORTING
      ID                =  name of screen element ,it is of TYPE VRM_ID
      VALUES      =  internal table containing values,of TYPE VRM_VALUES
LIST BOX with value list from input help
In this example the screen element attribute value list is set to blank as such the value list will be filled with the 1st column of the input help,We use PROCESS ON VALUE-REQUEST event to pass the value list  to the listbox.In the MODULE call used to fill the value list we can use FM like F4IF_INT_TABLE_VALUE_REQUEST to create input help as explained in the input help.The value of first column will be shown in the field when selected.
PROCESS ON VALUE-REQUEST
FIELD list MODULE fill_list_100
FIELD list MODULE fill_list_100 INPUT
SELECT f1 f2 FROM table INTO int
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
            retfield        = 'input/output screen field'
            value_org       = 'S'
       TABLES
            value_tab       = itab "it contains 2 fields that will be shown in the list box
       EXCEPTIONS
            parameter_error = 1
            no_values_found = 2
            OTHERS          = 3.
  IF sy-subrc <> 0.
ENDIF.
ENDMODULE.
VALUE LIST CREATED IN PBO
In this method we set the value list attribute to 'A'.The value list will be filled in the PBO by using FM VRM_SET_VALUES .
TYPE-POOLS : VRM
DATA : field_id TYPE VRM_ID ,
            values  TYPE VRM_VALUES,
             value   LIKE LINE OF values.
PROCESS BEFORE OUTPUT
MODULE list_fill_100
MODULE list_fill_100 OUTPUT
SELECT f1 f2 f3  FROM tab WHERE condition.
value-KEY = f1.
value-TEXT = f2
APPEND value TO VALUES
CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id     = 'i/o screen field'
            values = values.
ENDMODULE.
LIST BOX with Selection Screen
For this the FM VRM_SET_VALUES is used to fill the value table and is passed to the parameter created with TYPE LISTBOX in the selection screen event
AT SELECTION-SCREEN.
PROGRAM zlist
TYPE-POOLS : VRM.
DATA: param TYPE vrm_id,
       values     TYPE vrm_values,
       value LIKE LINE OF values.
PARAMETERS: p_name(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
  param = 'P_NAME'.
  value-key = '1'.
  value-text = 'JOHN'.
  APPEND value TO values.
  value-key = '2'.
  value-text = 'PETER'.
  APPEND value TO values.
  CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING id     = param
              values = values.
Regards
Pavan

Similar Messages

  • Dropdown list in tab srtip

    Hi,
      I have created a text box for dropdown list in my table control.I have used the FM 'VRM_SET_VALUES to get the values.The name of the text box is 'LISTBOX' and the FCODE is also stated.In the user command do i have to check the contents of the textbox string for each and every value of the list and select the corresponding data for each value to filter the table according to it or is there any other method to check the condition?

    Hi,
      I have created a text box for dropdown list in my table control.I have used the FM 'VRM_SET_VALUES to get the values.The name of the text box is 'LISTBOX' and the FCODE is also stated.In the user command do i have to check the contents of the textbox string for each and every value of the list and select the corresponding data for each value to filter the table according to it or is there any other method to check the condition?

  • Open tabs are not on tab strip. Have to click on List All Tabs button to find tabs. Tabs used to display on tab strip and stopped doing this. Suggestions?

    Been using Firefox for years, running Windows XP. This morning when I opened pages in another tab, did not see them on tab strip. Only way to find them is to click on List All Tabs Button and it shows list. Cannot get them to display on tab strip. If I open in another window, it works, like it should. If I click on plus sign on tab strip it opens another tab, but can't see the previous ones except with List All Tabs Button. Any suggestions on how to turn tab strip back on? Thanks, jayem33

    If it works in a new window then you can drags tabs from the not working window to that new window.
    You can also try to close the tabs via Ctrl+W and restore the closed tabs via Shift+Ctrl+T

  • Ajax tabs not working when asp dropdown list in the tab

    I am using asp.net 3.5 framework. My page has modelpopup in that ajax tab controls used. one of the tab has asp:dropdownlist, this dropdown list is binding data from dataset. the tab which has dropdown lists is not working. it is working fine in IE9.0.
    Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    changed to enableEventValidation="false", then it is working fine.

  • Use of Validation tab in Dropdown list properties

    Hi All,
    I have created input form  with 2 dropdown fields and submit button. While clicking submit button i need a  message if dropdown lists are not selected. So that I have entered one condtion in validation tab in dropdown list properties. But this validation is not working while clicking submit button.
    Can you please guide how to use validation in VC?
    Thanks,
    Venkatesh R

    Hi
    'Validation Tab' is use to validate the values for that UI control. In case of 'Dropdown list' it is used to show invalid values in perticular cases. Example -
    1. You have dropdown list on 'Country' & it is based on fiscal year input.
    then
    If fiscal year is 2008 values should be X, Y & Z. If value apart from this its invalid. You can configure this with the formula in 'Validation Tab' & if user selects the value apart from theses, system will through the error message as you have set.
    Please also look at the link below -
    http://help.sap.com/saphelp_nw04s/helpdata/en/47/7a46502823199ae10000000a42189d/frameset.htm
    I hope this is what you were looking for, if you want anything else please let me know.
    Regards
    Sandeep

  • By selecting the dropdown list a new empty browser tab is getting opened

    Hi,
    When i try to pass the parameters in Bi report, by selecting the dropdown list a popup(new empty browser tab) is getting opened why is this so. Can anyone help me to sort it out.
    Edited by: user9093700 on Jul 6, 2012 8:57 AM
    Edited by: user9093700 on Jul 9, 2012 8:46 AM

    If you have tabs on top and no menu then the tabs are in a "Windows" area so there is no space to right. If you put tabs back to the bottom you will have most of your old behavior but because of the changes to tabs on top most of the tab context menu stuff all of the context menu part was lost except the customize toolbar stuff, double-clicking on an empty spot was restored, and eventually during the FF 4 beta most of the tab extensions Firefox messed up eventually worked again except in the area to the right of the tabs.
    The Windows part of that double-click has to maximize or restore to normal,
    and you have to be able to drag the window by it;'s title bar.
    You can make Firefox 4.0.1 and '''Firefox 5.0''' look like Firefox 3.6.17, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 look like 3.6)]

  • Open tabbed panels from dropdown list option value

    I have about 10 tabbed panels on my page.
    I created a dropdown list, <option value></option value>.
    I need to open the specific panel when an option is selected from the dropdown list.  I know how to open tabbed panels by URL, a button, and a link on the same page.  But how do i open a tabbed panel from a dropdown list.  The <option value> in IE does not allow for onclick events in IE. 

    Yes and I have been trying to find that.  Right now I have it setup where the onchange event is "location = this.options[this.selectedIndex].value;">
    and then I have each<option> in the dropdown list with teh value=http://URL.com?tab=3#tabbedpanels1.
    It works but it isn't as dynamic as I would like.  When i select each option in the dropdown, it refreshes the page and opens the correct tabbed panel. Then the dropdown list is reset to the default value because the page refreshed.  I wanted to do this without the page refreshing, that way the dropdown list item remains at what I selected to open the tabbedpanel. and plus, I didn't want the page to refresh everytime but to just open the tabbedpanel the same way as if i made a button to open it.

  • TabNavigator: Tabs have a dropdown list

    I want to create a TabNavigator, in which some of the tabs
    contain a dropdown list. When those tabs are clicked, the
    dropdown list is displayed and you can select one of the
    items in the list. The display will change after the selection.
    Is there is simple way to do it within TabNavigator?

    I don't think you want a TabNavigator then. The tabs in a
    TabNavigator are used to, on click, switch through a view stack for
    instance.
    Seems like you could do what you wanted without a
    TabNavigator at all. Place some labels at the top (styled like tabs
    if you so desire), on click use an Effect to show a canvas sized as
    your desired subnav (wipe down from the label you clicked, move it
    via animation, bounce, etc).

  • Tab strip - dialogue programming

    Hi all,
    I want to make an dialogue program application which is similar to transaction code pp01. It would have two or three dropdown list boxes. Depending on what options I choose in the list box, certain options will come in the table below ( please refer to pp01).
    Now when i click on any of these options to choose it and then click on create button, it should open the corresponding infotype which I already created separately using transaction pm01 - to input entries in that infotype.
    When I click on display button, it should display the infotype record if it has been already created - just like pa30.
    I knoow how to create list boxes. But depending on the choices in these list boxes , in the tab strip below - on the first screen - should come some values , which will change when i change the listbox options.
    can you pls help me in this? My concern is not the list boxes but the action corresponding to list box choices I make and the tabstrip in transaction pp01. how to create it and how to add funcrtionality to the tab strip so it will open my required infotype in display or edit mode.
    Please suggest something in this.
    Thanks
    Ribhu

    Hi,
    Following links will be helpful:
    http://help.sap.com/saphelp_46c/helpdata/en/d1/801bd2454211d189710000e8322d00/frameset.htm
    Tabstrip Control
    TabStrip ViewSet example
    http://help.sap.com/saphelp_bw30b/helpdata/en/04/10f2469e0811d1b4700000e8a52bed/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap-code-samples/alv-grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
    Also you can try these sample programs:
    try these sample programs in the system
    demo_dynpro_tabstrip_local
    demo_dynpro_tabstrip_server
    Raja T
    Message was edited by:
            Raja T

  • SSRS report - A single selection dropdown list converted to text box

    Hello everyone,
    We created a single selection dropdown parameter (City parameter) on a report. The data in this parameter is populated using MDX query. Also, it is filtered based on selection of another single selection dropdown list (Country parameter) of a report.
    The problem is when there is no cities for the selected country the dropdown list is gets converted to free type text box and user can insert city data in it. Why SSRS is not keeping it as empty dropdown list with no data?
    Any help would be much appreciated.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hello Charlie,
    We developed a fresh report only with two parameters but still the dropdown control gets converted to text box in our case. We have two single selection parameters, Location and Customers. Based on selected Location the customer
    dropdown gets populated.
    Location Parameter Query
    WITH MEMBER [Measures].[ParameterCaption] AS [Location].[Location Name].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] AS [Location].[Location Name].CURRENTMEMBER.UNIQUENAME MEMBER
    [Measures].[ParameterLevel] AS [Location].[Location Name].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , [Location].[Location Name].ALLMEMBERS ON ROWS FROM [Model]
    Customer Query
    WITH MEMBER [Measures].[ParameterCaption] AS
    [Customer].[Customer Name].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS
    [Customer].[Customer Name].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS [Customer].[Customer Name].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel],[Measures].[Amt]} ON COLUMNS,
    nonempty([Customer].[Customer Name].ALLMEMBERS,[Measures].[Amt]) ON ROWS FROM ( SELECT ( STRTOSET(@LocationName, CONSTRAINED) ) ON COLUMNS FROM [Model])
    Regarding parameter settings on General tab for both the above parameters we did not select any of the following values, all these checkboxes are empty:
    Allow Blank Value ("") , Allow null value, Allow multiple values.
    I think it has something related to [Measures].[Amt] that we used in customer parameter. We are now trying to take other two parameters where we would be not using the [Measures].[Amt] to filter the data. Will update you soon.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

  • I updated to 3.6, lost bookmarks, have only a default profile so I restored. The bookmarks are now there but I can't get the dropdown list for many folders so I can't access these. Clicking on the arrow to the right of the folder name does nothing.

    When I Click on some of the bookmark folders I do get a dropdown list of sites but not always all of the sites that were bookmarked. If I copy a nonresponding folder, the new copy can be accessed but apparently does not contain all of the sites. If I rightclick on a nonresponding folder and use 'open all tabs' Firefox will tell me the number of sites in the folder and ask if I really want to open so many.

    Sounds like a corrupted places.sqlite file.
    See http://kb.mozillazine.org/Locked_or_damaged_places.sqlite

  • How do I get a value attached to a text on a dropdown list?

    I need to get an overall average based on the selected option in several different dropdown lists. Once I have the average the final field will reflect the text as one of the options. 
    There are 3 areas that are being measured. 
    Quantity, Quality and Performance
    Each area will get a rating, The dropdown list will show Fails, Meets, Exceeds.
    The ratings need a number value that can be used to average the areas. 
    Quantity = Meets = 2
    Quality = Exceeds = 3
    Performance = Meets = 2
    Total = 5
    Avg = 2  (rounded to nearest whole)
    Final rating = Meets
    I have built the drop down lists. I see a value that appears to be attached but I cannot figure out how to grab the value.  I need to present this to the executive team soon. Please help me understand how this works, and yes I got it to work in Acrobat but needed other functionality only available in LC Designer. 
    I am using Adobe LiveCycle Designer ES2.
    Thank you!!

    If you have assigned values to the dropdown items - on the Binding tab of the Object palette: "Specify Item Values" - those values become the rawValue for the dropdown.
    So for something simple in FormCalc, on the calculate event of the Final Rating you would just add the fields together and do the math.
    $ = (ddl1 + ddl2 + ddl3) / 3

  • Purchasing orgn not able to find in the dropdown list.

    Hi 
    Can anyone guide me I am not able find the new Purchasing groups in dropdown list of my basic date in while creation of shopping cart.
    I aslo created new company code and new Purchaisng Org , I am able to get the new company code and new plant in the drop down list but not able to find the Pur groups.
    Can any one help me on this, Because I have assigned the Org unit of Company code and Pur org also in the responsibility tab of this Pur grp.
    but still the problem persists.
    please suggest.
    Regards
    srujan.k

    Hi,
    Please check the user attributes in PPOSA_BBP.here you can see the user id is tagged to one purchase group.
    You can assign the user to one Purchase group,that's a reason you are not able to see the drop down list for purchase group while creating SC.
    If you want another purchase group, please change the user attributes.
    I hope it will help.
    Regards,
    Manish

  • Creating a dropdown for the tabs that use JTabbedPane

    Hi all,
    I have an application that uses a JTabbedPane to create tabs. Currently it uses the default to scroll if there are more tabs than what can be fit on the screen. I would also like to provide a dropdown next to the scroll arrows so that the user can see all the tabs on a dropdown list and select one w/o having to scroll left and right. I've seen this done on the NetBeans IDE 4.1 and 5.0. Is this something I can leverage from the Swing API (using JDK 5), grab from some open-source library, or must code myself? Let me know how I can do this. Thanks in advance!
    -los

    Thanks for the reply!
    I understand what you are describing but am a bit puzzled on a couple of things (maybe because I just got into Swing).
    My biggest question is on how to place the combo box in the tabbed pane next to the scrolling arrows. I'm looking at the JTabbedPane Javadoc and I do not see a place where one can add other components such as this combo box (other than the tabs themselves).
    Another question is that the combo box will have a width the size of the longest text contained in the box. How do I remove this length and just show the dropdown arrow. When the user clicks this arrow, the combo box appears with the list of items, i.e. I want to mimic what the NetBeans IDE does.
    Thanks in advanced!
    -los

  • How to read the selected value of a dropdown list box

    Hello,
    I have 2 custom fields which are of type dropdown list on Accounts(CRMM_ACCOUNT) PCUI application details tab.I need to read the selected value of first dropdown list item,based on that second dropdown list will be populated.
    I know where to populate the dropdown list box,it is in FILL_DROPDOWN_LISTBOX.
    I dont know how to trap the selection made on dropdown list.
    PLease guide me on how to trap the dropdown list field selection value.
    Thanks in advance.
    Thirumala.

    Hello,
    Check what is done in standard for the fielf REGION which is inked to the country.
    Otherwise, you can do the following :
    - in field group customizing, for field 1, flag the 'send request' flag. So, when you change the value in this field via the dropdown, the MAC methods are immediately called.
    - Put the new value in a global variable (GV).
    - in the fill_dropdown_listbox method, get the value from this GV and based on it, filter the values for the dropdown of field 2.
    Hope this will help you,
    Regards,
    Frederic

Maybe you are looking for

  • How to hide fields in Table maintenace screen

    I have created a view with table maintenance generator. I would like to hide some fields. With event I am able to fill in those fields but I want to hide those from screen.

  • Read Only and HTML Table Cell Attributes

    Hi Guys, I believe i have come accross a bug - i'm been working on a form that can be filled out and printed - when going into print for sake of the output looking nice i set the form element to read-only. As soon as an element such as a drop down bo

  • Adobe Premiere CC"has stopped working error"

    Ran an update on Adobe Premiere CC last night. Now this error occurs. I did a system restore to 1 hour before the update. Adobe worked fine this morning. After I closed the program and logged in tonight the "has stopped working error" displays. Also

  • Ipod Classic Won't sync my music because it can't find a file or disc

    I have the 2006 30 gig ipod classic( i dont know what generation that is) but i have just restored it to factory settings, and everytime i plug it in to sync music, it just says "cannot find file" with a big red x, or "cannot find proper disc", i don

  • Anchored objects into scrollable frame?

    Good evening, is it possible to link a button to another page in a precise point in a scrollable frame? Many thanks! Mediacross