Custom F4 help multiple selection

Hi folks,
I have created a custom F4 help for select-options. it is working fine for low and high value selections. the moment i click onthe arrow multiple selections and enter multiple values and click on copy button it is giving short dump. how to handle this scenario.i tried to google but couldnt get for multiple selections. any thoughts on this?

Hi,
Please paste your code, for review.
regards,

Similar Messages

  • Search help multiple selection of search results

    Hi,
    I have a search help (SE11) and it is correctly integrated in my WDP4A application using 'automatic' search help integration. Unfortunately multiple selection of search results does not seem to be supported (the ok button greys out when >1 result is selected). Is there a standard way to link a search help to an attribute in a 0..n value node, so that at runtime a new context element is created for each selected search result? Or do I have to recreate the search help from scratch to get this behaviour (OVS)?
    If the latter is true, then why is it even possible to select multiple search results?
    Kind regards,
    Jeroen

    Hallo Jeroen,
    OVS standard configuration does not allow you to select more than one configuration, You need to specify that explicitely on Phase-0 of OVS using the set_configuration method.
    see
    [Multiple Selection in F4 help|Multiple Selection in F4 help]
    [http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP]
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true]

  • Select-Option F4 Help Multiple Selection

    Hi
    I have wriiten the code to provide custom F4 help for a field using F4IF_INT_TABLE_VALUE_REQUEST' and then updating the values back to screen using Function Module DYNP_VALUES_UPDATE.
    It is working fine when the F4 is used on the main screen, But when i click on the multiple selection button and press F4, i do get the F4 values list, but selected value is not getting passed back to the field.
    I guess the issue is the field name changes in the multiple section option, Please suggest how can i fix it.
    *&      Form  update_date_bATCH
          Updating the sel_screen with the retrieved values
    FORM update_date_batch USING pt_filename pt_fieldvalue.
    Rundate
      st_dyn_fields-fieldname  = pt_filename.
      st_dyn_fields-fieldvalue = pt_fieldvalue.
      APPEND st_dyn_fields TO it_dyn_fields.
    Function Module to update the screen with the values retrieved
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
        TABLES
          dynpfields           = it_dyn_fields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          OTHERS               = 8.
      IF sy-subrc <> 0.
        MESSAGE i006(zffi).
      ENDIF.
    ENDFORM.                    " update_new_date_time

    You have added the F4 to a select-option for areport and would like to get the F4 values back into the select-option, when the user selects multiple values?
    If this is the case you have to fill the internal table behind the select-option and this will have to based on waht the user selected.
    The first value will go on to the screen the way you have done it.
    If this is what you want to do?
    Rene

  • WDA Search Help Multiple Selection

    Hello everyone,
    I've managed to integrate a standard search help into my WD ABAP application.
    The thing is that from the search help pop-up I can select multiple rows but when I select more than 1 row in the help value list the OK button is greyed out.
    I would like to select more than 1 entry and transfer it back to the associated input field, like a list of values separated by a comma.
    How can I implement this?
    Thanks!

    To be honest I didn't mean that.
    I've integrated a standard search help in my WDA, just defining a context attribute bound to a dictionary field having a search help. Now I'd like to have a multiple selection enabled for it.
    What I am getting is a General Value List from which I cannot transfer multiple values back to the caller.
    Is there a way to do it?

  • [Help] Multiple Selection at Select Options.

    People, I've coded following Select Options:
    DATA: g_created TYPE zapomatxref-erdat,
                g_modif   TYPE zapomatxref-aedat,
                g_matnr   TYPE zapomatxref-pr1_material.
    SELECT-OPTIONS: s_creat FOR g_created,
                                   s_modif FOR g_modif,
                                   s_matnr FOR g_matnr OBLIGATORY.
    Thing is, when I execute the program and hit the Multiple Selection, an error pops up saying "Fill in all required fields".
    I know it goes through PBO validating that OBLIGATORY so I can't enter the multiple selection screen.. But is there a way to enter the multiple selection screen without changing the OBLIGATORY adition ?
    Thanks in advance.
    PS: This is an executable program, not module pool. Also I want to enter Mutliple Selection screen without filling s_matnr.

    Guys, solved the problem. You have to remove the OBLIGATORY addition and set the following code.
    ("Percentage symbol" below is the traditional percentage centessimal symbol we know, the mozilla wont let me insert it...)
    TOP Include:
    CONSTANTS: c_per002     TYPE c    VALUE '(percentage symbol)002'.
    MAIN PROGRAM:
    AT SELECTION-SCREEN ON s_matnr.
      IF sy-ucomm NE c_per002.
        IF s_matnr[] IS INITIAL.
          MESSAGE e025(ycapo).
        ENDIF.
      ENDIF.
    START-OF-SELECTION.
    PS: c_per002 comes to be the sy-ucomm value when hitting Multiple Selection Button at Selection Screen.. As any action validates the whole screen, you just set a clause when you don't want to validate if sy-ucomm not equals (different from) c_per002.

  • Input Field with multiple selection

    I am planning to add an input field to my BSP application.
    I have already implemented a self-made F4 help for it.
    But now my customer wants a multiple-selection for it (as in the workbench, when you display the content of a database table).
    Is there anything I get for free, or do I have to implement this all on my own?

    Hi Daniel,
    Are you looking for implementation of select-options within BSP? For this you have a beautiful article by Thomas Jung... You look for it....
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cd465292-0801-0010-e19f-e67172032668
    Thanks...
    Regards,
    Ravikiran

  • How do I create a Search Help which selects some rows from a table?

    Well, I'm trying to be specific.
    I have a parameter with a search help that shows columns BUKRS and BUTXT for ALL rows form the table T001. What I need is restrict the search help to show only three Values: BUKRS = 1000 BUKRS = 2000 BUKRS = 3000. This is like a search help with a SELECT sentence. How do I do it?

    Hi.,
    you can go through thomas sir's suggestion. But my suggestion is If you are working in a custom Report , dont change it at Table level or Domail Level., Instead, use Function Module for Custom F4 help.,
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
    CALL FM F4IF_INT_TABLE_VALUE_REQUEST.
    check this help for your reference: http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm.
    If you are using Standard Report Check for Exits.
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Help in using multiple select tag

    Hi all,
    I'm trying to make a jsp application that as follows:
    1- A multiple select control appears with a number of items in it
    2- Another multiple select is empty
    3- When you choose and item from the first select control and press a button the item moves to the second select control
    It is common to see such a thing in customizing ur yahoo page,
    the problem is that I don't know how to create an empty select control and then assign it items dynamicaly, please if any one can help me I would be grateful.
    Thanks...

    function insertNewOptions(x, y, field) {
         var mylength = 0;     
         myOption=new Option();       
         myOption.text  = y;
         myOption.value = x;
         mylength = field.length;     
         document.forms[0].field.options[field.length] = myOption;     
    }

  • Multiple selection tab on Custom F4 of select option in report

    Hi folks ,
      how to get MULTIPLE SELECTION tab on extension of my selec option of report screen.
    If i pass Multiple_choice = 'X' in fm 'F4IF_INT_TABLE_VALUE_REQUEST' check boxes are appearing of each my f4 values when i press f4, i dnt want like this i want it my extension as Multiple selection as how it appears for standard 4 helps.
    <removed by moderator>
    Thanks,
    Shwetha
    Edited by: Thomas Zloch on Jan 7, 2012 10:32 PM

    Hi Clemen,
    Any selectin screens element(select-option) if we click on extension we will get a pop up window with  SINGLE VALUES,SELECT RANGES,EXCLUDE SINGLE VALUES, EXCLUDE RANGES bottome of this window we are having some icons along with it we have MULTIPLE SELECTION Tab.if we click on multiple selection tab we will be getting our all values with checkboxes each front of it so that we can select multiple vlaues at a time for the particular f4 .
    i want this multiple selection tab for my custome F4, iam not getting this MULTIPLE SELECTION tab.
    for example you can check for select-option of account group(T077D-KTOKD).
    in F4 function module if iam using paramter MULTIPLE_CHOICE = 'X', iam not getting the extension pop window with singlevalues, select ranges etc ., instead of it iam getting all my f4 fields with the checkboxes infront of each of it.
    please throw some light it is very urgent.
    please tell me iam using following parameters in function module please let me know if i need to use any other to get it..
    with the following if iam selecting multiple also i am able to see only last value in selection(inpopup window)
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'ATWRT'
          dynpprog        = sy-cprog
          dynpnr          = sy-dynnr
          dynprofield     = 'S_CHVAL1-HIGH'
          display         = c_sp
          value_org       = c_s
          multiple_choice = 'X'
          callback_program = sy-repid
        TABLES
          value_tab       = t_finals
          return_tab      = t_return4
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc = 0.
        READ TABLE t_return4." WITH KEY retfield = 'S_CHVAL1'.
        IF sy-subrc EQ 0.
          s_chval1-high = t_return4-fieldval.
        ENDIF.
      ENDIF.
    Thanks,
    Shwetha
    Edited by: swetha rishi on Jan 8, 2012 11:15 AM

  • Possibility for multiple selection in F4 help

    Hi,
    at the moment I have to change the marketing attributes in PCUI. We need a functionality that allows us to select multiple values in the F4 help and depending on the amount of selected values the amount of entries for marketing attributes will be generated.
    Is there a possibility to realise a multiple selection in F4 helps?
    What needs to be done?
    Would be great if you could help me.
    Kind regards,
    Timo

    Hi Naveen,
    thanks for your help. Just to be sure, I meant a standard simple F4 help using F4_main.do. Is it somehow possible to change it there for one specific F4 help or do I need to develop a complete new BSP application for it? The BSP application I'm talking about is not a custom developped application but generated through F4_main.do
    Kind regards,
    Timo

  • Multiple selection customer field at header level... Is it possible?

    Y'all,
    I would like to know if it's possible to append a table into the include structure (CUF) at header level in the contract and create a search help screen with multiple selection values return.
    This requirement comes because we have to mantain a 1:N relationship between a contract and customer field at header level.
    If you have any idea or comment please let me know.
    Best regards,
    Jerry.

    Hi
    <u>I have not tried, but seems to be possible.</u>
    <b>Please go through the SAP OSS Notes -></b>
    Note 672960 - User-defined fields 2
    Note 762984 - SRM40-SUS: Implementation of customer enhancement fields
    Note 882256 - SRM-SUS: Customer fields for SUS invoice header missing
    Note 749196 - SRM40-SUS: SP01 Redefining UI settings
    Note 809628 - Table like customer fields from bid invitation in bid
    Note 809630 - Customer field in bid invitation and bid - How does it work?
    Note 458591 - User-defined fields: Preparation and use
    Hope this will help. Do let me know.
    Regards
    - Atul

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!

    How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!

    Try this general troubleshooting procedure:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete the contents the following folder: User/Library/Containers/com.apple.iPhoto
    3 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks and Yosemite,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

  • Removing Interval in the value help of the Multiple selection  in WD4A

    Hi All,
    Please help in the way to remove the interval in the pop-up of the value help of the multiple selection in the select option of the web dynpro ABAP.
    Also help me selecting the complex restrictions Via: I_COMPLEX_RESTRICTIONS  in the below code.
    wd_this->m_handler->add_selection_field(
    i_id = '/SCMTMS/BUPA_INTERNAL_ID'
    it_result = lt_range_table
    i_read_only = read_only
    I_NO_INTERVALS = ABAP_TRUE
    I_COMPLEX_RESTRICTIONS = lv_res
    Thanks in advance ,
    Selvakumar M.

    Hi Selva,
    For removing the interval set the parameter 'i_no_intervals' of method add_selection_field to true.
    Complex restrictions has following parameters.
                l_complex_restrictions-m_include-eq = abap_true.
                l_complex_restrictions-m_include-cp = abap_true.
                l_complex_restrictions-m_include-ge = abap_true.
                l_complex_restrictions-m_include-gt = abap_true.
                l_complex_restrictions-m_include-le = abap_true.
                l_complex_restrictions-m_include-lt = abap_true.
                l_complex_restrictions-m_include-ne = abap_true.
                l_complex_restrictions-m_include-np = abap_true.
                l_complex_restrictions-m_exclude-eq = abap_true.
                l_complex_restrictions-m_exclude-cp = abap_true.
                l_complex_restrictions-m_exclude-ge = abap_true.
                l_complex_restrictions-m_exclude-gt = abap_true.
                l_complex_restrictions-m_exclude-le = abap_true.
                l_complex_restrictions-m_exclude-lt = abap_true.
                l_complex_restrictions-m_exclude-ne = abap_true.
                l_complex_restrictions-m_exclude-np = abap_true.
    You can set the value of these as desired. Also pass i_use_complex_restriction parameter of method add_selection_field as true while using complex restrictions.
    Regards,
    Pooja

  • Create a custom multiple selection on screen - not selection-screen block

    Dear expert,
    I created a text field on screen for input selection, e.g field bname for USR02-BNAME. How can i create a CUSTOMIZE multiple selection plus a paste (from clipboard) feature on this screen (e.g. SCREEN 0002) like standard selection-screen from SAP when we create a report.
    For a better view on what i want:
    This text field already use F4 customize search help. I need a multiple selection lines (like standard selection-screen a button on the right side of select-options field).
    Remember, i don't create textfield from select-options parameter (e.q. SELECT-OPTIONS : XBNAME FOR USR02-BNAME),
    but on a screen.
    Anyone can help my case?.
    Thanks and Warm regards,
    Dondi.

    Had the same question from my users. This was the first hit i found but unfortunately without an answer. So for those with the same question, this is how i solved it (goede voornemen voor 2014). In my case the request is a complex selection on the LFA1 table.
    The screen contains two fields to enter the low/high value for lifnr (zdy_droogteschade-lifnr and zdy_droogteschade-lifnr_tot)
    Created a button on the screen, mark this as output only, when pressed the routine multi_select_crediteuren is performed wich uses the fm 'COMPLEX_SELECTIONS_DIALOG'.
    To top it all of, the icon on the button changes depending on the contains of the range table (in a routine called from the PBO).
    This only works when the button is marked as 'output only',
    Include the icon type pool: 'type-pools: icon.'

Maybe you are looking for