How to put dropdown list for a field in MIGO

Hi all,
I added a new tab in MIGO by using the BADI  MB_MIGO_BADI
in that tab for one of the field i have to put dropdown list (some static values)
i tried VRM_SET_VALUES , but how to pass the static values to the screen field as dropdown list.
please help on this issue.
Thanks,
Satish

Hi,
The logic u told is right it should work.
PROCESS ON HELP-REQUEST.
  FIELD MSEG-VENDTYPE MODULE HELP.
  PROCESS ON VALUE-REQUEST.
  FIELD MSEG-VENDTYPE MODULE HELP_VENDOR.
MODULE HELP_VENDOR INPUT.
*break-point.
  wa_values-key = 'M'.
wa_values-text = 'Manufacturer'.
append wa_values to values.
clear wa_values.
wa_values-key = 'FD'.
wa_values-text = 'First Stage Dealer'.
append wa_values to values.
clear wa_values.
wa_values-key = 'I'.
wa_values-text = 'Importer'.
append wa_values to values.
clear wa_values.
wa_values-key = 'DI'.
wa_values-text = 'First stage or Second stage dealer of Imported Goods'.
append wa_values to values.
clear wa_values.
wa_values-key = 'MD'.
wa_values-text = 'Manufacturers Depot or Consignment Agent'.
append wa_values to values.
clear wa_values.
wa_values-key = 'SD'.
wa_values-text = 'Second stage dealer of Indeginious Ecisable Goods'.
append wa_values to values.
clear wa_values.
CALL FUNCTION 'VRM_SET_VALUES'
  EXPORTING
    ID                    = '01'
    VALUES                = VALUES
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.
ENDMODULE.                 " HELP_VENDOR  INPUT
*&      Module  HELP  INPUT
      text
MODULE HELP INPUT.
if sy-uname = 'ABAPUSER'.
  break-point.
endif.
ENDMODULE.                 " HELP  INPUT
Process on help req is triggering on pressing the F1 help but process on value req is not triggering on pressing F4 it is triggering before the screen display i.e in PBO can u tell wat might be the problem.
Thank u very much.

Similar Messages

  • How to create dropdown list for custom remote function module

    HI ,
           I created a custom remote function module for a ztable.table having four fields.But now the requirement is to maintain the dropdown list for input parameter .
    For eg: I maintain Input parameter as action.For that Action we have to maintain a dropdown list(display,insert,update and delete  values ) in function module.Is it possible.

    Hi
    Try using POPUP_GET_VALUES function module in the begining of the Function module this gives a POP to provide a value to you
    In this you can provide a value
    Check the import parameters of this Function module if it has COMBOBOX as parameter ( I dont have SAP access at this point of time) you can pass X to it so you get List box for the following fields
    Create a domain to field and assing fixed values to it and use it in any table(As this works with only existing tables)
    refresh fields.
    DATA: fields LIKE SVAL OCCURS 0.
    fields-tabname = 'MAKT'.
    FILEDS-FIELDNAME = 'MAKTX'.
    APPEND FIELDS.
    CALL FUNCTION 'POPUP_GET_VALUES'  " Try copying this in a Test program and execute
            EXPORTING
              POPUP_TITLE  = 'Enter Mail Id here'
              START_COLUMN = '5'
              START_ROW    = '5'
            IMPORTING
              RETURNCODE   = SRETURN
            TABLES
              FIELDS       = FIELDS.
    Cheerz
    Ramchander Rao.K
    Edited by: Rob Burbank on Nov 23, 2011 9:50 AM

  • How to get the values in the dropdown listbox  for screen field

    hi friends !
            I have selected dropdown listbox for a field in the screeen. Now, how to pass the possible values into the list. Please give the kind help.
    Regards,
    -Prasad.

    Hi Prasad,
    As Raja had mentioned, this topic has been discussed many times in this forum in the past. Please make sure that you first search the forum for related topics before you post new ones. that would avoid a lot of redundancy. Anyays, here are some of the topics you can refer to:
    Drop down list
    DROP DOWN BOX
    http://help.sap.com/saphelp_46c/helpdata/en/9f/dbabe435c111d1829f0000e829fbfe/content.htm
    Regards,
    Anand Mandalika.
    P.S: Please don't forget to reward points and close the thread once your problem is resolved.

  • 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 to put Mandatory option for selection screen fields in ABAP Queries

    Hi Experts
    Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
    Manually I had written code in the At Selection Screen  option in infoset to display error message if that field is blank.
    But I need to display the selection fields with the tick mark (obligatory mark).
    How to do this?
    Appropriate answers will be awarded

    Hi
    For parameter option
    parameters : p_kunnr type kna1-kunnr  obligatory.
    For select option
    select-options: s_date for vbak-erdat obligatory.
    Plz rewards points ,
    Regards ,
    Ganesh.

  • Who is Who - dropdown list for fields in the advance search

    Hello:
    In the advance search of the Who is Who service, we have the Organization Unit and Cost Center as searching fields.
    We can't be able to see the dropdown list for these 2 fields from the Portal.
    Do anyone have any idea of what configuration is missing?
    Thanks.
    Regards,

    hi,
    according to my knowledge they don't have Unique ID but unique names attached to them.
    open Outlook
    go to Tools -> Forms -> Design Form -> select Message then right click on 'To' textbox and chose Advance Properties it has a field 'Name' that name can be used for reference in your development.
    hope this helps you.

  • I have a lock field(boot.efi) in recycle bin how to put it out (for unlock and empty my recycle bin)

    I have a lock field(boot.efi) in recycle bin how to put it out (for unlock and empty my recycle bin)

    Trying logging out/in or a restart.
    If that doesn't allow you to empty the trash:
    Trash – Empty When File is Locked or in Use
    Trash FAQ       
    Maybe this will help:
    https://discussions.apple.com/message/17029415#17029415

  • To set a dropdown list for one column in the excel file before downloading

    Hi all,
    I am downloading an excel file which has the format of an internal table with a number of fields. I want to set a dropdown list for one column in the excel file. How can i do this?
    Thanks

    HI ,
    U can use function module " QINT_GET_EXCEL_DATA " ....
    and modify the excel sheet based on ur requirement ......
    Try this ...
    Hope it works
    Thanks
    Shambhu

  • How create combo/dropdown list in Acrobat toolbar?

    Hi! How create combo/dropdown list in my custom Acrobat toolbar (using plugins SDK)?

    You can add a dropdown/flyout menu to a toolbar button using the APIs provided.  There is a sample in the SDK.
    There is no support for an edit field or other type of UI.

  • Is it possible to create the ALV output with dropdown list for the columns

    Hi forum experts,
                              Could the ALV output contain the dropdown list for the column names? if yes, then how we can acheive this to happen.
    Thanks in advance,
    Regards,
    Samad.
    Edited by: Samad arif on Aug 21, 2009 4:40 PM

    Hi Arif,
    Yes we can .FOr the codding check the article,
    [dropdowns in ALV|https://wiki.sdn.sap.com/wiki/display/Snippets/DropdownsinALV]
    regards,
    Archana
    Edited by: Archana Kumari on Aug 21, 2009 1:22 PM

  • How to set Dropdown list in tablen whith others Dropdown values in each row

    how to set Dropdown list in tablen whith others Dropdown values in each row of the table

    hi ,
    You have to add the parent element before adding data to the child node ...you follow the below steps it will work
    1) Take ContextStructure as follows ...
    tabledata (valuenode)
        ddownbyindex( value node) --within the tabledata node
             value (attribute)
    2)Binding to your layout
      tabledata (node) ---bind this to the dataSource property of your  table
          ddownbyindex( node)
                Value (attribute)--bind to the texts property of you DDbyIndex
    3)In wdinit() method add the following code
         IPrivate<Your view name>.ITabledataElement tabledataElement =wdContext.createTabledataElement();
        wdContext.nodeTabledata().addElement(tabledataElement);
        for(int i=0;i<5;i++)
         IPrivate<Your viewname>.IDdownbyindexElement ddbyindexElement=wdContext.createDdownbyindexElement();
             ddbyindexElement.setValue("Value"+i);
             wdContext.nodeDdownbyindex().addElement(ddbyindexElement);
    And set the cardinality property of the table node as 0..n
    and dropdownbyinex node to 1..n
    You try it ...
    Regards
    Madhavi
    Edited by: madhavi kotra on Sep 2, 2008 6:00 PM

  • How to put Nested List in HTMLDocument  in JTextPane(JEditorPane)

    How to put Nested List in HTMLDocument in JTextPane(JEditorPane). I was trying to put nested Bullets and Numbering but found that not enough support is provided for it. The HTMLEditorKit behaves abnormally.
    There are two ways to do that:
    1) just extract the whole text by getText, but the problem is you don't have the postion where the cursor was when the event was triggered so u can't add ur text to it , even if u extracted the text at cursor there can be multiple copies, so no way...also if u change it and reinsert the whole text the atributeset for whole text is lost.
    2) So the only way is work with jugglery of Elements, which is full of bugs. I find it very difficult to move backward in it and insert a tag around a tag. Such a simple thing and almost no way. If anybody has any ideas please mail me.
    Thanx in Advance

    Settings > Mail, Contacts, Calendars > Contacts > Sort Order/Display Order 'First, Last'

  • How to create Search Help For Ztable fields

    Hi all,
    Please let me know How to create Search Help in SE11(what are the parameter i should pass)
    and How to maintain search help for Ztable fields at DIctionary level (in SE11) and programming level.

    hello .
    there are two types of search helps .
    1. elementary search help .
    2. collective serch help
    Below are the steps to create elementary search helps :
    1 In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose  Create.
    2.then youget a option elementary or collective search as per you r need .
    3.select Elementary search help and choose
    4.write explanatory text in the field Short text.
    5. in the selection method give the name of the table or  a view .
    6 . Select the fields that should be used for value selection  or in a hit list .
    7. then define the attributes of the search help .
    8 Select the IMP flag if it is an import parameter. Select the EXP flag if it is an export parameter.
    9 .define the  dialog type of the search help.
    The dialog type tells  how the hit list will be displayed in the input help.
    10 . save and activate .
    plz reward if usefull
    Thanks ,
    Abhishek .

  • How to avoid multiple listing for same artist?

    How to avoid multiple listing for same artist?

    Sounds like there might be blanks in the artist name.
    For instance "Lou Reed" and "Lou Reed_" will not match.
    (Pretend the underscore _ is a blank).
    Select all the Lou Reed songs, Get Info, and type "Lou Reed" in the artist field. That should fix it.

  • How to find the Ranges for a field ?

    Hello All,
               Can anyone tell me how to find the ranges for a field.
    <b>1</b>, i.e say I want the Ranges Structure for the field LIFNR.
        The ranges structure for this is "<b>RANGE_LIFNR</b>".
        This I used in my Program since I know it previously.
        But now I want the ranges structure for the field <b>VBELN (Delivery Document).</b>
        I  don't know what is it !!!!!
    <b>2</b>, Is there any procedure to know the ranges structure for a particular field ?
    Regards,
    Deepu.K

    Hi Deepu,
    Using 'Where used list' you can able to find out RANGES tables.
    For VEBLN range table is --> CRM_AC_ASSIGN_VBELN
    If you using a program defined as shown below.
    DATA: r_vbeln type ranges of vbeln.
    The above statement also creates ranges structure in Runtime.
    Procedure finding range table structures
    go to SE37 -> Enter domain or dataelement value
    Go to where used list --> search for 'Structures'
    After getting all structure  --> Click 'SEARCH' butoon in tool bar --> Search for 'RANGES' word
    You can get all ranges tables in the search window
    If helps plz reward points.
    Regards
    Bhupal Reddy

Maybe you are looking for

  • How do I delete duplicate songs? (date and time stamp are identical

    I put my cd collection in itunes and now have duplicates of most songs (don't know how I did that). The duplicates have the exact same date and time, so the method to delete a "newer" duplicate will not work. Is there a simple way to delete exact dup

  • 8310 radio problem

    The radio on my Blackberry keeps turning off for no apparent reason. It varies, sometimes 5-6 times, a day, sometimes none?.. Anyone out there encountered a similar problem? Or can anyone help?

  • Selecting with PL/SQL

    Hi everyone, I have a table with the following info ClientName | PromoCode | ... with few more additional columns John........... AAA Brian...........AAC Chung......... AAA Mery........... AAA Kyle ...........AAC Peter...........AAB and so on. Now I

  • [Solved] Grub Menu at boot How to remove?

    There is a pesky dialog box that starts when the computer starts. It is open for 4 seconds then moves on. It says something about choosing a grub and gives two options. It automatically defaults to the first option after 4 seconds. Does anyone know h

  • Audio book CD importing issues

    Importing Audio books from CD..I'm very confused.. I have imported a BUNCH of audio books to my itunes library. I thought I had all of them saved in the audio books section, with each one labeled by author, book name, disc 1 of_, read by, and anythin